From 817e6294b42b3e4435f1b99728afc1dca84a6445 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 3 Oct 2014 14:05:03 +0000 Subject: Imported Upstream version 0.97 --- Makefile.in | 17 +- aclocal.m4 | 1093 +- config.guess | 883 -- config.sub | 958 -- configure | 14588 ++++++++++++++++++------ configure.in | 94 +- doc/sane-backends-doc.html | 2 +- doc/sane-pnm-doc.html | 1 + doc/sane-problems-doc.html | 7 +- doc/sane-scantips-doc.html | 2 +- doc/sane-xsane-advanced-doc.html | 51 +- doc/sane-xsane-batch-scan-doc.html | 231 + doc/sane-xsane-color-correction-doc.html | 28 +- doc/sane-xsane-copy-doc.html | 51 +- doc/sane-xsane-doc.html | 46 +- doc/sane-xsane-empty-doc.html | 37 +- doc/sane-xsane-fax-doc.html | 26 +- doc/sane-xsane-gimp-doc.html | 26 +- doc/sane-xsane-histogram-doc.html | 37 +- doc/sane-xsane-mail-doc.html | 76 +- doc/sane-xsane-main-doc.html | 40 - doc/sane-xsane-medium-definition-doc.html | 266 + doc/sane-xsane-preview-doc.html | 92 +- doc/sane-xsane-save-doc.html | 26 +- doc/sane-xsane-setup-copy-doc.html | 31 +- doc/sane-xsane-setup-display-doc.html | 24 +- doc/sane-xsane-setup-enhancement-doc.html | 24 +- doc/sane-xsane-setup-fax-doc.html | 24 +- doc/sane-xsane-setup-image-doc.html | 24 +- doc/sane-xsane-setup-mail-doc.html | 24 +- doc/sane-xsane-setup-save-doc.html | 24 +- doc/sane-xsane-standard-doc.html | 24 +- doc/sane-xsane-viewer-doc.html | 28 +- doc/xsane-advanced.jpg | Bin 14672 -> 19787 bytes doc/xsane-aspect-ratio.jpg | Bin 0 -> 514 bytes doc/xsane-autoraise_scanarea.jpg | Bin 0 -> 741 bytes doc/xsane-autoselect.jpg | Bin 756 -> 762 bytes doc/xsane-batch-scan-add.jpg | Bin 0 -> 772 bytes doc/xsane-batch-scan-delete.jpg | Bin 0 -> 792 bytes doc/xsane-batch-scan.jpg | Bin 0 -> 77775 bytes doc/xsane-copy.jpg | Bin 10258 -> 31627 bytes doc/xsane-edit-medium.jpg | Bin 0 -> 742 bytes doc/xsane-fax-project.jpg | Bin 18343 -> 21489 bytes doc/xsane-fax.jpg | Bin 9315 -> 27505 bytes doc/xsane-gimp.jpg | Bin 9170 -> 44794 bytes doc/xsane-histogram.jpg | Bin 24583 -> 25456 bytes doc/xsane-mail-project.jpg | Bin 0 -> 33308 bytes doc/xsane-mail.jpg | Bin 9787 -> 29070 bytes doc/xsane-medium-add.jpg | Bin 0 -> 12897 bytes doc/xsane-new.jpg | Bin 0 -> 594 bytes doc/xsane-open.jpg | Bin 0 -> 799 bytes doc/xsane-paper-landscape-bottom-left.jpg | Bin 0 -> 527 bytes doc/xsane-paper-landscape-bottom-right.jpg | Bin 0 -> 539 bytes doc/xsane-paper-landscape-center.jpg | Bin 0 -> 538 bytes doc/xsane-paper-landscape-top-left.jpg | Bin 0 -> 533 bytes doc/xsane-paper-landscape-top-right.jpg | Bin 0 -> 550 bytes doc/xsane-paper-portrait-bottom-left.jpg | Bin 0 -> 541 bytes doc/xsane-paper-portrait-bottom-right.jpg | Bin 0 -> 532 bytes doc/xsane-paper-portrait-center.jpg | Bin 0 -> 530 bytes doc/xsane-paper-portrait-top-left.jpg | Bin 0 -> 505 bytes doc/xsane-paper-portrait-top-right.jpg | Bin 0 -> 503 bytes doc/xsane-pipette-black.jpg | Bin 1058 -> 721 bytes doc/xsane-pipette-gray.jpg | Bin 1077 -> 713 bytes doc/xsane-pipette-white.jpg | Bin 1065 -> 717 bytes doc/xsane-preferences.jpg | Bin 14301 -> 9573 bytes doc/xsane-preset-area-context-menu.jpg | Bin 0 -> 11280 bytes doc/xsane-preset-area.jpg | Bin 1188 -> 585 bytes doc/xsane-preview.jpg | Bin 55593 -> 64263 bytes doc/xsane-rename.jpg | Bin 0 -> 652 bytes doc/xsane-rgb-values.jpg | Bin 0 -> 2245 bytes doc/xsane-rotation.jpg | Bin 901 -> 541 bytes doc/xsane-save.jpg | Bin 10628 -> 49624 bytes doc/xsane-save2.jpg | Bin 0 -> 666 bytes doc/xsane-setup-copy.jpg | Bin 42354 -> 42914 bytes doc/xsane-setup-display.jpg | Bin 33113 -> 36119 bytes doc/xsane-setup-enhancement.jpg | Bin 38408 -> 39750 bytes doc/xsane-setup-fax.jpg | Bin 32988 -> 36986 bytes doc/xsane-setup-image.jpg | Bin 10353 -> 37103 bytes doc/xsane-setup-mail.jpg | Bin 37467 -> 35723 bytes doc/xsane-setup-ocr.jpg | Bin 0 -> 28786 bytes doc/xsane-setup-save.jpg | Bin 34075 -> 34550 bytes doc/xsane-standard.jpg | Bin 18374 -> 16104 bytes doc/xsane-viewer-window.jpg | Bin 38185 -> 33032 bytes doc/xsane-viewer.jpg | Bin 9724 -> 29127 bytes doc/xsane-visible-area.jpg | Bin 847 -> 739 bytes doc/xsane-zoom-in.jpg | Bin 1094 -> 720 bytes doc/xsane-zoom-not.jpg | Bin 1150 -> 748 bytes doc/xsane-zoom-out.jpg | Bin 1128 -> 713 bytes doc/xsane-zoom-undo.jpg | Bin 1101 -> 736 bytes doc/xsane.jpg | Bin 10628 -> 0 bytes doc/xsane.man | 128 +- include/Makefile | 1 - include/config.h | 20 +- include/config.h.in | 16 +- intl/bindtextdom.o | Bin 0 -> 19384 bytes intl/dcgettext.o | Bin 0 -> 33180 bytes intl/dgettext.o | Bin 0 -> 9852 bytes intl/explodename.o | Bin 0 -> 11500 bytes intl/finddomain.o | Bin 0 -> 27968 bytes intl/gettext.o | Bin 0 -> 11172 bytes intl/intl-compat.o | Bin 0 -> 10808 bytes intl/l10nflist.o | Bin 0 -> 14276 bytes intl/libintl.a | Bin 0 -> 200330 bytes intl/loadmsgcat.o | Bin 0 -> 28236 bytes intl/localealias.o | Bin 0 -> 21032 bytes intl/textdomain.o | Bin 0 -> 11772 bytes lib/Makefile.in | 3 + m4/gettext.m4 | 368 + m4/gimp-2.0.m4 | 183 + m4/gimp-orauch.m4 | 251 + m4/gtk-2.0.m4 | 196 + m4/gtk.m4 | 194 + m4/msnative-struct.m4 | 48 + m4/old/aclocal.m4-0.92 | 1086 ++ m4/old/aclocal.m4.bak | 1086 ++ m4/old/configure.in-0.92 | 248 + m4/old/gimp.m4 | 211 + m4/old/gtk2.m4 | 39 + m4/sane.m4 | 149 + po/Makefile.in | 42 +- po/UTF-8/Makefile | 233 + po/UTF-8/Makefile.in | 233 + po/UTF-8/README | 7 + po/UTF-8/cs.gmo | Bin 0 -> 55222 bytes po/UTF-8/cs.po | 2794 +++++ po/UTF-8/da.gmo | Bin 0 -> 53753 bytes po/UTF-8/da.po | 2803 +++++ po/UTF-8/de.gmo | Bin 0 -> 54504 bytes po/UTF-8/de.po | 2817 +++++ po/UTF-8/es.gmo | Bin 0 -> 57195 bytes po/UTF-8/es.po | 2839 +++++ po/UTF-8/fr.gmo | Bin 0 -> 55910 bytes po/UTF-8/fr.po | 2826 +++++ po/UTF-8/hu.po | 2628 +++++ po/UTF-8/it.gmo | Bin 0 -> 56329 bytes po/UTF-8/it.po | 2859 +++++ po/UTF-8/ja.gmo | Bin 0 -> 57042 bytes po/UTF-8/ja.po | 2774 +++++ po/UTF-8/nl.gmo | Bin 0 -> 48820 bytes po/UTF-8/nl.po | 2799 +++++ po/UTF-8/pt.gmo | Bin 0 -> 55042 bytes po/UTF-8/pt.po | 2819 +++++ po/UTF-8/pt_BR.gmo | Bin 0 -> 55068 bytes po/UTF-8/pt_BR.po | 2819 +++++ po/UTF-8/ro.gmo | Bin 0 -> 52350 bytes po/UTF-8/ro.po | 2821 +++++ po/UTF-8/ru.gmo | Bin 0 -> 63027 bytes po/UTF-8/ru.po | 2819 +++++ po/UTF-8/sk.gmo | Bin 0 -> 54194 bytes po/UTF-8/sk.po | 2831 +++++ po/UTF-8/sl.gmo | Bin 0 -> 25452 bytes po/UTF-8/sl.po | 2888 +++++ po/UTF-8/sr.gmo | Bin 0 -> 38188 bytes po/UTF-8/sr.po | 2816 +++++ po/UTF-8/sv.gmo | Bin 0 -> 50029 bytes po/UTF-8/sv.po | 2818 +++++ po/UTF-8/tr.gmo | Bin 0 -> 46390 bytes po/UTF-8/tr.po | 2799 +++++ po/UTF-8/vi.gmo | Bin 0 -> 53674 bytes po/UTF-8/vi.po | 2835 +++++ po/UTF-8/zh.gmo | Bin 0 -> 24252 bytes po/UTF-8/zh.po | 2708 +++++ po/cs.gmo | Bin 41056 -> 53230 bytes po/cs.po | 636 +- po/da.gmo | Bin 0 -> 53753 bytes po/da.po | 2803 +++++ po/de.gmo | Bin 43876 -> 54176 bytes po/de.po | 676 +- po/es.gmo | Bin 43591 -> 56759 bytes po/es.po | 664 +- po/fr.gmo | Bin 42654 -> 55357 bytes po/fr.po | 619 +- po/hu.po | 2628 +++++ po/it.gmo | Bin 22748 -> 58007 bytes po/it.po | 1870 +-- po/ja.gmo | Bin 38615 -> 51147 bytes po/ja.po | 637 +- po/nl.gmo | Bin 40145 -> 52494 bytes po/nl.po | 776 +- po/pl.gmo | Bin 0 -> 54648 bytes po/pl.po | 2816 +++++ po/pt.gmo | Bin 0 -> 54378 bytes po/pt.po | 2819 +++++ po/pt_BR.gmo | Bin 0 -> 54404 bytes po/pt_BR.po | 2819 +++++ po/ro.gmo | Bin 0 -> 54982 bytes po/ro.po | 2821 +++++ po/ru.gmo | Bin 42350 -> 55908 bytes po/ru.po | 1133 +- po/sk.gmo | Bin 0 -> 54194 bytes po/sk.po | 2831 +++++ po/sl.gmo | Bin 25350 -> 25283 bytes po/sl.po | 646 +- po/sr.gmo | Bin 40091 -> 38188 bytes po/sr.po | 617 +- po/sv.gmo | Bin 38314 -> 49329 bytes po/sv.po | 751 +- po/tr.gmo | Bin 40587 -> 52594 bytes po/tr.po | 622 +- po/vi.gmo | Bin 0 -> 57588 bytes po/vi.po | 2835 +++++ po/xsane.pot | 518 +- po/zh.gmo | Bin 0 -> 24901 bytes po/zh.po | 2708 +++++ specfiles/fedora-core-1/xsane.spec | 277 + src/Makefile.in | 112 +- src/Makefile.in.WIN32 | 7 +- src/Makefile.in.orig | 213 + src/Plustek-logo.xpm | 271 +- src/cursor/cursor_autoraise_scanarea.xbm | 7 + src/cursor/cursor_autoraise_scanarea_mask.xbm | 7 + src/cursor/cursor_zoom_select.xbm | 7 + src/cursor/cursor_zoom_select_mask.xbm | 7 + src/xsane-16x16.png | Bin 0 -> 711 bytes src/xsane-16x16.xpm | 88 + src/xsane-32x32.png | Bin 0 -> 1974 bytes src/xsane-48x48.png | Bin 0 -> 3298 bytes src/xsane-WIN32.txt | 85 +- src/xsane-back-gtk.c | 1047 +- src/xsane-back-gtk.h | 43 +- src/xsane-batch-scan.c | 1041 ++ src/xsane-batch-scan.h | 74 + src/xsane-device-preferences.c | 124 +- src/xsane-device-preferences.h | 2 +- src/xsane-eula.txt | 10 + src/xsane-fixedtext.h | 7 +- src/xsane-front-gtk.c | 1222 +- src/xsane-front-gtk.h | 27 +- src/xsane-gamma.c | 473 +- src/xsane-gamma.h | 3 +- src/xsane-gimp-1_0-compat.h | 6 +- src/xsane-gpl.txt | 108 + src/xsane-gtk-1_x-compat.h | 68 + src/xsane-icon.rc | 1 + src/xsane-icons.c | 1523 ++- src/xsane-icons.h | 43 +- src/xsane-license.txt | 108 - src/xsane-preferences.c | 187 +- src/xsane-preferences.h | 21 +- src/xsane-preview.c | 2536 +++- src/xsane-preview.h | 28 +- src/xsane-rc-io.c | 15 +- src/xsane-rc-io.h | 2 +- src/xsane-save.c | 2059 +++- src/xsane-save.h | 24 +- src/xsane-scan.c | 504 +- src/xsane-scan.h | 4 +- src/xsane-setup.c | 508 +- src/xsane-setup.h | 2 +- src/xsane-text.h | 190 +- src/xsane-viewer.c | 1236 +- src/xsane-viewer.h | 56 +- src/xsane.c | 4860 +++++--- src/xsane.h | 364 +- src/xsaneopts.h | 52 + xsane-WIN32-README.txt | 24 + xsane-WIN32-compilation.txt | 210 +- xsane-WIN32-compilation.txt.old | 142 + xsane.ACCELKEYS | 2 +- xsane.BUGS | 23 +- xsane.CHANGES | 720 +- xsane.FAQ | 26 + xsane.INSTALL | 12 + xsane.NEWS | 5 + xsane.PROBLEMS | 12 + xsane.RPM | 8 +- xsane.TODO | 82 +- xsane.spec | 8 +- xsane.spec.in | 6 +- xsane.spec.in.old | 43 + 270 files changed, 121962 insertions(+), 14024 deletions(-) delete mode 100755 config.guess delete mode 100755 config.sub create mode 100644 doc/sane-xsane-batch-scan-doc.html delete mode 100644 doc/sane-xsane-main-doc.html create mode 100644 doc/sane-xsane-medium-definition-doc.html create mode 100644 doc/xsane-aspect-ratio.jpg create mode 100644 doc/xsane-autoraise_scanarea.jpg create mode 100644 doc/xsane-batch-scan-add.jpg create mode 100644 doc/xsane-batch-scan-delete.jpg create mode 100644 doc/xsane-batch-scan.jpg create mode 100644 doc/xsane-edit-medium.jpg create mode 100644 doc/xsane-mail-project.jpg create mode 100644 doc/xsane-medium-add.jpg create mode 100644 doc/xsane-new.jpg create mode 100644 doc/xsane-open.jpg create mode 100644 doc/xsane-paper-landscape-bottom-left.jpg create mode 100644 doc/xsane-paper-landscape-bottom-right.jpg create mode 100644 doc/xsane-paper-landscape-center.jpg create mode 100644 doc/xsane-paper-landscape-top-left.jpg create mode 100644 doc/xsane-paper-landscape-top-right.jpg create mode 100644 doc/xsane-paper-portrait-bottom-left.jpg create mode 100644 doc/xsane-paper-portrait-bottom-right.jpg create mode 100644 doc/xsane-paper-portrait-center.jpg create mode 100644 doc/xsane-paper-portrait-top-left.jpg create mode 100644 doc/xsane-paper-portrait-top-right.jpg create mode 100644 doc/xsane-preset-area-context-menu.jpg create mode 100644 doc/xsane-rename.jpg create mode 100644 doc/xsane-rgb-values.jpg create mode 100644 doc/xsane-save2.jpg create mode 100644 doc/xsane-setup-ocr.jpg delete mode 100644 doc/xsane.jpg create mode 100644 intl/bindtextdom.o create mode 100644 intl/dcgettext.o create mode 100644 intl/dgettext.o create mode 100644 intl/explodename.o create mode 100644 intl/finddomain.o create mode 100644 intl/gettext.o create mode 100644 intl/intl-compat.o create mode 100644 intl/l10nflist.o create mode 100644 intl/libintl.a create mode 100644 intl/loadmsgcat.o create mode 100644 intl/localealias.o create mode 100644 intl/textdomain.o create mode 100644 m4/gettext.m4 create mode 100644 m4/gimp-2.0.m4 create mode 100644 m4/gimp-orauch.m4 create mode 100644 m4/gtk-2.0.m4 create mode 100644 m4/gtk.m4 create mode 100644 m4/msnative-struct.m4 create mode 100644 m4/old/aclocal.m4-0.92 create mode 100644 m4/old/aclocal.m4.bak create mode 100644 m4/old/configure.in-0.92 create mode 100644 m4/old/gimp.m4 create mode 100644 m4/old/gtk2.m4 create mode 100644 m4/sane.m4 create mode 100644 po/UTF-8/Makefile create mode 100644 po/UTF-8/Makefile.in create mode 100644 po/UTF-8/README create mode 100644 po/UTF-8/cs.gmo create mode 100644 po/UTF-8/cs.po create mode 100644 po/UTF-8/da.gmo create mode 100644 po/UTF-8/da.po create mode 100644 po/UTF-8/de.gmo create mode 100644 po/UTF-8/de.po create mode 100644 po/UTF-8/es.gmo create mode 100644 po/UTF-8/es.po create mode 100644 po/UTF-8/fr.gmo create mode 100644 po/UTF-8/fr.po create mode 100644 po/UTF-8/hu.po create mode 100644 po/UTF-8/it.gmo create mode 100644 po/UTF-8/it.po create mode 100644 po/UTF-8/ja.gmo create mode 100644 po/UTF-8/ja.po create mode 100644 po/UTF-8/nl.gmo create mode 100644 po/UTF-8/nl.po create mode 100644 po/UTF-8/pt.gmo create mode 100644 po/UTF-8/pt.po create mode 100644 po/UTF-8/pt_BR.gmo create mode 100644 po/UTF-8/pt_BR.po create mode 100644 po/UTF-8/ro.gmo create mode 100644 po/UTF-8/ro.po create mode 100644 po/UTF-8/ru.gmo create mode 100644 po/UTF-8/ru.po create mode 100644 po/UTF-8/sk.gmo create mode 100644 po/UTF-8/sk.po create mode 100644 po/UTF-8/sl.gmo create mode 100644 po/UTF-8/sl.po create mode 100644 po/UTF-8/sr.gmo create mode 100644 po/UTF-8/sr.po create mode 100644 po/UTF-8/sv.gmo create mode 100644 po/UTF-8/sv.po create mode 100644 po/UTF-8/tr.gmo create mode 100644 po/UTF-8/tr.po create mode 100644 po/UTF-8/vi.gmo create mode 100644 po/UTF-8/vi.po create mode 100644 po/UTF-8/zh.gmo create mode 100644 po/UTF-8/zh.po create mode 100644 po/da.gmo create mode 100644 po/da.po create mode 100644 po/hu.po create mode 100644 po/pl.gmo create mode 100644 po/pl.po create mode 100644 po/pt.gmo create mode 100644 po/pt.po create mode 100644 po/pt_BR.gmo create mode 100644 po/pt_BR.po create mode 100644 po/ro.gmo create mode 100644 po/ro.po create mode 100644 po/sk.gmo create mode 100644 po/sk.po create mode 100644 po/vi.gmo create mode 100644 po/vi.po create mode 100644 po/zh.gmo create mode 100644 po/zh.po create mode 100644 specfiles/fedora-core-1/xsane.spec create mode 100644 src/Makefile.in.orig create mode 100644 src/cursor/cursor_autoraise_scanarea.xbm create mode 100644 src/cursor/cursor_autoraise_scanarea_mask.xbm create mode 100644 src/cursor/cursor_zoom_select.xbm create mode 100644 src/cursor/cursor_zoom_select_mask.xbm create mode 100644 src/xsane-16x16.png create mode 100644 src/xsane-16x16.xpm create mode 100644 src/xsane-32x32.png create mode 100644 src/xsane-48x48.png create mode 100644 src/xsane-batch-scan.c create mode 100644 src/xsane-batch-scan.h create mode 100644 src/xsane-eula.txt create mode 100644 src/xsane-gpl.txt create mode 100644 src/xsane-gtk-1_x-compat.h create mode 100755 src/xsane-icon.rc delete mode 100644 src/xsane-license.txt create mode 100644 src/xsaneopts.h create mode 100644 xsane-WIN32-README.txt create mode 100644 xsane-WIN32-compilation.txt.old create mode 100644 xsane.FAQ create mode 100644 xsane.spec.in.old diff --git a/Makefile.in b/Makefile.in index c7a76df..defb684 100644 --- a/Makefile.in +++ b/Makefile.in @@ -39,15 +39,26 @@ uninstall: uninstall-recursive clean: clean-recursive +rpm: all-recursive + checkinstall -R --strip=no --pkgname=xsane --pkgversion=@VERSION@ \ + --pkgsource=http://www.xsane.org --pkgaltsource=ftp://ftp.mostang.com/sane/xsane \ + --pkggroup=Applications/Graphics --spec=xsane.spec --pkglicense=GPL --pkgrelease=1 + distclean: clean distclean-recursive rm -f *~ include/*~ include/sane/*~ *.log *.bak libtool rm -f include/sane/config.h Makefile config.cache config.status rm -f intl/Makefile + rm -rf autom4te.cache + +autoconfig: autoconfig-recursive + aclocal -I m4 + autoconf configure.in >configure + rm -rf autom4te.cache depend: depend-recursive all-recursive install-recursive uninstall-recursive clean-recursive distclean-recursive \ -depend-recursive: +depend-recursive rpm-recursive: for subdir in $(SUBDIRS); do \ target=`echo $@ | sed s/-recursive//`; \ echo making $$target in $$subdir; \ @@ -55,5 +66,5 @@ depend-recursive: || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" -.PHONY: all clean depend \ - all-recursive install-recursive clean-recursive depend-recursive +.PHONY: all clean depend rpm autoconfig \ + all-recursive install-recursive clean-recursive depend-recursive autoconfig-recursive diff --git a/aclocal.m4 b/aclocal.m4 index 4c39f9c..a87bb05 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,1061 +1,54 @@ -###################################################################### -# Configure paths for GTK+ -# Owen Taylor 97-11-3 +# generated automatically by aclocal 1.8.3 -*- Autoconf -*- -dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS -dnl -AC_DEFUN(AM_PATH_GTK, -[dnl -dnl Get the cflags and libraries from the gtk-config script -dnl - AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)], - gtk_config_prefix="$withval", gtk_config_prefix="") - AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)], - gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="") - AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program], , enable_gtktest=yes) +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 +# Free Software Foundation, Inc. +# This file 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. - if test x$gtk_config_exec_prefix != x ; then - gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" - if test x${GTK_CONFIG+set} != xset ; then - GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config - fi - fi - if test x$gtk_config_prefix != x ; then - gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" - if test x${GTK_CONFIG+set} != xset ; then - GTK_CONFIG=$gtk_config_prefix/bin/gtk-config - fi - fi +# 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. - AC_PATH_PROG(GTK_CONFIG, gtk-config, no) - min_gtk_version=ifelse([$1], ,0.99.7,$1) - AC_MSG_CHECKING(for GTK - version >= $min_gtk_version) - no_gtk="" - if test "$GTK_CONFIG" = "no" ; then - no_gtk=yes - else - GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` - GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs` - gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - if test "x$enable_gtktest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $GTK_CFLAGS" - LIBS="$LIBS $GTK_LIBS" -dnl -dnl Now check if the installed GTK is sufficiently new. (Also sanity -dnl checks the results of gtk-config to some extent -dnl - rm -f conf.gtktest - AC_TRY_RUN([ -#include -#include -int -main () -{ - int major, minor, micro; +# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003 +# Free Software Foundation, Inc. - system ("touch conf.gtktest"); +# 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, or (at your option) +# any later version. - if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_gtk_version"); - exit(1); - } - - if ((gtk_major_version != $gtk_config_major_version) || - (gtk_minor_version != $gtk_config_minor_version) || - (gtk_micro_version != $gtk_config_micro_version)) - { - printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", - $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, - gtk_major_version, gtk_minor_version, gtk_micro_version); - printf ("*** was found! If gtk-config was correct, then it is best\n"); - printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); - printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); - printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); - printf("*** required on your system.\n"); - printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); - printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); - printf("*** before re-running configure\n"); - } - else - { - if ((gtk_major_version > major) || - ((gtk_major_version == major) && (gtk_minor_version > minor)) || - ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) - { - return 0; - } - else - { - printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", - gtk_major_version, gtk_minor_version, gtk_micro_version); - printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", - major, minor, micro); - printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); - printf("***\n"); - printf("*** If you have already installed a sufficiently new version, this error\n"); - printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); - printf("*** being found. The easiest way to fix this is to remove the old version\n"); - printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); - printf("*** correct copy of gtk-config. (In this case, you will have to\n"); - printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); - printf("*** so that the correct libraries are found at run-time))\n"); - } - } - return 1; -} -],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - if test "x$no_gtk" = x ; then - AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT(no) - if test "$GTK_CONFIG" = "no" ; then - echo "*** The gtk-config script installed by GTK could not be found" - echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the GTK_CONFIG environment variable to the" - echo "*** full path to gtk-config." - else - if test -f conf.gtktest ; then - : - else - echo "*** Could not run GTK test program, checking why..." - CFLAGS="$CFLAGS $GTK_CFLAGS" - LIBS="$LIBS $GTK_LIBS" - AC_TRY_LINK([ -#include -#include -], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding GTK or finding the wrong" - echo "*** version of GTK. If it is not finding GTK, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" - echo "***" - echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" - echo "*** came with the system with the command" - echo "***" - echo "*** rpm --erase --nodeps gtk gtk-devel" ], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means GTK was incorrectly installed" - echo "*** or that you have moved GTK since it was installed. In the latter case, you" - echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - GTK_CFLAGS="" - GTK_LIBS="" - ifelse([$3], , :, [$3]) - fi - AC_SUBST(GTK_CFLAGS) - AC_SUBST(GTK_LIBS) - rm -f conf.gtktest -]) - - -###################################################################### -# Configure paths for The GIMP -# Oliver Rauch 2000-12-28 - -dnl AM_PATH_GIMP([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for GIMP, and define GIMP_CFLAGS and GIMP_LIBS -dnl -AC_DEFUN(AM_PATH_GIMP, -[dnl -dnl Get the cflags and libraries from the gimp-config script -dnl - AC_ARG_WITH(gimp-prefix,[ --with-gimp-prefix=PFX Prefix where GIMP is installed (optional)], - gimp_config_prefix="$withval", gimp_config_prefix="") - AC_ARG_WITH(gimp-exec-prefix,[ --with-gimp-exec-prefix=PFX Exec prefix where GIMP is installed (optional)], - gimp_config_exec_prefix="$withval", gimp_config_exec_prefix="") - AC_ARG_ENABLE(gimptest, [ --disable-gimptest Do not try to compile and run a test GIMP program], , enable_gimptest=yes) - - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - ac_save_GTK_CFLAGS="$GTK_CFLAGS" - ac_save_GTK_LIBS="$GTK_LIBS" - - if test x$gimp_config_exec_prefix != x ; then - gimp_config_args="$gimp_config_args --exec-prefix=$gimp_config_exec_prefix" - if test x${GIMP_CONFIG+set} != xset ; then - GIMP_CONFIG=$gimp_config_exec_prefix/bin/gimp-config - fi - fi - - if test x$gimp_config_prefix != x ; then - gimp_config_args="$gimp_config_args --prefix=$gimp_config_prefix" - if test x${GIMP_CONFIG+set} != xset ; then - GIMP_CONFIG=$gimp_config_prefix/bin/gimp-config - fi - fi - - AC_PATH_PROG(GIMP_CONFIG, gimp-config, no) - if test "$GIMP_CONFIG" = "no" ; then - if test x$gimp_config_exec_prefix != x ; then - gimp_config_args="$gimp_config_args --exec-prefix=$gimp_config_exec_prefix" - if test x${GIMP_TOOL+set} != xset ; then - GIMP_TOOL=$gimp_config_exec_prefix/bin/gimptool - fi - fi - if test x$gimp_config_prefix != x ; then - gimp_config_args="$gimp_config_args --prefix=$gimp_config_prefix" - if test x${GIMP_TOOL+set} != xset ; then - GIMP_TOOL=$gimp_config_prefix/bin/gimptool - fi - fi - AC_PATH_PROG(GIMP_TOOL, gimptool, no) - GIMP_CONFIG=$GIMP_TOOL - fi - - min_gimp_version=ifelse([$1], ,1.0.0,$1) - no_gimp="" - - if test "$GIMP_CONFIG" = "no" ; then -dnl we do not have gimp-config (gimp-1.0.x does not have gimp-config) -dnl so we have to use the GTK_* things for testing for gimp.h and gimpfeatures.h - ac_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="${CPPFLAGS} ${GTK_CFLAGS}" - AC_CHECK_HEADERS(libgimp/gimp.h, GIMP_LIBS="-lgimp", no_gimp=yes) - AC_CHECK_HEADERS(libgimp/gimpfeatures.h) - CPPFLAGS="$ac_save_CPPFLAGS" - CFLAGS="${CFLAGS} ${GTK_CFLAGS}" - LIBS="${LIBS} ${GTK_LIBS} ${GIMP_LIBS}" - if test "x$no_gimp" = x ; then - AC_MSG_CHECKING(GIMP compilation) - gimp_config_major_version=-1 - gimp_config_minor_version=0 - gimp_config_micro_version=0 - fi - else -dnl Ok, we have gimp-config and so we do not need the GTK_* things because they are -dnl included in the output of gimp-config - GTK_CFLAGS="" - GTK_LIBS="" - GIMP_CFLAGS=`$GIMP_CONFIG $gimp_config_args --cflags` - GIMP_LIBS=`$GIMP_CONFIG $gimp_config_args --libs`" -lgimp" - gimp_config_major_version=`$GIMP_CONFIG $gimp_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - gimp_config_minor_version=`$GIMP_CONFIG $gimp_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - gimp_config_micro_version=`$GIMP_CONFIG $gimp_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - CFLAGS="${CFLAGS} ${GIMP_CFLAGS}" - LIBS="${LIBS} ${GIMP_LIBS}" - AC_MSG_CHECKING(for GIMP - version >= $min_gimp_version) - fi - -dnl -dnl Now check if the installed GIMP is sufficiently new. (Also sanity -dnl checks the results of gimp-config to some extent -dnl - if test "x$no_gimp" = x ; then - if test "x$enable_gimptest" = "xyes" ; then - rm -f conf.gimptest - AC_TRY_RUN([ -#include -#include - -#define GIMP_TEST_CHECK_VERSION(major, minor, micro) \ - ($gimp_config_major_version > (major) || \ - ($gimp_config_major_version == (major) && $gimp_config_minor_version > (minor)) || \ - ($gimp_config_major_version == (major) && $gimp_config_minor_version == (minor) && \ - $gimp_config_micro_version >= (micro))) - -#if !GIMP_TEST_CHECK_VERSION(1,1,25) -# define GimpPlugInInfo GPlugInInfo /* do test with gimp interface version 1.0 */ -#endif - -GimpPlugInInfo PLUG_IN_INFO = -{ - NULL, NULL, NULL, NULL -}; - - -int -main () -{ - int major, minor, micro; - - system ("touch conf.gimptest"); - - if (sscanf("$min_gimp_version", "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_gimp_version"); - exit(1); - } - - if ( ($gimp_config_major_version != -1) && - ((gimp_major_version != $gimp_config_major_version) || - (gimp_minor_version != $gimp_config_minor_version) || - (gimp_micro_version != $gimp_config_micro_version)) ) - { - printf("\n*** 'gimp-config --version' returned %d.%d.%d, but GIMP (%d.%d.%d)\n", - $gimp_config_major_version, $gimp_config_minor_version, $gimp_config_micro_version, - gimp_major_version, gimp_minor_version, gimp_micro_version); - printf ("*** was found! If gimp-config was correct, then it is best\n"); - printf ("*** to remove the old version of GIMP. You may also be able to fix the error\n"); - printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); - printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); - printf("*** required on your system.\n"); - printf("*** If gimp-config was wrong, set the environment variable GIMP_CONFIG\n"); - printf("*** to point to the correct copy of gimp-config, and remove the file config.cache\n"); - printf("*** before re-running configure\n"); - } - else - { - if ((gimp_major_version > major) || - ((gimp_major_version == major) && (gimp_minor_version > minor)) || - ((gimp_major_version == major) && (gimp_minor_version == minor) && (gimp_micro_version >= micro))) - { - return 0; - } - else - { - printf("\n*** An old version of GIMP (%d.%d.%d) was found.\n", - gimp_major_version, gimp_minor_version, gimp_micro_version); - printf("*** You need a version of GIMP newer than %d.%d.%d. The latest version of\n", - major, minor, micro); - printf("*** GIMP is always available from ftp://ftp.gimp.org.\n"); - printf("***\n"); - printf("*** If you have already installed a sufficiently new version, this error\n"); - printf("*** probably means that the wrong copy of the gimp-config shell script is\n"); - printf("*** being found. The easiest way to fix this is to remove the old version\n"); - printf("*** of GIMP, but you can also set the GIMP_CONFIG environment to point to the\n"); - printf("*** correct copy of gimp-config. (In this case, you will have to\n"); - printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); - printf("*** so that the correct libraries are found at run-time))\n"); - } - } - return 1; -} -], , no_gimp=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - fi - fi - - if test "x$no_gimp" = x ; then -dnl gimp test succeeded or not tested - if test "x$enable_gimptest" = "xyes" ; then - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(not tested) - fi - if test "$GIMP_CONFIG" != "no" ; then - ac_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="${CPPFLAGS} ${GIMP_CFLAGS}" - AC_CHECK_HEADERS(libgimp/gimp.h) - AC_CHECK_HEADERS(libgimp/gimpfeatures.h) - CPPFLAGS="$ac_save_CPPFLAGS" - fi - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT(no) - if test -f conf.gimptest ; then - : - else - echo "*** Could not run GIMP test program, checking why..." - CFLAGS="$CFLAGS $GIMP_CFLAGS" - LIBS="$LIBS $GIMP_LIBS" - AC_TRY_LINK([ -#include -#include -#define GIMP_TEST_CHECK_VERSION(major, minor, micro) \ - ($gimp_config_major_version > (major) || \ - ($gimp_config_major_version == (major) && $gimp_config_minor_version > (minor)) || \ - ($gimp_config_major_version == (major) && $gimp_config_minor_version == (minor) && \ - $gimp_config_micro_version >= (micro))) - -#if !GIMP_TEST_CHECK_VERSION(1,1,25) -# define GimpPlugInInfo GPlugInInfo /* do test with gimp interface version 1.0 */ -#endif -GimpPlugInInfo PLUG_IN_INFO = { NULL, NULL, NULL, NULL }; -], [ return ((gimp_major_version) || (gimp_minor_version) || (gimp_micro_version)); ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding GIMP or finding the wrong" - echo "*** version of GIMP. If it is not finding GIMP, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" - echo "***" - echo "***" ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi -dnl ok, gimp does not work, so we have to use the gtk_* things again - GIMP_CFLAGS="" - GIMP_LIBS="" - GTK_CFLAGS="$ac_save_GTK_CFLAGS" - GTK_LIBS="$ac_save_GTK_LIBS" - CFLAGS="${CFLAGS} ${GTK_CFLAGS}" - LIBS="${LIBS} ${GTK_LIBS} ${GIMP_LIBS}" - ifelse([$3], , :, [$3]) - fi - AC_SUBST(GIMP_CFLAGS) - AC_SUBST(GIMP_LIBS) - rm -f conf.gimptest -]) - - -# ******************************************************************** -# Configure paths for SANE -# Oliver Rauch 2000-10-30 - -dnl AM_PATH_SANE([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for SANE, and define SANE_CFLAGS and SANE_LIBS -dnl -AC_DEFUN(AM_PATH_SANE, -[dnl -dnl Get the cflags and libraries from the sane-config script -dnl - AC_ARG_WITH(sane-prefix,[ --with-sane-prefix=PFX Prefix where SANE is installed (optional)], - sane_config_prefix="$withval", sane_config_prefix="") - AC_ARG_WITH(sane-exec-prefix,[ --with-sane-exec-prefix=PFX Exec prefix where SANE is installed (optional)], - sane_config_exec_prefix="$withval", sane_config_exec_prefix="") - AC_ARG_ENABLE(sanetest, [ --disable-sanetest Do not try to compile and run a test SANE program], , enable_sanetest=yes) - - if test x$sane_config_exec_prefix != x ; then - sane_config_args="$sane_config_args --exec-prefix=$sane_config_exec_prefix" - if test x${SANE_CONFIG+set} != xset ; then - SANE_CONFIG=$sane_config_exec_prefix/bin/sane-config - fi - fi - if test x$sane_config_prefix != x ; then - sane_config_args="$sane_config_args --prefix=$sane_config_prefix" - if test x${SANE_CONFIG+set} != xset ; then - SANE_CONFIG=$sane_config_prefix/bin/sane-config - fi - fi - - AC_PATH_PROG(SANE_CONFIG, sane-config, no) - min_sane_version=ifelse([$1], ,1.0.0,$1) - AC_MSG_CHECKING(for SANE - version >= $min_sane_version) - no_sane="" - if test "$SANE_CONFIG" = "no" ; then - no_sane=yes - else - SANE_CFLAGS=`$SANE_CONFIG $sane_config_args --cflags` - SANE_LDFLAGS=`$SANE_CONFIG $sane_config_args --ldflags` -# SANE_LIBS=`$SANE_CONFIG $sane_config_args --libs` - SANE_LIBS=`$SANE_CONFIG $sane_config_args --libs | sed -e 's/-lintl//g'` - SANE_PREFIX=`$SANE_CONFIG $sane_config_args --prefix` - sane_config_major_version=`$SANE_CONFIG $sane_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - sane_config_minor_version=`$SANE_CONFIG $sane_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - sane_config_micro_version=`$SANE_CONFIG $sane_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - if test "x$enable_sanetest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LDFLAGS="$LDFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $SANE_CFLAGS" - LDFLAGS="$LDFLAGS $SANE_LDFLAGS" - LIBS="$LIBS $SANE_LIBS" -dnl -dnl Now check if the installed SANE is sufficiently new. (Also sanity -dnl checks the results of sane-config to some extent -dnl - rm -f conf.sanetest - AC_TRY_RUN([ -#include -#include - -int -main () -{ - int major, minor, micro; - - system ("touch conf.sanetest"); - - if (sscanf("$min_sane_version", "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_sane_version"); - exit(1); - } - - if ( ($sane_config_major_version == major) && - ( ($sane_config_minor_version > minor) || - ( ($sane_config_minor_version == minor) && ($sane_config_micro_version >= micro)))) - { - return 0; - } - else if ($sane_config_major_version > major) - { - printf("\n*** A too new version of SANE (%d.%d.%d) was found.\n", - $sane_config_major_version, $sane_config_minor_version, $sane_config_micro_version); - printf("*** You need a version of SANE with the major version number %d.\n", major); - } - else - { - printf("\n*** An old version of SANE (%d.%d.%d) was found.\n", - $sane_config_major_version, $sane_config_minor_version, $sane_config_micro_version); - printf("*** You need a version of SANE newer than %d.%d.%d. The latest version of\n", - major, minor, micro); - } - - printf("*** SANE is always available from ftp://ftp.mostang.com\n"); - printf("***\n"); - printf("*** If you have already installed a sufficient version, this error\n"); - printf("*** probably means that the wrong copy of the sane-config shell script is\n"); - printf("*** being found. The easiest way to fix this is to remove the old version\n"); - printf("*** of SANE, but you can also set the SANE_CONFIG environment to point to the\n"); - printf("*** correct copy of sane-config. (In this case, you will have to\n"); - printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); - printf("*** so that the correct libraries are found at run-time))\n"); - - return 1; -} -],, no_sane=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LDFLAGS="$ac_save_LDFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - if test "x$no_sane" = x ; then - AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT(no) - if test "$SANE_CONFIG" = "no" ; then - echo "*** The sane-config script installed by SANE could not be found" - echo "*** If SANE was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the SANE_CONFIG environment variable to the" - echo "*** full path to sane-config." - else - if test -f conf.sanetest ; then - : - else - echo "*** Could not run SANE test program, checking why..." - CFLAGS="$CFLAGS $SANE_CFLAGS" - LIBS="$LIBS $SANE_LIBS" - LDFLAGS="$LDFLAGS $SANE_LDFLAGS" - AC_TRY_LINK([ -#include -#include -], [ return (SANE_CURRENT_MAJOR); ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding SANE or finding the wrong" - echo "*** version of SANE. If it is not finding SANE, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" - echo "***" ] - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means SANE was incorrectly installed" - echo "*** or that you have moved SANE since it was installed. In the latter case, you" - echo "*** may want to edit the sane-config script: $SANE_CONFIG" ]) - CFLAGS="$ac_save_CFLAGS" - LDFLAGS="$ac_save_LDFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - SANE_CFLAGS="" - SANE_LDFLAGS="" - SANE_LIBS="" - ifelse([$3], , :, [$3]) - fi - AC_SUBST(SANE_LDFLAGS) - AC_SUBST(SANE_CFLAGS) - AC_SUBST(SANE_LIBS) - AC_SUBST(SANE_PREFIX) - rm -f conf.sanetest -]) - -# ******************************************************************** - - -dnl AM_FUNC_ALLOCA -AC_DEFUN(AM_FUNC_ALLOCA, -[AC_REQUIRE([AC_FUNC_ALLOCA])dnl -test $ac_cv_func_alloca_works = no && LTALLOCA=alloca.lo -AC_SUBST(LTALLOCA)dnl -]) - -# @defmac AC_PROG_CC_STDC -# @maindex PROG_CC_STDC -# @ovindex CC -# If the C compiler in not in ANSI C mode by default, try to add an option -# to output variable @code{CC} to make it so. This macro tries various -# options that select ANSI C on some system or another. It considers the -# compiler to be in ANSI C mode if it handles function prototypes correctly. -# -# If you use this macro, you should check after calling it whether the C -# compiler has been set to accept ANSI C; if not, the shell variable -# @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source -# code in ANSI C, you can make an un-ANSIfied copy of it by using the -# program @code{ansi2knr}, which comes with Ghostscript. -# @end defmac - -AC_DEFUN(AM_PROG_CC_STDC, -[AC_REQUIRE([AC_PROG_CC]) -AC_BEFORE([$0], [AC_C_INLINE]) -AC_BEFORE([$0], [AC_C_CONST]) -dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require -dnl a magic option to avoid problems with ANSI preprocessor commands -dnl like #elif. -dnl FIXME: can't do this because then AC_AIX won't work due to a -dnl circular dependency. -dnl AC_BEFORE([$0], [AC_PROG_CPP]) -AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C) -AC_CACHE_VAL(am_cv_prog_cc_stdc, -[am_cv_prog_cc_stdc=no -ac_save_CC="$CC" -# Don't try gcc -ansi; that turns off useful extensions and -# breaks some systems' header files. -# AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 -# HP-UX -Aa -D_HPUX_SOURCE -# SVR4 -Xc -D__EXTENSIONS__ -for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__ -" -do - CC="$ac_save_CC $ac_arg" - AC_TRY_COMPILE( -[#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, - int); -int argc; -char **argv; -], [ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; -], -[am_cv_prog_cc_stdc="$ac_arg"; break]) -done -CC="$ac_save_CC" -]) -if test -z "$am_cv_prog_cc_stdc"; then - AC_MSG_RESULT([none needed]) -else - AC_MSG_RESULT($am_cv_prog_cc_stdc) -fi -case "x$am_cv_prog_cc_stdc" in - x|xno) ;; - *) CC="$CC $am_cv_prog_cc_stdc" ;; -esac -]) +# 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. - - - -# ******************************************************************** -dnl aclocal.m4 generated automatically by aclocal 1.2f - -dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. -dnl This Makefile.in is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -dnl This program is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without -dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A -dnl PARTICULAR PURPOSE. - - -# progtest.m4 from gettext 0.32 -# Search path for a program which passes the given test. -# Ulrich Drepper , 1996. -# -# This file file be copied and used freely without restrictions. It can -# be used in projects which are not available under the GNU Public License -# but which still want to provide support for the GNU gettext functionality. -# Please note that the actual code is *not* freely available. - -# serial 1 - -dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, -dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) -AC_DEFUN(AM_PATH_PROG_WITH_TEST, -[# Extract the first word of "$2", so it can be a program name with args. -set dummy $2; ac_word=[$]2 -AC_MSG_CHECKING([for $ac_word]) -AC_CACHE_VAL(ac_cv_path_$1, -[case "[$]$1" in - /*) - ac_cv_path_$1="[$]$1" # Let the user override the test with a path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in ifelse([$5], , $PATH, [$5]); do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if [$3]; then - ac_cv_path_$1="$ac_dir/$ac_word" - break - fi - fi - done - IFS="$ac_save_ifs" -dnl If no 4th arg is given, leave the cache variable unset, -dnl so AC_PATH_PROGS will keep looking. -ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" -])dnl - ;; -esac])dnl -$1="$ac_cv_path_$1" -if test -n "[$]$1"; then - AC_MSG_RESULT([$]$1) -else - AC_MSG_RESULT(no) -fi -AC_SUBST($1)dnl -]) - -# ******************************************************************** -# lcmessage.m4 from gettext 0.32 -# Check whether LC_MESSAGES is available in . -# Ulrich Drepper , 1995. -# -# This file file be copied and used freely without restrictions. It can -# be used in projects which are not available under the GNU Public License -# but which still want to provide support for the GNU gettext functionality. -# Please note that the actual code is *not* freely available. - -# serial 1 - -AC_DEFUN(AM_LC_MESSAGES, - [if test $ac_cv_header_locale_h = yes; then - AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, - [AC_TRY_LINK([#include ], [return LC_MESSAGES], - am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) - if test $am_cv_val_LC_MESSAGES = yes; then - AC_DEFINE(HAVE_LC_MESSAGES) - fi - fi]) - - -# ******************************************************************** -# gettext.m4 from gettext 0.32 -# Macro to add for using GNU gettext. -# Ulrich Drepper , 1995. -# -# This file file be copied and used freely without restrictions. It can -# be used in projects which are not available under the GNU Public License -# but which still want to provide support for the GNU gettext functionality. -# Please note that the actual code is *not* freely available. +# 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. # serial 3 -AC_DEFUN(AM_WITH_NLS, - [AC_MSG_CHECKING([whether NLS is requested]) - dnl Default is enabled NLS - AC_ARG_ENABLE(nls, - [ --disable-nls do not use Native Language Support], - USE_NLS=$enableval, USE_NLS=yes) - AC_MSG_RESULT($USE_NLS) - AC_SUBST(USE_NLS) - - USE_INCLUDED_LIBINTL=no - - dnl If we use NLS figure out what method - if test "$USE_NLS" = "yes"; then - AC_DEFINE(ENABLE_NLS) - AC_MSG_CHECKING([whether included gettext is requested]) - AC_ARG_WITH(included-gettext, - [ --with-included-gettext use the GNU gettext library included here], - nls_cv_force_use_gnu_gettext=$withval, - nls_cv_force_use_gnu_gettext=no) - AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) - - nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" - if test "$nls_cv_force_use_gnu_gettext" != "yes"; then - dnl User does not insist on using GNU NLS library. Figure out what - dnl to use. If gettext or catgets are available (in this order) we - dnl use this. Else we have to fall back to GNU NLS library. - dnl catgets is only used if permitted by option --with-catgets. - nls_cv_header_intl= - nls_cv_header_libgt= - CATOBJEXT=NONE - - AC_CHECK_HEADER(libintl.h, - [AC_CACHE_CHECK([for gettext in libc], gt_cv_func_gettext_libc, - [AC_TRY_LINK([#include ], [return (int) gettext ("")], - gt_cv_func_gettext_libc=yes, gt_cv_func_gettext_libc=no)]) - - if test "$gt_cv_func_gettext_libc" != "yes"; then - AC_CHECK_LIB(intl, bindtextdomain, - [AC_CACHE_CHECK([for gettext in libintl], - gt_cv_func_gettext_libintl, - [AC_TRY_LINK([], [return (int) gettext ("")], - gt_cv_func_gettext_libintl=yes, - gt_cv_func_gettext_libintl=no)])]) - fi - - if test "$gt_cv_func_gettext_libc" = "yes" \ - || test "$gt_cv_func_gettext_libintl" = "yes"; then - AC_DEFINE(HAVE_GETTEXT) - AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, - [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl - if test "$MSGFMT" != "no"; then - AC_CHECK_FUNCS(dcgettext) - AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) - AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, - [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) - AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; - return _nl_msg_cat_cntr], - [CATOBJEXT=.gmo - DATADIRNAME=share], - [CATOBJEXT=.mo - DATADIRNAME=lib]) - INSTOBJEXT=.mo - fi - fi - ]) - - if test "$CATOBJEXT" = "NONE"; then - AC_MSG_CHECKING([whether catgets can be used]) - AC_ARG_WITH(catgets, - [ --with-catgets use catgets functions if available], - nls_cv_use_catgets=$withval, nls_cv_use_catgets=no) - AC_MSG_RESULT($nls_cv_use_catgets) - - if test "$nls_cv_use_catgets" = "yes"; then - dnl No gettext in C library. Try catgets next. - AC_CHECK_LIB(i, main) - AC_CHECK_FUNC(catgets, - [AC_DEFINE(HAVE_CATGETS) - INTLOBJS="\$(CATOBJS)" - AC_PATH_PROG(GENCAT, gencat, no)dnl - if test "$GENCAT" != "no"; then - AC_PATH_PROG(GMSGFMT, gmsgfmt, no) - if test "$GMSGFMT" = "no"; then - AM_PATH_PROG_WITH_TEST(GMSGFMT, msgfmt, - [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no) - fi - AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, - [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) - USE_INCLUDED_LIBINTL=yes - CATOBJEXT=.cat - INSTOBJEXT=.cat - DATADIRNAME=lib - INTLDEPS='$(top_builddir)/intl/libintl.a' - INTLLIBS=$INTLDEPS - LIBS=`echo $LIBS | sed -e 's/-lintl//'` - nls_cv_header_intl=intl/libintl.h - nls_cv_header_libgt=intl/libgettext.h - fi]) - fi - fi - - if test "$CATOBJEXT" = "NONE"; then - dnl Neither gettext nor catgets in included in the C library. - dnl Fall back on GNU gettext library. - nls_cv_use_gnu_gettext=yes - fi - fi - - if test "$nls_cv_use_gnu_gettext" = "yes"; then - dnl Mark actions used to generate GNU NLS library. - INTLOBJS="\$(GETTOBJS)" - AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, - [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt) - AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) - AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, - [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) - AC_SUBST(MSGFMT) - USE_INCLUDED_LIBINTL=yes - CATOBJEXT=.gmo - INSTOBJEXT=.mo - DATADIRNAME=share - INTLDEPS='$(top_builddir)/intl/libintl.a' - INTLLIBS=$INTLDEPS - LIBS=`echo $LIBS | sed -e 's/-lintl//'` - nls_cv_header_intl=intl/libintl.h - nls_cv_header_libgt=intl/libgettext.h - fi - - dnl Test whether we really found GNU xgettext. - if test "$XGETTEXT" != ":"; then - dnl If it is no GNU xgettext we define it as : so that the - dnl Makefiles still can work. - if $XGETTEXT --omit-header /dev/null 2> /dev/null; then - : ; - else - AC_MSG_RESULT( - [found xgettext programs is not GNU xgettext; ignore it]) - XGETTEXT=":" - fi - fi - - # We need to process the po/ directory. - POSUB=po - else - DATADIRNAME=share - nls_cv_header_intl=intl/libintl.h - nls_cv_header_libgt=intl/libgettext.h - fi - - # If this is used in GNU gettext we have to set USE_NLS to `yes' - # because some of the sources are only built for this goal. - if test "$PACKAGE" = gettext; then - USE_NLS=yes - USE_INCLUDED_LIBINTL=yes - fi - - dnl These rules are solely for the distribution goal. While doing this - dnl we only have to keep exactly one list of the available catalogs - dnl in configure.in. - for lang in $ALL_LINGUAS; do - GMOFILES="$GMOFILES $lang.gmo" - POFILES="$POFILES $lang.po" - done - - dnl Make all variables we use known to autoconf. - AC_SUBST(USE_INCLUDED_LIBINTL) - AC_SUBST(CATALOGS) - AC_SUBST(CATOBJEXT) - AC_SUBST(DATADIRNAME) - AC_SUBST(GMOFILES) - AC_SUBST(INSTOBJEXT) - AC_SUBST(INTLDEPS) - AC_SUBST(INTLLIBS) - AC_SUBST(INTLOBJS) - AC_SUBST(POFILES) - AC_SUBST(POSUB) - ]) - -AC_DEFUN(AM_GNU_GETTEXT, - [AC_REQUIRE([AC_PROG_MAKE_SET])dnl - AC_REQUIRE([AC_PROG_CC])dnl - AC_REQUIRE([AC_PROG_RANLIB])dnl - AC_REQUIRE([AC_ISC_POSIX])dnl - AC_REQUIRE([AC_HEADER_STDC])dnl - AC_REQUIRE([AC_C_CONST])dnl - AC_REQUIRE([AC_C_INLINE])dnl - AC_REQUIRE([AC_TYPE_OFF_T])dnl - AC_REQUIRE([AC_TYPE_SIZE_T])dnl - AC_REQUIRE([AC_FUNC_ALLOCA])dnl - AC_REQUIRE([AC_FUNC_MMAP])dnl - - AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h string.h \ -unistd.h values.h sys/param.h]) - AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \ -__argz_count __argz_stringify __argz_next]) - - if test "${ac_cv_func_stpcpy+set}" != "set"; then - AC_CHECK_FUNCS(stpcpy) - fi - if test "${ac_cv_func_stpcpy}" = "yes"; then - AC_DEFINE(HAVE_STPCPY) - fi - - AM_LC_MESSAGES - AM_WITH_NLS - - if test "x$CATOBJEXT" != "x"; then - if test "x$ALL_LINGUAS" = "x"; then - LINGUAS= - else - AC_MSG_CHECKING(for catalogs to be installed) - NEW_LINGUAS= - for lang in ${LINGUAS=$ALL_LINGUAS}; do - case "$ALL_LINGUAS" in - *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; - esac - done - LINGUAS=$NEW_LINGUAS - AC_MSG_RESULT($LINGUAS) - fi - - dnl Construct list of names of catalog files to be constructed. - if test -n "$LINGUAS"; then - for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done - fi - fi - - dnl The reference to in the installed file - dnl must be resolved because we cannot expect the users of this - dnl to define HAVE_LOCALE_H. - if test $ac_cv_header_locale_h = yes; then - INCLUDE_LOCALE_H="#include " - else - INCLUDE_LOCALE_H="\ -/* The system does not provide the header . Take care yourself. */" - fi - AC_SUBST(INCLUDE_LOCALE_H) - - dnl Determine which catalog format we have (if any is needed) - dnl For now we know about two different formats: - dnl Linux libc-5 and the normal X/Open format - test -d intl || mkdir intl - if test "$CATOBJEXT" = ".cat"; then - AC_CHECK_HEADER(linux/version.h, msgformat=linux, msgformat=xopen) - - dnl Transform the SED scripts while copying because some dumb SEDs - dnl cannot handle comments. - sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed - fi - dnl po2tbl.sed is always needed. - sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ - $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed - - dnl In the intl/Makefile.in we have a special dependency which makes - dnl only sense for gettext. We comment this out for non-gettext - dnl packages. - if test "$PACKAGE" = "gettext"; then - GT_NO="#NO#" - GT_YES= - else - GT_NO= - GT_YES="#YES#" - fi - AC_SUBST(GT_NO) - AC_SUBST(GT_YES) - - dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly - dnl find the mkinstalldirs script in another subdir but ($top_srcdir). - dnl Try to locate is. - MKINSTALLDIRS= - if test -z "$MKINSTALLDIRS"; then - MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" - fi - AC_SUBST(MKINSTALLDIRS) - - dnl *** For now the libtool support in intl/Makefile is not for real. - l= - AC_SUBST(l) - ]) +# This was merged into AC_PROG_CC in Autoconf. +AU_DEFUN([AM_PROG_CC_STDC], +[AC_PROG_CC +AC_DIAGNOSE([obsolete], [$0: + your code should no longer depend upon `am_cv_prog_cc_stdc', but upon + `ac_cv_prog_cc_stdc'. Remove this warning and the assignment when + you adjust the code. You can also remove the above call to + AC_PROG_CC if you already called it elsewhere.]) +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc +]) +AU_DEFUN([fp_PROG_CC_STDC]) + +m4_include([m4/gettext.m4]) +m4_include([m4/gimp-2.0.m4]) +m4_include([m4/gimp-orauch.m4]) +m4_include([m4/gtk-2.0.m4]) +m4_include([m4/gtk.m4]) +m4_include([m4/msnative-struct.m4]) +m4_include([m4/sane.m4]) diff --git a/config.guess b/config.guess deleted file mode 100755 index 413ed41..0000000 --- a/config.guess +++ /dev/null @@ -1,883 +0,0 @@ -#! /bin/sh -# Attempt to guess a canonical system name. -# Copyright (C) 1992, 93, 94, 95, 96, 1997 Free Software Foundation, Inc. -# -# This file 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. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Written by Per Bothner . -# The master version of this file is at the FSF in /home/gd/gnu/lib. -# -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. -# -# The plan is that this can be called by configure scripts if you -# don't specify an explicit system type (host/target name). -# -# Only a few systems have been added to this list; please add others -# (but try to keep the structure clean). -# - -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 8/24/94.) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then - PATH=$PATH:/.attbin ; export PATH -fi - -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown - -trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15 - -# Note: order is significant - the case branches are not exclusive. - -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in - alpha:OSF1:*:*) - if test $UNAME_RELEASE = "V4.0"; then - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - fi - # A Vn.n version is a released version. - # A Tn.n version is a released field test version. - # A Xn.n version is an unreleased experimental baselevel. - # 1.2 uses "1.2" for uname -r. - cat <dummy.s - .globl main - .ent main -main: - .frame \$30,0,\$26,0 - .prologue 0 - .long 0x47e03d80 # implver $0 - lda \$2,259 - .long 0x47e20c21 # amask $2,$1 - srl \$1,8,\$2 - sll \$2,2,\$2 - sll \$0,3,\$0 - addl \$1,\$0,\$0 - addl \$2,\$0,\$0 - ret \$31,(\$26),1 - .end main -EOF - ${CC-cc} dummy.s -o dummy 2>/dev/null - if test "$?" = 0 ; then - ./dummy - case "$?" in - 7) - UNAME_MACHINE="alpha" - ;; - 15) - UNAME_MACHINE="alphaev5" - ;; - 14) - UNAME_MACHINE="alphaev56" - ;; - 10) - UNAME_MACHINE="alphapca56" - ;; - 16) - UNAME_MACHINE="alphaev6" - ;; - esac - fi - rm -f dummy.s dummy - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]` - exit 0 ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit 0 ;; - Amiga*:UNIX_System_V:4.0:*) - echo m68k-cbm-sysv4 - exit 0;; - amiga:NetBSD:*:*) - echo m68k-cbm-netbsd${UNAME_RELEASE} - exit 0 ;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc64:OpenBSD:*:*) - echo mips64el-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hkmips:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix${UNAME_RELEASE} - exit 0;; - arm32:NetBSD:*:*) - echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - exit 0 ;; - SR2?01:HI-UX/MPP:*:*) - echo hppa1.1-hitachi-hiuxmpp - exit 0;; - Pyramid*:OSx*:*:*|MIS*:OSx*:*:*) - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "`(/bin/universe) 2>/dev/null`" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit 0 ;; - NILE:*:*:dcosx) - echo pyramid-pyramid-svr4 - exit 0 ;; - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - i86pc:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:6*:*) - # According to config.sub, this is the proper way to canonicalize - # SunOS6. Hard to guess exactly what SunOS6 will be like, but - # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in - Series*|S4*) - UNAME_RELEASE=`uname -v` - ;; - esac - # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit 0 ;; - sun3*:SunOS:*:*) - echo m68k-sun-sunos${UNAME_RELEASE} - exit 0 ;; - sun*:*:4.2BSD:*) - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 - case "`/bin/arch`" in - sun3) - echo m68k-sun-sunos${UNAME_RELEASE} - ;; - sun4) - echo sparc-sun-sunos${UNAME_RELEASE} - ;; - esac - exit 0 ;; - aushp:SunOS:*:*) - echo sparc-auspex-sunos${UNAME_RELEASE} - exit 0 ;; - atari*:NetBSD:*:*) - echo m68k-atari-netbsd${UNAME_RELEASE} - exit 0 ;; - atari*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sun3*:NetBSD:*:*) - echo m68k-sun-netbsd${UNAME_RELEASE} - exit 0 ;; - sun3*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:NetBSD:*:*) - echo m68k-apple-netbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - powerpc:machten:*:*) - echo powerpc-apple-machten${UNAME_RELEASE} - exit 0 ;; - RISC*:Mach:*:*) - echo mips-dec-mach_bsd4.3 - exit 0 ;; - RISC*:ULTRIX:*:*) - echo mips-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - 2020:CLIX:*:*) - echo clipper-intergraph-clix${UNAME_RELEASE} - exit 0 ;; - mips:*:*:UMIPS | mips:*:*:RISCos) - sed 's/^ //' << EOF >dummy.c - int main (argc, argv) int argc; char **argv; { - #if defined (host_mips) && defined (MIPSEB) - #if defined (SYSTYPE_SYSV) - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_SVR4) - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); - #endif - #endif - exit (-1); - } -EOF - ${CC-cc} dummy.c -o dummy \ - && ./dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && rm dummy.c dummy && exit 0 - rm -f dummy.c dummy - echo mips-mips-riscos${UNAME_RELEASE} - exit 0 ;; - Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit 0 ;; - m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit 0 ;; - m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit 0 ;; - m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit 0 ;; - AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88110 ] ; then - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \ - -o ${TARGET_BINARY_INTERFACE}x = x ] ; then - echo m88k-dg-dgux${UNAME_RELEASE} - else - echo m88k-dg-dguxbcs${UNAME_RELEASE} - fi - else echo i586-dg-dgux${UNAME_RELEASE} - fi - exit 0 ;; - M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit 0 ;; - M88*:*:R3*:*) - # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit 0 ;; - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit 0 ;; - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit 0 ;; - *:IRIX*:*:*) - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit 0 ;; - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i?86:AIX:*:*) - echo i386-ibm-aix - exit 0 ;; - *:AIX:2:3) - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - sed 's/^ //' << EOF >dummy.c - #include - - main() - { - if (!__power_pc()) - exit(1); - puts("powerpc-ibm-aix3.2.5"); - exit(0); - } -EOF - ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0 - rm -f dummy.c dummy - echo rs6000-ibm-aix3.2.5 - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 - else - echo rs6000-ibm-aix3.2 - fi - exit 0 ;; - *:AIX:*:4) - if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then - IBM_ARCH=rs6000 - else - IBM_ARCH=powerpc - fi - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=4.${UNAME_RELEASE} - fi - echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit 0 ;; - *:AIX:*:*) - echo rs6000-ibm-aix - exit 0 ;; - ibmrt:4.4BSD:*|romp-ibm:BSD:*) - echo romp-ibm-bsd4.4 - exit 0 ;; - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC NetBSD and - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit 0 ;; # report: romp-ibm BSD 4.3 - *:BOSX:*:*) - echo rs6000-bull-bosx - exit 0 ;; - DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit 0 ;; - 9000/[34]??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit 0 ;; - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit 0 ;; - 9000/[3478]??:HP-UX:*:*) - case "${UNAME_MACHINE}" in - 9000/31? ) HP_ARCH=m68000 ;; - 9000/[34]?? ) HP_ARCH=m68k ;; - 9000/7?? | 9000/8?[1679] ) HP_ARCH=hppa1.1 ;; - 9000/8?? ) HP_ARCH=hppa1.0 ;; - esac - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit 0 ;; - 3050*:HI-UX:*:*) - sed 's/^ //' << EOF >dummy.c - #include - int - main () - { - long cpu = sysconf (_SC_CPU_VERSION); - /* The order matters, because CPU_IS_HP_MC68K erroneously returns - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct - results, however. */ - if (CPU_IS_PA_RISC (cpu)) - { - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; - default: puts ("hppa-hitachi-hiuxwe2"); break; - } - } - else if (CPU_IS_HP_MC68K (cpu)) - puts ("m68k-hitachi-hiuxwe2"); - else puts ("unknown-hitachi-hiuxwe2"); - exit (0); - } -EOF - ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0 - rm -f dummy.c dummy - echo unknown-hitachi-hiuxwe2 - exit 0 ;; - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) - echo hppa1.1-hp-bsd - exit 0 ;; - 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit 0 ;; - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) - echo hppa1.1-hp-osf - exit 0 ;; - hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit 0 ;; - i?86:OSF1:*:*) - if [ -x /usr/sbin/sysversion ] ; then - echo ${UNAME_MACHINE}-unknown-osf1mk - else - echo ${UNAME_MACHINE}-unknown-osf1 - fi - exit 0 ;; - parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit 0 ;; - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit 0 ;; - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit 0 ;; - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit 0 ;; - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) - echo c4-convex-bsd - exit 0 ;; - CRAY*X-MP:*:*:*) - echo xmp-cray-unicos - exit 0 ;; - CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} - exit 0 ;; - CRAY*[A-Z]90:*:*:*) - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ - | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ - exit 0 ;; - CRAY*TS:*:*:*) - echo t90-cray-unicos${UNAME_RELEASE} - exit 0 ;; - CRAY-2:*:*:*) - echo cray2-cray-unicos - exit 0 ;; - F300:UNIX_System_V:*:*) - FUJITSU_SYS=`uname -p | tr [A-Z] [a-z] | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit 0 ;; - F301:UNIX_System_V:*:*) - echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'` - exit 0 ;; - hp3[0-9][05]:NetBSD:*:*) - echo m68k-hp-netbsd${UNAME_RELEASE} - exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - i?86:BSD/386:*:* | *:BSD/OS:*:*) - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit 0 ;; - *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit 0 ;; - *:NetBSD:*:*) - echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - exit 0 ;; - *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - exit 0 ;; - i*:CYGWIN*:*) - echo i386-pc-cygwin32 - exit 0 ;; - i*:MINGW*:*) - echo i386-pc-mingw32 - exit 0 ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin32 - exit 0 ;; - prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - *:GNU:*:*) - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit 0 ;; - *:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. - ld_help_string=`ld --help 2>&1` - ld_supported_emulations=`echo $ld_help_string \ - | sed -ne '/supported emulations:/!d - s/[ ][ ]*/ /g - s/.*supported emulations: *// - s/ .*// - p'` - case "$ld_supported_emulations" in - i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;; - i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;; - sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; - m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; - elf32ppc) echo "powerpc-unknown-linux-gnu" ; exit 0 ;; - esac - - if test "${UNAME_MACHINE}" = "alpha" ; then - sed 's/^ //' <dummy.s - .globl main - .ent main - main: - .frame \$30,0,\$26,0 - .prologue 0 - .long 0x47e03d80 # implver $0 - lda \$2,259 - .long 0x47e20c21 # amask $2,$1 - srl \$1,8,\$2 - sll \$2,2,\$2 - sll \$0,3,\$0 - addl \$1,\$0,\$0 - addl \$2,\$0,\$0 - ret \$31,(\$26),1 - .end main -EOF - LIBC="" - ${CC-cc} dummy.s -o dummy 2>/dev/null - if test "$?" = 0 ; then - ./dummy - case "$?" in - 7) - UNAME_MACHINE="alpha" - ;; - 15) - UNAME_MACHINE="alphaev5" - ;; - 14) - UNAME_MACHINE="alphaev56" - ;; - 10) - UNAME_MACHINE="alphapca56" - ;; - 16) - UNAME_MACHINE="alphaev6" - ;; - esac - - objdump --private-headers dummy | \ - grep ld.so.1 > /dev/null - if test "$?" = 0 ; then - LIBC="libc1" - fi - fi - rm -f dummy.s dummy - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0 - elif test "${UNAME_MACHINE}" = "mips" ; then - cat >dummy.c </dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0 - rm -f dummy.c dummy - else - # Either a pre-BFD a.out linker (linux-gnuoldld) - # or one that does not give us useful --help. - # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout. - # If ld does not provide *any* "supported emulations:" - # that means it is gnuoldld. - echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:" - test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0 - - case "${UNAME_MACHINE}" in - i?86) - VENDOR=pc; - ;; - *) - VENDOR=unknown; - ;; - esac - # Determine whether the default compiler is a.out or elf - cat >dummy.c < -main(argc, argv) - int argc; - char *argv[]; -{ -#ifdef __ELF__ -# ifdef __GLIBC__ -# if __GLIBC__ >= 2 - printf ("%s-${VENDOR}-linux-gnu\n", argv[1]); -# else - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); -# endif -# else - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); -# endif -#else - printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]); -#endif - return 0; -} -EOF - ${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0 - rm -f dummy.c dummy - fi ;; -# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions -# are messed up and put the nodename in both sysname and nodename. - i?86:DYNIX/ptx:4*:*) - echo i386-sequent-sysv4 - exit 0 ;; - i?86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, - # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit 0 ;; - i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*) - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE} - fi - exit 0 ;; - i?86:*:3.2:*) - if test -f /usr/options/cb.name; then - UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ - && UNAME_MACHINE=i586 - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL - else - echo ${UNAME_MACHINE}-pc-sysv32 - fi - exit 0 ;; - pc:*:*:*) - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i386. - echo i386-pc-msdosdjgpp - exit 0 ;; - Intel:Mach:3*:*) - echo i386-pc-mach3 - exit 0 ;; - paragon:*:*:*) - echo i860-intel-osf1 - exit 0 ;; - i860:*:4.*:*) # i860-SVR4 - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 - else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 - fi - exit 0 ;; - mini*:CTIX:SYS*5:*) - # "miniframe" - echo m68010-convergent-sysv - exit 0 ;; - M68*:*:R3V[567]*:*) - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) - OS_REL='' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4.3${OS_REL} && exit 0 - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4 && exit 0 ;; - m68*:LynxOS:2.*:*) - echo m68k-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit 0 ;; - i?86:LynxOS:2.*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*) - echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - SM[BE]S:UNIX_SV:*:*) - echo mips-dde-sysv${UNAME_RELEASE} - exit 0 ;; - RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit 0 ;; - *:SINIX-*:*:*) - if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo ${UNAME_MACHINE}-sni-sysv4 - else - echo ns32k-sni-sysv - fi - exit 0 ;; - PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit 0 ;; - *:UNIX_System_V:4*:FTX*) - # From Gerald Hewes . - # How about differentiating between stratus architectures? -djm - echo hppa1.1-stratus-sysv4 - exit 0 ;; - *:*:*:FTX*) - # From seanf@swdc.stratus.com. - echo i860-stratus-sysv4 - exit 0 ;; - mc68*:A/UX:*:*) - echo m68k-apple-aux${UNAME_RELEASE} - exit 0 ;; - news*:NEWS-OS:*:6*) - echo mips-sony-newsos6 - exit 0 ;; - R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:*) - if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} - else - echo mips-unknown-sysv${UNAME_RELEASE} - fi - exit 0 ;; -esac - -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 - -cat >dummy.c < -# include -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif - -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix"); exit (0); -#endif - -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif - -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-pc-bsd\n"); exit (0); -#endif - -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); - - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -#if !defined (ultrix) - printf ("vax-dec-bsd\n"); exit (0); -#else - printf ("vax-dec-ultrix\n"); exit (0); -#endif -#endif - -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif - - exit (1); -} -EOF - -${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy && rm dummy.c dummy && exit 0 -rm -f dummy.c dummy - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } - -# Convex versions that predate uname can use getsysinfo(1) - -if [ -x /usr/convex/getsysinfo ] -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit 0 ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - c34*) - echo c34-convex-bsd - exit 0 ;; - c38*) - echo c38-convex-bsd - exit 0 ;; - c4*) - echo c4-convex-bsd - exit 0 ;; - esac -fi - -#echo '(Unable to guess system type)' 1>&2 - -exit 1 diff --git a/config.sub b/config.sub deleted file mode 100755 index 55704e9..0000000 --- a/config.sub +++ /dev/null @@ -1,958 +0,0 @@ -#! /bin/sh -# Configuration validation subroutine script, version 1.1. -# Copyright (C) 1991, 92, 93, 94, 95, 96, 1997 Free Software Foundation, Inc. -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file 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. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Configuration subroutine to validate and canonicalize a configuration type. -# Supply the specified configuration type as an argument. -# If it is invalid, we print an error message on stderr and exit with code 1. -# Otherwise, we print the canonical config type on stdout and succeed. - -# This file is supposed to be the same for all GNU packages -# and recognize all the CPU types, system types and aliases -# that are meaningful with *any* GNU software. -# Each package is responsible for reporting which valid configurations -# it does not support. The user should be able to distinguish -# a failure to support a valid configuration from a meaningless -# configuration. - -# The goal of this file is to map all the various variations of a given -# machine specification into a single specification in the form: -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -# or in some cases, the newer four-part form: -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -# It is wrong to echo any other type of specification. - -if [ x$1 = x ] -then - echo Configuration name missing. 1>&2 - echo "Usage: $0 CPU-MFR-OPSYS" 1>&2 - echo "or $0 ALIAS" 1>&2 - echo where ALIAS is a recognized configuration type. 1>&2 - exit 1 -fi - -# First pass through any local machine types. -case $1 in - *local*) - echo $1 - exit 0 - ;; - *) - ;; -esac - -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` -case $maybe_os in - linux-gnu*) - os=-$maybe_os - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` - ;; - *) - basic_machine=`echo $1 | sed 's/-[^-]*$//'` - if [ $basic_machine != $1 ] - then os=`echo $1 | sed 's/.*-/-/'` - else os=; fi - ;; -esac - -### Let's recognize common machines as not being operating systems so -### that things like config.sub decstation-3100 work. We also -### recognize some manufacturers as not being operating systems, so we -### can provide default operating systems below. -case $os in - -sun*os*) - # Prevent following clause from handling this invalid input. - ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple) - os= - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco5) - os=sco3.2v5 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.[4-9]*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v[4-9]*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*) - os=-lynxos - ;; - -ptx*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` - ;; - -windowsnt*) - os=`echo $os | sed -e 's/windowsnt/winnt/'` - ;; - -psos*) - os=-psos - ;; -esac - -# Decode aliases for certain CPU-COMPANY combinations. -case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \ - | arme[lb] | pyramid | mn10200 | mn10300 \ - | tron | a29k | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 \ - | alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \ - | i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \ - | mips64 | mipsel | mips64el | mips64orion | mips64orionel \ - | mipstx39 | mipstx39el \ - | sparc | sparclet | sparclite | sparc64 | v850) - basic_machine=$basic_machine-unknown - ;; - # We use `pc' rather than `unknown' - # because (1) that's what they normally are, and - # (2) the word "unknown" tends to confuse beginning users. - i[3456]86) - basic_machine=$basic_machine-pc - ;; - # Object if more than one company name word. - *-*-*) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - vax-* | tahoe-* | i[3456]86-* | i860-* | m32r-* | m68k-* | m68000-* \ - | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ - | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ - | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \ - | xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* \ - | alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \ - | ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \ - | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ - | sparc64-* | mips64-* | mipsel-* \ - | mips64el-* | mips64orion-* | mips64orionel-* \ - | mipstx39-* | mipstx39el-* \ - | f301-*) - ;; - # Recognize the various machine names and aliases which stand - # for a CPU type and a company and sometimes even an OS. - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att - ;; - 3b*) - basic_machine=we32k-att - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-cbm - ;; - amigaos | amigados) - basic_machine=m68k-cbm - os=-amigaos - ;; - amigaunix | amix) - basic_machine=m68k-cbm - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | ymp) - basic_machine=ymp-cray - os=-unicos - ;; - cray2) - basic_machine=cray2-cray - os=-unicos - ;; - [ctj]90-cray) - basic_machine=c90-cray - os=-unicos - ;; - crds | unos) - basic_machine=m68k-crds - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec - ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx - ;; - dpx2* | dpx2*-bull) - basic_machine=m68k-bull - os=-sysv3 - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd - ;; - encore | umax | mmax) - basic_machine=ns32k-encore - ;; - fx2800) - basic_machine=i860-alliant - ;; - genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux - ;; - hp9k2[0-9][0-9] | hp9k31[0-9]) - basic_machine=m68000-hp - ;; - hp9k3[2-9][0-9]) - basic_machine=m68k-hp - ;; - hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7) - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][0-9] | hp8[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hppa-next) - os=-nextstep3 - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm - os=-mvs - ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? - i[3456]86v32) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv32 - ;; - i[3456]86v4*) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv4 - ;; - i[3456]86v) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv - ;; - i[3456]86sol2) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) - ;; - *) - os=-irix4 - ;; - esac - ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - m88k-omron*) - basic_machine=m88k-omron - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - miniframe) - basic_machine=m68000-convergent - ;; - mipsel*-linux*) - basic_machine=mipsel-unknown - os=-linux-gnu - ;; - mips*-linux*) - basic_machine=mips-unknown - os=-linux-gnu - ;; - mips3*-*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos - ;; - news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - next | m*-next ) - basic_machine=m68k-next - case $os in - -nextstep* ) - ;; - -ns2*) - os=-nextstep2 - ;; - *) - os=-nextstep3 - ;; - esac - ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh[45]000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - np1) - basic_machine=np1-gould - ;; - pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - pbd) - basic_machine=sparc-tti - ;; - pbb) - basic_machine=m68k-tti - ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 - ;; - pentium | p5) - basic_machine=i586-intel - ;; - pentiumpro | p6) - basic_machine=i686-intel - ;; - pentium-* | p5-*) - basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumpro-* | p6-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - k5) - # We don't have specific support for AMD's K5 yet, so just call it a Pentium - basic_machine=i586-amd - ;; - nexen) - # We don't have specific support for Nexgen yet, so just call it a Pentium - basic_machine=i586-nexgen - ;; - pn) - basic_machine=pn-gould - ;; - power) basic_machine=rs6000-ibm - ;; - ppc) basic_machine=powerpc-unknown - ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppcle | powerpclittle | ppc-le | powerpc-little) - basic_machine=powerpcle-unknown - ;; - ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ps2) - basic_machine=i386-ibm - ;; - rm[46]00) - basic_machine=mips-siemens - ;; - rtpc | rtpc-*) - basic_machine=romp-ibm - ;; - sequent) - basic_machine=i386-sequent - ;; - sh) - basic_machine=sh-hitachi - os=-hms - ;; - sps7) - basic_machine=m68k-bull - os=-sysv2 - ;; - spur) - basic_machine=spur-unknown - ;; - sun2) - basic_machine=m68000-sun - ;; - sun2os3) - basic_machine=m68000-sun - os=-sunos3 - ;; - sun2os4) - basic_machine=m68000-sun - os=-sunos4 - ;; - sun3os3) - basic_machine=m68k-sun - os=-sunos3 - ;; - sun3os4) - basic_machine=m68k-sun - os=-sunos4 - ;; - sun4os3) - basic_machine=sparc-sun - os=-sunos3 - ;; - sun4os4) - basic_machine=sparc-sun - os=-sunos4 - ;; - sun4sol2) - basic_machine=sparc-sun - os=-solaris2 - ;; - sun3 | sun3-*) - basic_machine=m68k-sun - ;; - sun4) - basic_machine=sparc-sun - ;; - sun386 | sun386i | roadrunner) - basic_machine=i386-sun - ;; - symmetry) - basic_machine=i386-sequent - os=-dynix - ;; - tx39) - basic_machine=mipstx39-unknown - ;; - tx39el) - basic_machine=mipstx39el-unknown - ;; - tower | tower-32) - basic_machine=m68k-ncr - ;; - udi29k) - basic_machine=a29k-amd - os=-udi - ;; - ultra3) - basic_machine=a29k-nyu - os=-sym1 - ;; - vaxv) - basic_machine=vax-dec - os=-sysv - ;; - vms) - basic_machine=vax-dec - os=-vms - ;; - vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; - vxworks960) - basic_machine=i960-wrs - os=-vxworks - ;; - vxworks68) - basic_machine=m68k-wrs - os=-vxworks - ;; - vxworks29k) - basic_machine=a29k-wrs - os=-vxworks - ;; - xmp) - basic_machine=xmp-cray - os=-unicos - ;; - xps | xps100) - basic_machine=xps100-honeywell - ;; - none) - basic_machine=none-none - os=-none - ;; - -# Here we handle the default manufacturer of certain CPU types. It is in -# some cases the only manufacturer, in others, it is the most popular. - mips) - if [ x$os = x-linux-gnu ]; then - basic_machine=mips-unknown - else - basic_machine=mips-mips - fi - ;; - romp) - basic_machine=romp-ibm - ;; - rs6000) - basic_machine=rs6000-ibm - ;; - vax) - basic_machine=vax-dec - ;; - pdp11) - basic_machine=pdp11-dec - ;; - we32k) - basic_machine=we32k-att - ;; - sparc) - basic_machine=sparc-sun - ;; - cydra) - basic_machine=cydra-cydrome - ;; - orion) - basic_machine=orion-highlevel - ;; - orion105) - basic_machine=clipper-highlevel - ;; - *) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; -esac - -# Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` - ;; - *-commodore*) - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` - ;; - *) - ;; -esac - -# Decode manufacturer-specific aliases for certain operating systems. - -if [ x"$os" != x"" ] -then -case $os in - # First match some system type aliases - # that might get confused with valid system types. - # -solaris* is a basic system type, with this one exception. - -solaris1 | -solaris1.*) - os=`echo $os | sed -e 's|solaris1|sunos4|'` - ;; - -solaris) - os=-solaris2 - ;; - -svr4*) - os=-sysv4 - ;; - -unixware*) - os=-sysv4.2uw - ;; - -gnu/linux*) - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` - ;; - # First accept the basic system types. - # The portable systems comes first. - # Each alternative MUST END IN A *, to match a version number. - # -sysv* is not here because it comes later, after sysvr4. - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \ - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -uxpv*) - # Remember, each alternative MUST END IN *, to match a version number. - ;; - -linux*) - os=`echo $os | sed -e 's|linux|linux-gnu|'` - ;; - -sunos5*) - os=`echo $os | sed -e 's|sunos5|solaris2|'` - ;; - -sunos6*) - os=`echo $os | sed -e 's|sunos6|solaris3|'` - ;; - -osfrose*) - os=-osfrose - ;; - -osf*) - os=-osf - ;; - -utek*) - os=-bsd - ;; - -dynix*) - os=-bsd - ;; - -acis*) - os=-aos - ;; - -ctix* | -uts*) - os=-sysv - ;; - -ns2 ) - os=-nextstep2 - ;; - # Preserve the version number of sinix5. - -sinix5.*) - os=`echo $os | sed -e 's|sinix|sysv|'` - ;; - -sinix*) - os=-sysv4 - ;; - -triton*) - os=-sysv3 - ;; - -oss*) - os=-sysv3 - ;; - -svr4) - os=-sysv4 - ;; - # For sys5.3 apollo - -sys5.3) - os=-sysv3 - ;; - -svr3) - os=-sysv3 - ;; - -sysvr4) - os=-sysv4 - ;; - # This must come after -sysvr4. - -sysv*) - ;; - -xenix) - os=-xenix - ;; - -none) - ;; - *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/[^-]*-//'` - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 - exit 1 - ;; -esac -else - -# Here we handle the default operating systems that come with various machines. -# The value should be what the vendor currently ships out the door with their -# machine or put another way, the most popular os provided with the machine. - -# Note that if you're going to try to match "-MANUFACTURER" here (say, -# "-sun"), then you have to tell the case statement up towards the top -# that MANUFACTURER isn't an operating system. Otherwise, code above -# will signal an error saying that MANUFACTURER isn't an operating -# system, and we'll never get to this point. - -case $basic_machine in - *-acorn) - os=-riscix1.2 - ;; - arm*-semi) - os=-aout - ;; - pdp11-*) - os=-none - ;; - *-dec | vax-*) - os=-ultrix4.2 - ;; - m68*-apollo) - os=-domain - ;; - i386-sun) - os=-sunos4.0.2 - ;; - m68000-sun) - os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 - ;; - *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 - ;; - sparc-* | *-sun) - os=-sunos4.1.1 - ;; - *-ibm) - os=-aix - ;; - *-hp) - os=-hpux - ;; - *-hitachi) - os=-hiux - ;; - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv - ;; - *-cbm) - os=-amigaos - ;; - *-dg) - os=-dgux - ;; - *-dolphin) - os=-sysv3 - ;; - m68k-ccur) - os=-rtu - ;; - m88k-omron*) - os=-luna - ;; - *-next ) - os=-nextstep - ;; - *-sequent) - os=-ptx - ;; - *-crds) - os=-unos - ;; - *-ns) - os=-genix - ;; - i370-*) - os=-mvs - ;; - *-next) - os=-nextstep3 - ;; - *-gould) - os=-sysv - ;; - *-highlevel) - os=-bsd - ;; - *-encore) - os=-bsd - ;; - *-sgi) - os=-irix - ;; - *-siemens) - os=-sysv4 - ;; - *-masscomp) - os=-rtu - ;; - f301-fujitsu) - os=-uxpv - ;; - *) - os=-none - ;; -esac -fi - -# Here we handle the case where we know the os, and the CPU type, but not the -# manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) - case $os in - -riscix*) - vendor=acorn - ;; - -sunos*) - vendor=sun - ;; - -aix*) - vendor=ibm - ;; - -hpux*) - vendor=hp - ;; - -hiux*) - vendor=hitachi - ;; - -unos*) - vendor=crds - ;; - -dgux*) - vendor=dg - ;; - -luna*) - vendor=omron - ;; - -genix*) - vendor=ns - ;; - -mvs*) - vendor=ibm - ;; - -ptx*) - vendor=sequent - ;; - -vxsim* | -vxworks*) - vendor=wrs - ;; - -aux*) - vendor=apple - ;; - esac - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` - ;; -esac - -echo $basic_machine$os diff --git a/configure b/configure index 11480e9..b314044 100755 --- a/configure +++ b/configure @@ -1,66 +1,325 @@ #! /bin/sh - # Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.13 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. +# Generated by GNU Autoconf 2.59. # +# Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi +DUALCASE=1; export DUALCASE # for MKS sh + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# Work around bugs in pre-3.0 UWIN ksh. +$as_unset ENV MAIL MAILPATH +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)$' \| \ + . : '\(.\)' 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } + /^X\/\(\/\/\)$/{ s//\1/; q; } + /^X\/\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + + +# PATH needs CR, and LINENO needs CR and PATH. +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" || { + # Find who we are. Look in the path if we contain no path at all + # relative or not. + case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done + + ;; + esac + # We did not find ourselves, most probably we were run as `sh COMMAND' + # in which case we are not to be found in the path. + if test "x$as_myself" = x; then + as_myself=$0 + fi + if test ! -f "$as_myself"; then + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 + { (exit 1); exit 1; }; } + fi + case $CONFIG_SHELL in + '') + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for as_base in sh bash ksh sh5; do + case $as_dir in + /*) + if ("$as_dir/$as_base" -c ' + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } + CONFIG_SHELL=$as_dir/$as_base + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$0" ${1+"$@"} + fi;; + esac + done +done +;; + esac + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line before each line; the second 'sed' does the real + # work. The second script uses 'N' to pair each line-number line + # with the numbered line, and appends trailing '-' during + # substitution so that $LINENO is not a special case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) + sed '=' <$as_myself | + sed ' + N + s,$,-, + : loop + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, + t loop + s,-$,, + s,^['$as_cr_digits']*\n,, + ' >$as_me.lineno && + chmod +x $as_me.lineno || + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensible to this). + . ./$as_me.lineno + # Exit status is that of the last command. + exit +} + + +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in + *c*,-n*) ECHO_N= ECHO_C=' +' ECHO_T=' ' ;; + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; +esac + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' + else + as_ln_s='ln -s' + fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_executable_p="test -f" + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +# IFS +# We need space, tab and new line, in precisely that order. +as_nl=' +' +IFS=" $as_nl" + +# CDPATH. +$as_unset CDPATH + -# Defaults: -ac_help= +# Name of the host. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +exec 6>&1 + +# +# Initializations. +# ac_default_prefix=/usr/local -# Any additions from configure.in: -ac_help="$ac_help - --disable-gimp do not include GIMP plugin mode" -ac_help="$ac_help - --disable-jpeg do not include JPEG support" -ac_help="$ac_help - --disable-png do not include PNG support" -ac_help="$ac_help - --disable-tiff do not include TIFF support" -ac_help="$ac_help - --disable-nls do not use Native Language Support" -ac_help="$ac_help - --with-included-gettext use the GNU gettext library included here" -ac_help="$ac_help - --with-catgets use catgets functions if available" -ac_help="$ac_help - --with-sane-prefix=PFX Prefix where SANE is installed (optional)" -ac_help="$ac_help - --with-sane-exec-prefix=PFX Exec prefix where SANE is installed (optional)" -ac_help="$ac_help - --disable-sanetest Do not try to compile and run a test SANE program" -ac_help="$ac_help - --with-gtk-prefix=PFX Prefix where GTK is installed (optional)" -ac_help="$ac_help - --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)" -ac_help="$ac_help - --disable-gtktest Do not try to compile and run a test GTK program" -ac_help="$ac_help - --with-gimp-prefix=PFX Prefix where GIMP is installed (optional)" -ac_help="$ac_help - --with-gimp-exec-prefix=PFX Exec prefix where GIMP is installed (optional)" -ac_help="$ac_help - --disable-gimptest Do not try to compile and run a test GIMP program" -ac_help="$ac_help +ac_config_libobj_dir=. +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} -Used environment variables that can be set by user: - CFLAGS, CPPFLAGS, LDFLAGS, LIBS" -ac_help="$ac_help +# Maximum number of lines to put in a shell here document. +# This variable seems obsolete. It should probably be removed, and +# only ac_max_sed_lines should be used. +: ${ac_max_here_lines=38} + +# Identity of this package. +PACKAGE_NAME= +PACKAGE_TARNAME= +PACKAGE_VERSION= +PACKAGE_STRING= +PACKAGE_BUGREPORT= + +ac_unique_file="include/config.h.in" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#if HAVE_SYS_TYPES_H +# include +#endif +#if HAVE_SYS_STAT_H +# include +#endif +#if STDC_HEADERS +# include +# include +#else +# if HAVE_STDLIB_H +# include +# endif +#endif +#if HAVE_STRING_H +# if !STDC_HEADERS && HAVE_MEMORY_H +# include +# endif +# include +#endif +#if HAVE_STRINGS_H +# include +#endif +#if HAVE_INTTYPES_H +# include +#else +# if HAVE_STDINT_H +# include +# endif +#endif +#if HAVE_UNISTD_H +# include +#endif" -To add include or library paths call: - [env] CPPFLAGS=\"-I/path/to/foo/include\" LDFLAGS=\"-L/path/to/foo/libs\" ./configure" +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION XSANE_PACKAGE_VERSION SANE_MAJOR CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE ALLOCA RANLIB ac_ct_RANLIB USE_NLS MSGFMT GMSGFMT XGETTEXT GENCAT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l INTLSUB SANE_CONFIG SANE_LDFLAGS SANE_CFLAGS SANE_LIBS SANE_PREFIX PKG_CONFIG GIMP_CFLAGS GIMP_LIBS GIMP_CFLAGS_NOUI GIMP_LIBS_NOUI GIMP_DATA_DIR GIMP_PLUGIN_DIR GTK_CFLAGS GTK_LIBS GTK_CONFIG GIMP_CONFIG GIMP_TOOL INCLUDES BINPROGS V_MAJOR V_MINOR DLL_PRELOAD XSANE_ICON LIBOBJS LTLIBOBJS' +ac_subst_files='' # Initialize some variables set by options. +ac_init_help= +ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. -build=NONE -cache_file=./config.cache +cache_file=/dev/null exec_prefix=NONE -host=NONE no_create= -nonopt=NONE no_recursion= prefix=NONE program_prefix=NONE @@ -69,10 +328,15 @@ program_transform_name=s,x,x, silent= site= srcdir= -target=NONE verbose= x_includes=NONE x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' @@ -86,17 +350,9 @@ oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' -# Initialize some other variables. -subdirs= -MFLAGS= MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} -# Maximum number of lines to put in a shell here document. -ac_max_here_lines=12 - ac_prev= for ac_option do - # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" @@ -104,59 +360,59 @@ do continue fi - case "$ac_option" in - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; - *) ac_optarg= ;; - esac + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. - case "$ac_option" in + case $ac_option in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir="$ac_optarg" ;; + bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) - ac_prev=build ;; + ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build="$ac_optarg" ;; + build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file="$ac_optarg" ;; + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) - datadir="$ac_optarg" ;; + datadir=$ac_optarg ;; -disable-* | --disable-*) - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - eval "enable_${ac_feature}=no" ;; + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/-/_/g'` + eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/-/_/g'` + case $ac_option in + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac - eval "enable_${ac_feature}='$ac_optarg'" ;; + eval "enable_$ac_feature='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ @@ -165,95 +421,47 @@ do -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) - exec_prefix="$ac_optarg" ;; + exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; - -help | --help | --hel | --he) - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat << EOF -Usage: configure [options] [host] -Options: [defaults in brackets after descriptions] -Configuration: - --cache-file=FILE cache test results in FILE - --help print this message - --no-create do not create output files - --quiet, --silent do not print \`checking...' messages - --version print the version of autoconf that created configure -Directory and file names: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [same as prefix] - --bindir=DIR user executables in DIR [EPREFIX/bin] - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] - --libexecdir=DIR program executables in DIR [EPREFIX/libexec] - --datadir=DIR read-only architecture-independent data in DIR - [PREFIX/share] - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data in DIR - [PREFIX/com] - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] - --libdir=DIR object code libraries in DIR [EPREFIX/lib] - --includedir=DIR C header files in DIR [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] - --infodir=DIR info documentation in DIR [PREFIX/info] - --mandir=DIR man documentation in DIR [PREFIX/man] - --srcdir=DIR find the sources in DIR [configure dir or ..] - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM - run sed PROGRAM on installed program names -EOF - cat << EOF -Host type: - --build=BUILD configure for building on BUILD [BUILD=HOST] - --host=HOST configure for HOST [guessed] - --target=TARGET configure for TARGET [TARGET=HOST] -Features and packages: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR -EOF - if test -n "$ac_help"; then - echo "--enable and --with options recognized:$ac_help" - fi - exit 0 ;; + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; -host | --host | --hos | --ho) - ac_prev=host ;; + ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) - host="$ac_optarg" ;; + host_alias=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir="$ac_optarg" ;; + includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir="$ac_optarg" ;; + infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir="$ac_optarg" ;; + libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) - libexecdir="$ac_optarg" ;; + libexecdir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ @@ -262,19 +470,19 @@ EOF -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) - localstatedir="$ac_optarg" ;; + localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir="$ac_optarg" ;; + mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) + | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ @@ -288,26 +496,26 @@ EOF -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir="$ac_optarg" ;; + oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix="$ac_optarg" ;; + prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix="$ac_optarg" ;; + program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix="$ac_optarg" ;; + program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ @@ -324,7 +532,7 @@ EOF | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name="$ac_optarg" ;; + program_transform_name=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) @@ -334,7 +542,7 @@ EOF ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) - sbindir="$ac_optarg" ;; + sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ @@ -345,58 +553,57 @@ EOF | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) - sharedstatedir="$ac_optarg" ;; + sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) - site="$ac_optarg" ;; + site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir="$ac_optarg" ;; + srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir="$ac_optarg" ;; + sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target ;; + ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target="$ac_optarg" ;; + target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; - -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.13" - exit 0 ;; + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; -with-* | --with-*) - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; + case $ac_option in + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac - eval "with_${ac_package}='$ac_optarg'" ;; + eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) - ac_package=`echo $ac_option|sed -e 's/-*without-//'` + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - eval "with_${ac_package}=no" ;; + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } + ac_package=`echo $ac_package | sed 's/-/_/g'` + eval "with_$ac_package=no" ;; --x) # Obsolete; use --with-x. @@ -407,99 +614,110 @@ EOF ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes="$ac_optarg" ;; + x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries="$ac_optarg" ;; + x_libraries=$ac_optarg ;; - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } + -*) { echo "$as_me: error: unrecognized option: $ac_option +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } ;; + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 + { (exit 1); exit 1; }; } + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` + eval "$ac_envvar='$ac_optarg'" + export $ac_envvar ;; + *) - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then - echo "configure: warning: $ac_option: invalid host type" 1>&2 - fi - if test "x$nonopt" != xNONE; then - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } - fi - nonopt="$ac_option" + # FIXME: should be removed in autoconf 3.0. + echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } -fi - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - -# File descriptor usage: -# 0 standard input -# 1 file creation -# 2 errors and warnings -# 3 some systems may open it to /dev/tty -# 4 used on the Kubota Titan -# 6 checking for... messages and results -# 5 compiler messages saved in config.log -if test "$silent" = yes; then - exec 6>/dev/null -else - exec 6>&1 + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + { echo "$as_me: error: missing argument to $ac_option" >&2 + { (exit 1); exit 1; }; } fi -exec 5>./config.log -echo "\ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. -" 1>&5 +# Be sure to have absolute paths. +for ac_var in exec_prefix prefix +do + eval ac_val=$`echo $ac_var` + case $ac_val in + [\\/$]* | ?:[\\/]* | NONE | '' ) ;; + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; };; + esac +done -# Strip out --no-create and --no-recursion so they do not pile up. -# Also quote any args containing shell metacharacters. -ac_configure_args= -for ac_arg +# Be sure to have absolute paths. +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ + localstatedir libdir includedir oldincludedir infodir mandir do - case "$ac_arg" in - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) ;; - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) - ac_configure_args="$ac_configure_args '$ac_arg'" ;; - *) ac_configure_args="$ac_configure_args $ac_arg" ;; + eval ac_val=$`echo $ac_var` + case $ac_val in + [\\/$]* | ?:[\\/]* ) ;; + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; };; esac done -# NLS nuisances. -# Only set these to C if already set. These must not be set unconditionally -# because not all systems understand e.g. LANG=C (notably SCO). -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! -# Non-C LC_CTYPE values break the ctype check. -if test "${LANG+set}" = set; then LANG=C; export LANG; fi -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi -if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -rf conftest* confdefs.h -# AIX cpp loses on an empty file, so make sure it contains at least a newline. -echo > confdefs.h +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null -# A filename unique to this package, relative to the directory that -# configure is in, which we can look for to find out if srcdir is correct. -ac_unique_file=include/config.h.in # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. - ac_prog=$0 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. + ac_confdir=`(dirname "$0") 2>/dev/null || +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$0" : 'X\(//\)[^/]' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$0" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. @@ -509,13 +727,484 @@ else fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 + { (exit 1); exit 1; }; } else - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 + { (exit 1); exit 1; }; } fi fi -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 + { (exit 1); exit 1; }; } +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` +ac_env_build_alias_set=${build_alias+set} +ac_env_build_alias_value=$build_alias +ac_cv_env_build_alias_set=${build_alias+set} +ac_cv_env_build_alias_value=$build_alias +ac_env_host_alias_set=${host_alias+set} +ac_env_host_alias_value=$host_alias +ac_cv_env_host_alias_set=${host_alias+set} +ac_cv_env_host_alias_value=$host_alias +ac_env_target_alias_set=${target_alias+set} +ac_env_target_alias_value=$target_alias +ac_cv_env_target_alias_set=${target_alias+set} +ac_cv_env_target_alias_value=$target_alias +ac_env_CC_set=${CC+set} +ac_env_CC_value=$CC +ac_cv_env_CC_set=${CC+set} +ac_cv_env_CC_value=$CC +ac_env_CFLAGS_set=${CFLAGS+set} +ac_env_CFLAGS_value=$CFLAGS +ac_cv_env_CFLAGS_set=${CFLAGS+set} +ac_cv_env_CFLAGS_value=$CFLAGS +ac_env_LDFLAGS_set=${LDFLAGS+set} +ac_env_LDFLAGS_value=$LDFLAGS +ac_cv_env_LDFLAGS_set=${LDFLAGS+set} +ac_cv_env_LDFLAGS_value=$LDFLAGS +ac_env_CPPFLAGS_set=${CPPFLAGS+set} +ac_env_CPPFLAGS_value=$CPPFLAGS +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} +ac_cv_env_CPPFLAGS_value=$CPPFLAGS +ac_env_CPP_set=${CPP+set} +ac_env_CPP_value=$CPP +ac_cv_env_CPP_set=${CPP+set} +ac_cv_env_CPP_value=$CPP + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures this package to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +_ACEOF + + cat <<_ACEOF +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --datadir=DIR read-only architecture-independent data [PREFIX/share] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --infodir=DIR info documentation [PREFIX/info] + --mandir=DIR man documentation [PREFIX/man] +_ACEOF + + cat <<\_ACEOF +_ACEOF +fi + +if test -n "$ac_init_help"; then + + cat <<\_ACEOF + +Optional Features: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --disable-gtk2 do not use GTK+-2.0, if available use GTK+-1.2 + --disable-gimp do not include GIMP plugin mode + --disable-gimp2 do not use GIMP-2.0, use GIMP-1.x if available + --disable-jpeg do not include JPEG support + --disable-png do not include PNG support + --disable-tiff do not include TIFF support + --disable-nls do not use Native Language Support + --disable-sanetest Do not try to compile and run a test SANE program + --disable-gimptest do not try to compile and run a test GIMP program + --disable-gtktest do not try to compile and run a test GTK+ program + +Used environment variables that can be set by user: + CFLAGS, CPPFLAGS, LDFLAGS, LIBS + +To add include or library paths call: + env CPPFLAGS=\"-I/path/to/foo/include\" LDFLAGS=\"-L/path/to/foo/libs\" ./configure + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-included-gettext use the GNU gettext library included here + --with-catgets use catgets functions if available + --with-gtk-prefix=PFX Prefix where GTK is installed (optional) + --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional) + --with-gimp-prefix=PFX Prefix where GIMP is installed (optional) + --with-gimp-exec-prefix=PFX Exec prefix where GIMP is installed (optional) + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have + headers in a nonstandard directory + CPP C preprocessor + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +_ACEOF +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + ac_popdir=`pwd` + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d $ac_dir || continue + ac_builddir=. + +if test "$ac_dir" != .; then + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac + +# Do not use `cd foo && pwd` to compute absolute paths, because +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dir";; +*) + case "$ac_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; +esac + + cd $ac_dir + # Check for guested configure; otherwise get Cygnus style configure. + if test -f $ac_srcdir/configure.gnu; then + echo + $SHELL $ac_srcdir/configure.gnu --help=recursive + elif test -f $ac_srcdir/configure; then + echo + $SHELL $ac_srcdir/configure --help=recursive + elif test -f $ac_srcdir/configure.ac || + test -f $ac_srcdir/configure.in; then + echo + $ac_configure --help + else + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi + cd $ac_popdir + done +fi + +test -n "$ac_init_help" && exit 0 +if $ac_init_version; then + cat <<\_ACEOF + +Copyright (C) 2003 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit 0 +fi +exec 5>config.log +cat >&5 <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by $as_me, which was +generated by GNU Autoconf 2.59. Invocation command line was + + $ $0 $@ + +_ACEOF +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +hostinfo = `(hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + echo "PATH: $as_dir" +done + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_sep= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; + 2) + ac_configure_args1="$ac_configure_args1 '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" + # Get rid of the leading space. + ac_sep=" " + ;; + esac + done +done +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Be sure not to use single quotes in there, as some shells, +# such as our DU 5.0 friend, will then `close' the trap. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + cat <<\_ASBOX +## ---------------- ## +## Cache variables. ## +## ---------------- ## +_ASBOX + echo + # The following way of writing the cache mishandles newlines in values, +{ + (set) 2>&1 | + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in + *ac_space=\ *) + sed -n \ + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" + ;; + *) + sed -n \ + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + ;; + esac; +} + echo + + cat <<\_ASBOX +## ----------------- ## +## Output variables. ## +## ----------------- ## +_ASBOX + echo + for ac_var in $ac_subst_vars + do + eval ac_val=$`echo $ac_var` + echo "$ac_var='"'"'$ac_val'"'"'" + done | sort + echo + + if test -n "$ac_subst_files"; then + cat <<\_ASBOX +## ------------- ## +## Output files. ## +## ------------- ## +_ASBOX + echo + for ac_var in $ac_subst_files + do + eval ac_val=$`echo $ac_var` + echo "$ac_var='"'"'$ac_val'"'"'" + done | sort + echo + fi + + if test -s confdefs.h; then + cat <<\_ASBOX +## ----------- ## +## confdefs.h. ## +## ----------- ## +_ASBOX + echo + sed "/^$/d" confdefs.h | sort + echo + fi + test "$ac_signal" != 0 && + echo "$as_me: caught signal $ac_signal" + echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core && + rm -rf conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status + ' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -rf conftest* confdefs.h +# AIX cpp loses on an empty file, so make sure it contains at least a newline. +echo >confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +# Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then @@ -526,545 +1215,907 @@ if test -z "$CONFIG_SITE"; then fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then - echo "loading site script $ac_site_file" + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 +echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then - echo "loading cache $cache_file" - . $cache_file + # Some versions of bash will fail to source /dev/null (special + # files actually), so we avoid doing that. + if test -f "$cache_file"; then + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 +echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . $cache_file;; + *) . ./$cache_file;; + esac + fi else - echo "creating cache $cache_file" - > $cache_file + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 +echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in `(set) 2>&1 | + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val="\$ac_cv_env_${ac_var}_value" + eval ac_new_val="\$ac_env_${ac_var}_value" + case $ac_old_set,$ac_new_set in + set,) + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 +echo "$as_me: former value: $ac_old_val" >&2;} + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 +echo "$as_me: current value: $ac_new_val" >&2;} + ac_cache_corrupted=: + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 +echo "$as_me: error: changes in the environment can compromise the build" >&2;} + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} + { (exit 1); exit 1; }; } fi ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -ac_exeext= -ac_objext=o -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then - ac_n= ac_c=' -' ac_t=' ' - else - ac_n=-n ac_c= ac_t= - fi -else - ac_n= ac_c='\c' ac_t= -fi +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + + + + + + + + + + + + + + ac_config_headers="$ac_config_headers include/config.h" + # AC_PREREQ(2.10)dnl dnl Minimum Autoconf version required. # AC_ARG_PROGRAM # version code: V_MAJOR=0 -V_MINOR=84 +V_MINOR=97 PACKAGE=xsane BINPROGS="xsane" # languages -ALL_LINGUAS="cs de es fr nl ru sl sr sv it ja tr" +ALL_LINGUAS="cs da de es fr it ja nl pl pt pt_BR ro ru sk sl sr sv vi tr zh" SANE_V_MAJOR=1 VERSION=${V_MAJOR}.${V_MINOR} -PACKAGE_VERSION="$PACKAGE-$VERSION" -cat >> confdefs.h <>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" -EOF +_ACEOF + -cat >> confdefs.h <>confdefs.h <<_ACEOF #define VERSION "$VERSION" -EOF +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define XSANE_PACKAGE_VERSION "$XSANE_PACKAGE_VERSION" +_ACEOF + -cat >> confdefs.h <&5 +echo $ECHO_N "checking whether GTK+-2.0 is requested... $ECHO_C" >&6 +# Check whether --enable-gtk2 or --disable-gtk2 was given. +if test "${enable_gtk2+set}" = set; then + enableval="$enable_gtk2" + USE_GTK2=$enableval +else + USE_GTK2=yes +fi; +echo "$as_me:$LINENO: result: $USE_GTK2" >&5 +echo "${ECHO_T}$USE_GTK2" >&6 -echo $ac_n "checking whether GIMP plugin is requested""... $ac_c" 1>&6 -echo "configure:603: checking whether GIMP plugin is requested" >&5 +echo "$as_me:$LINENO: checking whether GIMP plugin is requested" >&5 +echo $ECHO_N "checking whether GIMP plugin is requested... $ECHO_C" >&6 # Check whether --enable-gimp or --disable-gimp was given. if test "${enable_gimp+set}" = set; then enableval="$enable_gimp" USE_GIMP=$enableval else USE_GIMP=yes -fi +fi; +echo "$as_me:$LINENO: result: $USE_GIMP" >&5 +echo "${ECHO_T}$USE_GIMP" >&6 -echo "$ac_t""$USE_GIMP" 1>&6 +if test "${USE_GIMP}" = "yes"; then + echo "$as_me:$LINENO: checking whether GIMP-2.0 is requested" >&5 +echo $ECHO_N "checking whether GIMP-2.0 is requested... $ECHO_C" >&6 + # Check whether --enable-gimp2 or --disable-gimp2 was given. +if test "${enable_gimp2+set}" = set; then + enableval="$enable_gimp2" + TRY_GIMP_2=$enableval +else + TRY_GIMP_2=yes +fi; + echo "$as_me:$LINENO: result: $TRY_GIMP_2" >&5 +echo "${ECHO_T}$TRY_GIMP_2" >&6 +fi -echo $ac_n "checking whether JPEG support is requested""... $ac_c" 1>&6 -echo "configure:615: checking whether JPEG support is requested" >&5 +echo "$as_me:$LINENO: checking whether JPEG support is requested" >&5 +echo $ECHO_N "checking whether JPEG support is requested... $ECHO_C" >&6 # Check whether --enable-jpeg or --disable-jpeg was given. if test "${enable_jpeg+set}" = set; then enableval="$enable_jpeg" USE_JPEG=$enableval else USE_JPEG=yes -fi +fi; +echo "$as_me:$LINENO: result: $USE_JPEG" >&5 +echo "${ECHO_T}$USE_JPEG" >&6 -echo "$ac_t""$USE_JPEG" 1>&6 - -echo $ac_n "checking whether PNG support is requested""... $ac_c" 1>&6 -echo "configure:627: checking whether PNG support is requested" >&5 +echo "$as_me:$LINENO: checking whether PNG support is requested" >&5 +echo $ECHO_N "checking whether PNG support is requested... $ECHO_C" >&6 # Check whether --enable-png or --disable-png was given. if test "${enable_png+set}" = set; then enableval="$enable_png" USE_PNG=$enableval else USE_PNG=yes -fi +fi; +echo "$as_me:$LINENO: result: $USE_PNG" >&5 +echo "${ECHO_T}$USE_PNG" >&6 -echo "$ac_t""$USE_PNG" 1>&6 - -echo $ac_n "checking whether TIFF support is requested""... $ac_c" 1>&6 -echo "configure:639: checking whether TIFF support is requested" >&5 +echo "$as_me:$LINENO: checking whether TIFF support is requested" >&5 +echo $ECHO_N "checking whether TIFF support is requested... $ECHO_C" >&6 # Check whether --enable-tiff or --disable-tiff was given. if test "${enable_tiff+set}" = set; then enableval="$enable_tiff" USE_TIFF=$enableval else USE_TIFF=yes -fi +fi; +echo "$as_me:$LINENO: result: $USE_TIFF" >&5 +echo "${ECHO_T}$USE_TIFF" >&6 -echo "$ac_t""$USE_TIFF" 1>&6 +echo "" +echo "**************************************************************************" +echo "" + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi -# Extract the first word of "gcc", so it can be a program name with args. +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:654: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + CC=$ac_ct_CC +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="gcc" - break - fi - done - IFS="$ac_save_ifs" +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + fi fi -CC="$ac_cv_prog_CC" +CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else - echo "$ac_t""no" 1>&6 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi + CC=$ac_ct_CC +else + CC="$ac_cv_prog_CC" +fi + +fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:684: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_prog_rejected=no - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - break - fi - done - IFS="$ac_save_ifs" +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift - if test $# -gt 0; then + if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift - set dummy "$ac_dir/$ac_word" "$@" - shift - ac_cv_prog_CC="$@" + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi -CC="$ac_cv_prog_CC" +CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - if test -z "$CC"; then - case "`uname -s`" in - *win32* | *WIN32*) - # Extract the first word of "cl", so it can be a program name with args. -set dummy cl; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:735: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="cl" - break - fi - done - IFS="$ac_save_ifs" +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + fi fi -CC="$ac_cv_prog_CC" +CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - ;; - esac - fi - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } -fi - -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:767: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 - -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -cat > conftest.$ac_ext << EOF - -#line 778 "configure" -#include "confdefs.h" - -main(){return(0);} -EOF -if { (eval echo configure:783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - ac_cv_prog_cc_works=yes - # If we can't run a trivial program, we are probably using a cross compiler. - if (./conftest; exit) 2>/dev/null; then - ac_cv_prog_cc_cross=no - else - ac_cv_prog_cc_cross=yes - fi + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_prog_cc_works=no + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -rm -fr conftest* -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 -if test $ac_cv_prog_cc_works = no; then - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } + test -n "$CC" && break + done fi -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:809: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 -cross_compiling=$ac_cv_prog_cc_cross +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:814: checking whether we are using GNU C" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then - ac_cv_prog_gcc=yes -else - ac_cv_prog_gcc=no fi fi - -echo "$ac_t""$ac_cv_prog_gcc" 1>&6 - -if test $ac_cv_prog_gcc = yes; then - GCC=yes +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 else - GCC= + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -ac_test_CFLAGS="${CFLAGS+set}" -ac_save_CFLAGS="$CFLAGS" -CFLAGS= -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:842: checking whether ${CC-cc} accepts -g" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then - ac_cv_prog_cc_g=yes -else - ac_cv_prog_cc_g=no -fi -rm -f conftest* + test -n "$ac_ct_CC" && break +done -fi + CC=$ac_ct_CC +fi + +fi + + +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&5 +echo "$as_me: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + +# Provide some information about the compiler. +echo "$as_me:$LINENO:" \ + "checking for C compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 + (eval $ac_compiler --version &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 + (eval $ac_compiler -v &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 + (eval $ac_compiler -V &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 -if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 + (eval $ac_link_default) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Find the output, starting from the most likely. This scheme is +# not robust to junk in `.', hence go to wildcards (a.*) only as a last +# resort. + +# Be careful to initialize this variable, since it used to be cached. +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. +ac_cv_exeext= +# b.out is created by i960 compilers. +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) + ;; + conftest.$ac_ext ) + # This is the source file. + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + # FIXME: I believe we export ac_cv_exeext for Libtool, + # but it would be cool to find out if it's true. Does anybody + # maintain Libtool? --akim. + export ac_cv_exeext + break;; + * ) + break;; + esac +done else - if test "$GCC" = yes; then - CFLAGS="-O2" + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables +See \`config.log' for more details." >&5 +echo "$as_me: error: C compiler cannot create executables +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } +fi + +ac_exeext=$ac_cv_exeext +echo "$as_me:$LINENO: result: $ac_file" >&5 +echo "${ECHO_T}$ac_file" >&6 + +# Check the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +echo "$as_me:$LINENO: checking whether the C compiler works" >&5 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 +# If not cross compiling, check that we can run a simple program. +if test "$cross_compiling" != yes; then + if { ac_try='./$ac_file' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cross_compiling=no else - CFLAGS= + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { echo "$as_me:$LINENO: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + fi fi fi - -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:874: checking how to run the C preprocessor" >&5 -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - # This must be in double quotes, not single quotes, because CPP may get - # substituted into the Makefile and "${CC-cc}" will confuse make. - CPP="${CC-cc} -E" - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP="${CC-cc} -E -traditional-cpp" - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP="${CC-cc} -nologo -E" - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP=/lib/cpp -fi -rm -f conftest* -fi -rm -f conftest* -fi -rm -f conftest* - ac_cv_prog_CPP="$CPP" -fi - CPP="$ac_cv_prog_CPP" +echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + +rm -f a.out a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +# Check the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $cross_compiling" >&5 +echo "${ECHO_T}$cross_compiling" >&6 + +echo "$as_me:$LINENO: checking for suffix of executables" >&5 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + export ac_cv_exeext + break;; + * ) break;; + esac +done else - ac_cv_prog_CPP="$CPP" + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } fi -echo "$ac_t""$CPP" 1>&6 - -echo $ac_n "checking for AIX""... $ac_c" 1>&6 -echo "configure:954: checking for AIX" >&5 -cat > conftest.$ac_ext <&5 | - egrep "yes" >/dev/null 2>&1; then - rm -rf conftest* - echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF -#define _ALL_SOURCE 1 -EOF +rm -f conftest$ac_cv_exeext +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 +echo "${ECHO_T}$ac_cv_exeext" >&6 +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +echo "$as_me:$LINENO: checking for suffix of object files" >&5 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 +if test "${ac_cv_objext+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - rm -rf conftest* - echo "$ac_t""no" 1>&6 -fi -rm -f conftest* + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +int +main () +{ -ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 -echo "configure:979: checking for minix/config.h" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } fi -rm -f conftest* + +rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - MINIX=yes +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 +echo "${ECHO_T}$ac_cv_objext" >&6 +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 +if test "${ac_cv_c_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - echo "$ac_t""no" 1>&6 -MINIX= -fi - -if test "$MINIX" = yes; then - cat >> confdefs.h <<\EOF -#define _POSIX_SOURCE 1 -EOF + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ - cat >> confdefs.h <<\EOF -#define _POSIX_1_SOURCE 2 -EOF +int +main () +{ +#ifndef __GNUC__ + choke me +#endif - cat >> confdefs.h <<\EOF -#define _MINIX 1 -EOF + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_compiler_gnu=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 +GCC=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +CFLAGS="-g" +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -fi +int +main () +{ -echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 -echo "configure:1027: checking for POSIXized ISC" >&5 -if test -d /etc/conf/kconfig.d && - grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 -then - echo "$ac_t""yes" 1>&6 - ISC=yes # If later tests want to check for ISC. - cat >> confdefs.h <<\EOF -#define _POSIX_SOURCE 1 -EOF + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_prog_cc_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 +ac_cv_prog_cc_g=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then - CC="$CC -posix" + CFLAGS="-g -O2" else - CC="$CC -Xp" + CFLAGS="-g" fi else - echo "$ac_t""no" 1>&6 - ISC= + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi fi - - - - -echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 -echo "configure:1051: checking for ${CC-cc} option to accept ANSI C" >&5 -if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - am_cv_prog_cc_stdc=no -ac_save_CC="$CC" -# Don't try gcc -ansi; that turns off useful extensions and -# breaks some systems' header files. -# AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 -# HP-UX -Aa -D_HPUX_SOURCE -# SVR4 -Xc -D__EXTENSIONS__ -for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__ -" -do - CC="$ac_save_CC $ac_arg" - cat > conftest.$ac_ext <&5 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_prog_cc_stdc=no +ac_save_CC=$CC +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include #include #include @@ -1086,327 +2137,586 @@ static char *f (char * (*g) (char **, int), char **p, ...) s = g (p, va_arg (v,int)); va_end (v); return s; -} int test (int i, double x); +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std1 is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std1. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, - int); +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; - -int main() { - +int +main () +{ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - -; return 0; } -EOF -if { (eval echo configure:1104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - am_cv_prog_cc_stdc="$ac_arg"; break -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 -fi -rm -f conftest* + ; + return 0; +} +_ACEOF +# Don't try gcc -ansi; that turns off useful extensions and +# breaks some systems' header files. +# AIX -qlanglvl=ansi +# Ultrix and OSF/1 -std1 +# HP-UX 10.20 and later -Ae +# HP-UX older versions -Aa -D_HPUX_SOURCE +# SVR4 -Xc -D__EXTENSIONS__ +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_prog_cc_stdc=$ac_arg +break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext done -CC="$ac_save_CC" +rm -f conftest.$ac_ext conftest.$ac_objext +CC=$ac_save_CC fi -if test -z "$am_cv_prog_cc_stdc"; then - echo "$ac_t""none needed" 1>&6 -else - echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6 -fi -case "x$am_cv_prog_cc_stdc" in - x|xno) ;; - *) CC="$CC $am_cv_prog_cc_stdc" ;; +case "x$ac_cv_prog_cc_stdc" in + x|xno) + echo "$as_me:$LINENO: result: none needed" >&5 +echo "${ECHO_T}none needed" >&6 ;; + *) + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 + CC="$CC $ac_cv_prog_cc_stdc" ;; esac -ac_aux_dir= -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do - if test -f $ac_dir/install-sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f $ac_dir/install.sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } -fi -ac_config_guess=$ac_aux_dir/config.guess -ac_config_sub=$ac_aux_dir/config.sub -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# ./install, which can be erroneously created by make from ./install.sh. -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:1158: checking for a BSD compatible install" >&5 -if test -z "$INSTALL"; then -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +# Some people use a C++ compiler to compile C. Since we use `exit', +# in C++ we need to declare it. In case someone uses the same compiler +# for both compiling C and C++ we need to have the C++ compiler decide +# the declaration of exit, since it's the most demanding environment. +cat >conftest.$ac_ext <<_ACEOF +#ifndef __cplusplus + choke me +#endif +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + for ac_declaration in \ + '' \ + 'extern "C" void std::exit (int) throw (); using std::exit;' \ + 'extern "C" void std::exit (int); using std::exit;' \ + 'extern "C" void exit (int) throw ();' \ + 'extern "C" void exit (int);' \ + 'void exit (int);' +do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_declaration +#include +int +main () +{ +exit (42); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : else - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" - for ac_dir in $PATH; do - # Account for people who put trailing slashes in PATH elements. - case "$ac_dir/" in - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - if test -f $ac_dir/$ac_prog; then - if test $ac_prog = install && - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - else - ac_cv_path_install="$ac_dir/$ac_prog -c" - break 2 - fi - fi - done - ;; - esac - done - IFS="$ac_save_IFS" + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 +continue fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL="$ac_cv_path_install" - else - # As a last resort, use the slow shell script. We don't cache a - # path for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the path is relative. - INSTALL="$ac_install_sh" - fi -fi -echo "$ac_t""$INSTALL" 1>&6 - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:1211: checking whether ${MAKE-make} sets \${MAKE}" >&5 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftestmake <<\EOF -all: - @echo 'ac_maketemp="${MAKE}"' -EOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` -if test -n "$ac_maketemp"; then - eval ac_cv_prog_make_${ac_make}_set=yes +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_declaration +int +main () +{ +exit (42); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + break else - eval ac_cv_prog_make_${ac_make}_set=no + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + fi -rm -f conftestmake +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +done +rm -f conftest* +if test -n "$ac_declaration"; then + echo '#ifdef __cplusplus' >>confdefs.h + echo $ac_declaration >>confdefs.h + echo '#endif' >>confdefs.h fi -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$ac_t""yes" 1>&6 - SET_MAKE= + else - echo "$ac_t""no" 1>&6 - SET_MAKE="MAKE=${MAKE-make}" + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1238: checking how to run the C preprocessor" >&5 +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - # This must be in double quotes, not single quotes, because CPP may get - # substituted into the Makefile and "${CC-cc}" will confuse make. - CPP="${CC-cc} -E" + if test "${ac_cv_prog_CPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP="${CC-cc} -E -traditional-cpp" - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then : else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP="${CC-cc} -nologo -E" - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP=/lib/cpp + ac_cpp_err=yes fi -rm -f conftest* +if test -z "$ac_cpp_err"; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break fi -rm -f conftest* +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + break fi -rm -f conftest* - ac_cv_prog_CPP="$CPP" + + done + ac_cv_prog_CPP=$CPP + fi - CPP="$ac_cv_prog_CPP" + CPP=$ac_cv_prog_CPP else - ac_cv_prog_CPP="$CPP" + ac_cv_prog_CPP=$CPP fi -echo "$ac_t""$CPP" 1>&6 - -if test $ac_cv_prog_gcc = yes; then - echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 -echo "configure:1319: checking whether ${CC-cc} needs -traditional" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: result: $CPP" >&5 +echo "${ECHO_T}$CPP" >&6 +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi else - ac_pattern="Autoconf.*'x'" - cat > conftest.$ac_ext < -Autoconf TIOCGETP -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "$ac_pattern" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_prog_gcc_traditional=yes + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + : else - rm -rf conftest* - ac_cv_prog_gcc_traditional=no + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes fi -rm -f conftest* - +if test -z "$ac_cpp_err"; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - if test $ac_cv_prog_gcc_traditional = no; then - cat > conftest.$ac_ext < -Autoconf TCGETA -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "$ac_pattern" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_prog_gcc_traditional=yes + # Passes both tests. +ac_preproc_ok=: +break fi -rm -f conftest* +rm -f conftest.err conftest.$ac_ext - fi +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + : +else + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } fi -echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 - if test $ac_cv_prog_gcc_traditional = yes; then - CC="$CC -traditional" - fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +echo "$as_me:$LINENO: checking for egrep" >&5 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6 +if test "${ac_cv_prog_egrep+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if echo a | (grep -E '(a|b)') >/dev/null 2>&1 + then ac_cv_prog_egrep='grep -E' + else ac_cv_prog_egrep='egrep' + fi fi +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6 + EGREP=$ac_cv_prog_egrep -INCLUDES="${INCLUDES} -I/usr/local/include" -CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" -if test "${ac_cv_prog_gcc}" = "yes"; then - CFLAGS="${CFLAGS} -Wall" + +echo "$as_me:$LINENO: checking for AIX" >&5 +echo $ECHO_N "checking for AIX... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef _AIX + yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +cat >>confdefs.h <<\_ACEOF +#define _ALL_SOURCE 1 +_ACEOF + +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi +rm -f conftest* + -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:1372: checking for ANSI C header files" >&5 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 +if test "${ac_cv_header_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include #include #include #include -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then ac_cv_header_stdc=yes else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_header_stdc=no + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_header_stdc=no fi -rm -f conftest* +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include -EOF + +_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "memchr" >/dev/null 2>&1; then + $EGREP "memchr" >/dev/null 2>&1; then : else - rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* @@ -1415,16 +2725,19 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. -cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include -EOF + +_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "free" >/dev/null 2>&1; then + $EGREP "free" >/dev/null 2>&1; then : else - rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* @@ -1433,1998 +2746,5547 @@ fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -if test "$cross_compiling" = yes; then + if test "$cross_compiling" = yes; then : else - cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int main () { int i; for (i = 0; i < 256; i++) -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); -exit (0); } +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif -EOF -if { (eval echo configure:1452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + exit(2); + exit (0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then : else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_header_stdc=no + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_header_stdc=no fi -rm -fr conftest* +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi - fi fi - -echo "$ac_t""$ac_cv_header_stdc" 1>&6 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 +echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then - cat >> confdefs.h <<\EOF + +cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 -EOF +_ACEOF fi -for ac_hdr in os2.h fcntl.h unistd.h libc.h sys/time.h sys/types.h zlib.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1479: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <&6 -fi -done +# On IRIX 5.3, sys/types and inttypes.h are conflicting. -echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:1517: checking for working const" >&5 -if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <j = 5; -} -{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; -} -; return 0; } -EOF -if { (eval echo configure:1571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_c_const=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_c_const=no -fi -rm -f conftest* -fi -echo "$ac_t""$ac_cv_c_const" 1>&6 -if test $ac_cv_c_const = no; then - cat >> confdefs.h <<\EOF -#define const -EOF -fi -echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:1592: checking for inline" >&5 -if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_cv_c_inline=no -for ac_kw in inline __inline__ __inline; do - cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_c_inline=$ac_kw; break -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 -fi -rm -f conftest* -done -fi -echo "$ac_t""$ac_cv_c_inline" 1>&6 -case "$ac_cv_c_inline" in - inline | yes) ;; - no) cat >> confdefs.h <<\EOF -#define inline -EOF - ;; - *) cat >> confdefs.h <&6 -echo "configure:1632: checking return type of signal handlers" >&5 -if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -#ifdef signal -#undef signal -#endif -#ifdef __cplusplus -extern "C" void (*signal (int, void (*)(int)))(int); -#else -void (*signal ()) (); -#endif +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_Header=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_Header=no" +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF -int main() { -int i; -; return 0; } -EOF -if { (eval echo configure:1654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_type_signal=void -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_type_signal=int -fi -rm -f conftest* fi -echo "$ac_t""$ac_cv_type_signal" 1>&6 -cat >> confdefs.h <&6 -echo "configure:1673: checking for size_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_size_t=yes +if test "${ac_cv_header_minix_config_h+set}" = set; then + echo "$as_me:$LINENO: checking for minix/config.h" >&5 +echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 +if test "${ac_cv_header_minix_config_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 +echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking minix/config.h usability" >&5 +echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking minix/config.h presence" >&5 +echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi else - rm -rf conftest* - ac_cv_type_size_t=no + ac_cpp_err=yes fi -rm -f conftest* +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + ac_header_preproc=no fi -echo "$ac_t""$ac_cv_type_size_t" 1>&6 -if test $ac_cv_type_size_t = no; then - cat >> confdefs.h <<\EOF -#define size_t unsigned -EOF +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for minix/config.h" >&5 +echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 +if test "${ac_cv_header_minix_config_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_minix_config_h=$ac_header_preproc fi +echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 +echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 -echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:1706: checking for pid_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +fi +if test $ac_cv_header_minix_config_h = yes; then + MINIX=yes else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_pid_t=yes -else - rm -rf conftest* - ac_cv_type_pid_t=no + MINIX= fi -rm -f conftest* -fi -echo "$ac_t""$ac_cv_type_pid_t" 1>&6 -if test $ac_cv_type_pid_t = no; then - cat >> confdefs.h <<\EOF -#define pid_t int -EOF -fi +if test "$MINIX" = yes; then -echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 -echo "configure:1739: checking for ssize_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_ssize_t=yes -else - rm -rf conftest* - ac_cv_type_ssize_t=no -fi -rm -f conftest* +cat >>confdefs.h <<\_ACEOF +#define _POSIX_SOURCE 1 +_ACEOF -fi -echo "$ac_t""$ac_cv_type_ssize_t" 1>&6 -if test $ac_cv_type_ssize_t = no; then - cat >> confdefs.h <<\EOF -#define ssize_t long -EOF + +cat >>confdefs.h <<\_ACEOF +#define _POSIX_1_SOURCE 2 +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define _MINIX 1 +_ACEOF fi -echo $ac_n "checking for u_char""... $ac_c" 1>&6 -echo "configure:1772: checking for u_char" >&5 -if eval "test \"`echo '$''{'ac_cv_type_u_char'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: checking for library containing strerror" >&5 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 +if test "${ac_cv_search_strerror+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include + ac_func_search_save_LIBS=$LIBS +ac_cv_search_strerror=no +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" #endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])u_char[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_u_char=yes -else - rm -rf conftest* - ac_cv_type_u_char=no -fi -rm -f conftest* +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char strerror (); +int +main () +{ +strerror (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_strerror="none required" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test "$ac_cv_search_strerror" = no; then + for ac_lib in cposix; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char strerror (); +int +main () +{ +strerror (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_strerror="-l$ac_lib" +break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + done fi -echo "$ac_t""$ac_cv_type_u_char" 1>&6 -if test $ac_cv_type_u_char = no; then - cat >> confdefs.h <<\EOF -#define u_char unsigned char -EOF +LIBS=$ac_func_search_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 +echo "${ECHO_T}$ac_cv_search_strerror" >&6 +if test "$ac_cv_search_strerror" != no; then + test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" fi -echo $ac_n "checking for u_int""... $ac_c" 1>&6 -echo "configure:1805: checking for u_int" >&5 -if eval "test \"`echo '$''{'ac_cv_type_u_int'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])u_int[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_u_int=yes + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. else - rm -rf conftest* - ac_cv_type_u_int=no -fi -rm -f conftest* +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done fi -echo "$ac_t""$ac_cv_type_u_int" 1>&6 -if test $ac_cv_type_u_int = no; then - cat >> confdefs.h <<\EOF -#define u_int unsigned int -EOF - fi - -echo $ac_n "checking for u_long""... $ac_c" 1>&6 -echo "configure:1838: checking for u_long" >&5 -if eval "test \"`echo '$''{'ac_cv_type_u_long'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])u_long[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_u_long=yes +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 else - rm -rf conftest* - ac_cv_type_u_long=no + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -rm -f conftest* fi -echo "$ac_t""$ac_cv_type_u_long" 1>&6 -if test $ac_cv_type_u_long = no; then - cat >> confdefs.h <<\EOF -#define u_long unsigned long -EOF +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done fi - - -echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 -echo "configure:1872: checking for sqrt in -lm" >&5 -ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 else - ac_save_LIBS="$LIBS" -LIBS="-lm $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -rm -f conftest* -LIBS="$ac_save_LIBS" + CC=$ac_ct_CC +else + CC="$ac_cv_prog_CC" fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - echo "$ac_t""no" 1>&6 -fi + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done -echo $ac_n "checking for deflateInit_ in -lz""... $ac_c" 1>&6 -echo "configure:1919: checking for deflateInit_ in -lz" >&5 -ac_lib_var=`echo z'_'deflateInit_ | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 else - ac_save_LIBS="$LIBS" -LIBS="-lz $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -rm -f conftest* -LIBS="$ac_save_LIBS" fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo z | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - -if test "${USE_JPEG}" = "yes"; then - echo $ac_n "checking for jpeg_start_decompress in -ljpeg""... $ac_c" 1>&6 -echo "configure:1968: checking for jpeg_start_decompress in -ljpeg" >&5 -ac_lib_var=`echo jpeg'_'jpeg_start_decompress | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + CC=$ac_ct_CC else - ac_save_LIBS="$LIBS" -LIBS="-ljpeg $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" + CC="$ac_cv_prog_CC" fi -rm -f conftest* -LIBS="$ac_save_LIBS" fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo jpeg | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - echo "$ac_t""no" 1>&6 -fi + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi fi - -# tiff test must stand after test for zlib -if test "${USE_TIFF}" = "yes"; then - echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 -echo "configure:2019: checking for TIFFOpen in -ltiff" >&5 -ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-ltiff $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" fi -rm -f conftest* -LIBS="$ac_save_LIBS" - fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo tiff | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <&5 +echo "${ECHO_T}$CC" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done -# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works -# for constant arguments. Useless! -echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 -echo "configure:2070: checking for working alloca.h" >&5 -if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -int main() { -char *p = alloca(2 * sizeof(int)); -; return 0; } -EOF -if { (eval echo configure:2082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_header_alloca_h=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_header_alloca_h=no -fi -rm -f conftest* fi - -echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 -if test $ac_cv_header_alloca_h = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_ALLOCA_H 1 -EOF - fi - -echo $ac_n "checking for alloca""... $ac_c" 1>&6 -echo "configure:2103: checking for alloca" >&5 -if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 else - cat > conftest.$ac_ext <&5 +echo "${ECHO_T}no" >&6 +fi -#ifdef __GNUC__ -# define alloca __builtin_alloca -#else -# ifdef _MSC_VER -# include -# define alloca _alloca -# else -# if HAVE_ALLOCA_H -# include -# else -# ifdef _AIX - #pragma alloca -# else -# ifndef alloca /* predefined by HP cc +Olibcalls */ -char *alloca (); -# endif -# endif -# endif -# endif -#endif + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done -int main() { -char *p = (char *) alloca(1); -; return 0; } -EOF -if { (eval echo configure:2136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - ac_cv_func_alloca_works=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_func_alloca_works=no fi -rm -f conftest* fi - -echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 -if test $ac_cv_func_alloca_works = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_ALLOCA 1 -EOF - +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -if test $ac_cv_func_alloca_works = no; then - # The SVR3 libPW and SVR4 libucb both contain incompatible functions - # that cause trouble. Some versions do not even contain alloca or - # contain a buggy version. If you still want to use their alloca, - # use ar to extract alloca.o from them instead of compiling alloca.c. - ALLOCA=alloca.${ac_objext} - cat >> confdefs.h <<\EOF -#define C_ALLOCA 1 -EOF + test -n "$ac_ct_CC" && break +done + CC=$ac_ct_CC +fi + +fi + + +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&5 +echo "$as_me: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + +# Provide some information about the compiler. +echo "$as_me:$LINENO:" \ + "checking for C compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 + (eval $ac_compiler --version &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 + (eval $ac_compiler -v &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 + (eval $ac_compiler -V &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 +if test "${ac_cv_c_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 -echo "configure:2168: checking whether alloca needs Cray hooks" >&5 -if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <&5 | - egrep "webecray" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_os_cray=yes -else - rm -rf conftest* - ac_cv_os_cray=no -fi -rm -f conftest* + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_compiler_gnu=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 +GCC=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +CFLAGS="-g" +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -fi +int +main () +{ -echo "$ac_t""$ac_cv_os_cray" 1>&6 -if test $ac_cv_os_cray = yes; then -for ac_func in _getb67 GETB67 getb67; do - echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2198: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:2226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_prog_cc_g=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_prog_cc_g=no fi -rm -f conftest* +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - cat >> confdefs.h <&5 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi else - echo "$ac_t""no" 1>&6 + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi fi +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_prog_cc_stdc=no +ac_save_CC=$CC +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std1 is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std1. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +# Don't try gcc -ansi; that turns off useful extensions and +# breaks some systems' header files. +# AIX -qlanglvl=ansi +# Ultrix and OSF/1 -std1 +# HP-UX 10.20 and later -Ae +# HP-UX older versions -Aa -D_HPUX_SOURCE +# SVR4 -Xc -D__EXTENSIONS__ +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_prog_cc_stdc=$ac_arg +break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext done +rm -f conftest.$ac_ext conftest.$ac_objext +CC=$ac_save_CC + fi -echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 -echo "configure:2253: checking stack direction for C alloca" >&5 -if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_c_stack_direction=0 -else - cat > conftest.$ac_ext <&5 +echo "${ECHO_T}none needed" >&6 ;; + *) + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 + CC="$CC $ac_cv_prog_cc_stdc" ;; +esac + +# Some people use a C++ compiler to compile C. Since we use `exit', +# in C++ we need to declare it. In case someone uses the same compiler +# for both compiling C and C++ we need to have the C++ compiler decide +# the declaration of exit, since it's the most demanding environment. +cat >conftest.$ac_ext <<_ACEOF +#ifndef __cplusplus + choke me +#endif +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + for ac_declaration in \ + '' \ + 'extern "C" void std::exit (int) throw (); using std::exit;' \ + 'extern "C" void std::exit (int); using std::exit;' \ + 'extern "C" void exit (int) throw ();' \ + 'extern "C" void exit (int);' \ + 'void exit (int);' +do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_declaration +#include +int +main () { - static char *addr = 0; - auto char dummy; - if (addr == 0) - { - addr = &dummy; - return find_stack_direction (); - } - else - return (&dummy > addr) ? 1 : -1; +exit (42); + ; + return 0; } +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +continue +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_declaration +int main () { - exit (find_stack_direction() < 0); +exit (42); + ; + return 0; } -EOF -if { (eval echo configure:2280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ac_cv_c_stack_direction=1 +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + break else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_c_stack_direction=-1 + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + fi -rm -fr conftest* +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +done +rm -f conftest* +if test -n "$ac_declaration"; then + echo '#ifdef __cplusplus' >>confdefs.h + echo $ac_declaration >>confdefs.h + echo '#endif' >>confdefs.h fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 -cat >> confdefs.h <&5 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} + { (exit 1); exit 1; }; } +fi +ac_config_guess="$SHELL $ac_aux_dir/config.guess" +ac_config_sub="$SHELL $ac_aux_dir/config.sub" +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. -for ac_hdr in unistd.h +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 +if test -z "$INSTALL"; then +if test "${ac_cv_path_install+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2307: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in + ./ | .// | /cC/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + done + done + ;; +esac +done + + fi -rm -f conftest* + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. We don't cache a + # path for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the path is relative. + INSTALL=$ac_install_sh + fi fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <&5 +echo "${ECHO_T}$INSTALL" >&6 + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.make <<\_ACEOF +all: + @echo 'ac_maketemp="$(MAKE)"' +_ACEOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` +if test -n "$ac_maketemp"; then + eval ac_cv_prog_make_${ac_make}_set=yes else - echo "$ac_t""no" 1>&6 + eval ac_cv_prog_make_${ac_make}_set=no +fi +rm -f conftest.make +fi +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + SET_MAKE= +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + SET_MAKE="MAKE=${MAKE-make}" fi -done -for ac_func in getpagesize +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if test "${ac_cv_prog_CPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2346: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext -int main() { +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + break +fi -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +echo "$as_me:$LINENO: result: $CPP" >&5 +echo "${ECHO_T}$CPP" >&6 +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include #else -$ac_func(); +# include #endif - -; return 0; } -EOF -if { (eval echo configure:2374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" + Syntax error +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" + ac_cpp_err=yes fi -rm -f conftest* +if test -z "$ac_cpp_err"; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&6 + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break fi +rm -f conftest.err conftest.$ac_ext + done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + : +else + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:2399: checking for working mmap" >&5 -if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +if test $ac_cv_c_compiler_gnu = yes; then + echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 +echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 +if test "${ac_cv_prog_gcc_traditional+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test "$cross_compiling" = yes; then - ac_cv_func_mmap_fixed_mapped=no + ac_pattern="Autoconf.*'x'" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +Autoconf TIOCGETP +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "$ac_pattern" >/dev/null 2>&1; then + ac_cv_prog_gcc_traditional=yes else - cat > conftest.$ac_ext < -#include -#include - -/* This mess was copied from the GNU getpagesize.h. */ -#ifndef HAVE_GETPAGESIZE -# ifdef HAVE_UNISTD_H -# include -# endif -/* Assume that all systems that can run configure have sys/param.h. */ -# ifndef HAVE_SYS_PARAM_H -# define HAVE_SYS_PARAM_H 1 -# endif + if test $ac_cv_prog_gcc_traditional = no; then + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +Autoconf TCGETA +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "$ac_pattern" >/dev/null 2>&1; then + ac_cv_prog_gcc_traditional=yes +fi +rm -f conftest* -# ifdef _SC_PAGESIZE -# define getpagesize() sysconf(_SC_PAGESIZE) -# else /* no _SC_PAGESIZE */ -# ifdef HAVE_SYS_PARAM_H -# include -# ifdef EXEC_PAGESIZE -# define getpagesize() EXEC_PAGESIZE -# else /* no EXEC_PAGESIZE */ -# ifdef NBPG -# define getpagesize() NBPG * CLSIZE -# ifndef CLSIZE -# define CLSIZE 1 -# endif /* no CLSIZE */ -# else /* no NBPG */ -# ifdef NBPC -# define getpagesize() NBPC -# else /* no NBPC */ -# ifdef PAGESIZE -# define getpagesize() PAGESIZE -# endif /* PAGESIZE */ -# endif /* no NBPC */ -# endif /* no NBPG */ -# endif /* no EXEC_PAGESIZE */ -# else /* no HAVE_SYS_PARAM_H */ -# define getpagesize() 8192 /* punt totally */ -# endif /* no HAVE_SYS_PARAM_H */ -# endif /* no _SC_PAGESIZE */ + fi +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 +echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 + if test $ac_cv_prog_gcc_traditional = yes; then + CC="$CC -traditional" + fi +fi -#endif /* no HAVE_GETPAGESIZE */ -#ifdef __cplusplus -extern "C" { void *malloc(unsigned); } -#else -char *malloc(); -#endif +INCLUDES="${INCLUDES} -I/usr/local/include" +CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" +if test "${ac_cv_c_compiler_gnu}" = "yes"; then + CFLAGS="${CFLAGS} -Wall" +fi -int -main() -{ - char *data, *data2, *data3; - int i, pagesize; - int fd; - - pagesize = getpagesize(); - - /* - * First, make a file with some known garbage in it. - */ - data = malloc(pagesize); - if (!data) - exit(1); - for (i = 0; i < pagesize; ++i) - *(data + i) = rand(); - umask(0); - fd = creat("conftestmmap", 0600); - if (fd < 0) - exit(1); - if (write(fd, data, pagesize) != pagesize) - exit(1); - close(fd); - - /* - * Next, try to mmap the file at a fixed address which - * already has something else allocated at it. If we can, - * also make sure that we see the same garbage. - */ - fd = open("conftestmmap", O_RDWR); - if (fd < 0) - exit(1); - data2 = malloc(2 * pagesize); - if (!data2) - exit(1); - data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); - if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, - MAP_PRIVATE | MAP_FIXED, fd, 0L)) - exit(1); - for (i = 0; i < pagesize; ++i) - if (*(data + i) != *(data2 + i)) - exit(1); - - /* - * Finally, make sure that changes to the mapped area - * do not percolate back to the file as seen by read(). - * (This is a bug on some variants of i386 svr4.0.) - */ - for (i = 0; i < pagesize; ++i) - *(data2 + i) = *(data2 + i) + 1; - data3 = malloc(pagesize); - if (!data3) - exit(1); - if (read(fd, data3, pagesize) != pagesize) - exit(1); - for (i = 0; i < pagesize; ++i) - if (*(data + i) != *(data3 + i)) - exit(1); - close(fd); - unlink("conftestmmap"); - exit(0); -} -EOF -if { (eval echo configure:2547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ac_cv_func_mmap_fixed_mapped=yes +for ac_header in windows.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_func_mmap_fixed_mapped=no -fi -rm -fr conftest* + ac_cpp_err=yes fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + ac_header_preproc=no fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 -echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 -if test $ac_cv_func_mmap_fixed_mapped = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_MMAP 1 -EOF +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + + if test x"$GCC" = xyes; then + msnative_struct='' + echo "$as_me:$LINENO: checking how to get MSVC-compatible struct packing" >&5 +echo $ECHO_N "checking how to get MSVC-compatible struct packing... $ECHO_C" >&6 + if test -z "$ac_cv_prog_CC"; then + our_gcc="$CC" + else + our_gcc="$ac_cv_prog_CC" + fi + case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in + 2.) + if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then + msnative_struct='-fnative-struct' + fi + ;; + *) + if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then + msnative_struct='-mms-bitfields' + fi + ;; + esac + if test x"$msnative_struct" = x ; then + echo "$as_me:$LINENO: result: no way" >&5 +echo "${ECHO_T}no way" >&6 + { echo "$as_me:$LINENO: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5 +echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;} + else + CFLAGS="$CFLAGS $msnative_struct" + echo "$as_me:$LINENO: result: ${msnative_struct}" >&5 +echo "${ECHO_T}${msnative_struct}" >&6 + fi + fi fi -for ac_func in atexit mkdir sigprocmask strdup strndup strftime strstr strsep strtod snprintf usleep strcasecmp strncasecmp lstat -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2572: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { +done -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif -; return 0; } -EOF -if { (eval echo configure:2600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* +if test "${ac_cv_header_windows_h}" = "yes"; then + LDFLAGS="${LDFLAGS} -mwindows" + XSANE_ICON="xsane-icon.opc" fi -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&5 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 +if test "${ac_cv_header_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - echo "$ac_t""no" 1>&6 -fi -done + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include +int +main () +{ -# Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2628: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_RANLIB="ranlib" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" -fi -fi -RANLIB="$ac_cv_prog_RANLIB" -if test -n "$RANLIB"; then - echo "$ac_t""$RANLIB" 1>&6 + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_header_stdc=yes else - echo "$ac_t""no" 1>&6 + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_header_stdc=no fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:2656: checking for off_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_off_t=yes + $EGREP "memchr" >/dev/null 2>&1; then + : else - rm -rf conftest* - ac_cv_type_off_t=no + ac_cv_header_stdc=no fi rm -f conftest* fi -echo "$ac_t""$ac_cv_type_off_t" 1>&6 -if test $ac_cv_type_off_t = no; then - cat >> confdefs.h <<\EOF -#define off_t long -EOF -fi +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include - - for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ -unistd.h values.h sys/param.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2694: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <&5 | + $EGREP "free" >/dev/null 2>&1; then + : else - echo "$ac_t""no" 1>&6 + ac_cv_header_stdc=no fi -done - - for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ -__argz_count __argz_stringify __argz_next -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2734: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); +rm -f conftest* -int main() { +fi -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then + : +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else -$ac_func(); +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif -; return 0; } -EOF -if { (eval echo configure:2762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + exit(2); + exit (0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_header_stdc=no fi -rm -f conftest* +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&6 fi -done +fi +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 +echo "${ECHO_T}$ac_cv_header_stdc" >&6 +if test $ac_cv_header_stdc = yes; then +cat >>confdefs.h <<\_ACEOF +#define STDC_HEADERS 1 +_ACEOF - if test "${ac_cv_func_stpcpy+set}" != "set"; then - for ac_func in stpcpy -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2791: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); +fi -int main() { -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif -; return 0; } -EOF -if { (eval echo configure:2819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&6 -fi -done - fi - if test "${ac_cv_func_stpcpy}" = "yes"; then - cat >> confdefs.h <<\EOF -#define HAVE_STPCPY 1 -EOF - fi - if test $ac_cv_header_locale_h = yes; then - echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 -echo "configure:2853: checking for LC_MESSAGES" >&5 -if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -int main() { -return LC_MESSAGES -; return 0; } -EOF -if { (eval echo configure:2865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - am_cv_val_LC_MESSAGES=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - am_cv_val_LC_MESSAGES=no -fi -rm -f conftest* -fi -echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6 - if test $am_cv_val_LC_MESSAGES = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_LC_MESSAGES 1 -EOF - fi +for ac_header in windows.h os2.h fcntl.h unistd.h libc.h sys/time.h sys/types.h zlib.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= fi - echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 -echo "configure:2886: checking whether NLS is requested" >&5 - # Check whether --enable-nls or --disable-nls was given. -if test "${enable_nls+set}" = set; then - enableval="$enable_nls" - USE_NLS=$enableval else - USE_NLS=yes + ac_cpp_err=yes fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - echo "$ac_t""$USE_NLS" 1>&6 - + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 - USE_INCLUDED_LIBINTL=no +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 - if test "$USE_NLS" = "yes"; then - cat >> confdefs.h <<\EOF -#define ENABLE_NLS 1 -EOF +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF - echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 -echo "configure:2906: checking whether included gettext is requested" >&5 - # Check whether --with-included-gettext or --without-included-gettext was given. -if test "${with_included_gettext+set}" = set; then - withval="$with_included_gettext" - nls_cv_force_use_gnu_gettext=$withval -else - nls_cv_force_use_gnu_gettext=no fi - echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6 +done - nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" - if test "$nls_cv_force_use_gnu_gettext" != "yes"; then - nls_cv_header_intl= - nls_cv_header_libgt= - CATOBJEXT=NONE - ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 -echo "configure:2925: checking for libintl.h" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 +if test "${ac_cv_c_const+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 -echo "configure:2952: checking for gettext in libc" >&5 -if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -int main() { -return (int) gettext ("") -; return 0; } -EOF -if { (eval echo configure:2964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - gt_cv_func_gettext_libc=yes + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +/* FIXME: Include the comments suggested by Paul. */ +#ifndef __cplusplus + /* Ultrix mips cc rejects this. */ + typedef int charset[2]; + const charset x; + /* SunOS 4.1.1 cc rejects this. */ + char const *const *ccp; + char **p; + /* NEC SVR4.0.2 mips cc rejects this. */ + struct point {int x, y;}; + static struct point const zero = {0,0}; + /* AIX XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in + an arm of an if-expression whose if-part is not a constant + expression */ + const char *g = "string"; + ccp = &g + (g ? g-g : 0); + /* HPUX 7.0 cc rejects these. */ + ++ccp; + p = (char**) ccp; + ccp = (char const *const *) p; + { /* SCO 3.2v4 cc rejects this. */ + char *t; + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 0; + } + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ + int x[] = {25, 17}; + const int *foo = &x[0]; + ++foo; + } + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ + typedef const int *iptr; + iptr p = 0; + ++p; + } + { /* AIX XL C 1.02.0.0 rejects this saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; }; + struct s *b; b->j = 5; + } + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; + } +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_const=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - gt_cv_func_gettext_libc=no + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_c_const=no fi -rm -f conftest* +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi +echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 +echo "${ECHO_T}$ac_cv_c_const" >&6 +if test $ac_cv_c_const = no; then -echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 +cat >>confdefs.h <<\_ACEOF +#define const +_ACEOF - if test "$gt_cv_func_gettext_libc" != "yes"; then - echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 -echo "configure:2980: checking for bindtextdomain in -lintl" >&5 -ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lintl $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" fi -rm -f conftest* -LIBS="$ac_save_LIBS" -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 -echo "configure:3015: checking for gettext in libintl" >&5 -if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: checking for inline" >&5 +echo $ECHO_N "checking for inline... $ECHO_C" >&6 +if test "${ac_cv_c_inline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifndef __cplusplus +typedef int foo_t; +static $ac_kw foo_t static_foo () {return 0; } +$ac_kw foo_t foo () {return 0; } +#endif -int main() { -return (int) gettext ("") -; return 0; } -EOF -if { (eval echo configure:3027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - gt_cv_func_gettext_libintl=yes +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_inline=$ac_kw; break else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - gt_cv_func_gettext_libintl=no -fi -rm -f conftest* -fi + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6 -else - echo "$ac_t""no" 1>&6 fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +done - fi +fi +echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 +echo "${ECHO_T}$ac_cv_c_inline" >&6 - if test "$gt_cv_func_gettext_libc" = "yes" \ - || test "$gt_cv_func_gettext_libintl" = "yes"; then - cat >> confdefs.h <<\EOF -#define HAVE_GETTEXT 1 -EOF - # Extract the first word of "msgfmt", so it can be a program name with args. -set dummy msgfmt; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3055: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$MSGFMT" in - /*) - ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. - ;; +case $ac_cv_c_inline in + inline | yes) ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then - ac_cv_path_MSGFMT="$ac_dir/$ac_word" - break - fi - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" - ;; + case $ac_cv_c_inline in + no) ac_val=;; + *) ac_val=$ac_cv_c_inline;; + esac + cat >>confdefs.h <<_ACEOF +#ifndef __cplusplus +#define inline $ac_val +#endif +_ACEOF + ;; esac -fi -MSGFMT="$ac_cv_path_MSGFMT" -if test -n "$MSGFMT"; then - echo "$ac_t""$MSGFMT" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - if test "$MSGFMT" != "no"; then - for ac_func in dcgettext -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3089: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me +echo "$as_me:$LINENO: checking return type of signal handlers" >&5 +echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 +if test "${ac_cv_type_signal+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#ifdef signal +# undef signal +#endif +#ifdef __cplusplus +extern "C" void (*signal (int, void (*)(int)))(int); #else -$ac_func(); +void (*signal ()) (); #endif -; return 0; } -EOF -if { (eval echo configure:3117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" +int +main () +{ +int i; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_signal=void else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_signal=int fi -rm -f conftest* +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi +echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 +echo "${ECHO_T}$ac_cv_type_signal" >&6 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&6 -fi -done +cat >>confdefs.h <<_ACEOF +#define RETSIGTYPE $ac_cv_type_signal +_ACEOF - # Extract the first word of "gmsgfmt", so it can be a program name with args. -set dummy gmsgfmt; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3144: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + +echo "$as_me:$LINENO: checking for size_t" >&5 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6 +if test "${ac_cv_type_size_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - case "$GMSGFMT" in - /*) - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_GMSGFMT="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" - ;; -esac + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((size_t *) 0) + return 0; +if (sizeof (size_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_size_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_size_t=no fi -GMSGFMT="$ac_cv_path_GMSGFMT" -if test -n "$GMSGFMT"; then - echo "$ac_t""$GMSGFMT" 1>&6 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 +echo "${ECHO_T}$ac_cv_type_size_t" >&6 +if test $ac_cv_type_size_t = yes; then + : else - echo "$ac_t""no" 1>&6 + +cat >>confdefs.h <<_ACEOF +#define size_t unsigned +_ACEOF + fi - # Extract the first word of "xgettext", so it can be a program name with args. -set dummy xgettext; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3180: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: checking for pid_t" >&5 +echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 +if test "${ac_cv_type_pid_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - case "$XGETTEXT" in - /*) - ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then - ac_cv_path_XGETTEXT="$ac_dir/$ac_word" - break - fi - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" - ;; -esac -fi -XGETTEXT="$ac_cv_path_XGETTEXT" -if test -n "$XGETTEXT"; then - echo "$ac_t""$XGETTEXT" 1>&6 + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((pid_t *) 0) + return 0; +if (sizeof (pid_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_pid_t=yes else - echo "$ac_t""no" 1>&6 + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_pid_t=no fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 +echo "${ECHO_T}$ac_cv_type_pid_t" >&6 +if test $ac_cv_type_pid_t = yes; then + : +else - cat > conftest.$ac_ext <>confdefs.h <<_ACEOF +#define pid_t int +_ACEOF -int main() { -extern int _nl_msg_cat_cntr; - return _nl_msg_cat_cntr -; return 0; } -EOF -if { (eval echo configure:3220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - CATOBJEXT=.gmo - DATADIRNAME=share -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CATOBJEXT=.mo - DATADIRNAME=lib fi -rm -f conftest* - INSTOBJEXT=.mo - fi - fi - + +echo "$as_me:$LINENO: checking for ssize_t" >&5 +echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 +if test "${ac_cv_type_ssize_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((ssize_t *) 0) + return 0; +if (sizeof (ssize_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_ssize_t=yes else - echo "$ac_t""no" 1>&6 + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_ssize_t=no fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5 +echo "${ECHO_T}$ac_cv_type_ssize_t" >&6 +if test $ac_cv_type_ssize_t = yes; then + : +else +cat >>confdefs.h <<_ACEOF +#define ssize_t long +_ACEOF - if test "$CATOBJEXT" = "NONE"; then - echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6 -echo "configure:3243: checking whether catgets can be used" >&5 - # Check whether --with-catgets or --without-catgets was given. -if test "${with_catgets+set}" = set; then - withval="$with_catgets" - nls_cv_use_catgets=$withval -else - nls_cv_use_catgets=no fi - echo "$ac_t""$nls_cv_use_catgets" 1>&6 - - if test "$nls_cv_use_catgets" = "yes"; then - echo $ac_n "checking for main in -li""... $ac_c" 1>&6 -echo "configure:3256: checking for main in -li" >&5 -ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: checking for u_char" >&5 +echo $ECHO_N "checking for u_char... $ECHO_C" >&6 +if test "${ac_cv_type_u_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_save_LIBS="$LIBS" -LIBS="-li $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((u_char *) 0) + return 0; +if (sizeof (u_char)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_u_char=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 +ac_cv_type_u_char=no fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo i | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <&5 +echo "${ECHO_T}$ac_cv_type_u_char" >&6 +if test $ac_cv_type_u_char = yes; then + : +else - LIBS="-li $LIBS" +cat >>confdefs.h <<_ACEOF +#define u_char unsigned char +_ACEOF -else - echo "$ac_t""no" 1>&6 fi - echo $ac_n "checking for catgets""... $ac_c" 1>&6 -echo "configure:3299: checking for catgets" >&5 -if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: checking for u_int" >&5 +echo $ECHO_N "checking for u_int... $ECHO_C" >&6 +if test "${ac_cv_type_u_int+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.$ac_ext < -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char catgets(); + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((u_int *) 0) + return 0; +if (sizeof (u_int)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_u_int=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -int main() { +ac_cv_type_u_int=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_u_int" >&5 +echo "${ECHO_T}$ac_cv_type_u_int" >&6 +if test $ac_cv_type_u_int = yes; then + : +else -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_catgets) || defined (__stub___catgets) -choke me -#else -catgets(); -#endif +cat >>confdefs.h <<_ACEOF +#define u_int unsigned int +_ACEOF + +fi -; return 0; } -EOF -if { (eval echo configure:3327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_catgets=yes" +echo "$as_me:$LINENO: checking for u_long" >&5 +echo $ECHO_N "checking for u_long... $ECHO_C" >&6 +if test "${ac_cv_type_u_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((u_long *) 0) + return 0; +if (sizeof (u_long)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_u_long=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_catgets=no" + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_u_long=no fi -rm -f conftest* +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi +echo "$as_me:$LINENO: result: $ac_cv_type_u_long" >&5 +echo "${ECHO_T}$ac_cv_type_u_long" >&6 +if test $ac_cv_type_u_long = yes; then + : +else -if eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then - echo "$ac_t""yes" 1>&6 - cat >> confdefs.h <<\EOF -#define HAVE_CATGETS 1 -EOF +cat >>confdefs.h <<_ACEOF +#define u_long unsigned long +_ACEOF - INTLOBJS="\$(CATOBJS)" - # Extract the first word of "gencat", so it can be a program name with args. -set dummy gencat; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3349: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$GENCAT" in - /*) - ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a path. +fi + + + +echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 +echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 +if test "${ac_cv_lib_m_sqrt+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char sqrt (); +int +main () +{ +sqrt (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_m_sqrt=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_m_sqrt=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 +echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 +if test $ac_cv_lib_m_sqrt = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBM 1 +_ACEOF + + LIBS="-lm $LIBS" + +fi + + +echo "$as_me:$LINENO: checking for deflateInit_ in -lz" >&5 +echo $ECHO_N "checking for deflateInit_ in -lz... $ECHO_C" >&6 +if test "${ac_cv_lib_z_deflateInit_+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lz $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char deflateInit_ (); +int +main () +{ +deflateInit_ (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_z_deflateInit_=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_z_deflateInit_=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflateInit_" >&5 +echo "${ECHO_T}$ac_cv_lib_z_deflateInit_" >&6 +if test $ac_cv_lib_z_deflateInit_ = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBZ 1 +_ACEOF + + LIBS="-lz $LIBS" + +fi + + +if test "${USE_JPEG}" = "yes"; then + +echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5 +echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6 +if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ljpeg $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char jpeg_start_decompress (); +int +main () +{ +jpeg_start_decompress (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_jpeg_jpeg_start_decompress=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_jpeg_jpeg_start_decompress=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5 +echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6 +if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBJPEG 1 +_ACEOF + + LIBS="-ljpeg $LIBS" + +fi + +fi + +# tiff test must stand after test for zlib +if test "${USE_TIFF}" = "yes"; then + +echo "$as_me:$LINENO: checking for TIFFOpen in -ltiff" >&5 +echo $ECHO_N "checking for TIFFOpen in -ltiff... $ECHO_C" >&6 +if test "${ac_cv_lib_tiff_TIFFOpen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ltiff $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char TIFFOpen (); +int +main () +{ +TIFFOpen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_tiff_TIFFOpen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_tiff_TIFFOpen=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFOpen" >&5 +echo "${ECHO_T}$ac_cv_lib_tiff_TIFFOpen" >&6 +if test $ac_cv_lib_tiff_TIFFOpen = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBTIFF 1 +_ACEOF + + LIBS="-ltiff $LIBS" + +fi + +fi + +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works +# for constant arguments. Useless! +echo "$as_me:$LINENO: checking for working alloca.h" >&5 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 +if test "${ac_cv_working_alloca_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +char *p = (char *) alloca (2 * sizeof (int)); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_working_alloca_h=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_working_alloca_h=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 +if test $ac_cv_working_alloca_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ALLOCA_H 1 +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for alloca" >&5 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6 +if test "${ac_cv_func_alloca_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __GNUC__ +# define alloca __builtin_alloca +#else +# ifdef _MSC_VER +# include +# define alloca _alloca +# else +# if HAVE_ALLOCA_H +# include +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca /* predefined by HP cc +Olibcalls */ +char *alloca (); +# endif +# endif +# endif +# endif +#endif + +int +main () +{ +char *p = (char *) alloca (1); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_alloca_works=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_alloca_works=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 + +if test $ac_cv_func_alloca_works = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ALLOCA 1 +_ACEOF + +else + # The SVR3 libPW and SVR4 libucb both contain incompatible functions +# that cause trouble. Some versions do not even contain alloca or +# contain a buggy version. If you still want to use their alloca, +# use ar to extract alloca.o from them instead of compiling alloca.c. + +ALLOCA=alloca.$ac_objext + +cat >>confdefs.h <<\_ACEOF +#define C_ALLOCA 1 +_ACEOF + + +echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 +if test "${ac_cv_os_cray+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#if defined(CRAY) && ! defined(CRAY2) +webecray +#else +wenotbecray +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "webecray" >/dev/null 2>&1; then + ac_cv_os_cray=yes +else + ac_cv_os_cray=no +fi +rm -f conftest* + +fi +echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 +echo "${ECHO_T}$ac_cv_os_cray" >&6 +if test $ac_cv_os_cray = yes; then + for ac_func in _getb67 GETB67 getb67; do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + +cat >>confdefs.h <<_ACEOF +#define CRAY_STACKSEG_END $ac_func +_ACEOF + + break +fi + + done +fi + +echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 +if test "${ac_cv_c_stack_direction+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_c_stack_direction=0 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +int +find_stack_direction () +{ + static char *addr = 0; + auto char dummy; + if (addr == 0) + { + addr = &dummy; + return find_stack_direction (); + } + else + return (&dummy > addr) ? 1 : -1; +} + +int +main () +{ + exit (find_stack_direction () < 0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_stack_direction=1 +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_c_stack_direction=-1 +fi +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 + +cat >>confdefs.h <<_ACEOF +#define STACK_DIRECTION $ac_cv_c_stack_direction +_ACEOF + + +fi + + + +for ac_header in stdlib.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_func in getpagesize +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +echo "$as_me:$LINENO: checking for working mmap" >&5 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 +if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_mmap_fixed_mapped=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +/* malloc might have been renamed as rpl_malloc. */ +#undef malloc + +/* Thanks to Mike Haertel and Jim Avera for this test. + Here is a matrix of mmap possibilities: + mmap private not fixed + mmap private fixed at somewhere currently unmapped + mmap private fixed at somewhere already mapped + mmap shared not fixed + mmap shared fixed at somewhere currently unmapped + mmap shared fixed at somewhere already mapped + For private mappings, we should verify that changes cannot be read() + back from the file, nor mmap's back from the file at a different + address. (There have been systems where private was not correctly + implemented like the infamous i386 svr4.0, and systems where the + VM page cache was not coherent with the file system buffer cache + like early versions of FreeBSD and possibly contemporary NetBSD.) + For shared mappings, we should conversely verify that changes get + propagated back to all the places they're supposed to be. + + Grep wants private fixed already mapped. + The main things grep needs to know about mmap are: + * does it exist and is it safe to write into the mmap'd area + * how to use it (BSD variants) */ + +#include +#include + +#if !STDC_HEADERS && !HAVE_STDLIB_H +char *malloc (); +#endif + +/* This mess was copied from the GNU getpagesize.h. */ +#if !HAVE_GETPAGESIZE +/* Assume that all systems that can run configure have sys/param.h. */ +# if !HAVE_SYS_PARAM_H +# define HAVE_SYS_PARAM_H 1 +# endif + +# ifdef _SC_PAGESIZE +# define getpagesize() sysconf(_SC_PAGESIZE) +# else /* no _SC_PAGESIZE */ +# if HAVE_SYS_PARAM_H +# include +# ifdef EXEC_PAGESIZE +# define getpagesize() EXEC_PAGESIZE +# else /* no EXEC_PAGESIZE */ +# ifdef NBPG +# define getpagesize() NBPG * CLSIZE +# ifndef CLSIZE +# define CLSIZE 1 +# endif /* no CLSIZE */ +# else /* no NBPG */ +# ifdef NBPC +# define getpagesize() NBPC +# else /* no NBPC */ +# ifdef PAGESIZE +# define getpagesize() PAGESIZE +# endif /* PAGESIZE */ +# endif /* no NBPC */ +# endif /* no NBPG */ +# endif /* no EXEC_PAGESIZE */ +# else /* no HAVE_SYS_PARAM_H */ +# define getpagesize() 8192 /* punt totally */ +# endif /* no HAVE_SYS_PARAM_H */ +# endif /* no _SC_PAGESIZE */ + +#endif /* no HAVE_GETPAGESIZE */ + +int +main () +{ + char *data, *data2, *data3; + int i, pagesize; + int fd; + + pagesize = getpagesize (); + + /* First, make a file with some known garbage in it. */ + data = (char *) malloc (pagesize); + if (!data) + exit (1); + for (i = 0; i < pagesize; ++i) + *(data + i) = rand (); + umask (0); + fd = creat ("conftest.mmap", 0600); + if (fd < 0) + exit (1); + if (write (fd, data, pagesize) != pagesize) + exit (1); + close (fd); + + /* Next, try to mmap the file at a fixed address which already has + something else allocated at it. If we can, also make sure that + we see the same garbage. */ + fd = open ("conftest.mmap", O_RDWR); + if (fd < 0) + exit (1); + data2 = (char *) malloc (2 * pagesize); + if (!data2) + exit (1); + data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1); + if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, + MAP_PRIVATE | MAP_FIXED, fd, 0L)) + exit (1); + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data2 + i)) + exit (1); + + /* Finally, make sure that changes to the mapped area do not + percolate back to the file as seen by read(). (This is a bug on + some variants of i386 svr4.0.) */ + for (i = 0; i < pagesize; ++i) + *(data2 + i) = *(data2 + i) + 1; + data3 = (char *) malloc (pagesize); + if (!data3) + exit (1); + if (read (fd, data3, pagesize) != pagesize) + exit (1); + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data3 + i)) + exit (1); + close (fd); + exit (0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_mmap_fixed_mapped=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_mmap_fixed_mapped=no +fi +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 +if test $ac_cv_func_mmap_fixed_mapped = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_MMAP 1 +_ACEOF + +fi +rm -f conftest.mmap + + + + + + + + + + + + + + + +for ac_func in atexit mkdir sigprocmask strdup strndup strftime strstr strsep strtod snprintf usleep strcasecmp strncasecmp lstat +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + echo "$as_me:$LINENO: result: $RANLIB" >&5 +echo "${ECHO_T}$RANLIB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 +echo "${ECHO_T}$ac_ct_RANLIB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + RANLIB=$ac_ct_RANLIB +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +echo "$as_me:$LINENO: checking for off_t" >&5 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6 +if test "${ac_cv_type_off_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((off_t *) 0) + return 0; +if (sizeof (off_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_off_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_off_t=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 +echo "${ECHO_T}$ac_cv_type_off_t" >&6 +if test $ac_cv_type_off_t = yes; then + : +else + +cat >>confdefs.h <<_ACEOF +#define off_t long +_ACEOF + +fi + + + + + + + + + + + +for ac_header in argz.h limits.h locale.h nl_types.h malloc.h string.h \ +unistd.h values.h sys/param.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + + + + + + +for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ +__argz_count __argz_stringify __argz_next +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + if test "${ac_cv_func_stpcpy+set}" != "set"; then + +for ac_func in stpcpy +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + fi + if test "${ac_cv_func_stpcpy}" = "yes"; then + cat >>confdefs.h <<\_ACEOF +#define HAVE_STPCPY 1 +_ACEOF + + fi + + if test $ac_cv_header_locale_h = yes; then + echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 +if test "${am_cv_val_LC_MESSAGES+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +return LC_MESSAGES + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + am_cv_val_LC_MESSAGES=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +am_cv_val_LC_MESSAGES=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6 + if test $am_cv_val_LC_MESSAGES = yes; then + cat >>confdefs.h <<\_ACEOF +#define HAVE_LC_MESSAGES 1 +_ACEOF + + fi + fi + echo "$as_me:$LINENO: checking whether NLS is requested" >&5 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 + # Check whether --enable-nls or --disable-nls was given. +if test "${enable_nls+set}" = set; then + enableval="$enable_nls" + USE_NLS=$enableval +else + USE_NLS=yes +fi; + echo "$as_me:$LINENO: result: $USE_NLS" >&5 +echo "${ECHO_T}$USE_NLS" >&6 + + + USE_INCLUDED_LIBINTL=no + + if test "$USE_NLS" = "yes"; then + cat >>confdefs.h <<\_ACEOF +#define ENABLE_NLS 1 +_ACEOF + + echo "$as_me:$LINENO: checking whether included gettext is requested" >&5 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6 + +# Check whether --with-included-gettext or --without-included-gettext was given. +if test "${with_included_gettext+set}" = set; then + withval="$with_included_gettext" + nls_cv_force_use_gnu_gettext=$withval +else + nls_cv_force_use_gnu_gettext=no +fi; + echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6 + + nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" + if test "$nls_cv_force_use_gnu_gettext" != "yes"; then + nls_cv_header_intl= + nls_cv_header_libgt= + CATOBJEXT=NONE + + if test "${ac_cv_header_libintl_h+set}" = set; then + echo "$as_me:$LINENO: checking for libintl.h" >&5 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 +if test "${ac_cv_header_libintl_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking libintl.h usability" >&5 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking libintl.h presence" >&5 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for libintl.h" >&5 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 +if test "${ac_cv_header_libintl_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_libintl_h=$ac_header_preproc +fi +echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 + +fi +if test $ac_cv_header_libintl_h = yes; then + echo "$as_me:$LINENO: checking for gettext in libc" >&5 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6 +if test "${gt_cv_func_gettext_libc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +return (int) gettext ("") + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gt_cv_func_gettext_libc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gt_cv_func_gettext_libc=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6 + + if test "$gt_cv_func_gettext_libc" != "yes"; then + echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6 +if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char bindtextdomain (); +int +main () +{ +bindtextdomain (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_intl_bindtextdomain=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_intl_bindtextdomain=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6 +if test $ac_cv_lib_intl_bindtextdomain = yes; then + echo "$as_me:$LINENO: checking for gettext in libintl" >&5 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6 +if test "${gt_cv_func_gettext_libintl+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +return (int) gettext ("") + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gt_cv_func_gettext_libintl=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gt_cv_func_gettext_libintl=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6 +fi + + fi + + if test "$gt_cv_func_gettext_libintl" = "yes"; then + LIBS="-lintl $LIBS" + fi + + if test "$gt_cv_func_gettext_libc" = "yes" \ + || test "$gt_cv_func_gettext_libintl" = "yes"; then + cat >>confdefs.h <<\_ACEOF +#define HAVE_GETTEXT 1 +_ACEOF + + # Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_MSGFMT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case "$MSGFMT" in + /*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then + ac_cv_path_MSGFMT="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test -n "$MSGFMT"; then + echo "$as_me:$LINENO: result: $MSGFMT" >&5 +echo "${ECHO_T}$MSGFMT" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + if test "$MSGFMT" != "no"; then + +for ac_func in dcgettext +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_GMSGFMT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; - ?:/*) - ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a dos path. +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT + +if test -n "$GMSGFMT"; then + echo "$as_me:$LINENO: result: $GMSGFMT" >&5 +echo "${ECHO_T}$GMSGFMT" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + # Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_XGETTEXT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case "$XGETTEXT" in + /*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then - ac_cv_path_GENCAT="$ac_dir/$ac_word" - break + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word" + break + fi fi done IFS="$ac_save_ifs" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test -n "$XGETTEXT"; then + echo "$as_me:$LINENO: result: $XGETTEXT" >&5 +echo "${ECHO_T}$XGETTEXT" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + CATOBJEXT=.gmo + DATADIRNAME=share +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +CATOBJEXT=.mo + DATADIRNAME=lib +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + INSTOBJEXT=.mo + fi + fi + +fi + + + + if test "$CATOBJEXT" = "NONE"; then + echo "$as_me:$LINENO: checking whether catgets can be used" >&5 +echo $ECHO_N "checking whether catgets can be used... $ECHO_C" >&6 + +# Check whether --with-catgets or --without-catgets was given. +if test "${with_catgets+set}" = set; then + withval="$with_catgets" + nls_cv_use_catgets=$withval +else + nls_cv_use_catgets=no +fi; + echo "$as_me:$LINENO: result: $nls_cv_use_catgets" >&5 +echo "${ECHO_T}$nls_cv_use_catgets" >&6 + + if test "$nls_cv_use_catgets" = "yes"; then + +echo "$as_me:$LINENO: checking for main in -li" >&5 +echo $ECHO_N "checking for main in -li... $ECHO_C" >&6 +if test "${ac_cv_lib_i_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-li $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + +int +main () +{ +main (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_i_main=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_i_main=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_i_main" >&5 +echo "${ECHO_T}$ac_cv_lib_i_main" >&6 +if test $ac_cv_lib_i_main = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBI 1 +_ACEOF + + LIBS="-li $LIBS" + +fi + + echo "$as_me:$LINENO: checking for catgets" >&5 +echo $ECHO_N "checking for catgets... $ECHO_C" >&6 +if test "${ac_cv_func_catgets+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define catgets to an innocuous variant, in case declares catgets. + For example, HP-UX 11i declares gettimeofday. */ +#define catgets innocuous_catgets + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char catgets (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef catgets + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char catgets (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_catgets) || defined (__stub___catgets) +choke me +#else +char (*f) () = catgets; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != catgets; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_catgets=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_catgets=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_catgets" >&5 +echo "${ECHO_T}$ac_cv_func_catgets" >&6 +if test $ac_cv_func_catgets = yes; then + cat >>confdefs.h <<\_ACEOF +#define HAVE_CATGETS 1 +_ACEOF + + INTLOBJS="\$(CATOBJS)" + # Extract the first word of "gencat", so it can be a program name with args. +set dummy gencat; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_GENCAT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $GENCAT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GENCAT="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT="no" ;; esac fi -GENCAT="$ac_cv_path_GENCAT" +GENCAT=$ac_cv_path_GENCAT + if test -n "$GENCAT"; then - echo "$ac_t""$GENCAT" 1>&6 + echo "$as_me:$LINENO: result: $GENCAT" >&5 +echo "${ECHO_T}$GENCAT" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + if test "$GENCAT" != "no"; then + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_GMSGFMT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="no" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT + +if test -n "$GMSGFMT"; then + echo "$as_me:$LINENO: result: $GMSGFMT" >&5 +echo "${ECHO_T}$GMSGFMT" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + if test "$GMSGFMT" = "no"; then + # Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_GMSGFMT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case "$GMSGFMT" in + /*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then + ac_cv_path_GMSGFMT="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="no" + ;; +esac +fi +GMSGFMT="$ac_cv_path_GMSGFMT" +if test -n "$GMSGFMT"; then + echo "$as_me:$LINENO: result: $GMSGFMT" >&5 +echo "${ECHO_T}$GMSGFMT" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - if test "$GENCAT" != "no"; then - # Extract the first word of "gmsgfmt", so it can be a program name with args. -set dummy gmsgfmt; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3385: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + + fi + # Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_XGETTEXT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - case "$GMSGFMT" in + case "$XGETTEXT" in /*) - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then - ac_cv_path_GMSGFMT="$ac_dir/$ac_word" - break + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word" + break + fi fi done IFS="$ac_save_ifs" - test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="no" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi -GMSGFMT="$ac_cv_path_GMSGFMT" -if test -n "$GMSGFMT"; then - echo "$ac_t""$GMSGFMT" 1>&6 +XGETTEXT="$ac_cv_path_XGETTEXT" +if test -n "$XGETTEXT"; then + echo "$as_me:$LINENO: result: $XGETTEXT" >&5 +echo "${ECHO_T}$XGETTEXT" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - if test "$GMSGFMT" = "no"; then - # Extract the first word of "msgfmt", so it can be a program name with args. + USE_INCLUDED_LIBINTL=yes + CATOBJEXT=.cat + INSTOBJEXT=.cat + DATADIRNAME=lib + INTLDEPS='$(top_builddir)/intl/libintl.a' + INTLLIBS=$INTLDEPS + LIBS=`echo $LIBS | sed -e 's/-lintl//'` + nls_cv_header_intl=intl/libintl.h + nls_cv_header_libgt=intl/libgettext.h + fi +fi + + fi + fi + + if test "$CATOBJEXT" = "NONE"; then + nls_cv_use_gnu_gettext=yes + fi + fi + + if test "$nls_cv_use_gnu_gettext" = "yes"; then + INTLOBJS="\$(GETTOBJS)" + # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3422: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_MSGFMT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - case "$GMSGFMT" in + case "$MSGFMT" in /*) - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" @@ -3432,30 +8294,71 @@ else test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then - ac_cv_path_GMSGFMT="$ac_dir/$ac_word" + ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" - test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="no" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt" ;; esac fi -GMSGFMT="$ac_cv_path_GMSGFMT" +MSGFMT="$ac_cv_path_MSGFMT" +if test -n "$MSGFMT"; then + echo "$as_me:$LINENO: result: $MSGFMT" >&5 +echo "${ECHO_T}$MSGFMT" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_GMSGFMT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT + if test -n "$GMSGFMT"; then - echo "$ac_t""$GMSGFMT" 1>&6 + echo "$as_me:$LINENO: result: $GMSGFMT" >&5 +echo "${ECHO_T}$GMSGFMT" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - fi - # Extract the first word of "xgettext", so it can be a program name with args. + # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3457: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_XGETTEXT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$XGETTEXT" in /*) @@ -3477,560 +8380,1191 @@ else ;; esac fi -XGETTEXT="$ac_cv_path_XGETTEXT" -if test -n "$XGETTEXT"; then - echo "$ac_t""$XGETTEXT" 1>&6 +XGETTEXT="$ac_cv_path_XGETTEXT" +if test -n "$XGETTEXT"; then + echo "$as_me:$LINENO: result: $XGETTEXT" >&5 +echo "${ECHO_T}$XGETTEXT" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + + USE_INCLUDED_LIBINTL=yes + CATOBJEXT=.gmo + INSTOBJEXT=.mo + DATADIRNAME=share + INTLDEPS='$(top_builddir)/intl/libintl.a' + INTLLIBS=$INTLDEPS + LIBS=`echo $LIBS | sed -e 's/-lintl//'` + nls_cv_header_intl=intl/libintl.h + nls_cv_header_libgt=intl/libgettext.h + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then + : ; + else + echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6 + XGETTEXT=":" + fi + fi + + # We need to process the po/ directory. + POSUB=po + else + DATADIRNAME=share + nls_cv_header_intl=intl/libintl.h + nls_cv_header_libgt=intl/libgettext.h + fi + + # If this is used in GNU gettext we have to set USE_NLS to `yes' + # because some of the sources are only built for this goal. + if test "$PACKAGE" = gettext; then + USE_NLS=yes + USE_INCLUDED_LIBINTL=yes + fi + + for lang in $ALL_LINGUAS; do + GMOFILES="$GMOFILES $lang.gmo" + POFILES="$POFILES $lang.po" + done + + + + + + + + + + + + + + + if test "x$CATOBJEXT" != "x"; then + if test "x$ALL_LINGUAS" = "x"; then + LINGUAS= + else + echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6 + NEW_LINGUAS= + for lang in ${LINGUAS=$ALL_LINGUAS}; do + case "$ALL_LINGUAS" in + *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; + esac + done + LINGUAS=$NEW_LINGUAS + echo "$as_me:$LINENO: result: $LINGUAS" >&5 +echo "${ECHO_T}$LINGUAS" >&6 + fi + + if test -n "$LINGUAS"; then + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done + fi + fi + + if test $ac_cv_header_locale_h = yes; then + INCLUDE_LOCALE_H="#include " + else + INCLUDE_LOCALE_H="\ +/* The system does not provide the header . Take care yourself. */" + fi + + + test -d intl || mkdir intl + if test "$CATOBJEXT" = ".cat"; then + if test "${ac_cv_header_linux_version_h+set}" = set; then + echo "$as_me:$LINENO: checking for linux/version.h" >&5 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 +if test "${ac_cv_header_linux_version_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking linux/version.h usability" >&5 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking linux/version.h presence" >&5 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for linux/version.h" >&5 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 +if test "${ac_cv_header_linux_version_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_linux_version_h=$ac_header_preproc +fi +echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 + +fi +if test $ac_cv_header_linux_version_h = yes; then + msgformat=linux +else + msgformat=xopen +fi + + + + sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed + fi + sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ + $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed + + if test "$PACKAGE" = "gettext"; then + GT_NO="#NO#" + GT_YES= + else + GT_NO= + GT_YES="#YES#" + fi + + + + MKINSTALLDIRS= + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + l= + + +ac_sources="$nls_cv_header_libgt" +ac_dests="$nls_cv_header_intl" +while test -n "$ac_sources"; do + set $ac_dests; ac_dest=$1; shift; ac_dests=$* + set $ac_sources; ac_source=$1; shift; ac_sources=$* + ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source" +done + ac_config_links="$ac_config_links $ac_config_links_1" + + +if test "$USE_NLS" = yes; then + if test "$USE_INCLUDED_LIBINTL" = yes; then + CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/intl" + INTLSUB=intl + fi +fi + + + + # Check whether --enable-sanetest or --disable-sanetest was given. +if test "${enable_sanetest+set}" = set; then + enableval="$enable_sanetest" + +else + enable_sanetest=yes +fi; + + # Extract the first word of "sane-config", so it can be a program name with args. +set dummy sane-config; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_SANE_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $SANE_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_SANE_CONFIG="$SANE_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_SANE_CONFIG="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_path_SANE_CONFIG" && ac_cv_path_SANE_CONFIG="no" + ;; +esac +fi +SANE_CONFIG=$ac_cv_path_SANE_CONFIG + +if test -n "$SANE_CONFIG"; then + echo "$as_me:$LINENO: result: $SANE_CONFIG" >&5 +echo "${ECHO_T}$SANE_CONFIG" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - USE_INCLUDED_LIBINTL=yes - CATOBJEXT=.cat - INSTOBJEXT=.cat - DATADIRNAME=lib - INTLDEPS='$(top_builddir)/intl/libintl.a' - INTLLIBS=$INTLDEPS - LIBS=`echo $LIBS | sed -e 's/-lintl//'` - nls_cv_header_intl=intl/libintl.h - nls_cv_header_libgt=intl/libgettext.h - fi + min_sane_version=1.0.0 + echo "$as_me:$LINENO: checking for SANE - version >= $min_sane_version" >&5 +echo $ECHO_N "checking for SANE - version >= $min_sane_version... $ECHO_C" >&6 + no_sane="" + if test "$SANE_CONFIG" = "no" ; then + no_sane=yes + else + SANE_CFLAGS=`$SANE_CONFIG $sane_config_args --cflags` + SANE_LDFLAGS=`$SANE_CONFIG $sane_config_args --ldflags` +# SANE_LIBS=`$SANE_CONFIG $sane_config_args --libs` + SANE_LIBS=`$SANE_CONFIG $sane_config_args --libs | sed -e 's/-lintl//g'` + SANE_PREFIX=`$SANE_CONFIG $sane_config_args --prefix` + sane_config_major_version=`$SANE_CONFIG $sane_config_args --version | \ + sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` + sane_config_minor_version=`$SANE_CONFIG $sane_config_args --version | \ + sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` + sane_config_micro_version=`$SANE_CONFIG $sane_config_args --version | \ + sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` + if test "x$enable_sanetest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LDFLAGS="$LDFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $SANE_CFLAGS" + LDFLAGS="$LDFLAGS $SANE_LDFLAGS" + LIBS="$LIBS $SANE_LIBS" + rm -f conf.sanetest + if test "$cross_compiling" = yes; then + echo $ac_n "cross compiling; assumed OK... $ac_c" else - echo "$ac_t""no" 1>&6 -fi + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ - fi - fi +#include +#include - if test "$CATOBJEXT" = "NONE"; then - nls_cv_use_gnu_gettext=yes - fi - fi +int +main () +{ + int major, minor, micro; - if test "$nls_cv_use_gnu_gettext" = "yes"; then - INTLOBJS="\$(GETTOBJS)" - # Extract the first word of "msgfmt", so it can be a program name with args. -set dummy msgfmt; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3515: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + system ("touch conf.sanetest"); + + if (sscanf("$min_sane_version", "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_sane_version"); + exit(1); + } + + if ( ($sane_config_major_version == major) && + ( ($sane_config_minor_version > minor) || + ( ($sane_config_minor_version == minor) && ($sane_config_micro_version >= micro)))) + { + return 0; + } + else if ($sane_config_major_version > major) + { + printf("\n*** A too new version of SANE (%d.%d.%d) was found.\n", + $sane_config_major_version, $sane_config_minor_version, $sane_config_micro_version); + printf("*** You need a version of SANE with the major version number %d.\n", major); + } + else + { + printf("\n*** An old version of SANE (%d.%d.%d) was found.\n", + $sane_config_major_version, $sane_config_minor_version, $sane_config_micro_version); + printf("*** You need a version of SANE newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + } + + printf("*** SANE is always available from ftp://ftp.mostang.com\n"); + printf("***\n"); + printf("*** If you have already installed a sufficient version, this error\n"); + printf("*** probably means that the wrong copy of the sane-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of SANE, but you can also set the SANE_CONFIG environment to point to the\n"); + printf("*** correct copy of sane-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + + return 1; +} + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : else - case "$MSGFMT" in - /*) - ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then - ac_cv_path_MSGFMT="$ac_dir/$ac_word" - break - fi - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt" - ;; -esac + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +no_sane=yes fi -MSGFMT="$ac_cv_path_MSGFMT" -if test -n "$MSGFMT"; then - echo "$ac_t""$MSGFMT" 1>&6 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + CFLAGS="$ac_save_CFLAGS" + LDFLAGS="$ac_save_LDFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_sane" = x ; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + HAVE_SANE=yes + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + if test "$SANE_CONFIG" = "no" ; then + echo "*** The sane-config script installed by SANE could not be found" + echo "*** If SANE was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the SANE_CONFIG environment variable to the" + echo "*** full path to sane-config." + else + if test -f conf.sanetest ; then + : + else + echo "*** Could not run SANE test program, checking why..." + CFLAGS="$CFLAGS $SANE_CFLAGS" + LIBS="$LIBS $SANE_LIBS" + LDFLAGS="$LDFLAGS $SANE_LDFLAGS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include + +int +main () +{ + return (SANE_CURRENT_MAJOR); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding SANE or finding the wrong" + echo "*** version of SANE. If it is not finding SANE, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" + echo "***" + echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means SANE was incorrectly installed" + echo "*** or that you have moved SANE since it was installed. In the latter case, you" + echo "*** may want to edit the sane-config script: $SANE_CONFIG" else - echo "$ac_t""no" 1>&6 + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CFLAGS="$ac_save_CFLAGS" + LDFLAGS="$ac_save_LDFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + SANE_CFLAGS="" + SANE_LDFLAGS="" + SANE_LIBS="" + : + fi + + + + + rm -f conf.sanetest + + +if test "${USE_GIMP}" = "yes"; then + if test "${TRY_GIMP_2}" = "yes"; then + +# Check whether --enable-gimptest or --disable-gimptest was given. +if test "${enable_gimptest+set}" = set; then + enableval="$enable_gimptest" - # Extract the first word of "gmsgfmt", so it can be a program name with args. -set dummy gmsgfmt; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3549: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 else - case "$GMSGFMT" in - /*) - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. + enable_gimptest=yes +fi; + + pkg_name=gimp-2.0 + pkg_config_args="$pkg_name gimpui-2.0" + + no_gimp="" + + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_GMSGFMT="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; esac fi -GMSGFMT="$ac_cv_path_GMSGFMT" -if test -n "$GMSGFMT"; then - echo "$ac_t""$GMSGFMT" 1>&6 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG + +if test -n "$PKG_CONFIG"; then + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 +echo "${ECHO_T}$PKG_CONFIG" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - # Extract the first word of "xgettext", so it can be a program name with args. -set dummy xgettext; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3585: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$XGETTEXT" in - /*) - ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then - ac_cv_path_XGETTEXT="$ac_dir/$ac_word" - break - fi + + if test x$PKG_CONFIG != xno ; then + if pkg-config --atleast-pkgconfig-version 0.7 ; then + : + else + echo *** pkg-config too old; version 0.7 or better required. + no_gimp=yes + PKG_CONFIG=no fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" - ;; -esac -fi -XGETTEXT="$ac_cv_path_XGETTEXT" -if test -n "$XGETTEXT"; then - echo "$ac_t""$XGETTEXT" 1>&6 + else + no_gimp=yes + fi + + min_gimp_version=1.3.23 + echo "$as_me:$LINENO: checking for GIMP - version >= $min_gimp_version" >&5 +echo $ECHO_N "checking for GIMP - version >= $min_gimp_version... $ECHO_C" >&6 + + if test x$PKG_CONFIG != xno ; then + ## don't try to run the test against uninstalled libtool libs + if $PKG_CONFIG --uninstalled $pkg_config_args; then + echo "Will use uninstalled version of GIMP found in PKG_CONFIG_PATH" + enable_gimptest=no + fi + + if $PKG_CONFIG --atleast-version $min_gimp_version $pkg_config_args; then + : + else + no_gimp=yes + fi + fi + + if test x"$no_gimp" = x ; then + GIMP_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` + GIMP_LIBS=`$PKG_CONFIG $pkg_config_args --libs` + GIMP_CFLAGS_NOUI=`$PKG_CONFIG $pkg_name --cflags` + GIMP_LIBS_NOUI=`$PKG_CONFIG $pkg_name --libs` + GIMP_DATA_DIR=`$PKG_CONFIG $pkg_name --variable=gimpdatadir` + GIMP_PLUGIN_DIR=`$PKG_CONFIG $pkg_name --variable=gimplibdir` + + gimp_pkg_major_version=`$PKG_CONFIG --modversion $pkg_name | \ + sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` + gimp_pkg_minor_version=`$PKG_CONFIG --modversion $pkg_name | \ + sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` + gimp_pkg_micro_version=`$PKG_CONFIG --modversion $pkg_name | \ + sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` + if test "x$enable_gimptest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GIMP_CFLAGS" + LIBS="$GIMP_LIBS $LIBS" + + rm -f conf.gimptest + if test "$cross_compiling" = yes; then + echo $ac_n "cross compiling; assumed OK... $ac_c" else - echo "$ac_t""no" 1>&6 -fi + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ - - USE_INCLUDED_LIBINTL=yes - CATOBJEXT=.gmo - INSTOBJEXT=.mo - DATADIRNAME=share - INTLDEPS='$(top_builddir)/intl/libintl.a' - INTLLIBS=$INTLDEPS - LIBS=`echo $LIBS | sed -e 's/-lintl//'` - nls_cv_header_intl=intl/libintl.h - nls_cv_header_libgt=intl/libgettext.h - fi +#include +#include - if test "$XGETTEXT" != ":"; then - if $XGETTEXT --omit-header /dev/null 2> /dev/null; then - : ; - else - echo "$ac_t""found xgettext programs is not GNU xgettext; ignore it" 1>&6 - XGETTEXT=":" - fi - fi +#include - # We need to process the po/ directory. - POSUB=po - else - DATADIRNAME=share - nls_cv_header_intl=intl/libintl.h - nls_cv_header_libgt=intl/libgettext.h - fi +GimpPlugInInfo PLUG_IN_INFO = +{ + NULL, /* init_proc */ + NULL, /* quit_proc */ + NULL, /* query_proc */ + NULL /* run_proc */ +}; - # If this is used in GNU gettext we have to set USE_NLS to `yes' - # because some of the sources are only built for this goal. - if test "$PACKAGE" = gettext; then - USE_NLS=yes - USE_INCLUDED_LIBINTL=yes - fi +int main () +{ + int major, minor, micro; + char *tmp_version; - for lang in $ALL_LINGUAS; do - GMOFILES="$GMOFILES $lang.gmo" - POFILES="$POFILES $lang.po" - done + system ("touch conf.gimptest"); - - - - - - - - - - - - + /* HP/UX 9 (%@#!) writes to sscanf strings */ + tmp_version = g_strdup("$min_gimp_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gimp_version"); + exit(1); + } - if test "x$CATOBJEXT" != "x"; then - if test "x$ALL_LINGUAS" = "x"; then - LINGUAS= - else - echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 -echo "configure:3675: checking for catalogs to be installed" >&5 - NEW_LINGUAS= - for lang in ${LINGUAS=$ALL_LINGUAS}; do - case "$ALL_LINGUAS" in - *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; - esac - done - LINGUAS=$NEW_LINGUAS - echo "$ac_t""$LINGUAS" 1>&6 - fi + if (($gimp_pkg_major_version > major) || + (($gimp_pkg_major_version == major) && ($gimp_pkg_minor_version > minor)) || + (($gimp_pkg_major_version == major) && ($gimp_pkg_minor_version == minor) && ($gimp_pkg_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** 'pkg-config --modversion %s' returned %d.%d.%d, but the minimum version\n", "$pkg_name", $gimp_pkg_major_version, $gimp_pkg_minor_version, $gimp_pkg_micro_version); + printf("*** of GIMP required is %d.%d.%d. If pkg-config is correct, then it is\n", major, minor, micro); + printf("*** best to upgrade to the required version.\n"); + printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); + printf("*** to point to the correct the correct configuration files\n"); + return 1; + } +} - if test -n "$LINGUAS"; then - for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done - fi - fi - if test $ac_cv_header_locale_h = yes; then - INCLUDE_LOCALE_H="#include " - else - INCLUDE_LOCALE_H="\ -/* The system does not provide the header . Take care yourself. */" - fi - +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - test -d intl || mkdir intl - if test "$CATOBJEXT" = ".cat"; then - ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 -echo "configure:3703: checking for linux/version.h" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" +( exit $ac_status ) +no_gimp=yes fi -rm -f conftest* +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - msgformat=linux + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_gimp" = x ; then + echo "$as_me:$LINENO: result: yes (version $gimp_pkg_major_version.$gimp_pkg_minor_version.$gimp_pkg_micro_version)" >&5 +echo "${ECHO_T}yes (version $gimp_pkg_major_version.$gimp_pkg_minor_version.$gimp_pkg_micro_version)" >&6 + HAVE_GIMP=yes + else + if test "$PKG_CONFIG" = "no" ; then + echo "*** A new enough version of pkg-config was not found." + echo "*** See http://www.freedesktop.org/software/pkgconfig/" + else + if test -f conf.gimptest ; then + : + else + echo "" + echo "*** Could not run GIMP test program, checking why..." + CFLAGS="$CFLAGS $GIMP_CFLAGS" + LIBS="$LIBS $GIMP_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include + +GimpPlugInInfo PLUG_IN_INFO = +{ + NULL, /* init_proc */ + NULL, /* quit_proc */ + NULL, /* query_proc */ + NULL /* run_proc */ +}; + +int +main () +{ + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GIMP or finding the wrong" + echo "*** version of GIMP. If it is not finding GIMP, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" else - echo "$ac_t""no" 1>&6 -msgformat=xopen + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means GIMP is incorrectly installed." + echo "*** When gimp-2.0 is not installed but gimp-1.x is installed then you can" + echo "*** ignore this error message." fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + GIMP_CFLAGS="" + GIMP_LIBS="" + GIMP_CFLAGS_NOUI="" + GIMP_LIBS_NOUI="" + : + fi - sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed - fi - sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ - $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed - if test "$PACKAGE" = "gettext"; then - GT_NO="#NO#" - GT_YES= - else - GT_NO= - GT_YES="#YES#" - fi - - - MKINSTALLDIRS= - if test -z "$MKINSTALLDIRS"; then - MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" - fi - - l= - - + rm -f conf.gimptest -if test "$USE_NLS" = yes; then - if test "$USE_INCLUDED_LIBINTL" = yes; then - CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/intl" - INTLSUB=intl fi -fi +fi +if test "${HAVE_GIMP}" = "yes"; then + HAVE_GTK=yes +cat >>confdefs.h <<\_ACEOF +#define HAVE_GIMP_2 1 +_ACEOF - # Check whether --with-sane-prefix or --without-sane-prefix was given. -if test "${with_sane_prefix+set}" = set; then - withval="$with_sane_prefix" - sane_config_prefix="$withval" else - sane_config_prefix="" -fi - # Check whether --with-sane-exec-prefix or --without-sane-exec-prefix was given. -if test "${with_sane_exec_prefix+set}" = set; then - withval="$with_sane_exec_prefix" - sane_config_exec_prefix="$withval" -else - sane_config_exec_prefix="" -fi + if test "${USE_GTK2}" = "yes"; then + # Check whether --enable-gtktest or --disable-gtktest was given. +if test "${enable_gtktest+set}" = set; then + enableval="$enable_gtktest" - # Check whether --enable-sanetest or --disable-sanetest was given. -if test "${enable_sanetest+set}" = set; then - enableval="$enable_sanetest" - : else - enable_sanetest=yes -fi - + enable_gtktest=yes +fi; + + pkg_config_args=gtk+-2.0 + for module in . + do + case "$module" in + gthread) + pkg_config_args="$pkg_config_args gthread-2.0" + ;; + esac + done - if test x$sane_config_exec_prefix != x ; then - sane_config_args="$sane_config_args --exec-prefix=$sane_config_exec_prefix" - if test x${SANE_CONFIG+set} != xset ; then - SANE_CONFIG=$sane_config_exec_prefix/bin/sane-config - fi - fi - if test x$sane_config_prefix != x ; then - sane_config_args="$sane_config_args --prefix=$sane_config_prefix" - if test x${SANE_CONFIG+set} != xset ; then - SANE_CONFIG=$sane_config_prefix/bin/sane-config - fi - fi + no_gtk="" - # Extract the first word of "sane-config", so it can be a program name with args. -set dummy sane-config; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3812: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_SANE_CONFIG'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - case "$SANE_CONFIG" in - /*) - ac_cv_path_SANE_CONFIG="$SANE_CONFIG" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_SANE_CONFIG="$SANE_CONFIG" # Let the user override the test with a dos path. + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_SANE_CONFIG="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_path_SANE_CONFIG" && ac_cv_path_SANE_CONFIG="no" + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; esac fi -SANE_CONFIG="$ac_cv_path_SANE_CONFIG" -if test -n "$SANE_CONFIG"; then - echo "$ac_t""$SANE_CONFIG" 1>&6 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG + +if test -n "$PKG_CONFIG"; then + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 +echo "${ECHO_T}$PKG_CONFIG" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - min_sane_version=1.0.0 - echo $ac_n "checking for SANE - version >= $min_sane_version""... $ac_c" 1>&6 -echo "configure:3847: checking for SANE - version >= $min_sane_version" >&5 - no_sane="" - if test "$SANE_CONFIG" = "no" ; then - no_sane=yes + + if test x$PKG_CONFIG != xno ; then + if pkg-config --atleast-pkgconfig-version 0.7 ; then + : + else + echo *** pkg-config too old; version 0.7 or better required. + no_gtk=yes + PKG_CONFIG=no + fi else - SANE_CFLAGS=`$SANE_CONFIG $sane_config_args --cflags` - SANE_LDFLAGS=`$SANE_CONFIG $sane_config_args --ldflags` -# SANE_LIBS=`$SANE_CONFIG $sane_config_args --libs` - SANE_LIBS=`$SANE_CONFIG $sane_config_args --libs | sed -e 's/-lintl//g'` - SANE_PREFIX=`$SANE_CONFIG $sane_config_args --prefix` - sane_config_major_version=`$SANE_CONFIG $sane_config_args --version | \ + no_gtk=yes + fi + + min_gtk_version=2.0.0 + echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5 +echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6 + + if test x$PKG_CONFIG != xno ; then + ## don't try to run the test against uninstalled libtool libs + if $PKG_CONFIG --uninstalled $pkg_config_args; then + echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH" + enable_gtktest=no + fi + + if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then + : + else + no_gtk=yes + fi + fi + + if test x"$no_gtk" = x ; then + GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` + GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs` + gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` - sane_config_minor_version=`$SANE_CONFIG $sane_config_args --version | \ + gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` - sane_config_micro_version=`$SANE_CONFIG $sane_config_args --version | \ + gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` - if test "x$enable_sanetest" = "xyes" ; then + if test "x$enable_gtktest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" - ac_save_LDFLAGS="$LDFLAGS" ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $SANE_CFLAGS" - LDFLAGS="$LDFLAGS $SANE_LDFLAGS" - LIBS="$LIBS $SANE_LIBS" - rm -f conf.sanetest + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$GTK_LIBS $LIBS" + rm -f conf.gtktest if test "$cross_compiling" = yes; then echo $ac_n "cross compiling; assumed OK... $ac_c" else - cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -#include +#include #include +#include -int +int main () { int major, minor, micro; + char *tmp_version; - system ("touch conf.sanetest"); - - if (sscanf("$min_sane_version", "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_sane_version"); - exit(1); - } - - if ( ($sane_config_major_version == major) && - ( ($sane_config_minor_version > minor) || - ( ($sane_config_minor_version == minor) && ($sane_config_micro_version >= micro)))) - { - return 0; - } - else if ($sane_config_major_version > major) - { - printf("\n*** A too new version of SANE (%d.%d.%d) was found.\n", - $sane_config_major_version, $sane_config_minor_version, $sane_config_micro_version); - printf("*** You need a version of SANE with the major version number %d.\n", major); - } - else - { - printf("\n*** An old version of SANE (%d.%d.%d) was found.\n", - $sane_config_major_version, $sane_config_minor_version, $sane_config_micro_version); - printf("*** You need a version of SANE newer than %d.%d.%d. The latest version of\n", - major, minor, micro); - } - - printf("*** SANE is always available from ftp://ftp.mostang.com\n"); - printf("***\n"); - printf("*** If you have already installed a sufficient version, this error\n"); - printf("*** probably means that the wrong copy of the sane-config shell script is\n"); - printf("*** being found. The easiest way to fix this is to remove the old version\n"); - printf("*** of SANE, but you can also set the SANE_CONFIG environment to point to the\n"); - printf("*** correct copy of sane-config. (In this case, you will have to\n"); - printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); - printf("*** so that the correct libraries are found at run-time))\n"); - + system ("touch conf.gtktest"); + + /* HP/UX 9 (%@#!) writes to sscanf strings */ + tmp_version = g_strdup("$min_gtk_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gtk_version"); + exit(1); + } + + if ((gtk_major_version != $gtk_config_major_version) || + (gtk_minor_version != $gtk_config_minor_version) || + (gtk_micro_version != $gtk_config_micro_version)) + { + printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", + $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf ("*** was found! If pkg-config was correct, then it is best\n"); + printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); + printf("*** to point to the correct configuration files\n"); + } + else if ((gtk_major_version != GTK_MAJOR_VERSION) || + (gtk_minor_version != GTK_MINOR_VERSION) || + (gtk_micro_version != GTK_MICRO_VERSION)) + { + printf("*** GTK+ header files (version %d.%d.%d) do not match\n", + GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); + printf("*** library (version %d.%d.%d)\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + } + else + { + if ((gtk_major_version > major) || + ((gtk_major_version == major) && (gtk_minor_version > minor)) || + ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n"); + printf("*** correct copy of pkg-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } return 1; } -EOF -if { (eval echo configure:3927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then : else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - no_sane=yes + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +no_gtk=yes fi -rm -fr conftest* +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi - CFLAGS="$ac_save_CFLAGS" - LDFLAGS="$ac_save_LDFLAGS" LIBS="$ac_save_LIBS" fi fi - if test "x$no_sane" = x ; then - echo "$ac_t""yes" 1>&6 - HAVE_SANE=yes + if test "x$no_gtk" = x ; then + echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 +echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6 + HAVE_GTK=yes else - echo "$ac_t""no" 1>&6 - if test "$SANE_CONFIG" = "no" ; then - echo "*** The sane-config script installed by SANE could not be found" - echo "*** If SANE was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the SANE_CONFIG environment variable to the" - echo "*** full path to sane-config." + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + if test "$PKG_CONFIG" = "no" ; then + echo "*** A new enough version of pkg-config was not found." + echo "*** See http://pkgconfig.sourceforge.net" else - if test -f conf.sanetest ; then + if test -f conf.gtktest ; then : else - echo "*** Could not run SANE test program, checking why..." - CFLAGS="$CFLAGS $SANE_CFLAGS" - LIBS="$LIBS $SANE_LIBS" - LDFLAGS="$LDFLAGS $SANE_LDFLAGS" - cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ -#include +#include #include -int main() { - return (SANE_CURRENT_MAJOR); -; return 0; } -EOF -if { (eval echo configure:3973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* +int +main () +{ + return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding SANE or finding the wrong" - echo "*** version of SANE. If it is not finding SANE, you'll need to set your" + echo "*** that the run-time linker is not finding GTK+ or finding the wrong" + echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" - echo "***" - echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means SANE was incorrectly installed" - echo "*** or that you have moved SANE since it was installed. In the latter case, you" - echo "*** may want to edit the sane-config script: $SANE_CONFIG" else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means GTK+ is incorrectly installed." fi -rm -f conftest* +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" - LDFLAGS="$ac_save_LDFLAGS" LIBS="$ac_save_LIBS" fi fi - SANE_CFLAGS="" - SANE_LDFLAGS="" - SANE_LIBS="" + GTK_CFLAGS="" + GTK_LIBS="" : fi - - - - - rm -f conf.sanetest - # Check whether --with-gtk-prefix or --without-gtk-prefix was given. + rm -f conf.gtktest + + fi + + if test "x${HAVE_GTK}" = "x"; then + +# Check whether --with-gtk-prefix or --without-gtk-prefix was given. if test "${with_gtk_prefix+set}" = set; then withval="$with_gtk_prefix" gtk_config_prefix="$withval" else gtk_config_prefix="" -fi +fi; - # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. +# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. if test "${with_gtk_exec_prefix+set}" = set; then withval="$with_gtk_exec_prefix" gtk_config_exec_prefix="$withval" else gtk_config_exec_prefix="" -fi - - # Check whether --enable-gtktest or --disable-gtktest was given. +fi; +# Check whether --enable-gtktest or --disable-gtktest was given. if test "${enable_gtktest+set}" = set; then enableval="$enable_gtktest" - : + else enable_gtktest=yes -fi - +fi; + + for module in . + do + case "$module" in + gthread) + gtk_config_args="$gtk_config_args gthread" + ;; + esac + done if test x$gtk_config_exec_prefix != x ; then gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" @@ -4047,43 +9581,47 @@ fi # Extract the first word of "gtk-config", so it can be a program name with args. set dummy gtk-config; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4052: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_GTK_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - case "$GTK_CONFIG" in - /*) + case $GTK_CONFIG in + [\\/]* | ?:[\\/]*) ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. ;; - ?:/*) - ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path. - ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" ;; esac fi -GTK_CONFIG="$ac_cv_path_GTK_CONFIG" +GTK_CONFIG=$ac_cv_path_GTK_CONFIG + if test -n "$GTK_CONFIG"; then - echo "$ac_t""$GTK_CONFIG" 1>&6 + echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5 +echo "${ECHO_T}$GTK_CONFIG" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi min_gtk_version=1.2.0 - echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 -echo "configure:4087: checking for GTK - version >= $min_gtk_version" >&5 + echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5 +echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6 no_gtk="" if test "$GTK_CONFIG" = "no" ; then no_gtk=yes @@ -4100,26 +9638,33 @@ echo "configure:4087: checking for GTK - version >= $min_gtk_version" >&5 ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS" - LIBS="$LIBS $GTK_LIBS" + LIBS="$GTK_LIBS $LIBS" rm -f conf.gtktest if test "$cross_compiling" = yes; then echo $ac_n "cross compiling; assumed OK... $ac_c" else - cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include #include +#include -int +int main () { int major, minor, micro; + char *tmp_version; system ("touch conf.gtktest"); - if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) { + /* HP/UX 9 (%@#!) writes to sscanf strings */ + tmp_version = g_strdup("$min_gtk_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { printf("%s, bad version string\n", "$min_gtk_version"); exit(1); } @@ -4128,7 +9673,7 @@ main () (gtk_minor_version != $gtk_config_minor_version) || (gtk_micro_version != $gtk_config_micro_version)) { - printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", + printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, gtk_major_version, gtk_minor_version, gtk_micro_version); printf ("*** was found! If gtk-config was correct, then it is best\n"); @@ -4139,7 +9684,18 @@ main () printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); printf("*** before re-running configure\n"); - } + } +#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION) + else if ((gtk_major_version != GTK_MAJOR_VERSION) || + (gtk_minor_version != GTK_MINOR_VERSION) || + (gtk_micro_version != GTK_MICRO_VERSION)) + { + printf("*** GTK+ header files (version %d.%d.%d) do not match\n", + GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); + printf("*** library (version %d.%d.%d)\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + } +#endif /* defined (GTK_MAJOR_VERSION) ... */ else { if ((gtk_major_version > major) || @@ -4168,28 +9724,40 @@ main () return 1; } -EOF -if { (eval echo configure:4173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then : else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - no_gtk=yes + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +no_gtk=yes fi -rm -fr conftest* +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi - CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi if test "x$no_gtk" = x ; then - echo "$ac_t""yes" 1>&6 - HAVE_GTK=yes + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + HAVE_GTK=yes else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 if test "$GTK_CONFIG" = "no" ; then echo "*** The gtk-config script installed by GTK could not be found" echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" @@ -4202,19 +9770,46 @@ fi echo "*** Could not run GTK test program, checking why..." CFLAGS="$CFLAGS $GTK_CFLAGS" LIBS="$LIBS $GTK_LIBS" - cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include #include -int main() { - return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); -; return 0; } -EOF -if { (eval echo configure:4217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* +int +main () +{ + return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GTK or finding the wrong" echo "*** version of GTK. If it is not finding GTK, you'll need to set your" @@ -4228,17 +9823,18 @@ if { (eval echo configure:4217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" echo "*** came with the system with the command" echo "***" - echo "*** rpm --erase --nodeps gtk gtk-devel" + echo "*** rpm --erase --nodeps gtk gtk-devel" else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - echo "*** The test program failed to compile or link. See the file config.log for the" + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means GTK was incorrectly installed" echo "*** or that you have moved GTK since it was installed. In the latter case, you" - echo "*** may want to edit the gtk-config script: $GTK_CONFIG" + echo "*** may want to edit the gtk-config script: $GTK_CONFIG" fi -rm -f conftest* +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi @@ -4247,36 +9843,36 @@ rm -f conftest* GTK_LIBS="" : fi - - + + rm -f conf.gtktest + fi -if test "${USE_GIMP}" = "yes"; then - # Check whether --with-gimp-prefix or --without-gimp-prefix was given. + if test "${USE_GIMP}" = "yes"; then + +# Check whether --with-gimp-prefix or --without-gimp-prefix was given. if test "${with_gimp_prefix+set}" = set; then withval="$with_gimp_prefix" gimp_config_prefix="$withval" else gimp_config_prefix="" -fi +fi; - # Check whether --with-gimp-exec-prefix or --without-gimp-exec-prefix was given. +# Check whether --with-gimp-exec-prefix or --without-gimp-exec-prefix was given. if test "${with_gimp_exec_prefix+set}" = set; then withval="$with_gimp_exec_prefix" gimp_config_exec_prefix="$withval" else gimp_config_exec_prefix="" -fi - +fi; # Check whether --enable-gimptest or --disable-gimptest was given. if test "${enable_gimptest+set}" = set; then enableval="$enable_gimptest" - : + else enable_gimptest=yes -fi - +fi; ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" @@ -4299,38 +9895,42 @@ fi # Extract the first word of "gimp-config", so it can be a program name with args. set dummy gimp-config; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4304: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_GIMP_CONFIG'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_GIMP_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - case "$GIMP_CONFIG" in - /*) + case $GIMP_CONFIG in + [\\/]* | ?:[\\/]*) ac_cv_path_GIMP_CONFIG="$GIMP_CONFIG" # Let the user override the test with a path. ;; - ?:/*) - ac_cv_path_GIMP_CONFIG="$GIMP_CONFIG" # Let the user override the test with a dos path. - ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_GIMP_CONFIG="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GIMP_CONFIG="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + test -z "$ac_cv_path_GIMP_CONFIG" && ac_cv_path_GIMP_CONFIG="no" ;; esac fi -GIMP_CONFIG="$ac_cv_path_GIMP_CONFIG" +GIMP_CONFIG=$ac_cv_path_GIMP_CONFIG + if test -n "$GIMP_CONFIG"; then - echo "$ac_t""$GIMP_CONFIG" 1>&6 + echo "$as_me:$LINENO: result: $GIMP_CONFIG" >&5 +echo "${ECHO_T}$GIMP_CONFIG" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi if test "$GIMP_CONFIG" = "no" ; then @@ -4348,38 +9948,42 @@ fi fi # Extract the first word of "gimptool", so it can be a program name with args. set dummy gimptool; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4353: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_GIMP_TOOL'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_GIMP_TOOL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - case "$GIMP_TOOL" in - /*) + case $GIMP_TOOL in + [\\/]* | ?:[\\/]*) ac_cv_path_GIMP_TOOL="$GIMP_TOOL" # Let the user override the test with a path. ;; - ?:/*) - ac_cv_path_GIMP_TOOL="$GIMP_TOOL" # Let the user override the test with a dos path. - ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_GIMP_TOOL="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GIMP_TOOL="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + test -z "$ac_cv_path_GIMP_TOOL" && ac_cv_path_GIMP_TOOL="no" ;; esac fi -GIMP_TOOL="$ac_cv_path_GIMP_TOOL" +GIMP_TOOL=$ac_cv_path_GIMP_TOOL + if test -n "$GIMP_TOOL"; then - echo "$ac_t""$GIMP_TOOL" 1>&6 + echo "$as_me:$LINENO: result: $GIMP_TOOL" >&5 +echo "${ECHO_T}$GIMP_TOOL" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi GIMP_CONFIG=$GIMP_TOOL @@ -4391,93 +9995,315 @@ fi if test "$GIMP_CONFIG" = "no" ; then ac_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="${CPPFLAGS} ${GTK_CFLAGS}" - for ac_hdr in libgimp/gimp.h + +for ac_header in libgimp/gimp.h do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4399: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes fi -rm -f conftest* +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF GIMP_LIBS="-lgimp" else - echo "$ac_t""no" 1>&6 -no_gimp=yes + no_gimp=yes fi + done - for ac_hdr in libgimp/gimpfeatures.h + +for ac_header in libgimp/gimpfeatures.h do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4440: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes fi -rm -f conftest* +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - echo "$ac_t""no" 1>&6 + eval "$as_ac_Header=\$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + fi + done CPPFLAGS="$ac_save_CPPFLAGS" CFLAGS="${CFLAGS} ${GTK_CFLAGS}" LIBS="${LIBS} ${GTK_LIBS} ${GIMP_LIBS}" + if test "x$no_gimp" = x ; then - echo $ac_n "checking GIMP compilation""... $ac_c" 1>&6 -echo "configure:4481: checking GIMP compilation" >&5 + echo "$as_me:$LINENO: checking GIMP compilation" >&5 +echo $ECHO_N "checking GIMP compilation... $ECHO_C" >&6 gimp_config_major_version=-1 gimp_config_minor_version=0 gimp_config_micro_version=0 @@ -4495,19 +10321,22 @@ echo "configure:4481: checking GIMP compilation" >&5 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` CFLAGS="${CFLAGS} ${GIMP_CFLAGS}" LIBS="${LIBS} ${GIMP_LIBS}" - echo $ac_n "checking for GIMP - version >= $min_gimp_version""... $ac_c" 1>&6 -echo "configure:4500: checking for GIMP - version >= $min_gimp_version" >&5 + echo "$as_me:$LINENO: checking for GIMP - version >= $min_gimp_version" >&5 +echo $ECHO_N "checking for GIMP - version >= $min_gimp_version... $ECHO_C" >&6 fi if test "x$no_gimp" = x ; then - if test "x$enable_gimptest" = "xyes" ; then + if test "$enable_gimptest" = "yes" ; then rm -f conf.gimptest if test "$cross_compiling" = yes; then echo $ac_n "cross compiling; assumed OK... $ac_c" else - cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include #include @@ -4516,7 +10345,7 @@ else ($gimp_config_major_version > (major) || \ ($gimp_config_major_version == (major) && $gimp_config_minor_version > (minor)) || \ ($gimp_config_major_version == (major) && $gimp_config_minor_version == (minor) && \ - $gimp_config_micro_version >= (micro))) + $gimp_config_micro_version >= (micro))) #if !GIMP_TEST_CHECK_VERSION(1,1,25) # define GimpPlugInInfo GPlugInInfo /* do test with gimp interface version 1.0 */ @@ -4528,7 +10357,7 @@ GimpPlugInInfo PLUG_IN_INFO = }; -int +int main () { int major, minor, micro; @@ -4545,7 +10374,7 @@ main () (gimp_minor_version != $gimp_config_minor_version) || (gimp_micro_version != $gimp_config_micro_version)) ) { - printf("\n*** 'gimp-config --version' returned %d.%d.%d, but GIMP (%d.%d.%d)\n", + printf("\n*** 'gimp-config --version' returned %d.%d.%d, but GIMP (%d.%d.%d)\n", $gimp_config_major_version, $gimp_config_minor_version, $gimp_config_micro_version, gimp_major_version, gimp_minor_version, gimp_micro_version); printf ("*** was found! If gimp-config was correct, then it is best\n"); @@ -4556,7 +10385,7 @@ main () printf("*** If gimp-config was wrong, set the environment variable GIMP_CONFIG\n"); printf("*** to point to the correct copy of gimp-config, and remove the file config.cache\n"); printf("*** before re-running configure\n"); - } + } else { if ((gimp_major_version > major) || @@ -4585,127 +10414,364 @@ main () return 1; } -EOF -if { (eval echo configure:4590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then : else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - no_gimp=yes + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +no_gimp=yes fi -rm -fr conftest* +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi - fi fi if test "x$no_gimp" = x ; then - if test "x$enable_gimptest" = "xyes" ; then - echo "$ac_t""yes" 1>&6 + if test "$enable_gimptest" = "yes" ; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 else - echo "$ac_t""not tested" 1>&6 + echo "$as_me:$LINENO: result: not tested" >&5 +echo "${ECHO_T}not tested" >&6 fi if test "$GIMP_CONFIG" != "no" ; then ac_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="${CPPFLAGS} ${GIMP_CFLAGS}" - for ac_hdr in libgimp/gimp.h + +for ac_header in libgimp/gimp.h do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4618: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes fi -rm -f conftest* +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - echo "$ac_t""no" 1>&6 + eval "$as_ac_Header=\$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + fi + done - for ac_hdr in libgimp/gimpfeatures.h + +for ac_header in libgimp/gimpfeatures.h do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4658: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes fi -rm -f conftest* +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - echo "$ac_t""no" 1>&6 + eval "$as_ac_Header=\$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + fi + done CPPFLAGS="$ac_save_CPPFLAGS" fi CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" - HAVE_GIMP=yes + HAVE_GIMP=yes else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 if test -f conf.gimptest ; then : else + echo "" echo "*** Could not run GIMP test program, checking why..." CFLAGS="$CFLAGS $GIMP_CFLAGS" LIBS="$LIBS $GIMP_LIBS" - cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include #include @@ -4713,19 +10779,43 @@ done ($gimp_config_major_version > (major) || \ ($gimp_config_major_version == (major) && $gimp_config_minor_version > (minor)) || \ ($gimp_config_major_version == (major) && $gimp_config_minor_version == (minor) && \ - $gimp_config_micro_version >= (micro))) + $gimp_config_micro_version >= (micro))) #if !GIMP_TEST_CHECK_VERSION(1,1,25) # define GimpPlugInInfo GPlugInInfo /* do test with gimp interface version 1.0 */ #endif GimpPlugInInfo PLUG_IN_INFO = { NULL, NULL, NULL, NULL }; -int main() { - return ((gimp_major_version) || (gimp_minor_version) || (gimp_micro_version)); -; return 0; } -EOF -if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* +int +main () +{ + return ((gimp_major_version) || (gimp_minor_version) || (gimp_micro_version)); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GIMP or finding the wrong" echo "*** version of GIMP. If it is not finding GIMP, you'll need to set your" @@ -4736,29 +10826,41 @@ if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" echo "***" - echo "***" + echo "***" else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + fi -rm -f conftest* +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi - GIMP_CFLAGS="" + + GIMP_CFLAGS="" GIMP_LIBS="" GTK_CFLAGS="$ac_save_GTK_CFLAGS" GTK_LIBS="$ac_save_GTK_LIBS" CFLAGS="${CFLAGS} ${GTK_CFLAGS}" - LIBS="${LIBS} ${GTK_LIBS} ${GIMP_LIBS}" + LIBS="${LIBS} ${GTK_LIBS}" : fi - - + + rm -f conf.gimptest + fi +fi + +if test "${HAVE_GIMP}" = "yes"; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ANY_GIMP 1 +_ACEOF + fi - + # png test must stand after test for zlib # png test must stand behind GTK-check (X-Window-check) @@ -4771,90 +10873,227 @@ if test "${USE_PNG}" = "yes"; then CPPFLAGS="${CPPFLAGS} ${GTK_CFLAGS}" fi - for ac_hdr in png.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4779: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" + +for ac_header in png.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" fi -rm -f conftest* +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <&6 -echo "configure:4810: checking for png_create_info_struct in -lpng" >&5 -ac_lib_var=`echo png'_'png_create_info_struct | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +echo "$as_me:$LINENO: checking for png_create_info_struct in -lpng" >&5 +echo $ECHO_N "checking for png_create_info_struct in -lpng... $ECHO_C" >&6 +if test "${ac_cv_lib_png_png_create_info_struct+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_save_LIBS="$LIBS" + ac_check_lib_save_LIBS=$LIBS LIBS="-lpng ${GTK_LIBS} $LIBS" -cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + /* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char png_create_info_struct(); - -int main() { -png_create_info_struct() -; return 0; } -EOF -if { (eval echo configure:4829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo png | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_lib_png_png_create_info_struct=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_lib_png_png_create_info_struct=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_create_info_struct" >&5 +echo "${ECHO_T}$ac_cv_lib_png_png_create_info_struct" >&6 +if test $ac_cv_lib_png_png_create_info_struct = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBPNG 1 +_ACEOF LIBS="-lpng $LIBS" -else - echo "$ac_t""no" 1>&6 fi -else - echo "$ac_t""no" 1>&6 fi + done CPPFLAGS="${saved_CPPFLAGS}" @@ -4876,8 +11115,6 @@ if test "x${HAVE_SANE}" = "x"; then echo " sane-devel" echo "****************************************************************" echo "" - echo "you may need to remove $cache_file before you run configure again" - echo "" exit fi @@ -4888,8 +11125,6 @@ if test "x${HAVE_GTK}" = "x"; then echo " gtk-devel" echo "****************************************************************" echo "" - echo "you may need to remove $cache_file before you run configure again" - echo "" exit fi @@ -4898,470 +11133,1339 @@ fi + + # Check whether --enable-foo1 or --disable-foo1 was given. if test "${enable_foo1+set}" = set; then enableval="$enable_foo1" - : -fi +fi; # Check whether --enable-foo2 or --disable-foo2 was given. if test "${enable_foo2+set}" = set; then enableval="$enable_foo2" - : -fi +fi; -trap '' 1 2 15 -cat > confcache <<\EOF + ac_config_files="$ac_config_files Makefile intl/Makefile po/Makefile lib/Makefile src/Makefile include/Makefile doc/Makefile xsane.spec" +cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure -# scripts and configure runs. It is not useful on other systems. -# If it contains results you don't want to keep, you may remove or edit it. +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. # -# By default, configure uses ./config.cache as the cache file, -# creating it if it does not exist already. You can give configure -# the --cache-file=FILE option to use a different cache file; that is -# what configure does when it calls configure scripts in -# subdirectories, so they share the cache. -# Giving --cache-file=/dev/null disables caching, for debugging configure. -# config.status only pays attention to the cache file if you give it the -# --recheck option to rerun configure. +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. # -EOF +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. -(set) 2>&1 | - case `(ac_space=' '; set | grep ac_space) 2>&1` in - *ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote substitution - # turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - -e "s/'/'\\\\''/g" \ - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' - ;; - esac >> confcache -if cmp -s $cache_file confcache; then - : -else +{ + (set) 2>&1 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in + *ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n \ + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + ;; + esac; +} | + sed ' + t clear + : clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + : end' >>confcache +if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then - echo "updating cache $cache_file" - cat confcache > $cache_file + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" + cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' -# Any assignment to VPATH causes Sun make to only execute -# the first set of double-colon rules, so remove it if not needed. -# If there is a colon in the path, we need to keep it. +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/; +s/:*\${srcdir}:*/:/; +s/:*@srcdir@:*/:/; +s/^\([^=]*=[ ]*\):*/\1/; +s/:*$//; +s/^[^=]*=[ ]*$//; +}' fi -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 - DEFS=-DHAVE_CONFIG_H -# Without the "./", some shells look in PATH for config.status. -: ${CONFIG_STATUS=./config.status} +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_i=`echo "$ac_i" | + sed 's/\$U\././;s/\.o$//;s/\.obj$//'` + # 2. Add them. + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs -echo creating $CONFIG_STATUS -rm -f $CONFIG_STATUS -cat > $CONFIG_STATUS <&5 +echo "$as_me: creating $CONFIG_STATUS" >&6;} +cat >$CONFIG_STATUS <<_ACEOF +#! $SHELL +# Generated by $as_me. # Run this file to recreate the current configuration. -# This directory was configured as follows, -# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -# -# $0 $ac_configure_args -# # Compiler output produced by configure, useful for debugging -# configure, is in ./config.log if it exists. +# configure, is in config.log if it exists. -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" -for ac_option +debug=false +ac_cs_recheck=false +ac_cs_silent=false +SHELL=\${CONFIG_SHELL-$SHELL} +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi +DUALCASE=1; export DUALCASE # for MKS sh + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# Work around bugs in pre-3.0 UWIN ksh. +$as_unset ENV MAIL MAILPATH +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME do - case "\$ac_option" in - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; - -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "$CONFIG_STATUS generated by autoconf version 2.13" - exit 0 ;; - -help | --help | --hel | --he | --h) - echo "\$ac_cs_usage"; exit 0 ;; - *) echo "\$ac_cs_usage"; exit 1 ;; - esac + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + $as_unset $as_var + fi done -ac_given_srcdir=$srcdir -ac_given_INSTALL="$INSTALL" +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi -trap 'rm -fr `echo "Makefile intl/Makefile po/Makefile lib/Makefile - src/Makefile include/Makefile doc/Makefile xsane.spec include/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 -EOF -cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF -$ac_vpsub -$extrasub -s%@SHELL@%$SHELL%g -s%@CFLAGS@%$CFLAGS%g -s%@CPPFLAGS@%$CPPFLAGS%g -s%@CXXFLAGS@%$CXXFLAGS%g -s%@FFLAGS@%$FFLAGS%g -s%@DEFS@%$DEFS%g -s%@LDFLAGS@%$LDFLAGS%g -s%@LIBS@%$LIBS%g -s%@exec_prefix@%$exec_prefix%g -s%@prefix@%$prefix%g -s%@program_transform_name@%$program_transform_name%g -s%@bindir@%$bindir%g -s%@sbindir@%$sbindir%g -s%@libexecdir@%$libexecdir%g -s%@datadir@%$datadir%g -s%@sysconfdir@%$sysconfdir%g -s%@sharedstatedir@%$sharedstatedir%g -s%@localstatedir@%$localstatedir%g -s%@libdir@%$libdir%g -s%@includedir@%$includedir%g -s%@oldincludedir@%$oldincludedir%g -s%@infodir@%$infodir%g -s%@mandir@%$mandir%g -s%@PACKAGE@%$PACKAGE%g -s%@VERSION@%$VERSION%g -s%@PACKAGE_VERSION@%$PACKAGE_VERSION%g -s%@SANE_MAJOR@%$SANE_MAJOR%g -s%@CC@%$CC%g -s%@CPP@%$CPP%g -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g -s%@INSTALL_DATA@%$INSTALL_DATA%g -s%@SET_MAKE@%$SET_MAKE%g -s%@ALLOCA@%$ALLOCA%g -s%@LTALLOCA@%$LTALLOCA%g -s%@RANLIB@%$RANLIB%g -s%@USE_NLS@%$USE_NLS%g -s%@MSGFMT@%$MSGFMT%g -s%@GMSGFMT@%$GMSGFMT%g -s%@XGETTEXT@%$XGETTEXT%g -s%@GENCAT@%$GENCAT%g -s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g -s%@CATALOGS@%$CATALOGS%g -s%@CATOBJEXT@%$CATOBJEXT%g -s%@DATADIRNAME@%$DATADIRNAME%g -s%@GMOFILES@%$GMOFILES%g -s%@INSTOBJEXT@%$INSTOBJEXT%g -s%@INTLDEPS@%$INTLDEPS%g -s%@INTLLIBS@%$INTLLIBS%g -s%@INTLOBJS@%$INTLOBJS%g -s%@POFILES@%$POFILES%g -s%@POSUB@%$POSUB%g -s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g -s%@GT_NO@%$GT_NO%g -s%@GT_YES@%$GT_YES%g -s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g -s%@l@%$l%g -s%@INTLSUB@%$INTLSUB%g -s%@SANE_CONFIG@%$SANE_CONFIG%g -s%@SANE_LDFLAGS@%$SANE_LDFLAGS%g -s%@SANE_CFLAGS@%$SANE_CFLAGS%g -s%@SANE_LIBS@%$SANE_LIBS%g -s%@SANE_PREFIX@%$SANE_PREFIX%g -s%@GTK_CONFIG@%$GTK_CONFIG%g -s%@GTK_CFLAGS@%$GTK_CFLAGS%g -s%@GTK_LIBS@%$GTK_LIBS%g -s%@GIMP_CONFIG@%$GIMP_CONFIG%g -s%@GIMP_TOOL@%$GIMP_TOOL%g -s%@GIMP_CFLAGS@%$GIMP_CFLAGS%g -s%@GIMP_LIBS@%$GIMP_LIBS%g -s%@INCLUDES@%$INCLUDES%g -s%@BINPROGS@%$BINPROGS%g -s%@V_MAJOR@%$V_MAJOR%g -s%@V_MINOR@%$V_MINOR%g -s%@DLL_PRELOAD@%$DLL_PRELOAD%g +# Name of the executable. +as_me=`$as_basename "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)$' \| \ + . : '\(.\)' 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } + /^X\/\(\/\/\)$/{ s//\1/; q; } + /^X\/\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` -CEOF -EOF - -cat >> $CONFIG_STATUS <<\EOF - -# Split the substitutions into bite-sized pieces for seds with -# small command number limits, like on Digital OSF/1 and HP-UX. -ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. -ac_file=1 # Number of current file. -ac_beg=1 # First line for current file. -ac_end=$ac_max_sed_cmds # Line after last line for current file. -ac_more_lines=: -ac_sed_cmds="" -while $ac_more_lines; do - if test $ac_beg -gt 1; then - sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file + +# PATH needs CR, and LINENO needs CR and PATH. +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' else - sed "${ac_end}q" conftest.subs > conftest.s$ac_file + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" || { + # Find who we are. Look in the path if we contain no path at all + # relative or not. + case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done + + ;; + esac + # We did not find ourselves, most probably we were run as `sh COMMAND' + # in which case we are not to be found in the path. + if test "x$as_myself" = x; then + as_myself=$0 fi - if test ! -s conftest.s$ac_file; then - ac_more_lines=false - rm -f conftest.s$ac_file + if test ! -f "$as_myself"; then + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} + { (exit 1); exit 1; }; } + fi + case $CONFIG_SHELL in + '') + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for as_base in sh bash ksh sh5; do + case $as_dir in + /*) + if ("$as_dir/$as_base" -c ' + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } + CONFIG_SHELL=$as_dir/$as_base + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$0" ${1+"$@"} + fi;; + esac + done +done +;; + esac + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line before each line; the second 'sed' does the real + # work. The second script uses 'N' to pair each line-number line + # with the numbered line, and appends trailing '-' during + # substitution so that $LINENO is not a special case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) + sed '=' <$as_myself | + sed ' + N + s,$,-, + : loop + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, + t loop + s,-$,, + s,^['$as_cr_digits']*\n,, + ' >$as_me.lineno && + chmod +x $as_me.lineno || + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensible to this). + . ./$as_me.lineno + # Exit status is that of the last command. + exit +} + + +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in + *c*,-n*) ECHO_N= ECHO_C=' +' ECHO_T=' ' ;; + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; +esac + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' else - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f conftest.s$ac_file" - else - ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" - fi - ac_file=`expr $ac_file + 1` - ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_cmds` + as_ln_s='ln -s' fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_executable_p="test -f" + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +# IFS +# We need space, tab and new line, in precisely that order. +as_nl=' +' +IFS=" $as_nl" + +# CDPATH. +$as_unset CDPATH + +exec 6>&1 + +# Open the log real soon, to keep \$[0] and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. Logging --version etc. is OK. +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX +} >&5 +cat >&5 <<_CSEOF + +This file was extended by $as_me, which was +generated by GNU Autoconf 2.59. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +_CSEOF +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 +echo >&5 +_ACEOF + +# Files that config.status was made for. +if test -n "$ac_config_files"; then + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_headers"; then + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_links"; then + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_commands"; then + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS +fi + +cat >>$CONFIG_STATUS <<\_ACEOF + +ac_cs_usage="\ +\`$as_me' instantiates files from templates according to the +current configuration. + +Usage: $0 [OPTIONS] [FILE]... + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration links: +$config_links + +Report bugs to ." +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF +ac_cs_version="\\ +config.status +configured by $0, generated by GNU Autoconf 2.59, + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" + +Copyright (C) 2003 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." +srcdir=$srcdir +INSTALL="$INSTALL" +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +# If no file are specified by the user, then we need to provide default +# value. By we need to know if files were specified by the user. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "x$1" : 'x\([^=]*\)='` + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` + ac_shift=: + ;; + -*) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + *) # This is not an option, so the user has probably given explicit + # arguments. + ac_option=$1 + ac_need_defaults=false;; + esac + + case $ac_option in + # Handling of the options. +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --vers* | -V ) + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header + { { echo "$as_me:$LINENO: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; };; + --help | --hel | -h ) + echo "$ac_cs_usage"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + CONFIG_FILES="$CONFIG_FILES $ac_optarg" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" + ac_need_defaults=false;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; } ;; + + *) ac_config_targets="$ac_config_targets $1" ;; + + esac + shift done -if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" fi -EOF -cat >> $CONFIG_STATUS <>$CONFIG_STATUS <<_ACEOF +if \$ac_cs_recheck; then + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion +fi -CONFIG_FILES=\${CONFIG_FILES-"Makefile intl/Makefile po/Makefile lib/Makefile - src/Makefile include/Makefile doc/Makefile xsane.spec"} -EOF -cat >> $CONFIG_STATUS <<\EOF -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; +_ACEOF + + + + + +cat >>$CONFIG_STATUS <<\_ACEOF +for ac_config_target in $ac_config_targets +do + case "$ac_config_target" in + # Handling of arguments. + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;; + "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;; + "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; + "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; + "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; + "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; + "xsane.spec" ) CONFIG_FILES="$CONFIG_FILES xsane.spec" ;; + "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;; + "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;; + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; esac +done + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason to put it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Create a temporary directory, and hook for its removal unless debugging. +$debug || +{ + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 + trap '{ (exit 1); exit 1; }' 1 2 13 15 +} - # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. +# Create a (secure) tmp directory for tmp files. - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" - # A "../" for each directory in $ac_dir_suffix. - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` - else - ac_dir_suffix= ac_dots= +{ + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./confstat$$-$RANDOM + (umask 077 && mkdir $tmp) +} || +{ + echo "$me: cannot create a temporary directory in ." >&2 + { (exit 1); exit 1; } +} + +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF + +# +# CONFIG_FILES section. +# + +# No need to generate the scripts if there are no CONFIG_FILES. +# This happens for instance when ./config.status config.h +if test -n "\$CONFIG_FILES"; then + # Protect against being on the right side of a sed subst in config.status. + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF +s,@SHELL@,$SHELL,;t t +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t +s,@exec_prefix@,$exec_prefix,;t t +s,@prefix@,$prefix,;t t +s,@program_transform_name@,$program_transform_name,;t t +s,@bindir@,$bindir,;t t +s,@sbindir@,$sbindir,;t t +s,@libexecdir@,$libexecdir,;t t +s,@datadir@,$datadir,;t t +s,@sysconfdir@,$sysconfdir,;t t +s,@sharedstatedir@,$sharedstatedir,;t t +s,@localstatedir@,$localstatedir,;t t +s,@libdir@,$libdir,;t t +s,@includedir@,$includedir,;t t +s,@oldincludedir@,$oldincludedir,;t t +s,@infodir@,$infodir,;t t +s,@mandir@,$mandir,;t t +s,@build_alias@,$build_alias,;t t +s,@host_alias@,$host_alias,;t t +s,@target_alias@,$target_alias,;t t +s,@DEFS@,$DEFS,;t t +s,@ECHO_C@,$ECHO_C,;t t +s,@ECHO_N@,$ECHO_N,;t t +s,@ECHO_T@,$ECHO_T,;t t +s,@LIBS@,$LIBS,;t t +s,@PACKAGE@,$PACKAGE,;t t +s,@VERSION@,$VERSION,;t t +s,@XSANE_PACKAGE_VERSION@,$XSANE_PACKAGE_VERSION,;t t +s,@SANE_MAJOR@,$SANE_MAJOR,;t t +s,@CC@,$CC,;t t +s,@CFLAGS@,$CFLAGS,;t t +s,@LDFLAGS@,$LDFLAGS,;t t +s,@CPPFLAGS@,$CPPFLAGS,;t t +s,@ac_ct_CC@,$ac_ct_CC,;t t +s,@EXEEXT@,$EXEEXT,;t t +s,@OBJEXT@,$OBJEXT,;t t +s,@CPP@,$CPP,;t t +s,@EGREP@,$EGREP,;t t +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t +s,@INSTALL_DATA@,$INSTALL_DATA,;t t +s,@SET_MAKE@,$SET_MAKE,;t t +s,@ALLOCA@,$ALLOCA,;t t +s,@RANLIB@,$RANLIB,;t t +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t +s,@USE_NLS@,$USE_NLS,;t t +s,@MSGFMT@,$MSGFMT,;t t +s,@GMSGFMT@,$GMSGFMT,;t t +s,@XGETTEXT@,$XGETTEXT,;t t +s,@GENCAT@,$GENCAT,;t t +s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t +s,@CATALOGS@,$CATALOGS,;t t +s,@CATOBJEXT@,$CATOBJEXT,;t t +s,@DATADIRNAME@,$DATADIRNAME,;t t +s,@GMOFILES@,$GMOFILES,;t t +s,@INSTOBJEXT@,$INSTOBJEXT,;t t +s,@INTLDEPS@,$INTLDEPS,;t t +s,@INTLLIBS@,$INTLLIBS,;t t +s,@INTLOBJS@,$INTLOBJS,;t t +s,@POFILES@,$POFILES,;t t +s,@POSUB@,$POSUB,;t t +s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t +s,@GT_NO@,$GT_NO,;t t +s,@GT_YES@,$GT_YES,;t t +s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t +s,@l@,$l,;t t +s,@INTLSUB@,$INTLSUB,;t t +s,@SANE_CONFIG@,$SANE_CONFIG,;t t +s,@SANE_LDFLAGS@,$SANE_LDFLAGS,;t t +s,@SANE_CFLAGS@,$SANE_CFLAGS,;t t +s,@SANE_LIBS@,$SANE_LIBS,;t t +s,@SANE_PREFIX@,$SANE_PREFIX,;t t +s,@PKG_CONFIG@,$PKG_CONFIG,;t t +s,@GIMP_CFLAGS@,$GIMP_CFLAGS,;t t +s,@GIMP_LIBS@,$GIMP_LIBS,;t t +s,@GIMP_CFLAGS_NOUI@,$GIMP_CFLAGS_NOUI,;t t +s,@GIMP_LIBS_NOUI@,$GIMP_LIBS_NOUI,;t t +s,@GIMP_DATA_DIR@,$GIMP_DATA_DIR,;t t +s,@GIMP_PLUGIN_DIR@,$GIMP_PLUGIN_DIR,;t t +s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t +s,@GTK_LIBS@,$GTK_LIBS,;t t +s,@GTK_CONFIG@,$GTK_CONFIG,;t t +s,@GIMP_CONFIG@,$GIMP_CONFIG,;t t +s,@GIMP_TOOL@,$GIMP_TOOL,;t t +s,@INCLUDES@,$INCLUDES,;t t +s,@BINPROGS@,$BINPROGS,;t t +s,@V_MAJOR@,$V_MAJOR,;t t +s,@V_MINOR@,$V_MINOR,;t t +s,@DLL_PRELOAD@,$DLL_PRELOAD,;t t +s,@XSANE_ICON@,$XSANE_ICON,;t t +s,@LIBOBJS@,$LIBOBJS,;t t +s,@LTLIBOBJS@,$LTLIBOBJS,;t t +CEOF + +_ACEOF + + cat >>$CONFIG_STATUS <<\_ACEOF + # Split the substitutions into bite-sized pieces for seds with + # small command number limits, like on Digital OSF/1 and HP-UX. + ac_max_sed_lines=48 + ac_sed_frag=1 # Number of current file. + ac_beg=1 # First line for current file. + ac_end=$ac_max_sed_lines # Line after last line for current file. + ac_more_lines=: + ac_sed_cmds= + while $ac_more_lines; do + if test $ac_beg -gt 1; then + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + else + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + fi + if test ! -s $tmp/subs.frag; then + ac_more_lines=false + else + # The purpose of the label and of the branching condition is to + # speed up the sed processing (if there are no `@' at all, there + # is no need to browse any of the substitutions). + # These are the two extra sed commands mentioned above. + (echo ':t + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" + else + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" + fi + ac_sed_frag=`expr $ac_sed_frag + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_lines` + fi + done + if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat fi +fi # test -n "$CONFIG_FILES" - case "$ac_given_srcdir" in - .) srcdir=. - if test -z "$ac_dots"; then top_srcdir=. - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; - *) # Relative path. - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" - top_srcdir="$ac_dots$ac_given_srcdir" ;; +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; esac - case "$ac_given_INSTALL" in - [/$]*) INSTALL="$ac_given_INSTALL" ;; - *) INSTALL="$ac_dots$ac_given_INSTALL" ;; - esac + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. + ac_dir=`(dirname "$ac_file") 2>/dev/null || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + + ac_builddir=. + +if test "$ac_dir" != .; then + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac + +# Do not use `cd foo && pwd` to compute absolute paths, because +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dir";; +*) + case "$ac_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; +esac + - echo creating "$ac_file" - rm -f "$ac_file" - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." - case "$ac_file" in - *Makefile*) ac_comsub="1i\\ -# $configure_input" ;; - *) ac_comsub= ;; + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` - sed -e "$ac_comsub -s%@configure_input@%$configure_input%g -s%@srcdir@%$srcdir%g -s%@top_srcdir@%$top_srcdir%g -s%@INSTALL@%$INSTALL%g -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file -fi; done -rm -f conftest.s* + if test x"$ac_file" != x-; then + { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + if test x"$ac_file" = x-; then + configure_input= + else + configure_input="$ac_file. " + fi + configure_input=$configure_input"Generated from `echo $ac_file_in | + sed 's,.*/,,'` by configure." + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo "$f";; + *) # Relative + if test -f "$f"; then + # Build tree + echo "$f" + elif test -f "$srcdir/$f"; then + # Source tree + echo "$srcdir/$f" + else + # /dev/null tree + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF + sed "$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s,@configure_input@,$configure_input,;t t +s,@srcdir@,$ac_srcdir,;t t +s,@abs_srcdir@,$ac_abs_srcdir,;t t +s,@top_srcdir@,$ac_top_srcdir,;t t +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t +s,@builddir@,$ac_builddir,;t t +s,@abs_builddir@,$ac_abs_builddir,;t t +s,@top_builddir@,$ac_top_builddir,;t t +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t +s,@INSTALL@,$ac_INSTALL,;t t +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out + rm -f $tmp/stdin + if test x"$ac_file" != x-; then + mv $tmp/out $ac_file + else + cat $tmp/out + rm -f $tmp/out + fi + +done +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF + +# +# CONFIG_HEADER section. +# # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. -ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' -ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' -ac_dC='\3' -ac_dD='%g' -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". -ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' -ac_uB='\([ ]\)%\1#\2define\3' +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' +ac_dB='[ ].*$,\1#\2' +ac_dC=' ' +ac_dD=',;t' +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_uB='$,\1#\2define\3' ac_uC=' ' -ac_uD='\4%g' -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". -ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' -ac_eB='$%\1#\2define\3' -ac_eC=' ' -ac_eD='%g' - -if test "${CONFIG_HEADERS+set}" != set; then -EOF -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -fi -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then +ac_uD=',;t' + +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; esac - echo creating $ac_file - - rm -f conftest.frag conftest.in conftest.out - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` - cat $ac_file_inputs > conftest.in - -EOF - -# Transform confdefs.h into a sed script conftest.vals that substitutes -# the proper values into config.h.in to produce config.h. And first: -# Protect against being on the right side of a sed subst in config.status. -# Protect against being in an unquoted here document in config.status. -rm -f conftest.vals -cat > conftest.hdr <<\EOF -s/[\\&%]/\\&/g -s%[\\$`]%\\&%g -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp -s%ac_d%ac_u%gp -s%ac_u%ac_e%gp -EOF -sed -n -f conftest.hdr confdefs.h > conftest.vals -rm -f conftest.hdr + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + # Do quote $f, to prevent DOS paths from being IFS'd. + echo "$f";; + *) # Relative + if test -f "$f"; then + # Build tree + echo "$f" + elif test -f "$srcdir/$f"; then + # Source tree + echo "$srcdir/$f" + else + # /dev/null tree + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + # Remove the trailing spaces. + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in + +_ACEOF + +# Transform confdefs.h into two sed scripts, `conftest.defines' and +# `conftest.undefs', that substitutes the proper values into +# config.h.in to produce config.h. The first handles `#define' +# templates, and the second `#undef' templates. +# And first: Protect against being on the right side of a sed subst in +# config.status. Protect against being in an unquoted here document +# in config.status. +rm -f conftest.defines conftest.undefs +# Using a here document instead of a string reduces the quoting nightmare. +# Putting comments in sed scripts is not portable. +# +# `end' is used to avoid that the second main sed command (meant for +# 0-ary CPP macros) applies to n-ary macro definitions. +# See the Autoconf documentation for `clear'. +cat >confdef2sed.sed <<\_ACEOF +s/[\\&,]/\\&/g +s,[\\$`],\\&,g +t clear +: clear +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp +t end +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp +: end +_ACEOF +# If some macros were called several times there might be several times +# the same #defines, which is useless. Nevertheless, we may not want to +# sort them, since we want the *last* AC-DEFINE to be honored. +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs +rm -f confdef2sed.sed # This sed command replaces #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. -cat >> conftest.vals <<\EOF -s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% -EOF - -# Break up conftest.vals because some shells have a limit on -# the size of here documents, and old seds have small limits too. +cat >>conftest.undefs <<\_ACEOF +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, +_ACEOF + +# Break up conftest.defines because some shells have a limit on the size +# of here documents, and old seds have small limits too (100 cmds). +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS +echo ' :' >>$CONFIG_STATUS +rm -f conftest.tail +while grep . conftest.defines >/dev/null +do + # Write a limited-size here document to $tmp/defines.sed. + echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS + # Speed up: don't consider the non `#define' lines. + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS + # Work around the forget-to-reset-the-flag bug. + echo 't clr' >>$CONFIG_STATUS + echo ': clr' >>$CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS + echo 'CEOF + sed -f $tmp/defines.sed $tmp/in >$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in +' >>$CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail + rm -f conftest.defines + mv conftest.tail conftest.defines +done +rm -f conftest.defines +echo ' fi # grep' >>$CONFIG_STATUS +echo >>$CONFIG_STATUS +# Break up conftest.undefs because some shells have a limit on the size +# of here documents, and old seds have small limits too (100 cmds). +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail -while : +while grep . conftest.undefs >/dev/null do - ac_lines=`grep -c . conftest.vals` - # grep -c gives empty output for an empty file on some AIX systems. - if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi - # Write a limited-size here document to conftest.frag. - echo ' cat > conftest.frag <> $CONFIG_STATUS - sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS + # Write a limited-size here document to $tmp/undefs.sed. + echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS + # Speed up: don't consider the non `#undef' + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS + # Work around the forget-to-reset-the-flag bug. + echo 't clr' >>$CONFIG_STATUS + echo ': clr' >>$CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF - sed -f conftest.frag conftest.in > conftest.out - rm -f conftest.in - mv conftest.out conftest.in -' >> $CONFIG_STATUS - sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail - rm -f conftest.vals - mv conftest.tail conftest.vals + sed -f $tmp/undefs.sed $tmp/in >$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in +' >>$CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail + rm -f conftest.undefs + mv conftest.tail conftest.undefs done -rm -f conftest.vals - -cat >> $CONFIG_STATUS <<\EOF - rm -f conftest.frag conftest.h - echo "/* $ac_file. Generated automatically by configure. */" > conftest.h - cat conftest.in >> conftest.h - rm -f conftest.in - if cmp -s $ac_file conftest.h 2>/dev/null; then - echo "$ac_file is unchanged" - rm -f conftest.h +rm -f conftest.undefs + +cat >>$CONFIG_STATUS <<\_ACEOF + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + if test x"$ac_file" = x-; then + echo "/* Generated by configure. */" >$tmp/config.h else - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - fi - rm -f $ac_file - mv conftest.h $ac_file + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi -fi; done + cat $tmp/in >>$tmp/config.h + rm -f $tmp/in + if test x"$ac_file" != x-; then + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 +echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`(dirname "$ac_file") 2>/dev/null || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + { (exit 1); exit 1; }; }; } -EOF + rm -f $ac_file + mv $tmp/config.h $ac_file + fi + else + cat $tmp/config.h + rm -f $tmp/config.h + fi +done +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -srcdir=$ac_given_srcdir -while test -n "$ac_sources"; do - set $ac_dests; ac_dest=$1; shift; ac_dests=$* - set $ac_sources; ac_source=$1; shift; ac_sources=$* +for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue + ac_dest=`echo "$ac_file" | sed 's,:.*,,'` + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` - echo "linking $srcdir/$ac_source to $ac_dest" + { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5 +echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;} if test ! -r $srcdir/$ac_source; then - { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; } + { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5 +echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;} + { (exit 1); exit 1; }; } fi rm -f $ac_dest # Make relative symlinks. - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'` - if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then - # The dest file is in a subdirectory. - test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir" - ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`" - # A "../" for each directory in $ac_dest_dir_suffix. - ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'` + ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_dest" : 'X\(//\)[^/]' \| \ + X"$ac_dest" : 'X\(//\)$' \| \ + X"$ac_dest" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_dest" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dest_dir" else - ac_dest_dir_suffix= ac_dots= - fi + as_dir="$ac_dest_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + + ac_builddir=. - case "$srcdir" in - [/$]*) ac_rel_source="$srcdir/$ac_source" ;; - *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;; +if test "$ac_dest_dir" != .; then + ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac + +# Do not use `cd foo && pwd` to compute absolute paths, because +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dest_dir";; +*) + case "$ac_dest_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dest_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; +esac + + + case $srcdir in + [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; + *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; esac - # Make a symlink if possible; otherwise try a hard link. - if ln -s $ac_rel_source $ac_dest 2>/dev/null || - ln $srcdir/$ac_source $ac_dest; then : - else - { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; } - fi + # Try a symlink, then a hard link, then a copy. + ln -s $ac_rel_source $ac_dest 2>/dev/null || + ln $srcdir/$ac_source $ac_dest 2>/dev/null || + cp -p $srcdir/$ac_source $ac_dest || + { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5 +echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;} + { (exit 1); exit 1; }; } done -EOF -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF +cat >>$CONFIG_STATUS <<\_ACEOF -exit 0 -EOF +{ (exit 0); exit 0; } +_ACEOF chmod +x $CONFIG_STATUS -rm -fr confdefs* $ac_clean_files -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 +ac_clean_files=$ac_clean_files_save + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || { (exit 1); exit 1; } +fi echo "****************************************************************" diff --git a/configure.in b/configure.in index 34ff577..bb31cb9 100644 --- a/configure.in +++ b/configure.in @@ -6,35 +6,50 @@ AC_CONFIG_HEADER(include/config.h) # version code: V_MAJOR=0 -V_MINOR=84 +V_MINOR=97 PACKAGE=xsane BINPROGS="xsane" # languages -ALL_LINGUAS="cs de es fr nl ru sl sr sv it ja tr" +ALL_LINGUAS="cs da de es fr it ja nl pl pt pt_BR ro ru sk sl sr sv vi tr zh" SANE_V_MAJOR=1 VERSION=${V_MAJOR}.${V_MINOR} -PACKAGE_VERSION="$PACKAGE-$VERSION" -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") -AC_DEFINE_UNQUOTED(VERSION, "$VERSION") -AC_DEFINE_UNQUOTED(PACKAGE_VERSION, "$PACKAGE_VERSION") +XSANE_PACKAGE_VERSION="$PACKAGE-$VERSION" +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Define to the name of the distribution]) +AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Define to the version of the distribution]) +AC_DEFINE_UNQUOTED(XSANE_PACKAGE_VERSION, "$XSANE_PACKAGE_VERSION", [Define to name and version of distribution]) AC_SUBST(PACKAGE) AC_SUBST(VERSION) -AC_SUBST(PACKAGE_VERSION) +AC_SUBST(XSANE_PACKAGE_VERSION) AC_SUBST(SANE_MAJOR) dnl Check args -dnl Check for gimp plugin support +echo "" +echo "**************************************************************************" +echo "" + +dnl Check for gtk-2 +AC_MSG_CHECKING([whether GTK+-2.0 is requested]) +AC_ARG_ENABLE(gtk2, [ --disable-gtk2 do not use GTK+-2.0, if available use GTK+-1.2], USE_GTK2=$enableval, USE_GTK2=yes) +AC_MSG_RESULT($USE_GTK2) + +dnl Check for gimp plugin support, default is enabled AC_MSG_CHECKING([whether GIMP plugin is requested]) -dnl Default is enabled GIMP plugin AC_ARG_ENABLE(gimp, [ --disable-gimp do not include GIMP plugin mode], USE_GIMP=$enableval, USE_GIMP=yes) AC_MSG_RESULT($USE_GIMP) +if test "${USE_GIMP}" = "yes"; then + dnl Check for gimp-2 plugin support, default is enabled + AC_MSG_CHECKING([whether GIMP-2.0 is requested]) + AC_ARG_ENABLE(gimp2, [ --disable-gimp2 do not use GIMP-2.0, use GIMP-1.x if available], TRY_GIMP_2=$enableval, TRY_GIMP_2=yes) + AC_MSG_RESULT($TRY_GIMP_2) +fi + dnl Check for jpeg support AC_MSG_CHECKING([whether JPEG support is requested]) dnl Default is enabled JPEG @@ -53,6 +68,9 @@ dnl Default is enabled TIFF AC_ARG_ENABLE(tiff, [ --disable-tiff do not include TIFF support], USE_TIFF=$enableval, USE_TIFF=yes) AC_MSG_RESULT($USE_TIFF) +echo "" +echo "**************************************************************************" +echo "" dnl Checks for programs. AC_PROG_CC @@ -71,9 +89,15 @@ if test "${ac_cv_prog_gcc}" = "yes"; then CFLAGS="${CFLAGS} -Wall" fi +AC_GCC_MSNATIVE_STRUCT +if test "${ac_cv_header_windows_h}" = "yes"; then + LDFLAGS="${LDFLAGS} -mwindows" + XSANE_ICON="xsane-icon.opc" +fi + dnl Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS(os2.h fcntl.h unistd.h libc.h sys/time.h sys/types.h zlib.h) +AC_CHECK_HEADERS(windows.h os2.h fcntl.h unistd.h libc.h sys/time.h sys/types.h zlib.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST @@ -100,7 +124,7 @@ if test "${USE_TIFF}" = "yes"; then fi dnl Checks for library functions. -AM_FUNC_ALLOCA +AC_FUNC_ALLOCA AC_FUNC_MMAP AC_CHECK_FUNCS(atexit mkdir sigprocmask strdup strndup strftime strstr strsep strtod snprintf usleep strcasecmp strncasecmp lstat) @@ -119,14 +143,42 @@ AC_SUBST(INTLSUB) AM_PATH_SANE(1.0.0, HAVE_SANE=yes, ) -dnl *** if xsane is compiled as gimp plugin it is possible that we do not -dnl *** need the test for gtk, but when we have gimp-1.0.x installed -dnl *** (gimp-1.0.x does not have gimp-config) or we compile xsane without -dnl *** gimp support we need the test for gtk -AM_PATH_GTK(1.2.0, HAVE_GTK=yes, ) - if test "${USE_GIMP}" = "yes"; then - AM_PATH_GIMP(1.0.0, HAVE_GIMP=yes) + if test "${TRY_GIMP_2}" = "yes"; then + AM_PATH_GIMP_2_0(1.3.23, HAVE_GIMP=yes, ) + fi +fi + +if test "${HAVE_GIMP}" = "yes"; then + HAVE_GTK=yes + AC_DEFINE([HAVE_GIMP_2], 1, [Define to 1 if you have gimp-2.0.]) +else + dnl *** We do not have gimp-2.0 *** + dnl *** if xsane is compiled as gimp plugin it is possible that we do not + dnl *** need the test for gtk, but when we have gimp-1.0.x installed + dnl *** (gimp-1.0.x does not have gimp-config) or we compile xsane without + dnl *** gimp support we need the test for gtk. + dnl *** we start with the test for GTK+-2.0, if this fails or is diabled + dnl *** then we test for gtk+-1.2 + + if test "${USE_GTK2}" = "yes"; then + AM_PATH_GTK_2_0(2.0.0, HAVE_GTK=yes, ) + fi + + if test "x${HAVE_GTK}" = "x"; then + AM_PATH_GTK(1.2.0, HAVE_GTK=yes, ) + fi + + if test "${USE_GIMP}" = "yes"; then + dnl *** now we can test for gimp-1.x.x, for gimp-1.0.x we need GTK_* settings *** + AM_PATH_GIMP_ORAUCH(1.0.0, HAVE_GIMP=yes) + fi +fi + +if test "${HAVE_GIMP}" = "yes"; then + dnl *** we have gimp *** + dnl *** define macro HAVE_ANY_GIMP for sourcecode tests for gimp *** + AC_DEFINE([HAVE_ANY_GIMP], 1, [Define to 1 if you have gimp - no matter what version.]) fi @@ -162,8 +214,6 @@ if test "x${HAVE_SANE}" = "x"; then echo " sane-devel" echo "****************************************************************" echo "" - echo "you may need to remove $cache_file before you run configure again" - echo "" exit fi @@ -174,8 +224,6 @@ if test "x${HAVE_GTK}" = "x"; then echo " gtk-devel" echo "****************************************************************" echo "" - echo "you may need to remove $cache_file before you run configure again" - echo "" exit fi @@ -184,6 +232,8 @@ AC_SUBST(V_MAJOR) AC_SUBST(V_MINOR) AC_SUBST(DLL_PRELOAD) +AC_SUBST(XSANE_ICON) + AC_ARG_ENABLE(foo1, [ Used environment variables that can be set by user: CFLAGS, CPPFLAGS, LDFLAGS, LIBS]) diff --git a/doc/sane-backends-doc.html b/doc/sane-backends-doc.html index b36058d..3cf2200 100644 --- a/doc/sane-backends-doc.html +++ b/doc/sane-backends-doc.html @@ -1,4 +1,4 @@ - + diff --git a/doc/sane-pnm-doc.html b/doc/sane-pnm-doc.html index 9a02d4d..8ba88c5 100644 --- a/doc/sane-pnm-doc.html +++ b/doc/sane-pnm-doc.html @@ -1,3 +1,4 @@ + diff --git a/doc/sane-problems-doc.html b/doc/sane-problems-doc.html index dce66a1..4a9ee0c 100644 --- a/doc/sane-problems-doc.html +++ b/doc/sane-problems-doc.html @@ -1,4 +1,4 @@ - + @@ -159,8 +159,9 @@ are symbolic links to ./sane/libsane-dll.so.*
Please read the documentation of the backend you use If you tested everything above and you still need -help: contact the backend/frontend author or to the sane -mailling list (you must be subscribed to the list). +help: contact the backend/frontend author or the +sane mailling list +(you must be subscribed to the list). diff --git a/doc/sane-scantips-doc.html b/doc/sane-scantips-doc.html index 2563e9a..b32d6ab 100644 --- a/doc/sane-scantips-doc.html +++ b/doc/sane-scantips-doc.html @@ -1,4 +1,4 @@ - + diff --git a/doc/sane-xsane-advanced-doc.html b/doc/sane-xsane-advanced-doc.html index e75b06c..6dce3f0 100644 --- a/doc/sane-xsane-advanced-doc.html +++ b/doc/sane-xsane-advanced-doc.html @@ -1,4 +1,4 @@ - + @@ -11,18 +11,23 @@ + +
- +XSane-logo -

Advanced options window

+
+

Advanced options window

+

+ - @@ -43,6 +44,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: @@ -124,7 +146,7 @@ Select scansource, e.g.: Flatbed, Transparency, Automatic Document Feeder. medium    -Scanmedium: +Medium selection:
    Select scanmedium, e.g.: slide, standard negative, Agfa negative, ... or Full range. @@ -146,6 +168,54 @@ and use the cursor keys to change the value in steps of 1, if you press ctrl< and a cursor key the step is 10.
    + +
    +
    +
    XSane-mail-project-window
    +
    + +

    HTML mail:

    +
    +Select if the mail is sent as html mail or as text mail. In text mail the images +are appended to the mailfile. In html mail you can place the image at any position +by adding the tag < IMAGE > at the place of the email text where the image shall +be displayed. The images are displayed in the same order as they are listed in the +attachments. +
    + +

    Mail image filetype:

    +
    +You can select the type of the image files that are attached to the mail. +Select PNG, JPEG or TIFF. Pay attention that the size +of the images depends on the content of the pictures and on the filetype. +
    + +

    Show image:

    +
    +Open the viewer and display the selected image. +
    + +

    Rename image:

    +
    +Rename the selected image. +
    + +

    Delete image:

    +
    +Remove the selected image from the mail project. +
    + +

    Send project:

    +
    +Send mail, all images are attached to the mail. +
    + +

    Delete project:

    +
    +Delete the complete project. The email text and the image files are erased. +
    + + diff --git a/doc/sane-xsane-main-doc.html b/doc/sane-xsane-main-doc.html deleted file mode 100644 index 4f5c2da..0000000 --- a/doc/sane-xsane-main-doc.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - SANE - XSane frontend - - - -
     
    - -
    -
    -
    - -
    -
    - a scanner-frontend for ->SANE.
    - -
    -
    - 
    - -
    -
    - -
     
    - -
    -

    -The main window

    -  -
    - -
     
    -
    - - - diff --git a/doc/sane-xsane-medium-definition-doc.html b/doc/sane-xsane-medium-definition-doc.html new file mode 100644 index 0000000..d66be13 --- /dev/null +++ b/doc/sane-xsane-medium-definition-doc.html @@ -0,0 +1,266 @@ + + + + + + + + XSane - Medium selection and definition + + + + +

    Index @@ -30,17 +35,21 @@

    Main window: -
    +
    + +
    +Medium selection +
    +

    Color correction: -
    +
    +
    Standard options window
    @@ -64,7 +73,7 @@

    Preview: -
    +
    + +
    +Batch scan: +
    Setup:
      @@ -92,12 +118,11 @@

    -
    +
    advanced-options-window



    @@ -115,7 +140,7 @@ the functions you find in this window.
    -Author: Oliver Rauch +Author: Oliver Rauch
    diff --git a/doc/sane-xsane-batch-scan-doc.html b/doc/sane-xsane-batch-scan-doc.html new file mode 100644 index 0000000..5e5e1db --- /dev/null +++ b/doc/sane-xsane-batch-scan-doc.html @@ -0,0 +1,231 @@ + + + + + + + XSane - Batch scan window + + + + + + + + + +
    +XSane-logo + +
    +

    Batch scan window

    +
    + +
    + + +
    + + + + + + + + + +
    +
    +Index +
    +
    +
    +Main window: + +
    +Medium selection +
    +
    +
    +Color correction: + +
    +Standard options window +
    +
    +
    +Advanced options window +
    +
    +
    +Preview: + +
    +Batch scan: + +
    +Setup: + +
    +
    +
    +The batch scan window displays a list of selected areas and images (when +a preview scan has been done). +
    +
    +
    +
    batch-scan-window
    +
    +The images are updated when a new preview scan is done or the gamma correction +has changed. +

    +The batch scan function can be used in all scanmodes (viewer, save, copy, fax, email) +and as gimp plugin. +

    +new-batch-list +   +Empty batch scan list: +

    +Remove all selections form the batch scan list. +
    + +

    +open-batch-list +   +Open batch scan list: +

    +Read a batch scan list from disk. +
    + +

    +save-batch-list +   +Save batch scan list: +

    +Store batch scan list to disk. +
    + +

    +batch-scan-add +   +Batch scan add area: +

    +Adds the selected area to the batch scan list. +
    + +

    +batch-scan-delete +   +Remove selection from batch scan list: +

    +Remove the selected area (marked) from the batch scan list. +
    + +

    +batch-scan-rename +   +Rename selection from batch scan list: +

    +Rename the selected area (marked). +
    + +

    +rotate90 +rotate180 +rotate270 +   +Rotate image 90, 180, 270 degree: +

    +Rotates the image by 90, 180, 270 degree (clockwise). +
    + +

    +mirror-x +mirror-y +   +Mirror image at vertical or horizontal axis: +

    +Mirrors the image at vertical or horizontal axis. +
    + +

    +Scan batch list: +

    +Scans each image that is displayed in the batch scan list. +
    + +

    +Scan selected area: +

    +Scans the selected (marked) image. +
    + +
    + + +
    + +
    + +
    +Author: Oliver Rauch +
    + + + + diff --git a/doc/sane-xsane-color-correction-doc.html b/doc/sane-xsane-color-correction-doc.html index 62fbfed..9db817c 100644 --- a/doc/sane-xsane-color-correction-doc.html +++ b/doc/sane-xsane-color-correction-doc.html @@ -1,3 +1,4 @@ + @@ -43,6 +44,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: @@ -99,7 +121,7 @@

    -
    XSane-main-window
    +
    XSane-main-window


    @@ -179,7 +201,7 @@ very different color ranges for each color. autoenhance    -Autoenhancement: +Autoenhancement:
    If you press this button XSane tries to set good values for brightness, contrast and gamma correction in dependance of the selected diff --git a/doc/sane-xsane-copy-doc.html b/doc/sane-xsane-copy-doc.html index 549052a..d341e20 100644 --- a/doc/sane-xsane-copy-doc.html +++ b/doc/sane-xsane-copy-doc.html @@ -1,3 +1,4 @@ + @@ -43,6 +44,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: @@ -113,6 +135,7 @@ In Copy mode, the scanned image is sent directly to the selected printer.
    Select scanmode, e.g.: color, grayscale, halftone, lineart.
    + scansource    @@ -121,20 +144,44 @@ Select scanmode, e.g.: color, grayscale, halftone, lineart. Select scansource, e.g.: Flatbed, Transparency, Automatic Document Feeder.
    + medium    -Scanmedium: +Medium selection:
    Select scanmedium, e.g.: slide, standard negative, Agfa negative, ... or Full range.
    + printer    Printer:
    Select the printer on which the scanned image shall be printed. In the box with the number you can select the number of copies that shall be created. +

    +Paper orientation and image position: +

    +portrait-center +portrait-top-left +portrait-top-right +portrait-bottom-left +portrait-bottom-right +   +portrait: +   +center, top-left, top-right, bottom-left, bottom-right +
    +landscape-center +landscape-top-left +landscape-top-right +landscape-bottom-left +landscape-bottom-right +   +landscape: +   +center, top-left, top-right, bottom-left, bottom-right

    diff --git a/doc/sane-xsane-doc.html b/doc/sane-xsane-doc.html index dc01e34..9c83bff 100644 --- a/doc/sane-xsane-doc.html +++ b/doc/sane-xsane-doc.html @@ -1,3 +1,4 @@ + @@ -43,6 +44,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: @@ -103,12 +125,11 @@

    What is XSane?

    XSane is a graphical scanning frontend for -SANE (Scanner Access Now Easy). -It uses the -SANE-library to talk to +SANE (Scanner Access Now Easy). +It uses the SANE-library to talk to scanners. This means that XSane does not support any scanners itself. Here you can find out - + which scanners are supported by the SANE-library.

    XSane is designed for acquiring images with scanners (there are other @@ -120,8 +141,7 @@ create a fax and start XSane from the GIMP as gimp plugin.

    Setup:

    Before you start scanning please go through all setup pages. XSane may not work -correct or you may not be able to get advance of all functions if you do not configure -XSane correct. +correct or you may not be able to take full advantage of all functions if you do not configure XSane correctly. diff --git a/doc/sane-xsane-empty-doc.html b/doc/sane-xsane-empty-doc.html index a3c8227..7244016 100644 --- a/doc/sane-xsane-empty-doc.html +++ b/doc/sane-xsane-empty-doc.html @@ -1,4 +1,4 @@ - + @@ -30,17 +30,21 @@

    Main window: -
    +
    + +
    +Medium selection +
    +

    Color correction: -
    +
    +
    Standard options window
    @@ -64,7 +68,7 @@

    Preview: -
    +
    + +
    +Batch scan: +
    Setup:
      diff --git a/doc/sane-xsane-fax-doc.html b/doc/sane-xsane-fax-doc.html index db0ca86..3094532 100644 --- a/doc/sane-xsane-fax-doc.html +++ b/doc/sane-xsane-fax-doc.html @@ -1,3 +1,4 @@ + @@ -43,6 +44,10 @@
    • Gimp plugin

    +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: @@ -127,7 +149,7 @@ Select scansource, e.g.: Flatbed, Transparency, Automatic Document Feeder. medium    -Scanmedium: +Medium selection:
    Select scanmedium, e.g.: slide, standard negative, Agfa negative, ... or Full range. diff --git a/doc/sane-xsane-gimp-doc.html b/doc/sane-xsane-gimp-doc.html index 447c8e4..f874e1c 100644 --- a/doc/sane-xsane-gimp-doc.html +++ b/doc/sane-xsane-gimp-doc.html @@ -1,3 +1,4 @@ + @@ -43,6 +44,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: @@ -123,7 +145,7 @@ Select scansource, e.g.: Flatbed, Transparency, Automatic Document Feeder. medium    -Scanmedium: +Medium selection:
    Select scanmedium, e.g.: slide, standard negative, Agfa negative, ... or Full range. diff --git a/doc/sane-xsane-histogram-doc.html b/doc/sane-xsane-histogram-doc.html index 6014083..e4a5af7 100644 --- a/doc/sane-xsane-histogram-doc.html +++ b/doc/sane-xsane-histogram-doc.html @@ -1,4 +1,4 @@ - + @@ -30,17 +30,21 @@

    Main window: -
    +
    + +
    +Medium selection +
    +

    Color correction: -
    +
    +
    Standard options window
    @@ -64,7 +68,7 @@

    Preview: -
    +
    + +
    +Batch scan: +
    Setup:
      diff --git a/doc/sane-xsane-mail-doc.html b/doc/sane-xsane-mail-doc.html index 0b70ed3..f3afdf4 100644 --- a/doc/sane-xsane-mail-doc.html +++ b/doc/sane-xsane-mail-doc.html @@ -1,3 +1,4 @@ + @@ -16,7 +17,7 @@
    -

    Main window in save mode

    +

    Main window in mail mode

    + + + + +
    +XSane-logo + +
    +

    Medium selection and definition

    +
    +
    + + +
    + + + + + + + + + +
    +
    +Index +
    +
    +
    +Main window: + +
    +Medium selection +
    +
    +
    +Color correction: + +
    +Standard options window +
    +
    +
    +Advanced options window +
    +
    +
    +Preview: + +
    +Batch scan: + +
    +Setup: + +
    +
    +
    +medium-selection +   +Medium selection: +
    +Select the medium from which you want to acquire an image. +For reflective scans (photos, magazines, etc.) select full color range. +XSane comes with some predefined media. With some luck you can use such +a predefined media, but in general you have to create your own media +definitions because each scanner model generates slightly different colors. +Especially for negatives you have to define a media for each negative type +because they all have a different color of the film mask. +

    +When you change the selection then it may be necessary to +do a new preview scan to get correct colors in the preview window. +The small point left of the Acquire Preview button in the +preview window tells you if the preview is correct or not. +

    +Set the color correction sliders to default before you do a preview scan. +With a correct media definition you should get a preview with more or +less natural colors. But you have to apply a color correction afterwards. +You can not expect that the results are ok without a fine correction of the +colors. You can start with an automatic correction but especially for +negatives it is good to do a manual fine correction before the final scan. +

    +
    +Create or edit a medium definition: +
    +You can create and store your own definitions for different source media. +

    +In the preferences menu there is an item edit medium definition. +
    +
    +medium-definition-menu +
    +
    +When you enable this item then the icon before the +slection menu of the medium gets a little slider on its right side: +

    + +edit-medium-definition +   +Edit medium definition: +
    +When this icon is visible then you can edit and create medium definitions. +Do not use this mode to scan images, xsane will not behave like you expect +when you try to scan images in this mode. +
    + +

      + +
    1. +rgb-default +To define a medium for color scan disable the RGB default button +then you have sliders for each color separately. +
    2. + +
    3. +neagtive +When you want to define a medium definition for a negative +then activate the negative button. +
    4. + +
    5. +Now do some preview scans from the medium you like to define. +Set the color correction sliders brightness +and contrast so that you cut almost all unused color levels. +Do not cut any used color levels. It is better to keep a little +safety distance to the used colors. You can do a color correction +later in the preview window to cut unused colors, but +when your medium definition cuts colors that are used in your images +then you are not able to get these colors back. +
      +For negatives it is a good idea to select a part of the frame around the +image, but if possible do not select any holes. The frame around the image +defines the color of the film mask. In general the image does not contain +such a color but you can be sure that this mask defines one end of the used +color range. +
    6. + +
    7. +Set the gamma sliders so that you get natural colors. If you are unsure better +leave the gamma value close to 1.0, you can apply the gamma correction later. +
    8. + +
    9. To save the new definition or to rename, delete or reorder existing definitions: + +
        +
      1. open the medium menu with a short click with the left mouse button.
      2. +
      3. Move the mouse pointer to the entry that you want to edit or where you +want to add the new entry.
      4. +
      5. Press and hold the right mouse button to open the context menu.
      6. +
      7. Select a function in the context menu: +
        +
        +add medium +
        +
        + +Remark: The item add medium definition is only available in the context menu +when edit medium definition in the preferneces menu is enabled. + +
      8. +
      9. When you save new media definitions then please use the manufacturer and +the type of the medium as name.
      10. +
      +
    10. + +
    11. +Disable edit medium definition in the preferences menu. +
    12. + +
    13. +Test the newly created medium definition. It may be necessary to repeat these steps +some times for fine correction to get a usable definition. +
    14. + +
    + + +When you created good medium definitions please send the +file ~/.sane/xsane/xsane.mdf to +Oliver Rauch +and please tell me the name of the scanner that was used +to create the medium definitions. +I hope we can generate a database of medium definitions +for different scanners. + + +
    +
    + +
    + +
    +Author: Oliver Rauch +
    + + + + diff --git a/doc/sane-xsane-preview-doc.html b/doc/sane-xsane-preview-doc.html index 2617e34..0e7d00d 100644 --- a/doc/sane-xsane-preview-doc.html +++ b/doc/sane-xsane-preview-doc.html @@ -1,3 +1,4 @@ + @@ -43,6 +44,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: @@ -110,10 +132,17 @@ resize the preview window and zoom into the scan area.

    With the smaller, black/white dashed frame in the preview you select the area that shall be scanned. The larger, red/green dashed frame is only -available in COPY-mode (and when you scan to a postscript file). It shows +available in COPY-mode and in FAX-mode. It shows the size of the page of the selected printer relative to the zoom scale.
    +batch-scan-add +   +Batch scan add area: +
    +Adds the selected area to the batch scan list. +
    + pipette-white    Pipette white: @@ -182,6 +211,13 @@ Undo last zoom. Select part with image(s). +autoraise +   +Autoraise: +
    +Click to an image and the image will be selected. +
    + select-visible-area    Select visible area: @@ -204,10 +240,36 @@ you do not use old preview images.
    Select a sub surface of the scan surface as maximum scan area. The defined areas are relative to the surface of the scanner. -The list of preset areas can be changed by the user. Open the -menu with a short click with the left mouse button. Move the mouse -pointer to the menu item you want to change. Press and -hold the right mouse button to open the context menu. +
    +The list of preset areas can be edited by the user: +
    +
    +Add active preview area selection: +
      +
    • Open the menu with a short click with the left mouse button.
    • +
    • Move the mouse pointer to the position where you want to add the new entry.
    • +
    • Press and hold the right mouse button to open the context menu
    • +
    • Select Add selection to list +
      +
      +add selection to list +
      +
      +
    • +
    +Rename, reorder or delete an existing item: +
      +
    • Open the menu with a short click with the left mouse button.
    • +
    • Move the mouse pointer to the item you like to edit.
    • +
    • Press and hold the right mouse button to open the context menu
    • +
    • Select the function you like to execute +
      +
      +edit selection +
      +
      +
    • +
    rotation @@ -220,6 +282,24 @@ display surface): so they also are rotated on display when you select a rotation. +aspect ratio +   +Aspect ratio: +
    +Define the aspect ratio width:height of the created image. +You can only draw the selection frame with the selected aspect ratio. +
    + +RGB values +   +RGB values: +
    +The frame shows the red, green and blue color components of the pixel under the +mouse pointer. The top line shows the values of the raw image, the bottom line +shows the values of the enhanced image. + +
    + Acquire Preview:
    Start preview scan. If you resized the preview window, the new preview diff --git a/doc/sane-xsane-save-doc.html b/doc/sane-xsane-save-doc.html index 8e37efa..628f716 100644 --- a/doc/sane-xsane-save-doc.html +++ b/doc/sane-xsane-save-doc.html @@ -1,3 +1,4 @@ + @@ -43,6 +44,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: @@ -124,7 +146,7 @@ Select scansource, e.g.: Flatbed, Transparency, Automatic Document Feeder. medium    -Scanmedium: +Medium selection:
    Select scanmedium, e.g.: slide, standard negative, Agfa negative, ... or Full range. diff --git a/doc/sane-xsane-setup-copy-doc.html b/doc/sane-xsane-setup-copy-doc.html index 56f93b1..77f4a8d 100644 --- a/doc/sane-xsane-setup-copy-doc.html +++ b/doc/sane-xsane-setup-copy-doc.html @@ -1,3 +1,4 @@ + @@ -42,6 +43,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: @@ -117,16 +139,17 @@ Define the name for the following printer definition.
    Enter the command with which you print files. The command has to read the file from the standard input. If you use the bsd printing system -this is "lpr", if you use the old printing system this should be "lp". +this is "lpr", if you use the old printing system this should be "lp". When you +use KDE then you should try "kprinter --stdin".

    COPY NUMBER OPTION:

    Enter the option of the printer command with wich the number -of copies are specified. If you use the bsd printing system (lpr) +of copies are specified. If you use the bsd printing system (lpr) or kprinter this is "-#", if you use the old printing system (lp) this should be "-n". This option is the last option passed to the printerrcommand -so if you specify a ";#" the option is ignored. +so if you specify a ";#" then the option is ignored.

    RESOLUTION:

    diff --git a/doc/sane-xsane-setup-display-doc.html b/doc/sane-xsane-setup-display-doc.html index 7c1bb31..126c2dc 100644 --- a/doc/sane-xsane-setup-display-doc.html +++ b/doc/sane-xsane-setup-display-doc.html @@ -1,3 +1,4 @@ + @@ -43,6 +44,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: diff --git a/doc/sane-xsane-setup-enhancement-doc.html b/doc/sane-xsane-setup-enhancement-doc.html index 5827198..c03f6d2 100644 --- a/doc/sane-xsane-setup-enhancement-doc.html +++ b/doc/sane-xsane-setup-enhancement-doc.html @@ -1,3 +1,4 @@ + @@ -42,6 +43,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: diff --git a/doc/sane-xsane-setup-fax-doc.html b/doc/sane-xsane-setup-fax-doc.html index f44745c..e37b867 100644 --- a/doc/sane-xsane-setup-fax-doc.html +++ b/doc/sane-xsane-setup-fax-doc.html @@ -1,3 +1,4 @@ + @@ -42,6 +43,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: diff --git a/doc/sane-xsane-setup-image-doc.html b/doc/sane-xsane-setup-image-doc.html index ffbb474..2898cbd 100644 --- a/doc/sane-xsane-setup-image-doc.html +++ b/doc/sane-xsane-setup-image-doc.html @@ -1,3 +1,4 @@ + @@ -42,6 +43,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: diff --git a/doc/sane-xsane-setup-mail-doc.html b/doc/sane-xsane-setup-mail-doc.html index 128b96e..7fd4e06 100644 --- a/doc/sane-xsane-setup-mail-doc.html +++ b/doc/sane-xsane-setup-mail-doc.html @@ -1,3 +1,4 @@ + @@ -42,6 +43,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: diff --git a/doc/sane-xsane-setup-save-doc.html b/doc/sane-xsane-setup-save-doc.html index 7ad89c5..5d17383 100644 --- a/doc/sane-xsane-setup-save-doc.html +++ b/doc/sane-xsane-setup-save-doc.html @@ -1,3 +1,4 @@ + @@ -42,6 +43,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: diff --git a/doc/sane-xsane-standard-doc.html b/doc/sane-xsane-standard-doc.html index cbd1ae2..1081d8d 100644 --- a/doc/sane-xsane-standard-doc.html +++ b/doc/sane-xsane-standard-doc.html @@ -1,3 +1,4 @@ + @@ -43,6 +44,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: diff --git a/doc/sane-xsane-viewer-doc.html b/doc/sane-xsane-viewer-doc.html index 9c9489a..be9c5c3 100644 --- a/doc/sane-xsane-viewer-doc.html +++ b/doc/sane-xsane-viewer-doc.html @@ -1,3 +1,4 @@ + @@ -43,6 +44,10 @@
  • Gimp plugin

  • +Medium selection +
    +
    +
    Color correction: +
    +Batch scan: +
    Setup: @@ -124,7 +146,7 @@ Select scansource, e.g.: Flatbed, Transparency, Automatic Document Feeder. medium    -Scanmedium: +Medium selection:
    Select scanmedium, e.g.: slide, standard negative, Agfa negative, ... or Full range. @@ -155,7 +177,7 @@ When the image is scanned it is displayed in the viewer window:
    XSane-viewer-window


    -save image +save image    Save image:
    diff --git a/doc/xsane-advanced.jpg b/doc/xsane-advanced.jpg index ed9bab4..98cffe8 100644 Binary files a/doc/xsane-advanced.jpg and b/doc/xsane-advanced.jpg differ diff --git a/doc/xsane-aspect-ratio.jpg b/doc/xsane-aspect-ratio.jpg new file mode 100644 index 0000000..4d8c4d8 Binary files /dev/null and b/doc/xsane-aspect-ratio.jpg differ diff --git a/doc/xsane-autoraise_scanarea.jpg b/doc/xsane-autoraise_scanarea.jpg new file mode 100644 index 0000000..3050486 Binary files /dev/null and b/doc/xsane-autoraise_scanarea.jpg differ diff --git a/doc/xsane-autoselect.jpg b/doc/xsane-autoselect.jpg index e4f14c2..65a9875 100644 Binary files a/doc/xsane-autoselect.jpg and b/doc/xsane-autoselect.jpg differ diff --git a/doc/xsane-batch-scan-add.jpg b/doc/xsane-batch-scan-add.jpg new file mode 100644 index 0000000..45cc93e Binary files /dev/null and b/doc/xsane-batch-scan-add.jpg differ diff --git a/doc/xsane-batch-scan-delete.jpg b/doc/xsane-batch-scan-delete.jpg new file mode 100644 index 0000000..f873660 Binary files /dev/null and b/doc/xsane-batch-scan-delete.jpg differ diff --git a/doc/xsane-batch-scan.jpg b/doc/xsane-batch-scan.jpg new file mode 100644 index 0000000..4527dc8 Binary files /dev/null and b/doc/xsane-batch-scan.jpg differ diff --git a/doc/xsane-copy.jpg b/doc/xsane-copy.jpg index 6871737..1c0686d 100644 Binary files a/doc/xsane-copy.jpg and b/doc/xsane-copy.jpg differ diff --git a/doc/xsane-edit-medium.jpg b/doc/xsane-edit-medium.jpg new file mode 100644 index 0000000..f4116b6 Binary files /dev/null and b/doc/xsane-edit-medium.jpg differ diff --git a/doc/xsane-fax-project.jpg b/doc/xsane-fax-project.jpg index 9ff2766..e89f398 100644 Binary files a/doc/xsane-fax-project.jpg and b/doc/xsane-fax-project.jpg differ diff --git a/doc/xsane-fax.jpg b/doc/xsane-fax.jpg index ecbf020..ae77294 100644 Binary files a/doc/xsane-fax.jpg and b/doc/xsane-fax.jpg differ diff --git a/doc/xsane-gimp.jpg b/doc/xsane-gimp.jpg index 7350f7d..a0babb2 100644 Binary files a/doc/xsane-gimp.jpg and b/doc/xsane-gimp.jpg differ diff --git a/doc/xsane-histogram.jpg b/doc/xsane-histogram.jpg index c5ca68f..f1efb38 100644 Binary files a/doc/xsane-histogram.jpg and b/doc/xsane-histogram.jpg differ diff --git a/doc/xsane-mail-project.jpg b/doc/xsane-mail-project.jpg new file mode 100644 index 0000000..ff8cd0a Binary files /dev/null and b/doc/xsane-mail-project.jpg differ diff --git a/doc/xsane-mail.jpg b/doc/xsane-mail.jpg index 232530b..93163d8 100644 Binary files a/doc/xsane-mail.jpg and b/doc/xsane-mail.jpg differ diff --git a/doc/xsane-medium-add.jpg b/doc/xsane-medium-add.jpg new file mode 100644 index 0000000..72685ed Binary files /dev/null and b/doc/xsane-medium-add.jpg differ diff --git a/doc/xsane-new.jpg b/doc/xsane-new.jpg new file mode 100644 index 0000000..4e9ec0e Binary files /dev/null and b/doc/xsane-new.jpg differ diff --git a/doc/xsane-open.jpg b/doc/xsane-open.jpg new file mode 100644 index 0000000..be1078b Binary files /dev/null and b/doc/xsane-open.jpg differ diff --git a/doc/xsane-paper-landscape-bottom-left.jpg b/doc/xsane-paper-landscape-bottom-left.jpg new file mode 100644 index 0000000..799e22a Binary files /dev/null and b/doc/xsane-paper-landscape-bottom-left.jpg differ diff --git a/doc/xsane-paper-landscape-bottom-right.jpg b/doc/xsane-paper-landscape-bottom-right.jpg new file mode 100644 index 0000000..90f1b63 Binary files /dev/null and b/doc/xsane-paper-landscape-bottom-right.jpg differ diff --git a/doc/xsane-paper-landscape-center.jpg b/doc/xsane-paper-landscape-center.jpg new file mode 100644 index 0000000..a444657 Binary files /dev/null and b/doc/xsane-paper-landscape-center.jpg differ diff --git a/doc/xsane-paper-landscape-top-left.jpg b/doc/xsane-paper-landscape-top-left.jpg new file mode 100644 index 0000000..91e01fe Binary files /dev/null and b/doc/xsane-paper-landscape-top-left.jpg differ diff --git a/doc/xsane-paper-landscape-top-right.jpg b/doc/xsane-paper-landscape-top-right.jpg new file mode 100644 index 0000000..0c84156 Binary files /dev/null and b/doc/xsane-paper-landscape-top-right.jpg differ diff --git a/doc/xsane-paper-portrait-bottom-left.jpg b/doc/xsane-paper-portrait-bottom-left.jpg new file mode 100644 index 0000000..17d05d8 Binary files /dev/null and b/doc/xsane-paper-portrait-bottom-left.jpg differ diff --git a/doc/xsane-paper-portrait-bottom-right.jpg b/doc/xsane-paper-portrait-bottom-right.jpg new file mode 100644 index 0000000..474e036 Binary files /dev/null and b/doc/xsane-paper-portrait-bottom-right.jpg differ diff --git a/doc/xsane-paper-portrait-center.jpg b/doc/xsane-paper-portrait-center.jpg new file mode 100644 index 0000000..c5ae64d Binary files /dev/null and b/doc/xsane-paper-portrait-center.jpg differ diff --git a/doc/xsane-paper-portrait-top-left.jpg b/doc/xsane-paper-portrait-top-left.jpg new file mode 100644 index 0000000..0be5f7a Binary files /dev/null and b/doc/xsane-paper-portrait-top-left.jpg differ diff --git a/doc/xsane-paper-portrait-top-right.jpg b/doc/xsane-paper-portrait-top-right.jpg new file mode 100644 index 0000000..453e6bb Binary files /dev/null and b/doc/xsane-paper-portrait-top-right.jpg differ diff --git a/doc/xsane-pipette-black.jpg b/doc/xsane-pipette-black.jpg index 8508f14..4534736 100644 Binary files a/doc/xsane-pipette-black.jpg and b/doc/xsane-pipette-black.jpg differ diff --git a/doc/xsane-pipette-gray.jpg b/doc/xsane-pipette-gray.jpg index 72211f3..3e47eae 100644 Binary files a/doc/xsane-pipette-gray.jpg and b/doc/xsane-pipette-gray.jpg differ diff --git a/doc/xsane-pipette-white.jpg b/doc/xsane-pipette-white.jpg index b8b8b0f..0e9d460 100644 Binary files a/doc/xsane-pipette-white.jpg and b/doc/xsane-pipette-white.jpg differ diff --git a/doc/xsane-preferences.jpg b/doc/xsane-preferences.jpg index 851200a..53ff132 100644 Binary files a/doc/xsane-preferences.jpg and b/doc/xsane-preferences.jpg differ diff --git a/doc/xsane-preset-area-context-menu.jpg b/doc/xsane-preset-area-context-menu.jpg new file mode 100644 index 0000000..1410172 Binary files /dev/null and b/doc/xsane-preset-area-context-menu.jpg differ diff --git a/doc/xsane-preset-area.jpg b/doc/xsane-preset-area.jpg index 25bdab5..cf494da 100644 Binary files a/doc/xsane-preset-area.jpg and b/doc/xsane-preset-area.jpg differ diff --git a/doc/xsane-preview.jpg b/doc/xsane-preview.jpg index 12cc6fb..5e12a96 100644 Binary files a/doc/xsane-preview.jpg and b/doc/xsane-preview.jpg differ diff --git a/doc/xsane-rename.jpg b/doc/xsane-rename.jpg new file mode 100644 index 0000000..9aa7a33 Binary files /dev/null and b/doc/xsane-rename.jpg differ diff --git a/doc/xsane-rgb-values.jpg b/doc/xsane-rgb-values.jpg new file mode 100644 index 0000000..2ba2c3d Binary files /dev/null and b/doc/xsane-rgb-values.jpg differ diff --git a/doc/xsane-rotation.jpg b/doc/xsane-rotation.jpg index aa57039..5d7fd26 100644 Binary files a/doc/xsane-rotation.jpg and b/doc/xsane-rotation.jpg differ diff --git a/doc/xsane-save.jpg b/doc/xsane-save.jpg index 4791ad5..994f633 100644 Binary files a/doc/xsane-save.jpg and b/doc/xsane-save.jpg differ diff --git a/doc/xsane-save2.jpg b/doc/xsane-save2.jpg new file mode 100644 index 0000000..da2f47b Binary files /dev/null and b/doc/xsane-save2.jpg differ diff --git a/doc/xsane-setup-copy.jpg b/doc/xsane-setup-copy.jpg index a09b266..7f5cbca 100644 Binary files a/doc/xsane-setup-copy.jpg and b/doc/xsane-setup-copy.jpg differ diff --git a/doc/xsane-setup-display.jpg b/doc/xsane-setup-display.jpg index 045c3aa..6997540 100644 Binary files a/doc/xsane-setup-display.jpg and b/doc/xsane-setup-display.jpg differ diff --git a/doc/xsane-setup-enhancement.jpg b/doc/xsane-setup-enhancement.jpg index 53733ba..2a2e67d 100644 Binary files a/doc/xsane-setup-enhancement.jpg and b/doc/xsane-setup-enhancement.jpg differ diff --git a/doc/xsane-setup-fax.jpg b/doc/xsane-setup-fax.jpg index b1ac97b..113e950 100644 Binary files a/doc/xsane-setup-fax.jpg and b/doc/xsane-setup-fax.jpg differ diff --git a/doc/xsane-setup-image.jpg b/doc/xsane-setup-image.jpg index e6ce8f4..2476862 100644 Binary files a/doc/xsane-setup-image.jpg and b/doc/xsane-setup-image.jpg differ diff --git a/doc/xsane-setup-mail.jpg b/doc/xsane-setup-mail.jpg index e08c07a..7c6f176 100644 Binary files a/doc/xsane-setup-mail.jpg and b/doc/xsane-setup-mail.jpg differ diff --git a/doc/xsane-setup-ocr.jpg b/doc/xsane-setup-ocr.jpg new file mode 100644 index 0000000..051ad42 Binary files /dev/null and b/doc/xsane-setup-ocr.jpg differ diff --git a/doc/xsane-setup-save.jpg b/doc/xsane-setup-save.jpg index f4f6d19..556a025 100644 Binary files a/doc/xsane-setup-save.jpg and b/doc/xsane-setup-save.jpg differ diff --git a/doc/xsane-standard.jpg b/doc/xsane-standard.jpg index 2255b84..598410b 100644 Binary files a/doc/xsane-standard.jpg and b/doc/xsane-standard.jpg differ diff --git a/doc/xsane-viewer-window.jpg b/doc/xsane-viewer-window.jpg index 9bf70a6..cda0c77 100644 Binary files a/doc/xsane-viewer-window.jpg and b/doc/xsane-viewer-window.jpg differ diff --git a/doc/xsane-viewer.jpg b/doc/xsane-viewer.jpg index d93990d..680a8f8 100644 Binary files a/doc/xsane-viewer.jpg and b/doc/xsane-viewer.jpg differ diff --git a/doc/xsane-visible-area.jpg b/doc/xsane-visible-area.jpg index 117a5ba..53424db 100644 Binary files a/doc/xsane-visible-area.jpg and b/doc/xsane-visible-area.jpg differ diff --git a/doc/xsane-zoom-in.jpg b/doc/xsane-zoom-in.jpg index dc73335..c6a90a0 100644 Binary files a/doc/xsane-zoom-in.jpg and b/doc/xsane-zoom-in.jpg differ diff --git a/doc/xsane-zoom-not.jpg b/doc/xsane-zoom-not.jpg index b239646..3f5ffc9 100644 Binary files a/doc/xsane-zoom-not.jpg and b/doc/xsane-zoom-not.jpg differ diff --git a/doc/xsane-zoom-out.jpg b/doc/xsane-zoom-out.jpg index 9e20fc1..ce00e81 100644 Binary files a/doc/xsane-zoom-out.jpg and b/doc/xsane-zoom-out.jpg differ diff --git a/doc/xsane-zoom-undo.jpg b/doc/xsane-zoom-undo.jpg index 11e0890..af6dead 100644 Binary files a/doc/xsane-zoom-undo.jpg and b/doc/xsane-zoom-undo.jpg differ diff --git a/doc/xsane.jpg b/doc/xsane.jpg deleted file mode 100644 index 2f9a50d..0000000 Binary files a/doc/xsane.jpg and /dev/null differ diff --git a/doc/xsane.man b/doc/xsane.man index 1021b89..babb1a4 100644 --- a/doc/xsane.man +++ b/doc/xsane.man @@ -1,26 +1,31 @@ -.TH xsane 1 "11 Aug 2000" +.TH xsane 1 "15 Jun 2002" .IX xsane .SH NAME xsane - scanner frontend for SANE .SH SYNOPSIS .B xsane .RB [ --version | -v ] +.RB [ --license | -l ] .RB [ --device-settings .IR file .RB | -d .IR file ] -.RB [ --scan | -s ] +.RB [ --viewer | -V ] +.RB [ --save | -s ] .RB [ --copy | -c ] .RB [ --fax | -f ] +.RB [ --mail | -m ] .RB [ --no-mode-selection | -n ] .RB [ --Fixed | -F ] -.RB [ --Scrolled | -S ] +.RB [ --Resizable | -R ] +.RB [ --print-filenames | -p ] +.RB [ --force-filename +.IR name +.RB | -N +.IR name ] .RB [ --display .IR d ] -.RB [ --no-xshm ] .RB [ --sync ] -.RB [ --debug-level -.IR n ] .RI [ devicename ] .SH DESCRIPTION .B xsane @@ -50,8 +55,10 @@ backendname:devicefile (eg: umax:/dev/sga). To run .B xsane under the -.BR gimp (1), -simply set a symbolic link from the xsane-binary to one of the +.BR gimp (1), you should at first make sure that xsane is +compiled with gimp support by entering "xsane -v" on a shell. +If xsane is compiled with gimp support then simply set a +symbolic link from the xsane-binary to one of the .BR gimp (1) plug-ins directories. For example, for gimp-1.0.x the command .PP @@ -59,10 +66,16 @@ plug-ins directories. For example, for gimp-1.0.x the command ln -s @BINDIR@/xsane ~/.gimp/plug-ins/ .RE .PP -and for gimp 1.1.x the command: +for gimp 1.2.x the command: .PP .RS -ln -s @BINDIR@/xsane ~/.gimp-1.1/plug-ins/ +ln -s @BINDIR@/xsane ~/.gimp-1.2/plug-ins/ +.RE +.PP +and for gimp 2.0.x the command: +.PP +.RS +ln -s @BINDIR@/xsane ~/.gimp-2.0/plug-ins/ .RE .PP adds a symlink for the @@ -73,10 +86,10 @@ will be queried by .BR gimp (1) the next time it's invoked. From then on, .B xsane -can be invoked through "Xtns->XSane->Device dialog..." or through -"File->Acquire->XSane->Device dialog..." menu entry. +can be invoked through "Xtns->XSane->Device dialog..." (gimp-1.0.x) or through +"File->Acquire->XSane->Device dialog..." (gimp-1.2.x and 2.0.x) menu entry. -You'll also find that the "Xtns->XSane"/"File->Acquire->XSane" menu contains +You'll also find that the "Xtns->XSane" or "File->Acquire->XSane" menu contains short-cuts to the SANE devices that were available at the time the .B xsane was queried. @@ -93,6 +106,17 @@ binary (e.g., "touch @BINDIR@/xsane") or delete the plugin cache (e.g., "rm ~/.gimp/pluginrc"). Either way, invoking .BR gimp (1) afterwards will cause the pluginrc to be rebuilt. +.PP +When +.B xsane +is started from the +.B gimp +then it is not possible to add a devicename explictly. You have to make the +devices known to the system by configuring +.B sane-dll, sane-net +and +.B saned. + .SH OPTIONS .PP If the @@ -103,37 +127,55 @@ flag is given xsane prints a version information, some information about gtk+ and gimp version it is compiled against and lists the supported fileformats, then it exits. .PP +when the +.B --license +or +.B -l +flag is igven xsane prints license information and exits. +.PP The -.B --scan +.B --device-settings or -.B -s -flag forces xsane to start in scan mode. +.B -d +flag reads the next option as default filename +for device settings. The extension ".drc" must not +be included. .PP The -.B --fax +.B --viewer or -.B -f -flag forces xsane to start in fax mode. +.B -V +flag forces xsane to start in viewer mode. +.PP +The +.B --save +or +.B -s +flag forces xsane to start in save mode. .PP The .B --copy or .B -c +flag forces xsane to start in copy mode. +.PP +The +.B --fax +or +.B -f flag forces xsane to start in fax mode. .PP The -.B --no-mode-selection +.B --mail or -.B -n -flag disables the menu for xsane mode selection (scan, copy, fax). +.B -m +flag forces xsane to start in mail mode. .PP The -.B --device-settings +.B --no-mode-selection or -.B -d -flag reads the next option as default filename -for device settings. The extension ".drc" must not -be included. +.B -n +flag disables the menu for xsane mode selection (viwer, save, copy, fax, mail). .PP If the .B --Fixed @@ -143,12 +185,29 @@ flag is given then xsane uses a fixed, non resizable main window. The flag overwrites the preferences value. .PP If the -.B --Scrolled +.B --Resizable or -.B -S -flag is given then xsane uses a scrolled, resizable main window. +.B -R +flag is given then xsane uses a scrolled and resizable main window. The flag overwrites the preferences value. .PP +If +.B --print-filenames +or +.B -p +flag is given then xsane prints the names of created files to the standard output. +.PP +When the flag +.B --force-filename +or +.B -N +is given then xsane reads the next option as default image filename. The name should be +of the format "name-###.ext". The selection box for filenames is disabled. This +option normally should be used with the option +.B --no-mode-selection +and +.B --save. +.PP The .B --display flag selects the X11 display used to present the graphical user-interface @@ -157,13 +216,6 @@ flag selects the X11 display used to present the graphical user-interface for details). .PP The -.B --no-xshm -flag requests not to use shared memory images. Shared memory images -usually enhance performance but cause problems with some buggy X11 -servers. Unless your X11 server dies when running this program, there -is no need or advantage to specify this flag. -.PP -The .B --sync flag requests a synchronous connection with the X11 server. This is for debugging purposes only. @@ -198,7 +250,7 @@ This file serves the same purpose as the system-wide style file. If present, it takes precedence over the system wide style file. .SH "SEE ALSO" gimp(1), xscanimage(1), scanimage(1), -sane\-dll(5), sane\-net(5), sane-scsi(5), +sane\-dll(5), sane\-net(5), saned(1), sane\-scsi(5), sane\-usb(5), sane\-"backendname"(5) .SH AUTHOR Oliver Rauch diff --git a/include/Makefile b/include/Makefile index 214d47e..c8de918 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,4 +1,3 @@ -# Generated automatically from Makefile.in by configure. # This is just a dummy to ensure that the include directory gets created # in a shadow-build. diff --git a/include/config.h b/include/config.h index ed6a027..a4c5053 100644 --- a/include/config.h +++ b/include/config.h @@ -1,4 +1,4 @@ -/* include/config.h. Generated automatically by configure. */ +/* include/config.h. Generated by configure. */ #ifndef SANE_CONFIG_H #define SANE_CONFIG_H @@ -98,11 +98,11 @@ /* Define to the name of the distribution. */ #define PACKAGE "xsane" -/* The concatenation of the strings PACKAGE, "-", and VERSION. */ -#define PACKAGE_VERSION "xsane-0.84" - /* Define to the version of the distribution. */ -#define VERSION "0.84" +#define VERSION "0.97" + +/* The concatenation of the strings PACKAGE, "-", and VERSION. */ +#define XSANE_PACKAGE_VERSION "xsane-0.97" /* Define if you have the __argz_count function. */ #define HAVE___ARGZ_COUNT 1 @@ -243,6 +243,9 @@ /* Define if you have the header file. */ /* #undef HAVE_SYS_DSREQ_H */ +/* Define if you have the header file. */ +/* #undef HAVE_WINDOWS_H */ + /* Define if you have the header file. */ /* #undef HAVE_OS2_H */ @@ -267,8 +270,11 @@ /* Define if you have the header file. */ /* #undef HAVE_DLFCN_H */ -/* Define if you have the GIMP header files and library. */ -#define HAVE_LIBGIMP_GIMP_H 1 +/* Define if you have GIMP installed - no matter what version. */ +#define HAVE_ANY_GIMP 1 + +/* Define if you have GIMP-2.0 installed. */ +/* #undef HAVE_GIMP_2 */ /* Define if you have the GIMPfeatures header file. */ #define HAVE_LIBGIMP_GIMPFEATURES_H 1 diff --git a/include/config.h.in b/include/config.h.in index 16a6f57..e056158 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -97,12 +97,12 @@ /* Define to the name of the distribution. */ #undef PACKAGE -/* The concatenation of the strings PACKAGE, "-", and VERSION. */ -#undef PACKAGE_VERSION - /* Define to the version of the distribution. */ #undef VERSION +/* The concatenation of the strings PACKAGE, "-", and VERSION. */ +#undef XSANE_PACKAGE_VERSION + /* Define if you have the __argz_count function. */ #undef HAVE___ARGZ_COUNT @@ -242,6 +242,9 @@ /* Define if you have the header file. */ #undef HAVE_SYS_DSREQ_H +/* Define if you have the header file. */ +#undef HAVE_WINDOWS_H + /* Define if you have the header file. */ #undef HAVE_OS2_H @@ -266,8 +269,11 @@ /* Define if you have the header file. */ #undef HAVE_DLFCN_H -/* Define if you have the GIMP header files and library. */ -#undef HAVE_LIBGIMP_GIMP_H +/* Define if you have GIMP installed - no matter what version. */ +#undef HAVE_ANY_GIMP + +/* Define if you have GIMP-2.0 installed. */ +#undef HAVE_GIMP_2 /* Define if you have the GIMPfeatures header file. */ #undef HAVE_LIBGIMP_GIMPFEATURES_H diff --git a/intl/bindtextdom.o b/intl/bindtextdom.o new file mode 100644 index 0000000..c39ad91 Binary files /dev/null and b/intl/bindtextdom.o differ diff --git a/intl/dcgettext.o b/intl/dcgettext.o new file mode 100644 index 0000000..98629ad Binary files /dev/null and b/intl/dcgettext.o differ diff --git a/intl/dgettext.o b/intl/dgettext.o new file mode 100644 index 0000000..a7c7eef Binary files /dev/null and b/intl/dgettext.o differ diff --git a/intl/explodename.o b/intl/explodename.o new file mode 100644 index 0000000..99ece7e Binary files /dev/null and b/intl/explodename.o differ diff --git a/intl/finddomain.o b/intl/finddomain.o new file mode 100644 index 0000000..86b783b Binary files /dev/null and b/intl/finddomain.o differ diff --git a/intl/gettext.o b/intl/gettext.o new file mode 100644 index 0000000..b8c7d46 Binary files /dev/null and b/intl/gettext.o differ diff --git a/intl/intl-compat.o b/intl/intl-compat.o new file mode 100644 index 0000000..29fb312 Binary files /dev/null and b/intl/intl-compat.o differ diff --git a/intl/l10nflist.o b/intl/l10nflist.o new file mode 100644 index 0000000..c3b96d3 Binary files /dev/null and b/intl/l10nflist.o differ diff --git a/intl/libintl.a b/intl/libintl.a new file mode 100644 index 0000000..7837b76 Binary files /dev/null and b/intl/libintl.a differ diff --git a/intl/loadmsgcat.o b/intl/loadmsgcat.o new file mode 100644 index 0000000..8c676cc Binary files /dev/null and b/intl/loadmsgcat.o differ diff --git a/intl/localealias.o b/intl/localealias.o new file mode 100644 index 0000000..563801e Binary files /dev/null and b/intl/localealias.o differ diff --git a/intl/textdomain.o b/intl/textdomain.o new file mode 100644 index 0000000..795653e Binary files /dev/null and b/intl/textdomain.o differ diff --git a/lib/Makefile.in b/lib/Makefile.in index 93bd545..7567d54 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -26,6 +26,8 @@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ +RANLIB = @RANLIB@ + CC = @CC@ INCLUDES = -I. -I$(srcdir) \ -I$(top_builddir)/include/sane -I$(top_srcdir)/include @@ -57,6 +59,7 @@ all: $(TARGETS) liblib.a: $(LIBLIB_OBJS) ar r $@ $(LIBLIB_OBJS) + $(RANLIB) $@ install: all diff --git a/m4/gettext.m4 b/m4/gettext.m4 new file mode 100644 index 0000000..0dca591 --- /dev/null +++ b/m4/gettext.m4 @@ -0,0 +1,368 @@ +# progtest.m4 from gettext 0.32 +# Search path for a program which passes the given test. +# Ulrich Drepper , 1996. +# +# This file file be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# Please note that the actual code is *not* freely available. + +# serial 1 + +dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) +AC_DEFUN(AM_PATH_PROG_WITH_TEST, +[# Extract the first word of "$2", so it can be a program name with args. +set dummy $2; ac_word=[$]2 +AC_MSG_CHECKING([for $ac_word]) +AC_CACHE_VAL(ac_cv_path_$1, +[case "[$]$1" in + /*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in ifelse([$5], , $PATH, [$5]); do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if [$3]; then + ac_cv_path_$1="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" +dnl If no 4th arg is given, leave the cache variable unset, +dnl so AC_PATH_PROGS will keep looking. +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" +])dnl + ;; +esac])dnl +$1="$ac_cv_path_$1" +if test -n "[$]$1"; then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) + +# ******************************************************************** +# lcmessage.m4 from gettext 0.32 +# Check whether LC_MESSAGES is available in . +# Ulrich Drepper , 1995. +# +# This file file be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# Please note that the actual code is *not* freely available. + +# serial 1 + +AC_DEFUN(AM_LC_MESSAGES, + [if test $ac_cv_header_locale_h = yes; then + AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, + [AC_TRY_LINK([#include ], [return LC_MESSAGES], + am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) + if test $am_cv_val_LC_MESSAGES = yes; then + AC_DEFINE(HAVE_LC_MESSAGES) + fi + fi]) + + +# ******************************************************************** +# gettext.m4 from gettext 0.32 +# Macro to add for using GNU gettext. +# Ulrich Drepper , 1995. +# +# This file file be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# Please note that the actual code is *not* freely available. + +# serial 3 + +AC_DEFUN(AM_WITH_NLS, + [AC_MSG_CHECKING([whether NLS is requested]) + dnl Default is enabled NLS + AC_ARG_ENABLE(nls, + [ --disable-nls do not use Native Language Support], + USE_NLS=$enableval, USE_NLS=yes) + AC_MSG_RESULT($USE_NLS) + AC_SUBST(USE_NLS) + + USE_INCLUDED_LIBINTL=no + + dnl If we use NLS figure out what method + if test "$USE_NLS" = "yes"; then + AC_DEFINE(ENABLE_NLS) + AC_MSG_CHECKING([whether included gettext is requested]) + AC_ARG_WITH(included-gettext, + [ --with-included-gettext use the GNU gettext library included here], + nls_cv_force_use_gnu_gettext=$withval, + nls_cv_force_use_gnu_gettext=no) + AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) + + nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" + if test "$nls_cv_force_use_gnu_gettext" != "yes"; then + dnl User does not insist on using GNU NLS library. Figure out what + dnl to use. If gettext or catgets are available (in this order) we + dnl use this. Else we have to fall back to GNU NLS library. + dnl catgets is only used if permitted by option --with-catgets. + nls_cv_header_intl= + nls_cv_header_libgt= + CATOBJEXT=NONE + + AC_CHECK_HEADER(libintl.h, + [AC_CACHE_CHECK([for gettext in libc], gt_cv_func_gettext_libc, + [AC_TRY_LINK([#include ], [return (int) gettext ("")], + gt_cv_func_gettext_libc=yes, gt_cv_func_gettext_libc=no)]) + + if test "$gt_cv_func_gettext_libc" != "yes"; then + AC_CHECK_LIB(intl, bindtextdomain, + [AC_CACHE_CHECK([for gettext in libintl], + gt_cv_func_gettext_libintl, + [AC_TRY_LINK([], [return (int) gettext ("")], + gt_cv_func_gettext_libintl=yes, + gt_cv_func_gettext_libintl=no)])]) + fi + + if test "$gt_cv_func_gettext_libintl" = "yes"; then + LIBS="-lintl $LIBS" + fi + + if test "$gt_cv_func_gettext_libc" = "yes" \ + || test "$gt_cv_func_gettext_libintl" = "yes"; then + AC_DEFINE(HAVE_GETTEXT) + AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl + if test "$MSGFMT" != "no"; then + AC_CHECK_FUNCS(dcgettext) + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr], + [CATOBJEXT=.gmo + DATADIRNAME=share], + [CATOBJEXT=.mo + DATADIRNAME=lib]) + INSTOBJEXT=.mo + fi + fi + ]) + + if test "$CATOBJEXT" = "NONE"; then + AC_MSG_CHECKING([whether catgets can be used]) + AC_ARG_WITH(catgets, + [ --with-catgets use catgets functions if available], + nls_cv_use_catgets=$withval, nls_cv_use_catgets=no) + AC_MSG_RESULT($nls_cv_use_catgets) + + if test "$nls_cv_use_catgets" = "yes"; then + dnl No gettext in C library. Try catgets next. + AC_CHECK_LIB(i, main) + AC_CHECK_FUNC(catgets, + [AC_DEFINE(HAVE_CATGETS) + INTLOBJS="\$(CATOBJS)" + AC_PATH_PROG(GENCAT, gencat, no)dnl + if test "$GENCAT" != "no"; then + AC_PATH_PROG(GMSGFMT, gmsgfmt, no) + if test "$GMSGFMT" = "no"; then + AM_PATH_PROG_WITH_TEST(GMSGFMT, msgfmt, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no) + fi + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + USE_INCLUDED_LIBINTL=yes + CATOBJEXT=.cat + INSTOBJEXT=.cat + DATADIRNAME=lib + INTLDEPS='$(top_builddir)/intl/libintl.a' + INTLLIBS=$INTLDEPS + LIBS=`echo $LIBS | sed -e 's/-lintl//'` + nls_cv_header_intl=intl/libintl.h + nls_cv_header_libgt=intl/libgettext.h + fi]) + fi + fi + + if test "$CATOBJEXT" = "NONE"; then + dnl Neither gettext nor catgets in included in the C library. + dnl Fall back on GNU gettext library. + nls_cv_use_gnu_gettext=yes + fi + fi + + if test "$nls_cv_use_gnu_gettext" = "yes"; then + dnl Mark actions used to generate GNU NLS library. + INTLOBJS="\$(GETTOBJS)" + AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt) + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + AC_SUBST(MSGFMT) + USE_INCLUDED_LIBINTL=yes + CATOBJEXT=.gmo + INSTOBJEXT=.mo + DATADIRNAME=share + INTLDEPS='$(top_builddir)/intl/libintl.a' + INTLLIBS=$INTLDEPS + LIBS=`echo $LIBS | sed -e 's/-lintl//'` + nls_cv_header_intl=intl/libintl.h + nls_cv_header_libgt=intl/libgettext.h + fi + + dnl Test whether we really found GNU xgettext. + if test "$XGETTEXT" != ":"; then + dnl If it is no GNU xgettext we define it as : so that the + dnl Makefiles still can work. + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then + : ; + else + AC_MSG_RESULT( + [found xgettext programs is not GNU xgettext; ignore it]) + XGETTEXT=":" + fi + fi + + # We need to process the po/ directory. + POSUB=po + else + DATADIRNAME=share + nls_cv_header_intl=intl/libintl.h + nls_cv_header_libgt=intl/libgettext.h + fi + + # If this is used in GNU gettext we have to set USE_NLS to `yes' + # because some of the sources are only built for this goal. + if test "$PACKAGE" = gettext; then + USE_NLS=yes + USE_INCLUDED_LIBINTL=yes + fi + + dnl These rules are solely for the distribution goal. While doing this + dnl we only have to keep exactly one list of the available catalogs + dnl in configure.in. + for lang in $ALL_LINGUAS; do + GMOFILES="$GMOFILES $lang.gmo" + POFILES="$POFILES $lang.po" + done + + dnl Make all variables we use known to autoconf. + AC_SUBST(USE_INCLUDED_LIBINTL) + AC_SUBST(CATALOGS) + AC_SUBST(CATOBJEXT) + AC_SUBST(DATADIRNAME) + AC_SUBST(GMOFILES) + AC_SUBST(INSTOBJEXT) + AC_SUBST(INTLDEPS) + AC_SUBST(INTLLIBS) + AC_SUBST(INTLOBJS) + AC_SUBST(POFILES) + AC_SUBST(POSUB) + ]) + +AC_DEFUN(AM_GNU_GETTEXT, + [AC_REQUIRE([AC_PROG_MAKE_SET])dnl + AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_PROG_RANLIB])dnl + AC_REQUIRE([AC_ISC_POSIX])dnl + AC_REQUIRE([AC_HEADER_STDC])dnl + AC_REQUIRE([AC_C_CONST])dnl + AC_REQUIRE([AC_C_INLINE])dnl + AC_REQUIRE([AC_TYPE_OFF_T])dnl + AC_REQUIRE([AC_TYPE_SIZE_T])dnl + AC_REQUIRE([AC_FUNC_ALLOCA])dnl + AC_REQUIRE([AC_FUNC_MMAP])dnl + + AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h string.h \ +unistd.h values.h sys/param.h]) + AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \ +__argz_count __argz_stringify __argz_next]) + + if test "${ac_cv_func_stpcpy+set}" != "set"; then + AC_CHECK_FUNCS(stpcpy) + fi + if test "${ac_cv_func_stpcpy}" = "yes"; then + AC_DEFINE(HAVE_STPCPY) + fi + + AM_LC_MESSAGES + AM_WITH_NLS + + if test "x$CATOBJEXT" != "x"; then + if test "x$ALL_LINGUAS" = "x"; then + LINGUAS= + else + AC_MSG_CHECKING(for catalogs to be installed) + NEW_LINGUAS= + for lang in ${LINGUAS=$ALL_LINGUAS}; do + case "$ALL_LINGUAS" in + *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; + esac + done + LINGUAS=$NEW_LINGUAS + AC_MSG_RESULT($LINGUAS) + fi + + dnl Construct list of names of catalog files to be constructed. + if test -n "$LINGUAS"; then + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done + fi + fi + + dnl The reference to in the installed file + dnl must be resolved because we cannot expect the users of this + dnl to define HAVE_LOCALE_H. + if test $ac_cv_header_locale_h = yes; then + INCLUDE_LOCALE_H="#include " + else + INCLUDE_LOCALE_H="\ +/* The system does not provide the header . Take care yourself. */" + fi + AC_SUBST(INCLUDE_LOCALE_H) + + dnl Determine which catalog format we have (if any is needed) + dnl For now we know about two different formats: + dnl Linux libc-5 and the normal X/Open format + test -d intl || mkdir intl + if test "$CATOBJEXT" = ".cat"; then + AC_CHECK_HEADER(linux/version.h, msgformat=linux, msgformat=xopen) + + dnl Transform the SED scripts while copying because some dumb SEDs + dnl cannot handle comments. + sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed + fi + dnl po2tbl.sed is always needed. + sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ + $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed + + dnl In the intl/Makefile.in we have a special dependency which makes + dnl only sense for gettext. We comment this out for non-gettext + dnl packages. + if test "$PACKAGE" = "gettext"; then + GT_NO="#NO#" + GT_YES= + else + GT_NO= + GT_YES="#YES#" + fi + AC_SUBST(GT_NO) + AC_SUBST(GT_YES) + + dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly + dnl find the mkinstalldirs script in another subdir but ($top_srcdir). + dnl Try to locate is. + MKINSTALLDIRS= + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + AC_SUBST(MKINSTALLDIRS) + + dnl *** For now the libtool support in intl/Makefile is not for real. + l= + AC_SUBST(l) + ]) + diff --git a/m4/gimp-2.0.m4 b/m4/gimp-2.0.m4 new file mode 100644 index 0000000..587b85e --- /dev/null +++ b/m4/gimp-2.0.m4 @@ -0,0 +1,183 @@ +# Configure paths for GIMP-2.0 +# Manish Singh, Sven Neumann +# Large parts shamelessly stolen from Owen Taylor + +dnl AM_PATH_GIMP_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for GIMP, and define GIMP_CFLAGS and GIMP_LIBS +dnl +AC_DEFUN([AM_PATH_GIMP_2_0], +[dnl +dnl Get the cflags and libraries from pkg-config +dnl + +AC_ARG_ENABLE(gimptest, [ --disable-gimptest do not try to compile and run a test GIMP program],, enable_gimptest=yes) + + pkg_name=gimp-2.0 + pkg_config_args="$pkg_name gimpui-2.0" + + no_gimp="" + + AC_PATH_PROG(PKG_CONFIG, pkg-config, no) + + if test x$PKG_CONFIG != xno ; then + if pkg-config --atleast-pkgconfig-version 0.7 ; then + : + else + echo *** pkg-config too old; version 0.7 or better required. + no_gimp=yes + PKG_CONFIG=no + fi + else + no_gimp=yes + fi + + min_gimp_version=ifelse([$1], ,2.0.0,$1) + AC_MSG_CHECKING(for GIMP - version >= $min_gimp_version) + + if test x$PKG_CONFIG != xno ; then + ## don't try to run the test against uninstalled libtool libs + if $PKG_CONFIG --uninstalled $pkg_config_args; then + echo "Will use uninstalled version of GIMP found in PKG_CONFIG_PATH" + enable_gimptest=no + fi + + if $PKG_CONFIG --atleast-version $min_gimp_version $pkg_config_args; then + : + else + no_gimp=yes + fi + fi + + if test x"$no_gimp" = x ; then + GIMP_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` + GIMP_LIBS=`$PKG_CONFIG $pkg_config_args --libs` + GIMP_CFLAGS_NOUI=`$PKG_CONFIG $pkg_name --cflags` + GIMP_LIBS_NOUI=`$PKG_CONFIG $pkg_name --libs` + GIMP_DATA_DIR=`$PKG_CONFIG $pkg_name --variable=gimpdatadir` + GIMP_PLUGIN_DIR=`$PKG_CONFIG $pkg_name --variable=gimplibdir` + + gimp_pkg_major_version=`$PKG_CONFIG --modversion $pkg_name | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + gimp_pkg_minor_version=`$PKG_CONFIG --modversion $pkg_name | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + gimp_pkg_micro_version=`$PKG_CONFIG --modversion $pkg_name | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_gimptest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GIMP_CFLAGS" + LIBS="$GIMP_LIBS $LIBS" + +dnl +dnl Now check if the installed GIMP is sufficiently new. (Also sanity +dnl checks the results of pkg-config to some extent +dnl + rm -f conf.gimptest + AC_TRY_RUN([ +#include +#include + +#include + +GimpPlugInInfo PLUG_IN_INFO = +{ + NULL, /* init_proc */ + NULL, /* quit_proc */ + NULL, /* query_proc */ + NULL /* run_proc */ +}; + +int main () +{ + int major, minor, micro; + char *tmp_version; + + system ("touch conf.gimptest"); + + /* HP/UX 9 (%@#!) writes to sscanf strings */ + tmp_version = g_strdup("$min_gimp_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gimp_version"); + exit(1); + } + + if (($gimp_pkg_major_version > major) || + (($gimp_pkg_major_version == major) && ($gimp_pkg_minor_version > minor)) || + (($gimp_pkg_major_version == major) && ($gimp_pkg_minor_version == minor) && ($gimp_pkg_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** 'pkg-config --modversion %s' returned %d.%d.%d, but the minimum version\n", "$pkg_name", $gimp_pkg_major_version, $gimp_pkg_minor_version, $gimp_pkg_micro_version); + printf("*** of GIMP required is %d.%d.%d. If pkg-config is correct, then it is\n", major, minor, micro); + printf("*** best to upgrade to the required version.\n"); + printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); + printf("*** to point to the correct the correct configuration files\n"); + return 1; + } +} + +],, no_gimp=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_gimp" = x ; then + AC_MSG_RESULT(yes (version $gimp_pkg_major_version.$gimp_pkg_minor_version.$gimp_pkg_micro_version)) + ifelse([$2], , :, [$2]) + else + if test "$PKG_CONFIG" = "no" ; then + echo "*** A new enough version of pkg-config was not found." + echo "*** See http://www.freedesktop.org/software/pkgconfig/" + else + if test -f conf.gimptest ; then + : + else + echo "" + echo "*** Could not run GIMP test program, checking why..." + CFLAGS="$CFLAGS $GIMP_CFLAGS" + LIBS="$LIBS $GIMP_LIBS" + AC_TRY_LINK([ +#include +#include + +GimpPlugInInfo PLUG_IN_INFO = +{ + NULL, /* init_proc */ + NULL, /* quit_proc */ + NULL, /* query_proc */ + NULL /* run_proc */ +}; +], [ return 0; ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GIMP or finding the wrong" + echo "*** version of GIMP. If it is not finding GIMP, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means GIMP is incorrectly installed." + echo "*** When gimp-2.0 is not installed but gimp-1.x is installed then you can" + echo "*** ignore this error message."]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + GIMP_CFLAGS="" + GIMP_LIBS="" + GIMP_CFLAGS_NOUI="" + GIMP_LIBS_NOUI="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(GIMP_CFLAGS) + AC_SUBST(GIMP_LIBS) + AC_SUBST(GIMP_CFLAGS_NOUI) + AC_SUBST(GIMP_LIBS_NOUI) + AC_SUBST(GIMP_DATA_DIR) + AC_SUBST(GIMP_PLUGIN_DIR) + rm -f conf.gimptest +]) diff --git a/m4/gimp-orauch.m4 b/m4/gimp-orauch.m4 new file mode 100644 index 0000000..ad15c0b --- /dev/null +++ b/m4/gimp-orauch.m4 @@ -0,0 +1,251 @@ +###################################################################### +# Configure paths for The GIMP +# Oliver Rauch 2000-12-28, Changes 2004-04-20 +# Parts from the original gimp.m4 +# with extensions that this version can handle gimp-1.0.x + +dnl AM_PATH_GIMP_ORAUCH([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for GIMP, and define GIMP_CFLAGS and GIMP_LIBS +dnl +AC_DEFUN(AM_PATH_GIMP_ORAUCH, +[dnl +dnl Get the cflags and libraries from the gimp-config script +dnl + AC_ARG_WITH(gimp-prefix,[ --with-gimp-prefix=PFX Prefix where GIMP is installed (optional)], + gimp_config_prefix="$withval", gimp_config_prefix="") + AC_ARG_WITH(gimp-exec-prefix,[ --with-gimp-exec-prefix=PFX Exec prefix where GIMP is installed (optional)], + gimp_config_exec_prefix="$withval", gimp_config_exec_prefix="") + AC_ARG_ENABLE(gimptest, [ --disable-gimptest do not try to compile and run a test GIMP program], , enable_gimptest=yes) + + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + ac_save_GTK_CFLAGS="$GTK_CFLAGS" + ac_save_GTK_LIBS="$GTK_LIBS" + + if test x$gimp_config_exec_prefix != x ; then + gimp_config_args="$gimp_config_args --exec-prefix=$gimp_config_exec_prefix" + if test x${GIMP_CONFIG+set} != xset ; then + GIMP_CONFIG=$gimp_config_exec_prefix/bin/gimp-config + fi + fi + + if test x$gimp_config_prefix != x ; then + gimp_config_args="$gimp_config_args --prefix=$gimp_config_prefix" + if test x${GIMP_CONFIG+set} != xset ; then + GIMP_CONFIG=$gimp_config_prefix/bin/gimp-config + fi + fi + + AC_PATH_PROG(GIMP_CONFIG, gimp-config, no) + if test "$GIMP_CONFIG" = "no" ; then + if test x$gimp_config_exec_prefix != x ; then + gimp_config_args="$gimp_config_args --exec-prefix=$gimp_config_exec_prefix" + if test x${GIMP_TOOL+set} != xset ; then + GIMP_TOOL=$gimp_config_exec_prefix/bin/gimptool + fi + fi + if test x$gimp_config_prefix != x ; then + gimp_config_args="$gimp_config_args --prefix=$gimp_config_prefix" + if test x${GIMP_TOOL+set} != xset ; then + GIMP_TOOL=$gimp_config_prefix/bin/gimptool + fi + fi + AC_PATH_PROG(GIMP_TOOL, gimptool, no) + GIMP_CONFIG=$GIMP_TOOL + fi + + min_gimp_version=ifelse([$1], ,1.0.0,$1) + no_gimp="" + + if test "$GIMP_CONFIG" = "no" ; then +dnl we do not have gimp-config (gimp-1.0.x does not have gimp-config) +dnl so we have to use the GTK_* things for testing for gimp.h and gimpfeatures.h + ac_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} ${GTK_CFLAGS}" + AC_CHECK_HEADERS(libgimp/gimp.h, GIMP_LIBS="-lgimp", no_gimp=yes) + AC_CHECK_HEADERS(libgimp/gimpfeatures.h) + CPPFLAGS="$ac_save_CPPFLAGS" + CFLAGS="${CFLAGS} ${GTK_CFLAGS}" + LIBS="${LIBS} ${GTK_LIBS} ${GIMP_LIBS}" + + if test "x$no_gimp" = x ; then + dnl *** we have found libgimp/gimp.h *** + AC_MSG_CHECKING(GIMP compilation) + gimp_config_major_version=-1 + gimp_config_minor_version=0 + gimp_config_micro_version=0 + fi + else +dnl Ok, we have gimp-config and so we do not need the GTK_* things because they are +dnl included in the output of gimp-config + GTK_CFLAGS="" + GTK_LIBS="" + GIMP_CFLAGS=`$GIMP_CONFIG $gimp_config_args --cflags` + GIMP_LIBS=`$GIMP_CONFIG $gimp_config_args --libs`" -lgimp" + gimp_config_major_version=`$GIMP_CONFIG $gimp_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + gimp_config_minor_version=`$GIMP_CONFIG $gimp_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + gimp_config_micro_version=`$GIMP_CONFIG $gimp_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + CFLAGS="${CFLAGS} ${GIMP_CFLAGS}" + LIBS="${LIBS} ${GIMP_LIBS}" + AC_MSG_CHECKING(for GIMP - version >= $min_gimp_version) + fi + +dnl +dnl Now check if the installed GIMP is sufficiently new. (Also sanity +dnl checks the results of gimp-config to some extent +dnl + if test "x$no_gimp" = x ; then + if test "$enable_gimptest" = "yes" ; then + rm -f conf.gimptest + AC_TRY_RUN([ +#include +#include + +#define GIMP_TEST_CHECK_VERSION(major, minor, micro) \ + ($gimp_config_major_version > (major) || \ + ($gimp_config_major_version == (major) && $gimp_config_minor_version > (minor)) || \ + ($gimp_config_major_version == (major) && $gimp_config_minor_version == (minor) && \ + $gimp_config_micro_version >= (micro))) + +#if !GIMP_TEST_CHECK_VERSION(1,1,25) +# define GimpPlugInInfo GPlugInInfo /* do test with gimp interface version 1.0 */ +#endif + +GimpPlugInInfo PLUG_IN_INFO = +{ + NULL, NULL, NULL, NULL +}; + + +int +main () +{ + int major, minor, micro; + + system ("touch conf.gimptest"); + + if (sscanf("$min_gimp_version", "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gimp_version"); + exit(1); + } + + if ( ($gimp_config_major_version != -1) && + ((gimp_major_version != $gimp_config_major_version) || + (gimp_minor_version != $gimp_config_minor_version) || + (gimp_micro_version != $gimp_config_micro_version)) ) + { + printf("\n*** 'gimp-config --version' returned %d.%d.%d, but GIMP (%d.%d.%d)\n", + $gimp_config_major_version, $gimp_config_minor_version, $gimp_config_micro_version, + gimp_major_version, gimp_minor_version, gimp_micro_version); + printf ("*** was found! If gimp-config was correct, then it is best\n"); + printf ("*** to remove the old version of GIMP. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If gimp-config was wrong, set the environment variable GIMP_CONFIG\n"); + printf("*** to point to the correct copy of gimp-config, and remove the file config.cache\n"); + printf("*** before re-running configure\n"); + } + else + { + if ((gimp_major_version > major) || + ((gimp_major_version == major) && (gimp_minor_version > minor)) || + ((gimp_major_version == major) && (gimp_minor_version == minor) && (gimp_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GIMP (%d.%d.%d) was found.\n", + gimp_major_version, gimp_minor_version, gimp_micro_version); + printf("*** You need a version of GIMP newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + printf("*** GIMP is always available from ftp://ftp.gimp.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the gimp-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GIMP, but you can also set the GIMP_CONFIG environment to point to the\n"); + printf("*** correct copy of gimp-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } + return 1; +} +], , no_gimp=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + fi + fi + + if test "x$no_gimp" = x ; then + dnl *** gimp test succeeded or not tested *** + if test "$enable_gimptest" = "yes" ; then + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(not tested) + fi + if test "$GIMP_CONFIG" != "no" ; then + ac_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} ${GIMP_CFLAGS}" + AC_CHECK_HEADERS(libgimp/gimp.h) + AC_CHECK_HEADERS(libgimp/gimpfeatures.h) + CPPFLAGS="$ac_save_CPPFLAGS" + fi + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test -f conf.gimptest ; then + : + else + echo "" + echo "*** Could not run GIMP test program, checking why..." + CFLAGS="$CFLAGS $GIMP_CFLAGS" + LIBS="$LIBS $GIMP_LIBS" + AC_TRY_LINK([ +#include +#include +#define GIMP_TEST_CHECK_VERSION(major, minor, micro) \ + ($gimp_config_major_version > (major) || \ + ($gimp_config_major_version == (major) && $gimp_config_minor_version > (minor)) || \ + ($gimp_config_major_version == (major) && $gimp_config_minor_version == (minor) && \ + $gimp_config_micro_version >= (micro))) + +#if !GIMP_TEST_CHECK_VERSION(1,1,25) +# define GimpPlugInInfo GPlugInInfo /* do test with gimp interface version 1.0 */ +#endif +GimpPlugInInfo PLUG_IN_INFO = { NULL, NULL, NULL, NULL }; +], [ return ((gimp_major_version) || (gimp_minor_version) || (gimp_micro_version)); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GIMP or finding the wrong" + echo "*** version of GIMP. If it is not finding GIMP, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" + echo "***" + echo "***" ]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + + dnl *** ok, gimp does not work, so we have to use the gtk_* things again *** + GIMP_CFLAGS="" + GIMP_LIBS="" + GTK_CFLAGS="$ac_save_GTK_CFLAGS" + GTK_LIBS="$ac_save_GTK_LIBS" + CFLAGS="${CFLAGS} ${GTK_CFLAGS}" + LIBS="${LIBS} ${GTK_LIBS}" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(GIMP_CFLAGS) + AC_SUBST(GIMP_LIBS) + rm -f conf.gimptest +]) + diff --git a/m4/gtk-2.0.m4 b/m4/gtk-2.0.m4 new file mode 100644 index 0000000..a0c53ac --- /dev/null +++ b/m4/gtk-2.0.m4 @@ -0,0 +1,196 @@ +# Configure paths for GTK+ +# Owen Taylor 1997-2001 + +dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) +dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES, +dnl pass to pkg-config +dnl +AC_DEFUN(AM_PATH_GTK_2_0, +[dnl +dnl Get the cflags and libraries from pkg-config +dnl +AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program], + , enable_gtktest=yes) + + pkg_config_args=gtk+-2.0 + for module in . $4 + do + case "$module" in + gthread) + pkg_config_args="$pkg_config_args gthread-2.0" + ;; + esac + done + + no_gtk="" + + AC_PATH_PROG(PKG_CONFIG, pkg-config, no) + + if test x$PKG_CONFIG != xno ; then + if pkg-config --atleast-pkgconfig-version 0.7 ; then + : + else + echo *** pkg-config too old; version 0.7 or better required. + no_gtk=yes + PKG_CONFIG=no + fi + else + no_gtk=yes + fi + + min_gtk_version=ifelse([$1], ,2.0.0,$1) + AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version) + + if test x$PKG_CONFIG != xno ; then + ## don't try to run the test against uninstalled libtool libs + if $PKG_CONFIG --uninstalled $pkg_config_args; then + echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH" + enable_gtktest=no + fi + + if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then + : + else + no_gtk=yes + fi + fi + + if test x"$no_gtk" = x ; then + GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` + GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs` + gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_gtktest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$GTK_LIBS $LIBS" +dnl +dnl Now check if the installed GTK+ is sufficiently new. (Also sanity +dnl checks the results of pkg-config to some extent) +dnl + rm -f conf.gtktest + AC_TRY_RUN([ +#include +#include +#include + +int +main () +{ + int major, minor, micro; + char *tmp_version; + + system ("touch conf.gtktest"); + + /* HP/UX 9 (%@#!) writes to sscanf strings */ + tmp_version = g_strdup("$min_gtk_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gtk_version"); + exit(1); + } + + if ((gtk_major_version != $gtk_config_major_version) || + (gtk_minor_version != $gtk_config_minor_version) || + (gtk_micro_version != $gtk_config_micro_version)) + { + printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", + $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf ("*** was found! If pkg-config was correct, then it is best\n"); + printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); + printf("*** to point to the correct configuration files\n"); + } + else if ((gtk_major_version != GTK_MAJOR_VERSION) || + (gtk_minor_version != GTK_MINOR_VERSION) || + (gtk_micro_version != GTK_MICRO_VERSION)) + { + printf("*** GTK+ header files (version %d.%d.%d) do not match\n", + GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); + printf("*** library (version %d.%d.%d)\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + } + else + { + if ((gtk_major_version > major) || + ((gtk_major_version == major) && (gtk_minor_version > minor)) || + ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n"); + printf("*** correct copy of pkg-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } + return 1; +} +],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_gtk" = x ; then + AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$PKG_CONFIG" = "no" ; then + echo "*** A new enough version of pkg-config was not found." + echo "*** See http://pkgconfig.sourceforge.net" + else + if test -f conf.gtktest ; then + : + else + echo "*** Could not run GTK+ test program, checking why..." + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$LIBS $GTK_LIBS" + AC_TRY_LINK([ +#include +#include +], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GTK+ or finding the wrong" + echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + GTK_CFLAGS="" + GTK_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) + rm -f conf.gtktest +]) diff --git a/m4/gtk.m4 b/m4/gtk.m4 new file mode 100644 index 0000000..d01e03a --- /dev/null +++ b/m4/gtk.m4 @@ -0,0 +1,194 @@ +# Configure paths for GTK+ +# Owen Taylor 97-11-3 + +dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) +dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS +dnl +AC_DEFUN(AM_PATH_GTK, +[dnl +dnl Get the cflags and libraries from the gtk-config script +dnl +AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)], + gtk_config_prefix="$withval", gtk_config_prefix="") +AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)], + gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="") +AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program], + , enable_gtktest=yes) + + for module in . $4 + do + case "$module" in + gthread) + gtk_config_args="$gtk_config_args gthread" + ;; + esac + done + + if test x$gtk_config_exec_prefix != x ; then + gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" + if test x${GTK_CONFIG+set} != xset ; then + GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config + fi + fi + if test x$gtk_config_prefix != x ; then + gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" + if test x${GTK_CONFIG+set} != xset ; then + GTK_CONFIG=$gtk_config_prefix/bin/gtk-config + fi + fi + + AC_PATH_PROG(GTK_CONFIG, gtk-config, no) + min_gtk_version=ifelse([$1], ,0.99.7,$1) + AC_MSG_CHECKING(for GTK - version >= $min_gtk_version) + no_gtk="" + if test "$GTK_CONFIG" = "no" ; then + no_gtk=yes + else + GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` + GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs` + gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_gtktest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$GTK_LIBS $LIBS" +dnl +dnl Now check if the installed GTK is sufficiently new. (Also sanity +dnl checks the results of gtk-config to some extent +dnl + rm -f conf.gtktest + AC_TRY_RUN([ +#include +#include +#include + +int +main () +{ + int major, minor, micro; + char *tmp_version; + + system ("touch conf.gtktest"); + + /* HP/UX 9 (%@#!) writes to sscanf strings */ + tmp_version = g_strdup("$min_gtk_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gtk_version"); + exit(1); + } + + if ((gtk_major_version != $gtk_config_major_version) || + (gtk_minor_version != $gtk_config_minor_version) || + (gtk_micro_version != $gtk_config_micro_version)) + { + printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", + $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf ("*** was found! If gtk-config was correct, then it is best\n"); + printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); + printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); + printf("*** before re-running configure\n"); + } +#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION) + else if ((gtk_major_version != GTK_MAJOR_VERSION) || + (gtk_minor_version != GTK_MINOR_VERSION) || + (gtk_micro_version != GTK_MICRO_VERSION)) + { + printf("*** GTK+ header files (version %d.%d.%d) do not match\n", + GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); + printf("*** library (version %d.%d.%d)\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + } +#endif /* defined (GTK_MAJOR_VERSION) ... */ + else + { + if ((gtk_major_version > major) || + ((gtk_major_version == major) && (gtk_minor_version > minor)) || + ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); + printf("*** correct copy of gtk-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } + return 1; +} +],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_gtk" = x ; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$GTK_CONFIG" = "no" ; then + echo "*** The gtk-config script installed by GTK could not be found" + echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the GTK_CONFIG environment variable to the" + echo "*** full path to gtk-config." + else + if test -f conf.gtktest ; then + : + else + echo "*** Could not run GTK test program, checking why..." + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$LIBS $GTK_LIBS" + AC_TRY_LINK([ +#include +#include +], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GTK or finding the wrong" + echo "*** version of GTK. If it is not finding GTK, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" + echo "***" + echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" + echo "*** came with the system with the command" + echo "***" + echo "*** rpm --erase --nodeps gtk gtk-devel" ], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means GTK was incorrectly installed" + echo "*** or that you have moved GTK since it was installed. In the latter case, you" + echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + GTK_CFLAGS="" + GTK_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) + rm -f conf.gtktest +]) diff --git a/m4/msnative-struct.m4 b/m4/msnative-struct.m4 new file mode 100644 index 0000000..84d773e --- /dev/null +++ b/m4/msnative-struct.m4 @@ -0,0 +1,48 @@ +############################################################# +# when compiling on Win32 we have to add the option +# -fnative-struct for gcc2 or +# --mms-bitfields for gcc3 +# parts from glib configure.in + +dnl AC_GCC_MSNATIVE_STRUCT +dnl test if gcc supports option for MSnative struct +dnl +AC_DEFUN(AC_GCC_MSNATIVE_STRUCT, +[dnl +dnl Add ms native struct gcc option to CFLAGS if available +dnl +dnl if test x"$glib_native_win32" = xyes; then + AC_CHECK_HEADERS(windows.h, + [ + if test x"$GCC" = xyes; then + msnative_struct='' + AC_MSG_CHECKING([how to get MSVC-compatible struct packing]) + if test -z "$ac_cv_prog_CC"; then + our_gcc="$CC" + else + our_gcc="$ac_cv_prog_CC" + fi + case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in + 2.) + if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then + msnative_struct='-fnative-struct' + fi + ;; + *) + if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then + msnative_struct='-mms-bitfields' + fi + ;; + esac + if test x"$msnative_struct" = x ; then + AC_MSG_RESULT([no way]) + AC_MSG_WARN([produced libraries might be incompatible with MSVC-compiled code]) + else + CFLAGS="$CFLAGS $msnative_struct" + AC_MSG_RESULT([${msnative_struct}]) + fi + fi +dnl fi + ]) +]) + diff --git a/m4/old/aclocal.m4-0.92 b/m4/old/aclocal.m4-0.92 new file mode 100644 index 0000000..d9d0216 --- /dev/null +++ b/m4/old/aclocal.m4-0.92 @@ -0,0 +1,1086 @@ +###################################################################### +# Configure paths for GTK+2 +# Oliver Rauch 2002-06-17 + +dnl AM_PATH_GTK2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for GTK+-2.0.x, and define GTK_CFLAGS and GTK_LIBS +dnl +AC_DEFUN(AM_PATH_GTK2, +[ + AC_ARG_ENABLE(gtk2, [ --disable-gtk2 Do not use gtk+-2.0.x], USE_GTK2=$enableval, USE_GTK2=yes) + + if test $USE_GTK2 != no ; then + min_gtk_version=ifelse([$1], ,2.0.0,$1) + if `pkg-config --atleast-pkgconfig-version=0` ; then + AC_MSG_CHECKING(for GTK - version >= $min_gtk_version) + if `pkg-config gtk+-2.0 --atleast-version=$min_gtk_version` ; then + GTK_CFLAGS=`pkg-config gtk+-2.0 --cflags` + GTK_LIBS=`pkg-config gtk+-2.0 --libs` + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + ifelse([$3], , :, [$3]) + fi + else + AC_MSG_WARN(***************************************************************) + AC_MSG_WARN(*** pgk-config is not avilable: test for gtk2 not possible ****) + AC_MSG_WARN(***************************************************************) + ifelse([$3], , :, [$3]) + fi + else + ifelse([$3], , :, [$3]) + fi + + + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) +] +) + +# Configure paths for GTK+ +# Owen Taylor 97-11-3 +dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS +dnl +AC_DEFUN(AM_PATH_GTK, +[dnl +dnl Get the cflags and libraries from the gtk-config script +dnl + AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)], + gtk_config_prefix="$withval", gtk_config_prefix="") + AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)], + gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="") + AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program], , enable_gtktest=yes) + + if test x$gtk_config_exec_prefix != x ; then + gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" + if test x${GTK_CONFIG+set} != xset ; then + GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config + fi + fi + if test x$gtk_config_prefix != x ; then + gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" + if test x${GTK_CONFIG+set} != xset ; then + GTK_CONFIG=$gtk_config_prefix/bin/gtk-config + fi + fi + + AC_PATH_PROG(GTK_CONFIG, gtk-config, no) + min_gtk_version=ifelse([$1], ,0.99.7,$1) + AC_MSG_CHECKING(for GTK - version >= $min_gtk_version) + no_gtk="" + if test "$GTK_CONFIG" = "no" ; then + no_gtk=yes + else + GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` + GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs` + gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_gtktest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$LIBS $GTK_LIBS" +dnl +dnl Now check if the installed GTK is sufficiently new. (Also sanity +dnl checks the results of gtk-config to some extent) +dnl + rm -f conf.gtktest + AC_TRY_RUN([ +#include +#include + +int +main () +{ + int major, minor, micro; + + system ("touch conf.gtktest"); + + if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gtk_version"); + exit(1); + } + + if ((gtk_major_version != $gtk_config_major_version) || + (gtk_minor_version != $gtk_config_minor_version) || + (gtk_micro_version != $gtk_config_micro_version)) + { + printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", + $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf ("*** was found! If gtk-config was correct, then it is best\n"); + printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); + printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); + printf("*** before re-running configure\n"); + } + else + { + if ((gtk_major_version > major) || + ((gtk_major_version == major) && (gtk_minor_version > minor)) || + ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); + printf("*** correct copy of gtk-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } + return 1; +} +],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_gtk" = x ; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$GTK_CONFIG" = "no" ; then + echo "*** The gtk-config script installed by GTK could not be found" + echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the GTK_CONFIG environment variable to the" + echo "*** full path to gtk-config." + else + if test -f conf.gtktest ; then + : + else + echo "*** Could not run GTK test program, checking why..." + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$LIBS $GTK_LIBS" + AC_TRY_LINK([ +#include +#include +], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GTK or finding the wrong" + echo "*** version of GTK. If it is not finding GTK, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" + echo "***" + echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" + echo "*** came with the system with the command" + echo "***" + echo "*** rpm --erase --nodeps gtk gtk-devel" ], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means GTK was incorrectly installed" + echo "*** or that you have moved GTK since it was installed. In the latter case, you" + echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + GTK_CFLAGS="" + GTK_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) + rm -f conf.gtktest +]) + + +###################################################################### +# Configure paths for The GIMP +# Oliver Rauch 2000-12-28 + +dnl AM_PATH_GIMP([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for GIMP, and define GIMP_CFLAGS and GIMP_LIBS +dnl +AC_DEFUN(AM_PATH_GIMP, +[dnl +dnl Get the cflags and libraries from the gimp-config script +dnl + AC_ARG_WITH(gimp-prefix,[ --with-gimp-prefix=PFX Prefix where GIMP is installed (optional)], + gimp_config_prefix="$withval", gimp_config_prefix="") + AC_ARG_WITH(gimp-exec-prefix,[ --with-gimp-exec-prefix=PFX Exec prefix where GIMP is installed (optional)], + gimp_config_exec_prefix="$withval", gimp_config_exec_prefix="") + AC_ARG_ENABLE(gimptest, [ --disable-gimptest Do not try to compile and run a test GIMP program], , enable_gimptest=yes) + + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + ac_save_GTK_CFLAGS="$GTK_CFLAGS" + ac_save_GTK_LIBS="$GTK_LIBS" + + if test x$gimp_config_exec_prefix != x ; then + gimp_config_args="$gimp_config_args --exec-prefix=$gimp_config_exec_prefix" + if test x${GIMP_CONFIG+set} != xset ; then + GIMP_CONFIG=$gimp_config_exec_prefix/bin/gimp-config + fi + fi + + if test x$gimp_config_prefix != x ; then + gimp_config_args="$gimp_config_args --prefix=$gimp_config_prefix" + if test x${GIMP_CONFIG+set} != xset ; then + GIMP_CONFIG=$gimp_config_prefix/bin/gimp-config + fi + fi + + AC_PATH_PROG(GIMP_CONFIG, gimp-config, no) + if test "$GIMP_CONFIG" = "no" ; then + if test x$gimp_config_exec_prefix != x ; then + gimp_config_args="$gimp_config_args --exec-prefix=$gimp_config_exec_prefix" + if test x${GIMP_TOOL+set} != xset ; then + GIMP_TOOL=$gimp_config_exec_prefix/bin/gimptool + fi + fi + if test x$gimp_config_prefix != x ; then + gimp_config_args="$gimp_config_args --prefix=$gimp_config_prefix" + if test x${GIMP_TOOL+set} != xset ; then + GIMP_TOOL=$gimp_config_prefix/bin/gimptool + fi + fi + AC_PATH_PROG(GIMP_TOOL, gimptool, no) + GIMP_CONFIG=$GIMP_TOOL + fi + + min_gimp_version=ifelse([$1], ,1.0.0,$1) + no_gimp="" + + if test "$GIMP_CONFIG" = "no" ; then +dnl we do not have gimp-config (gimp-1.0.x does not have gimp-config) +dnl so we have to use the GTK_* things for testing for gimp.h and gimpfeatures.h + ac_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} ${GTK_CFLAGS}" + AC_CHECK_HEADERS(libgimp/gimp.h, GIMP_LIBS="-lgimp", no_gimp=yes) + AC_CHECK_HEADERS(libgimp/gimpfeatures.h) + CPPFLAGS="$ac_save_CPPFLAGS" + CFLAGS="${CFLAGS} ${GTK_CFLAGS}" + LIBS="${LIBS} ${GTK_LIBS} ${GIMP_LIBS}" + if test "x$no_gimp" = x ; then + AC_MSG_CHECKING(GIMP compilation) + gimp_config_major_version=-1 + gimp_config_minor_version=0 + gimp_config_micro_version=0 + fi + else +dnl Ok, we have gimp-config and so we do not need the GTK_* things because they are +dnl included in the output of gimp-config + GTK_CFLAGS="" + GTK_LIBS="" + GIMP_CFLAGS=`$GIMP_CONFIG $gimp_config_args --cflags` + GIMP_LIBS=`$GIMP_CONFIG $gimp_config_args --libs`" -lgimp" + gimp_config_major_version=`$GIMP_CONFIG $gimp_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + gimp_config_minor_version=`$GIMP_CONFIG $gimp_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + gimp_config_micro_version=`$GIMP_CONFIG $gimp_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + CFLAGS="${CFLAGS} ${GIMP_CFLAGS}" + LIBS="${LIBS} ${GIMP_LIBS}" + AC_MSG_CHECKING(for GIMP - version >= $min_gimp_version) + fi + +dnl +dnl Now check if the installed GIMP is sufficiently new. (Also sanity +dnl checks the results of gimp-config to some extent +dnl + if test "x$no_gimp" = x ; then + if test "x$enable_gimptest" = "xyes" ; then + rm -f conf.gimptest + AC_TRY_RUN([ +#include +#include + +#define GIMP_TEST_CHECK_VERSION(major, minor, micro) \ + ($gimp_config_major_version > (major) || \ + ($gimp_config_major_version == (major) && $gimp_config_minor_version > (minor)) || \ + ($gimp_config_major_version == (major) && $gimp_config_minor_version == (minor) && \ + $gimp_config_micro_version >= (micro))) + +#if !GIMP_TEST_CHECK_VERSION(1,1,25) +# define GimpPlugInInfo GPlugInInfo /* do test with gimp interface version 1.0 */ +#endif + +GimpPlugInInfo PLUG_IN_INFO = +{ + NULL, NULL, NULL, NULL +}; + + +int +main () +{ + int major, minor, micro; + + system ("touch conf.gimptest"); + + if (sscanf("$min_gimp_version", "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gimp_version"); + exit(1); + } + + if ( ($gimp_config_major_version != -1) && + ((gimp_major_version != $gimp_config_major_version) || + (gimp_minor_version != $gimp_config_minor_version) || + (gimp_micro_version != $gimp_config_micro_version)) ) + { + printf("\n*** 'gimp-config --version' returned %d.%d.%d, but GIMP (%d.%d.%d)\n", + $gimp_config_major_version, $gimp_config_minor_version, $gimp_config_micro_version, + gimp_major_version, gimp_minor_version, gimp_micro_version); + printf ("*** was found! If gimp-config was correct, then it is best\n"); + printf ("*** to remove the old version of GIMP. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If gimp-config was wrong, set the environment variable GIMP_CONFIG\n"); + printf("*** to point to the correct copy of gimp-config, and remove the file config.cache\n"); + printf("*** before re-running configure\n"); + } + else + { + if ((gimp_major_version > major) || + ((gimp_major_version == major) && (gimp_minor_version > minor)) || + ((gimp_major_version == major) && (gimp_minor_version == minor) && (gimp_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GIMP (%d.%d.%d) was found.\n", + gimp_major_version, gimp_minor_version, gimp_micro_version); + printf("*** You need a version of GIMP newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + printf("*** GIMP is always available from ftp://ftp.gimp.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the gimp-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GIMP, but you can also set the GIMP_CONFIG environment to point to the\n"); + printf("*** correct copy of gimp-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } + return 1; +} +], , no_gimp=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + fi + fi + + if test "x$no_gimp" = x ; then +dnl gimp test succeeded or not tested + if test "x$enable_gimptest" = "xyes" ; then + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(not tested) + fi + if test "$GIMP_CONFIG" != "no" ; then + ac_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} ${GIMP_CFLAGS}" + AC_CHECK_HEADERS(libgimp/gimp.h) + AC_CHECK_HEADERS(libgimp/gimpfeatures.h) + CPPFLAGS="$ac_save_CPPFLAGS" + fi + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test -f conf.gimptest ; then + : + else + echo "*** Could not run GIMP test program, checking why..." + CFLAGS="$CFLAGS $GIMP_CFLAGS" + LIBS="$LIBS $GIMP_LIBS" + AC_TRY_LINK([ +#include +#include +#define GIMP_TEST_CHECK_VERSION(major, minor, micro) \ + ($gimp_config_major_version > (major) || \ + ($gimp_config_major_version == (major) && $gimp_config_minor_version > (minor)) || \ + ($gimp_config_major_version == (major) && $gimp_config_minor_version == (minor) && \ + $gimp_config_micro_version >= (micro))) + +#if !GIMP_TEST_CHECK_VERSION(1,1,25) +# define GimpPlugInInfo GPlugInInfo /* do test with gimp interface version 1.0 */ +#endif +GimpPlugInInfo PLUG_IN_INFO = { NULL, NULL, NULL, NULL }; +], [ return ((gimp_major_version) || (gimp_minor_version) || (gimp_micro_version)); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GIMP or finding the wrong" + echo "*** version of GIMP. If it is not finding GIMP, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" + echo "***" + echo "***" ]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi +dnl ok, gimp does not work, so we have to use the gtk_* things again + GIMP_CFLAGS="" + GIMP_LIBS="" + GTK_CFLAGS="$ac_save_GTK_CFLAGS" + GTK_LIBS="$ac_save_GTK_LIBS" + CFLAGS="${CFLAGS} ${GTK_CFLAGS}" + LIBS="${LIBS} ${GTK_LIBS} ${GIMP_LIBS}" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(GIMP_CFLAGS) + AC_SUBST(GIMP_LIBS) + rm -f conf.gimptest +]) + + +# ******************************************************************** +# Configure paths for SANE +# Oliver Rauch 2000-10-30 + +dnl AM_PATH_SANE([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for SANE, and define SANE_CFLAGS and SANE_LIBS +dnl +AC_DEFUN(AM_PATH_SANE, +[dnl +dnl Get the cflags and libraries from the sane-config script +dnl + AC_ARG_ENABLE(sanetest, [ --disable-sanetest Do not try to compile and run a test SANE program], , enable_sanetest=yes) + + AC_PATH_PROG(SANE_CONFIG, sane-config, no) + min_sane_version=ifelse([$1], ,1.0.0,$1) + AC_MSG_CHECKING(for SANE - version >= $min_sane_version) + no_sane="" + if test "$SANE_CONFIG" = "no" ; then + no_sane=yes + else + SANE_CFLAGS=`$SANE_CONFIG $sane_config_args --cflags` + SANE_LDFLAGS=`$SANE_CONFIG $sane_config_args --ldflags` +# SANE_LIBS=`$SANE_CONFIG $sane_config_args --libs` + SANE_LIBS=`$SANE_CONFIG $sane_config_args --libs | sed -e 's/-lintl//g'` + SANE_PREFIX=`$SANE_CONFIG $sane_config_args --prefix` + sane_config_major_version=`$SANE_CONFIG $sane_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + sane_config_minor_version=`$SANE_CONFIG $sane_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + sane_config_micro_version=`$SANE_CONFIG $sane_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_sanetest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LDFLAGS="$LDFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $SANE_CFLAGS" + LDFLAGS="$LDFLAGS $SANE_LDFLAGS" + LIBS="$LIBS $SANE_LIBS" +dnl +dnl Now check if the installed SANE is sufficiently new. (Also sanity +dnl checks the results of sane-config to some extent +dnl + rm -f conf.sanetest + AC_TRY_RUN([ +#include +#include + +int +main () +{ + int major, minor, micro; + + system ("touch conf.sanetest"); + + if (sscanf("$min_sane_version", "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_sane_version"); + exit(1); + } + + if ( ($sane_config_major_version == major) && + ( ($sane_config_minor_version > minor) || + ( ($sane_config_minor_version == minor) && ($sane_config_micro_version >= micro)))) + { + return 0; + } + else if ($sane_config_major_version > major) + { + printf("\n*** A too new version of SANE (%d.%d.%d) was found.\n", + $sane_config_major_version, $sane_config_minor_version, $sane_config_micro_version); + printf("*** You need a version of SANE with the major version number %d.\n", major); + } + else + { + printf("\n*** An old version of SANE (%d.%d.%d) was found.\n", + $sane_config_major_version, $sane_config_minor_version, $sane_config_micro_version); + printf("*** You need a version of SANE newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + } + + printf("*** SANE is always available from ftp://ftp.mostang.com\n"); + printf("***\n"); + printf("*** If you have already installed a sufficient version, this error\n"); + printf("*** probably means that the wrong copy of the sane-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of SANE, but you can also set the SANE_CONFIG environment to point to the\n"); + printf("*** correct copy of sane-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + + return 1; +} +],, no_sane=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LDFLAGS="$ac_save_LDFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_sane" = x ; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$SANE_CONFIG" = "no" ; then + echo "*** The sane-config script installed by SANE could not be found" + echo "*** If SANE was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the SANE_CONFIG environment variable to the" + echo "*** full path to sane-config." + else + if test -f conf.sanetest ; then + : + else + echo "*** Could not run SANE test program, checking why..." + CFLAGS="$CFLAGS $SANE_CFLAGS" + LIBS="$LIBS $SANE_LIBS" + LDFLAGS="$LDFLAGS $SANE_LDFLAGS" + AC_TRY_LINK([ +#include +#include +], [ return (SANE_CURRENT_MAJOR); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding SANE or finding the wrong" + echo "*** version of SANE. If it is not finding SANE, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" + echo "***" ] + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means SANE was incorrectly installed" + echo "*** or that you have moved SANE since it was installed. In the latter case, you" + echo "*** may want to edit the sane-config script: $SANE_CONFIG" ]) + CFLAGS="$ac_save_CFLAGS" + LDFLAGS="$ac_save_LDFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + SANE_CFLAGS="" + SANE_LDFLAGS="" + SANE_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(SANE_LDFLAGS) + AC_SUBST(SANE_CFLAGS) + AC_SUBST(SANE_LIBS) + AC_SUBST(SANE_PREFIX) + rm -f conf.sanetest +]) + +# ******************************************************************** + + +dnl AM_FUNC_ALLOCA +AC_DEFUN(AM_FUNC_ALLOCA, +[AC_REQUIRE([AC_FUNC_ALLOCA])dnl +test $ac_cv_func_alloca_works = no && LTALLOCA=alloca.lo +AC_SUBST(LTALLOCA)dnl +]) + +# @defmac AC_PROG_CC_STDC +# @maindex PROG_CC_STDC +# @ovindex CC +# If the C compiler in not in ANSI C mode by default, try to add an option +# to output variable @code{CC} to make it so. This macro tries various +# options that select ANSI C on some system or another. It considers the +# compiler to be in ANSI C mode if it handles function prototypes correctly. +# +# If you use this macro, you should check after calling it whether the C +# compiler has been set to accept ANSI C; if not, the shell variable +# @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source +# code in ANSI C, you can make an un-ANSIfied copy of it by using the +# program @code{ansi2knr}, which comes with Ghostscript. +# @end defmac + +AC_DEFUN(AM_PROG_CC_STDC, +[AC_REQUIRE([AC_PROG_CC]) +AC_BEFORE([$0], [AC_C_INLINE]) +AC_BEFORE([$0], [AC_C_CONST]) +dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require +dnl a magic option to avoid problems with ANSI preprocessor commands +dnl like #elif. +dnl FIXME: can't do this because then AC_AIX won't work due to a +dnl circular dependency. +dnl AC_BEFORE([$0], [AC_PROG_CPP]) +AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C) +AC_CACHE_VAL(am_cv_prog_cc_stdc, +[am_cv_prog_cc_stdc=no +ac_save_CC="$CC" +# Don't try gcc -ansi; that turns off useful extensions and +# breaks some systems' header files. +# AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 +# HP-UX -Aa -D_HPUX_SOURCE +# SVR4 -Xc -D__EXTENSIONS__ +for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__ +" +do + CC="$ac_save_CC $ac_arg" + AC_TRY_COMPILE( +[#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, + int); +int argc; +char **argv; +], [ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; +], +[am_cv_prog_cc_stdc="$ac_arg"; break]) +done +CC="$ac_save_CC" +]) +if test -z "$am_cv_prog_cc_stdc"; then + AC_MSG_RESULT([none needed]) +else + AC_MSG_RESULT($am_cv_prog_cc_stdc) +fi +case "x$am_cv_prog_cc_stdc" in + x|xno) ;; + *) CC="$CC $am_cv_prog_cc_stdc" ;; +esac +]) + + + + +# ******************************************************************** +dnl aclocal.m4 generated automatically by aclocal 1.2f + +dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. +dnl This Makefile.in is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without +dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A +dnl PARTICULAR PURPOSE. + + +# progtest.m4 from gettext 0.32 +# Search path for a program which passes the given test. +# Ulrich Drepper , 1996. +# +# This file file be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# Please note that the actual code is *not* freely available. + +# serial 1 + +dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) +AC_DEFUN(AM_PATH_PROG_WITH_TEST, +[# Extract the first word of "$2", so it can be a program name with args. +set dummy $2; ac_word=[$]2 +AC_MSG_CHECKING([for $ac_word]) +AC_CACHE_VAL(ac_cv_path_$1, +[case "[$]$1" in + /*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in ifelse([$5], , $PATH, [$5]); do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if [$3]; then + ac_cv_path_$1="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" +dnl If no 4th arg is given, leave the cache variable unset, +dnl so AC_PATH_PROGS will keep looking. +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" +])dnl + ;; +esac])dnl +$1="$ac_cv_path_$1" +if test -n "[$]$1"; then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) + +# ******************************************************************** +# lcmessage.m4 from gettext 0.32 +# Check whether LC_MESSAGES is available in . +# Ulrich Drepper , 1995. +# +# This file file be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# Please note that the actual code is *not* freely available. + +# serial 1 + +AC_DEFUN(AM_LC_MESSAGES, + [if test $ac_cv_header_locale_h = yes; then + AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, + [AC_TRY_LINK([#include ], [return LC_MESSAGES], + am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) + if test $am_cv_val_LC_MESSAGES = yes; then + AC_DEFINE(HAVE_LC_MESSAGES) + fi + fi]) + + +# ******************************************************************** +# gettext.m4 from gettext 0.32 +# Macro to add for using GNU gettext. +# Ulrich Drepper , 1995. +# +# This file file be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# Please note that the actual code is *not* freely available. + +# serial 3 + +AC_DEFUN(AM_WITH_NLS, + [AC_MSG_CHECKING([whether NLS is requested]) + dnl Default is enabled NLS + AC_ARG_ENABLE(nls, + [ --disable-nls do not use Native Language Support], + USE_NLS=$enableval, USE_NLS=yes) + AC_MSG_RESULT($USE_NLS) + AC_SUBST(USE_NLS) + + USE_INCLUDED_LIBINTL=no + + dnl If we use NLS figure out what method + if test "$USE_NLS" = "yes"; then + AC_DEFINE(ENABLE_NLS) + AC_MSG_CHECKING([whether included gettext is requested]) + AC_ARG_WITH(included-gettext, + [ --with-included-gettext use the GNU gettext library included here], + nls_cv_force_use_gnu_gettext=$withval, + nls_cv_force_use_gnu_gettext=no) + AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) + + nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" + if test "$nls_cv_force_use_gnu_gettext" != "yes"; then + dnl User does not insist on using GNU NLS library. Figure out what + dnl to use. If gettext or catgets are available (in this order) we + dnl use this. Else we have to fall back to GNU NLS library. + dnl catgets is only used if permitted by option --with-catgets. + nls_cv_header_intl= + nls_cv_header_libgt= + CATOBJEXT=NONE + + AC_CHECK_HEADER(libintl.h, + [AC_CACHE_CHECK([for gettext in libc], gt_cv_func_gettext_libc, + [AC_TRY_LINK([#include ], [return (int) gettext ("")], + gt_cv_func_gettext_libc=yes, gt_cv_func_gettext_libc=no)]) + + if test "$gt_cv_func_gettext_libc" != "yes"; then + AC_CHECK_LIB(intl, bindtextdomain, + [AC_CACHE_CHECK([for gettext in libintl], + gt_cv_func_gettext_libintl, + [AC_TRY_LINK([], [return (int) gettext ("")], + gt_cv_func_gettext_libintl=yes, + gt_cv_func_gettext_libintl=no)])]) + fi + + if test "$gt_cv_func_gettext_libintl" = "yes"; then + LIBS="-lintl $LIBS" + fi + + if test "$gt_cv_func_gettext_libc" = "yes" \ + || test "$gt_cv_func_gettext_libintl" = "yes"; then + AC_DEFINE(HAVE_GETTEXT) + AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl + if test "$MSGFMT" != "no"; then + AC_CHECK_FUNCS(dcgettext) + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr], + [CATOBJEXT=.gmo + DATADIRNAME=share], + [CATOBJEXT=.mo + DATADIRNAME=lib]) + INSTOBJEXT=.mo + fi + fi + ]) + + if test "$CATOBJEXT" = "NONE"; then + AC_MSG_CHECKING([whether catgets can be used]) + AC_ARG_WITH(catgets, + [ --with-catgets use catgets functions if available], + nls_cv_use_catgets=$withval, nls_cv_use_catgets=no) + AC_MSG_RESULT($nls_cv_use_catgets) + + if test "$nls_cv_use_catgets" = "yes"; then + dnl No gettext in C library. Try catgets next. + AC_CHECK_LIB(i, main) + AC_CHECK_FUNC(catgets, + [AC_DEFINE(HAVE_CATGETS) + INTLOBJS="\$(CATOBJS)" + AC_PATH_PROG(GENCAT, gencat, no)dnl + if test "$GENCAT" != "no"; then + AC_PATH_PROG(GMSGFMT, gmsgfmt, no) + if test "$GMSGFMT" = "no"; then + AM_PATH_PROG_WITH_TEST(GMSGFMT, msgfmt, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no) + fi + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + USE_INCLUDED_LIBINTL=yes + CATOBJEXT=.cat + INSTOBJEXT=.cat + DATADIRNAME=lib + INTLDEPS='$(top_builddir)/intl/libintl.a' + INTLLIBS=$INTLDEPS + LIBS=`echo $LIBS | sed -e 's/-lintl//'` + nls_cv_header_intl=intl/libintl.h + nls_cv_header_libgt=intl/libgettext.h + fi]) + fi + fi + + if test "$CATOBJEXT" = "NONE"; then + dnl Neither gettext nor catgets in included in the C library. + dnl Fall back on GNU gettext library. + nls_cv_use_gnu_gettext=yes + fi + fi + + if test "$nls_cv_use_gnu_gettext" = "yes"; then + dnl Mark actions used to generate GNU NLS library. + INTLOBJS="\$(GETTOBJS)" + AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt) + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + AC_SUBST(MSGFMT) + USE_INCLUDED_LIBINTL=yes + CATOBJEXT=.gmo + INSTOBJEXT=.mo + DATADIRNAME=share + INTLDEPS='$(top_builddir)/intl/libintl.a' + INTLLIBS=$INTLDEPS + LIBS=`echo $LIBS | sed -e 's/-lintl//'` + nls_cv_header_intl=intl/libintl.h + nls_cv_header_libgt=intl/libgettext.h + fi + + dnl Test whether we really found GNU xgettext. + if test "$XGETTEXT" != ":"; then + dnl If it is no GNU xgettext we define it as : so that the + dnl Makefiles still can work. + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then + : ; + else + AC_MSG_RESULT( + [found xgettext programs is not GNU xgettext; ignore it]) + XGETTEXT=":" + fi + fi + + # We need to process the po/ directory. + POSUB=po + else + DATADIRNAME=share + nls_cv_header_intl=intl/libintl.h + nls_cv_header_libgt=intl/libgettext.h + fi + + # If this is used in GNU gettext we have to set USE_NLS to `yes' + # because some of the sources are only built for this goal. + if test "$PACKAGE" = gettext; then + USE_NLS=yes + USE_INCLUDED_LIBINTL=yes + fi + + dnl These rules are solely for the distribution goal. While doing this + dnl we only have to keep exactly one list of the available catalogs + dnl in configure.in. + for lang in $ALL_LINGUAS; do + GMOFILES="$GMOFILES $lang.gmo" + POFILES="$POFILES $lang.po" + done + + dnl Make all variables we use known to autoconf. + AC_SUBST(USE_INCLUDED_LIBINTL) + AC_SUBST(CATALOGS) + AC_SUBST(CATOBJEXT) + AC_SUBST(DATADIRNAME) + AC_SUBST(GMOFILES) + AC_SUBST(INSTOBJEXT) + AC_SUBST(INTLDEPS) + AC_SUBST(INTLLIBS) + AC_SUBST(INTLOBJS) + AC_SUBST(POFILES) + AC_SUBST(POSUB) + ]) + +AC_DEFUN(AM_GNU_GETTEXT, + [AC_REQUIRE([AC_PROG_MAKE_SET])dnl + AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_PROG_RANLIB])dnl + AC_REQUIRE([AC_ISC_POSIX])dnl + AC_REQUIRE([AC_HEADER_STDC])dnl + AC_REQUIRE([AC_C_CONST])dnl + AC_REQUIRE([AC_C_INLINE])dnl + AC_REQUIRE([AC_TYPE_OFF_T])dnl + AC_REQUIRE([AC_TYPE_SIZE_T])dnl + AC_REQUIRE([AC_FUNC_ALLOCA])dnl + AC_REQUIRE([AC_FUNC_MMAP])dnl + + AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h string.h \ +unistd.h values.h sys/param.h]) + AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \ +__argz_count __argz_stringify __argz_next]) + + if test "${ac_cv_func_stpcpy+set}" != "set"; then + AC_CHECK_FUNCS(stpcpy) + fi + if test "${ac_cv_func_stpcpy}" = "yes"; then + AC_DEFINE(HAVE_STPCPY) + fi + + AM_LC_MESSAGES + AM_WITH_NLS + + if test "x$CATOBJEXT" != "x"; then + if test "x$ALL_LINGUAS" = "x"; then + LINGUAS= + else + AC_MSG_CHECKING(for catalogs to be installed) + NEW_LINGUAS= + for lang in ${LINGUAS=$ALL_LINGUAS}; do + case "$ALL_LINGUAS" in + *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; + esac + done + LINGUAS=$NEW_LINGUAS + AC_MSG_RESULT($LINGUAS) + fi + + dnl Construct list of names of catalog files to be constructed. + if test -n "$LINGUAS"; then + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done + fi + fi + + dnl The reference to in the installed file + dnl must be resolved because we cannot expect the users of this + dnl to define HAVE_LOCALE_H. + if test $ac_cv_header_locale_h = yes; then + INCLUDE_LOCALE_H="#include " + else + INCLUDE_LOCALE_H="\ +/* The system does not provide the header . Take care yourself. */" + fi + AC_SUBST(INCLUDE_LOCALE_H) + + dnl Determine which catalog format we have (if any is needed) + dnl For now we know about two different formats: + dnl Linux libc-5 and the normal X/Open format + test -d intl || mkdir intl + if test "$CATOBJEXT" = ".cat"; then + AC_CHECK_HEADER(linux/version.h, msgformat=linux, msgformat=xopen) + + dnl Transform the SED scripts while copying because some dumb SEDs + dnl cannot handle comments. + sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed + fi + dnl po2tbl.sed is always needed. + sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ + $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed + + dnl In the intl/Makefile.in we have a special dependency which makes + dnl only sense for gettext. We comment this out for non-gettext + dnl packages. + if test "$PACKAGE" = "gettext"; then + GT_NO="#NO#" + GT_YES= + else + GT_NO= + GT_YES="#YES#" + fi + AC_SUBST(GT_NO) + AC_SUBST(GT_YES) + + dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly + dnl find the mkinstalldirs script in another subdir but ($top_srcdir). + dnl Try to locate is. + MKINSTALLDIRS= + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + AC_SUBST(MKINSTALLDIRS) + + dnl *** For now the libtool support in intl/Makefile is not for real. + l= + AC_SUBST(l) + ]) + diff --git a/m4/old/aclocal.m4.bak b/m4/old/aclocal.m4.bak new file mode 100644 index 0000000..d9d0216 --- /dev/null +++ b/m4/old/aclocal.m4.bak @@ -0,0 +1,1086 @@ +###################################################################### +# Configure paths for GTK+2 +# Oliver Rauch 2002-06-17 + +dnl AM_PATH_GTK2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for GTK+-2.0.x, and define GTK_CFLAGS and GTK_LIBS +dnl +AC_DEFUN(AM_PATH_GTK2, +[ + AC_ARG_ENABLE(gtk2, [ --disable-gtk2 Do not use gtk+-2.0.x], USE_GTK2=$enableval, USE_GTK2=yes) + + if test $USE_GTK2 != no ; then + min_gtk_version=ifelse([$1], ,2.0.0,$1) + if `pkg-config --atleast-pkgconfig-version=0` ; then + AC_MSG_CHECKING(for GTK - version >= $min_gtk_version) + if `pkg-config gtk+-2.0 --atleast-version=$min_gtk_version` ; then + GTK_CFLAGS=`pkg-config gtk+-2.0 --cflags` + GTK_LIBS=`pkg-config gtk+-2.0 --libs` + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + ifelse([$3], , :, [$3]) + fi + else + AC_MSG_WARN(***************************************************************) + AC_MSG_WARN(*** pgk-config is not avilable: test for gtk2 not possible ****) + AC_MSG_WARN(***************************************************************) + ifelse([$3], , :, [$3]) + fi + else + ifelse([$3], , :, [$3]) + fi + + + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) +] +) + +# Configure paths for GTK+ +# Owen Taylor 97-11-3 +dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS +dnl +AC_DEFUN(AM_PATH_GTK, +[dnl +dnl Get the cflags and libraries from the gtk-config script +dnl + AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)], + gtk_config_prefix="$withval", gtk_config_prefix="") + AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)], + gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="") + AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program], , enable_gtktest=yes) + + if test x$gtk_config_exec_prefix != x ; then + gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" + if test x${GTK_CONFIG+set} != xset ; then + GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config + fi + fi + if test x$gtk_config_prefix != x ; then + gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" + if test x${GTK_CONFIG+set} != xset ; then + GTK_CONFIG=$gtk_config_prefix/bin/gtk-config + fi + fi + + AC_PATH_PROG(GTK_CONFIG, gtk-config, no) + min_gtk_version=ifelse([$1], ,0.99.7,$1) + AC_MSG_CHECKING(for GTK - version >= $min_gtk_version) + no_gtk="" + if test "$GTK_CONFIG" = "no" ; then + no_gtk=yes + else + GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` + GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs` + gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_gtktest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$LIBS $GTK_LIBS" +dnl +dnl Now check if the installed GTK is sufficiently new. (Also sanity +dnl checks the results of gtk-config to some extent) +dnl + rm -f conf.gtktest + AC_TRY_RUN([ +#include +#include + +int +main () +{ + int major, minor, micro; + + system ("touch conf.gtktest"); + + if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gtk_version"); + exit(1); + } + + if ((gtk_major_version != $gtk_config_major_version) || + (gtk_minor_version != $gtk_config_minor_version) || + (gtk_micro_version != $gtk_config_micro_version)) + { + printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", + $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf ("*** was found! If gtk-config was correct, then it is best\n"); + printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); + printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); + printf("*** before re-running configure\n"); + } + else + { + if ((gtk_major_version > major) || + ((gtk_major_version == major) && (gtk_minor_version > minor)) || + ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); + printf("*** correct copy of gtk-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } + return 1; +} +],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_gtk" = x ; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$GTK_CONFIG" = "no" ; then + echo "*** The gtk-config script installed by GTK could not be found" + echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the GTK_CONFIG environment variable to the" + echo "*** full path to gtk-config." + else + if test -f conf.gtktest ; then + : + else + echo "*** Could not run GTK test program, checking why..." + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$LIBS $GTK_LIBS" + AC_TRY_LINK([ +#include +#include +], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GTK or finding the wrong" + echo "*** version of GTK. If it is not finding GTK, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" + echo "***" + echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" + echo "*** came with the system with the command" + echo "***" + echo "*** rpm --erase --nodeps gtk gtk-devel" ], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means GTK was incorrectly installed" + echo "*** or that you have moved GTK since it was installed. In the latter case, you" + echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + GTK_CFLAGS="" + GTK_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) + rm -f conf.gtktest +]) + + +###################################################################### +# Configure paths for The GIMP +# Oliver Rauch 2000-12-28 + +dnl AM_PATH_GIMP([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for GIMP, and define GIMP_CFLAGS and GIMP_LIBS +dnl +AC_DEFUN(AM_PATH_GIMP, +[dnl +dnl Get the cflags and libraries from the gimp-config script +dnl + AC_ARG_WITH(gimp-prefix,[ --with-gimp-prefix=PFX Prefix where GIMP is installed (optional)], + gimp_config_prefix="$withval", gimp_config_prefix="") + AC_ARG_WITH(gimp-exec-prefix,[ --with-gimp-exec-prefix=PFX Exec prefix where GIMP is installed (optional)], + gimp_config_exec_prefix="$withval", gimp_config_exec_prefix="") + AC_ARG_ENABLE(gimptest, [ --disable-gimptest Do not try to compile and run a test GIMP program], , enable_gimptest=yes) + + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + ac_save_GTK_CFLAGS="$GTK_CFLAGS" + ac_save_GTK_LIBS="$GTK_LIBS" + + if test x$gimp_config_exec_prefix != x ; then + gimp_config_args="$gimp_config_args --exec-prefix=$gimp_config_exec_prefix" + if test x${GIMP_CONFIG+set} != xset ; then + GIMP_CONFIG=$gimp_config_exec_prefix/bin/gimp-config + fi + fi + + if test x$gimp_config_prefix != x ; then + gimp_config_args="$gimp_config_args --prefix=$gimp_config_prefix" + if test x${GIMP_CONFIG+set} != xset ; then + GIMP_CONFIG=$gimp_config_prefix/bin/gimp-config + fi + fi + + AC_PATH_PROG(GIMP_CONFIG, gimp-config, no) + if test "$GIMP_CONFIG" = "no" ; then + if test x$gimp_config_exec_prefix != x ; then + gimp_config_args="$gimp_config_args --exec-prefix=$gimp_config_exec_prefix" + if test x${GIMP_TOOL+set} != xset ; then + GIMP_TOOL=$gimp_config_exec_prefix/bin/gimptool + fi + fi + if test x$gimp_config_prefix != x ; then + gimp_config_args="$gimp_config_args --prefix=$gimp_config_prefix" + if test x${GIMP_TOOL+set} != xset ; then + GIMP_TOOL=$gimp_config_prefix/bin/gimptool + fi + fi + AC_PATH_PROG(GIMP_TOOL, gimptool, no) + GIMP_CONFIG=$GIMP_TOOL + fi + + min_gimp_version=ifelse([$1], ,1.0.0,$1) + no_gimp="" + + if test "$GIMP_CONFIG" = "no" ; then +dnl we do not have gimp-config (gimp-1.0.x does not have gimp-config) +dnl so we have to use the GTK_* things for testing for gimp.h and gimpfeatures.h + ac_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} ${GTK_CFLAGS}" + AC_CHECK_HEADERS(libgimp/gimp.h, GIMP_LIBS="-lgimp", no_gimp=yes) + AC_CHECK_HEADERS(libgimp/gimpfeatures.h) + CPPFLAGS="$ac_save_CPPFLAGS" + CFLAGS="${CFLAGS} ${GTK_CFLAGS}" + LIBS="${LIBS} ${GTK_LIBS} ${GIMP_LIBS}" + if test "x$no_gimp" = x ; then + AC_MSG_CHECKING(GIMP compilation) + gimp_config_major_version=-1 + gimp_config_minor_version=0 + gimp_config_micro_version=0 + fi + else +dnl Ok, we have gimp-config and so we do not need the GTK_* things because they are +dnl included in the output of gimp-config + GTK_CFLAGS="" + GTK_LIBS="" + GIMP_CFLAGS=`$GIMP_CONFIG $gimp_config_args --cflags` + GIMP_LIBS=`$GIMP_CONFIG $gimp_config_args --libs`" -lgimp" + gimp_config_major_version=`$GIMP_CONFIG $gimp_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + gimp_config_minor_version=`$GIMP_CONFIG $gimp_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + gimp_config_micro_version=`$GIMP_CONFIG $gimp_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + CFLAGS="${CFLAGS} ${GIMP_CFLAGS}" + LIBS="${LIBS} ${GIMP_LIBS}" + AC_MSG_CHECKING(for GIMP - version >= $min_gimp_version) + fi + +dnl +dnl Now check if the installed GIMP is sufficiently new. (Also sanity +dnl checks the results of gimp-config to some extent +dnl + if test "x$no_gimp" = x ; then + if test "x$enable_gimptest" = "xyes" ; then + rm -f conf.gimptest + AC_TRY_RUN([ +#include +#include + +#define GIMP_TEST_CHECK_VERSION(major, minor, micro) \ + ($gimp_config_major_version > (major) || \ + ($gimp_config_major_version == (major) && $gimp_config_minor_version > (minor)) || \ + ($gimp_config_major_version == (major) && $gimp_config_minor_version == (minor) && \ + $gimp_config_micro_version >= (micro))) + +#if !GIMP_TEST_CHECK_VERSION(1,1,25) +# define GimpPlugInInfo GPlugInInfo /* do test with gimp interface version 1.0 */ +#endif + +GimpPlugInInfo PLUG_IN_INFO = +{ + NULL, NULL, NULL, NULL +}; + + +int +main () +{ + int major, minor, micro; + + system ("touch conf.gimptest"); + + if (sscanf("$min_gimp_version", "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gimp_version"); + exit(1); + } + + if ( ($gimp_config_major_version != -1) && + ((gimp_major_version != $gimp_config_major_version) || + (gimp_minor_version != $gimp_config_minor_version) || + (gimp_micro_version != $gimp_config_micro_version)) ) + { + printf("\n*** 'gimp-config --version' returned %d.%d.%d, but GIMP (%d.%d.%d)\n", + $gimp_config_major_version, $gimp_config_minor_version, $gimp_config_micro_version, + gimp_major_version, gimp_minor_version, gimp_micro_version); + printf ("*** was found! If gimp-config was correct, then it is best\n"); + printf ("*** to remove the old version of GIMP. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If gimp-config was wrong, set the environment variable GIMP_CONFIG\n"); + printf("*** to point to the correct copy of gimp-config, and remove the file config.cache\n"); + printf("*** before re-running configure\n"); + } + else + { + if ((gimp_major_version > major) || + ((gimp_major_version == major) && (gimp_minor_version > minor)) || + ((gimp_major_version == major) && (gimp_minor_version == minor) && (gimp_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GIMP (%d.%d.%d) was found.\n", + gimp_major_version, gimp_minor_version, gimp_micro_version); + printf("*** You need a version of GIMP newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + printf("*** GIMP is always available from ftp://ftp.gimp.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the gimp-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GIMP, but you can also set the GIMP_CONFIG environment to point to the\n"); + printf("*** correct copy of gimp-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } + return 1; +} +], , no_gimp=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + fi + fi + + if test "x$no_gimp" = x ; then +dnl gimp test succeeded or not tested + if test "x$enable_gimptest" = "xyes" ; then + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(not tested) + fi + if test "$GIMP_CONFIG" != "no" ; then + ac_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} ${GIMP_CFLAGS}" + AC_CHECK_HEADERS(libgimp/gimp.h) + AC_CHECK_HEADERS(libgimp/gimpfeatures.h) + CPPFLAGS="$ac_save_CPPFLAGS" + fi + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test -f conf.gimptest ; then + : + else + echo "*** Could not run GIMP test program, checking why..." + CFLAGS="$CFLAGS $GIMP_CFLAGS" + LIBS="$LIBS $GIMP_LIBS" + AC_TRY_LINK([ +#include +#include +#define GIMP_TEST_CHECK_VERSION(major, minor, micro) \ + ($gimp_config_major_version > (major) || \ + ($gimp_config_major_version == (major) && $gimp_config_minor_version > (minor)) || \ + ($gimp_config_major_version == (major) && $gimp_config_minor_version == (minor) && \ + $gimp_config_micro_version >= (micro))) + +#if !GIMP_TEST_CHECK_VERSION(1,1,25) +# define GimpPlugInInfo GPlugInInfo /* do test with gimp interface version 1.0 */ +#endif +GimpPlugInInfo PLUG_IN_INFO = { NULL, NULL, NULL, NULL }; +], [ return ((gimp_major_version) || (gimp_minor_version) || (gimp_micro_version)); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GIMP or finding the wrong" + echo "*** version of GIMP. If it is not finding GIMP, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" + echo "***" + echo "***" ]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi +dnl ok, gimp does not work, so we have to use the gtk_* things again + GIMP_CFLAGS="" + GIMP_LIBS="" + GTK_CFLAGS="$ac_save_GTK_CFLAGS" + GTK_LIBS="$ac_save_GTK_LIBS" + CFLAGS="${CFLAGS} ${GTK_CFLAGS}" + LIBS="${LIBS} ${GTK_LIBS} ${GIMP_LIBS}" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(GIMP_CFLAGS) + AC_SUBST(GIMP_LIBS) + rm -f conf.gimptest +]) + + +# ******************************************************************** +# Configure paths for SANE +# Oliver Rauch 2000-10-30 + +dnl AM_PATH_SANE([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for SANE, and define SANE_CFLAGS and SANE_LIBS +dnl +AC_DEFUN(AM_PATH_SANE, +[dnl +dnl Get the cflags and libraries from the sane-config script +dnl + AC_ARG_ENABLE(sanetest, [ --disable-sanetest Do not try to compile and run a test SANE program], , enable_sanetest=yes) + + AC_PATH_PROG(SANE_CONFIG, sane-config, no) + min_sane_version=ifelse([$1], ,1.0.0,$1) + AC_MSG_CHECKING(for SANE - version >= $min_sane_version) + no_sane="" + if test "$SANE_CONFIG" = "no" ; then + no_sane=yes + else + SANE_CFLAGS=`$SANE_CONFIG $sane_config_args --cflags` + SANE_LDFLAGS=`$SANE_CONFIG $sane_config_args --ldflags` +# SANE_LIBS=`$SANE_CONFIG $sane_config_args --libs` + SANE_LIBS=`$SANE_CONFIG $sane_config_args --libs | sed -e 's/-lintl//g'` + SANE_PREFIX=`$SANE_CONFIG $sane_config_args --prefix` + sane_config_major_version=`$SANE_CONFIG $sane_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + sane_config_minor_version=`$SANE_CONFIG $sane_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + sane_config_micro_version=`$SANE_CONFIG $sane_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_sanetest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LDFLAGS="$LDFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $SANE_CFLAGS" + LDFLAGS="$LDFLAGS $SANE_LDFLAGS" + LIBS="$LIBS $SANE_LIBS" +dnl +dnl Now check if the installed SANE is sufficiently new. (Also sanity +dnl checks the results of sane-config to some extent +dnl + rm -f conf.sanetest + AC_TRY_RUN([ +#include +#include + +int +main () +{ + int major, minor, micro; + + system ("touch conf.sanetest"); + + if (sscanf("$min_sane_version", "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_sane_version"); + exit(1); + } + + if ( ($sane_config_major_version == major) && + ( ($sane_config_minor_version > minor) || + ( ($sane_config_minor_version == minor) && ($sane_config_micro_version >= micro)))) + { + return 0; + } + else if ($sane_config_major_version > major) + { + printf("\n*** A too new version of SANE (%d.%d.%d) was found.\n", + $sane_config_major_version, $sane_config_minor_version, $sane_config_micro_version); + printf("*** You need a version of SANE with the major version number %d.\n", major); + } + else + { + printf("\n*** An old version of SANE (%d.%d.%d) was found.\n", + $sane_config_major_version, $sane_config_minor_version, $sane_config_micro_version); + printf("*** You need a version of SANE newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + } + + printf("*** SANE is always available from ftp://ftp.mostang.com\n"); + printf("***\n"); + printf("*** If you have already installed a sufficient version, this error\n"); + printf("*** probably means that the wrong copy of the sane-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of SANE, but you can also set the SANE_CONFIG environment to point to the\n"); + printf("*** correct copy of sane-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + + return 1; +} +],, no_sane=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LDFLAGS="$ac_save_LDFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_sane" = x ; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$SANE_CONFIG" = "no" ; then + echo "*** The sane-config script installed by SANE could not be found" + echo "*** If SANE was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the SANE_CONFIG environment variable to the" + echo "*** full path to sane-config." + else + if test -f conf.sanetest ; then + : + else + echo "*** Could not run SANE test program, checking why..." + CFLAGS="$CFLAGS $SANE_CFLAGS" + LIBS="$LIBS $SANE_LIBS" + LDFLAGS="$LDFLAGS $SANE_LDFLAGS" + AC_TRY_LINK([ +#include +#include +], [ return (SANE_CURRENT_MAJOR); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding SANE or finding the wrong" + echo "*** version of SANE. If it is not finding SANE, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" + echo "***" ] + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means SANE was incorrectly installed" + echo "*** or that you have moved SANE since it was installed. In the latter case, you" + echo "*** may want to edit the sane-config script: $SANE_CONFIG" ]) + CFLAGS="$ac_save_CFLAGS" + LDFLAGS="$ac_save_LDFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + SANE_CFLAGS="" + SANE_LDFLAGS="" + SANE_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(SANE_LDFLAGS) + AC_SUBST(SANE_CFLAGS) + AC_SUBST(SANE_LIBS) + AC_SUBST(SANE_PREFIX) + rm -f conf.sanetest +]) + +# ******************************************************************** + + +dnl AM_FUNC_ALLOCA +AC_DEFUN(AM_FUNC_ALLOCA, +[AC_REQUIRE([AC_FUNC_ALLOCA])dnl +test $ac_cv_func_alloca_works = no && LTALLOCA=alloca.lo +AC_SUBST(LTALLOCA)dnl +]) + +# @defmac AC_PROG_CC_STDC +# @maindex PROG_CC_STDC +# @ovindex CC +# If the C compiler in not in ANSI C mode by default, try to add an option +# to output variable @code{CC} to make it so. This macro tries various +# options that select ANSI C on some system or another. It considers the +# compiler to be in ANSI C mode if it handles function prototypes correctly. +# +# If you use this macro, you should check after calling it whether the C +# compiler has been set to accept ANSI C; if not, the shell variable +# @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source +# code in ANSI C, you can make an un-ANSIfied copy of it by using the +# program @code{ansi2knr}, which comes with Ghostscript. +# @end defmac + +AC_DEFUN(AM_PROG_CC_STDC, +[AC_REQUIRE([AC_PROG_CC]) +AC_BEFORE([$0], [AC_C_INLINE]) +AC_BEFORE([$0], [AC_C_CONST]) +dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require +dnl a magic option to avoid problems with ANSI preprocessor commands +dnl like #elif. +dnl FIXME: can't do this because then AC_AIX won't work due to a +dnl circular dependency. +dnl AC_BEFORE([$0], [AC_PROG_CPP]) +AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C) +AC_CACHE_VAL(am_cv_prog_cc_stdc, +[am_cv_prog_cc_stdc=no +ac_save_CC="$CC" +# Don't try gcc -ansi; that turns off useful extensions and +# breaks some systems' header files. +# AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 +# HP-UX -Aa -D_HPUX_SOURCE +# SVR4 -Xc -D__EXTENSIONS__ +for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__ +" +do + CC="$ac_save_CC $ac_arg" + AC_TRY_COMPILE( +[#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, + int); +int argc; +char **argv; +], [ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; +], +[am_cv_prog_cc_stdc="$ac_arg"; break]) +done +CC="$ac_save_CC" +]) +if test -z "$am_cv_prog_cc_stdc"; then + AC_MSG_RESULT([none needed]) +else + AC_MSG_RESULT($am_cv_prog_cc_stdc) +fi +case "x$am_cv_prog_cc_stdc" in + x|xno) ;; + *) CC="$CC $am_cv_prog_cc_stdc" ;; +esac +]) + + + + +# ******************************************************************** +dnl aclocal.m4 generated automatically by aclocal 1.2f + +dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. +dnl This Makefile.in is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without +dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A +dnl PARTICULAR PURPOSE. + + +# progtest.m4 from gettext 0.32 +# Search path for a program which passes the given test. +# Ulrich Drepper , 1996. +# +# This file file be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# Please note that the actual code is *not* freely available. + +# serial 1 + +dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) +AC_DEFUN(AM_PATH_PROG_WITH_TEST, +[# Extract the first word of "$2", so it can be a program name with args. +set dummy $2; ac_word=[$]2 +AC_MSG_CHECKING([for $ac_word]) +AC_CACHE_VAL(ac_cv_path_$1, +[case "[$]$1" in + /*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in ifelse([$5], , $PATH, [$5]); do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if [$3]; then + ac_cv_path_$1="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" +dnl If no 4th arg is given, leave the cache variable unset, +dnl so AC_PATH_PROGS will keep looking. +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" +])dnl + ;; +esac])dnl +$1="$ac_cv_path_$1" +if test -n "[$]$1"; then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) + +# ******************************************************************** +# lcmessage.m4 from gettext 0.32 +# Check whether LC_MESSAGES is available in . +# Ulrich Drepper , 1995. +# +# This file file be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# Please note that the actual code is *not* freely available. + +# serial 1 + +AC_DEFUN(AM_LC_MESSAGES, + [if test $ac_cv_header_locale_h = yes; then + AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, + [AC_TRY_LINK([#include ], [return LC_MESSAGES], + am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) + if test $am_cv_val_LC_MESSAGES = yes; then + AC_DEFINE(HAVE_LC_MESSAGES) + fi + fi]) + + +# ******************************************************************** +# gettext.m4 from gettext 0.32 +# Macro to add for using GNU gettext. +# Ulrich Drepper , 1995. +# +# This file file be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# Please note that the actual code is *not* freely available. + +# serial 3 + +AC_DEFUN(AM_WITH_NLS, + [AC_MSG_CHECKING([whether NLS is requested]) + dnl Default is enabled NLS + AC_ARG_ENABLE(nls, + [ --disable-nls do not use Native Language Support], + USE_NLS=$enableval, USE_NLS=yes) + AC_MSG_RESULT($USE_NLS) + AC_SUBST(USE_NLS) + + USE_INCLUDED_LIBINTL=no + + dnl If we use NLS figure out what method + if test "$USE_NLS" = "yes"; then + AC_DEFINE(ENABLE_NLS) + AC_MSG_CHECKING([whether included gettext is requested]) + AC_ARG_WITH(included-gettext, + [ --with-included-gettext use the GNU gettext library included here], + nls_cv_force_use_gnu_gettext=$withval, + nls_cv_force_use_gnu_gettext=no) + AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) + + nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" + if test "$nls_cv_force_use_gnu_gettext" != "yes"; then + dnl User does not insist on using GNU NLS library. Figure out what + dnl to use. If gettext or catgets are available (in this order) we + dnl use this. Else we have to fall back to GNU NLS library. + dnl catgets is only used if permitted by option --with-catgets. + nls_cv_header_intl= + nls_cv_header_libgt= + CATOBJEXT=NONE + + AC_CHECK_HEADER(libintl.h, + [AC_CACHE_CHECK([for gettext in libc], gt_cv_func_gettext_libc, + [AC_TRY_LINK([#include ], [return (int) gettext ("")], + gt_cv_func_gettext_libc=yes, gt_cv_func_gettext_libc=no)]) + + if test "$gt_cv_func_gettext_libc" != "yes"; then + AC_CHECK_LIB(intl, bindtextdomain, + [AC_CACHE_CHECK([for gettext in libintl], + gt_cv_func_gettext_libintl, + [AC_TRY_LINK([], [return (int) gettext ("")], + gt_cv_func_gettext_libintl=yes, + gt_cv_func_gettext_libintl=no)])]) + fi + + if test "$gt_cv_func_gettext_libintl" = "yes"; then + LIBS="-lintl $LIBS" + fi + + if test "$gt_cv_func_gettext_libc" = "yes" \ + || test "$gt_cv_func_gettext_libintl" = "yes"; then + AC_DEFINE(HAVE_GETTEXT) + AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl + if test "$MSGFMT" != "no"; then + AC_CHECK_FUNCS(dcgettext) + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr], + [CATOBJEXT=.gmo + DATADIRNAME=share], + [CATOBJEXT=.mo + DATADIRNAME=lib]) + INSTOBJEXT=.mo + fi + fi + ]) + + if test "$CATOBJEXT" = "NONE"; then + AC_MSG_CHECKING([whether catgets can be used]) + AC_ARG_WITH(catgets, + [ --with-catgets use catgets functions if available], + nls_cv_use_catgets=$withval, nls_cv_use_catgets=no) + AC_MSG_RESULT($nls_cv_use_catgets) + + if test "$nls_cv_use_catgets" = "yes"; then + dnl No gettext in C library. Try catgets next. + AC_CHECK_LIB(i, main) + AC_CHECK_FUNC(catgets, + [AC_DEFINE(HAVE_CATGETS) + INTLOBJS="\$(CATOBJS)" + AC_PATH_PROG(GENCAT, gencat, no)dnl + if test "$GENCAT" != "no"; then + AC_PATH_PROG(GMSGFMT, gmsgfmt, no) + if test "$GMSGFMT" = "no"; then + AM_PATH_PROG_WITH_TEST(GMSGFMT, msgfmt, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no) + fi + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + USE_INCLUDED_LIBINTL=yes + CATOBJEXT=.cat + INSTOBJEXT=.cat + DATADIRNAME=lib + INTLDEPS='$(top_builddir)/intl/libintl.a' + INTLLIBS=$INTLDEPS + LIBS=`echo $LIBS | sed -e 's/-lintl//'` + nls_cv_header_intl=intl/libintl.h + nls_cv_header_libgt=intl/libgettext.h + fi]) + fi + fi + + if test "$CATOBJEXT" = "NONE"; then + dnl Neither gettext nor catgets in included in the C library. + dnl Fall back on GNU gettext library. + nls_cv_use_gnu_gettext=yes + fi + fi + + if test "$nls_cv_use_gnu_gettext" = "yes"; then + dnl Mark actions used to generate GNU NLS library. + INTLOBJS="\$(GETTOBJS)" + AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt) + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + AC_SUBST(MSGFMT) + USE_INCLUDED_LIBINTL=yes + CATOBJEXT=.gmo + INSTOBJEXT=.mo + DATADIRNAME=share + INTLDEPS='$(top_builddir)/intl/libintl.a' + INTLLIBS=$INTLDEPS + LIBS=`echo $LIBS | sed -e 's/-lintl//'` + nls_cv_header_intl=intl/libintl.h + nls_cv_header_libgt=intl/libgettext.h + fi + + dnl Test whether we really found GNU xgettext. + if test "$XGETTEXT" != ":"; then + dnl If it is no GNU xgettext we define it as : so that the + dnl Makefiles still can work. + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then + : ; + else + AC_MSG_RESULT( + [found xgettext programs is not GNU xgettext; ignore it]) + XGETTEXT=":" + fi + fi + + # We need to process the po/ directory. + POSUB=po + else + DATADIRNAME=share + nls_cv_header_intl=intl/libintl.h + nls_cv_header_libgt=intl/libgettext.h + fi + + # If this is used in GNU gettext we have to set USE_NLS to `yes' + # because some of the sources are only built for this goal. + if test "$PACKAGE" = gettext; then + USE_NLS=yes + USE_INCLUDED_LIBINTL=yes + fi + + dnl These rules are solely for the distribution goal. While doing this + dnl we only have to keep exactly one list of the available catalogs + dnl in configure.in. + for lang in $ALL_LINGUAS; do + GMOFILES="$GMOFILES $lang.gmo" + POFILES="$POFILES $lang.po" + done + + dnl Make all variables we use known to autoconf. + AC_SUBST(USE_INCLUDED_LIBINTL) + AC_SUBST(CATALOGS) + AC_SUBST(CATOBJEXT) + AC_SUBST(DATADIRNAME) + AC_SUBST(GMOFILES) + AC_SUBST(INSTOBJEXT) + AC_SUBST(INTLDEPS) + AC_SUBST(INTLLIBS) + AC_SUBST(INTLOBJS) + AC_SUBST(POFILES) + AC_SUBST(POSUB) + ]) + +AC_DEFUN(AM_GNU_GETTEXT, + [AC_REQUIRE([AC_PROG_MAKE_SET])dnl + AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_PROG_RANLIB])dnl + AC_REQUIRE([AC_ISC_POSIX])dnl + AC_REQUIRE([AC_HEADER_STDC])dnl + AC_REQUIRE([AC_C_CONST])dnl + AC_REQUIRE([AC_C_INLINE])dnl + AC_REQUIRE([AC_TYPE_OFF_T])dnl + AC_REQUIRE([AC_TYPE_SIZE_T])dnl + AC_REQUIRE([AC_FUNC_ALLOCA])dnl + AC_REQUIRE([AC_FUNC_MMAP])dnl + + AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h string.h \ +unistd.h values.h sys/param.h]) + AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \ +__argz_count __argz_stringify __argz_next]) + + if test "${ac_cv_func_stpcpy+set}" != "set"; then + AC_CHECK_FUNCS(stpcpy) + fi + if test "${ac_cv_func_stpcpy}" = "yes"; then + AC_DEFINE(HAVE_STPCPY) + fi + + AM_LC_MESSAGES + AM_WITH_NLS + + if test "x$CATOBJEXT" != "x"; then + if test "x$ALL_LINGUAS" = "x"; then + LINGUAS= + else + AC_MSG_CHECKING(for catalogs to be installed) + NEW_LINGUAS= + for lang in ${LINGUAS=$ALL_LINGUAS}; do + case "$ALL_LINGUAS" in + *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; + esac + done + LINGUAS=$NEW_LINGUAS + AC_MSG_RESULT($LINGUAS) + fi + + dnl Construct list of names of catalog files to be constructed. + if test -n "$LINGUAS"; then + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done + fi + fi + + dnl The reference to in the installed file + dnl must be resolved because we cannot expect the users of this + dnl to define HAVE_LOCALE_H. + if test $ac_cv_header_locale_h = yes; then + INCLUDE_LOCALE_H="#include " + else + INCLUDE_LOCALE_H="\ +/* The system does not provide the header . Take care yourself. */" + fi + AC_SUBST(INCLUDE_LOCALE_H) + + dnl Determine which catalog format we have (if any is needed) + dnl For now we know about two different formats: + dnl Linux libc-5 and the normal X/Open format + test -d intl || mkdir intl + if test "$CATOBJEXT" = ".cat"; then + AC_CHECK_HEADER(linux/version.h, msgformat=linux, msgformat=xopen) + + dnl Transform the SED scripts while copying because some dumb SEDs + dnl cannot handle comments. + sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed + fi + dnl po2tbl.sed is always needed. + sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ + $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed + + dnl In the intl/Makefile.in we have a special dependency which makes + dnl only sense for gettext. We comment this out for non-gettext + dnl packages. + if test "$PACKAGE" = "gettext"; then + GT_NO="#NO#" + GT_YES= + else + GT_NO= + GT_YES="#YES#" + fi + AC_SUBST(GT_NO) + AC_SUBST(GT_YES) + + dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly + dnl find the mkinstalldirs script in another subdir but ($top_srcdir). + dnl Try to locate is. + MKINSTALLDIRS= + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + AC_SUBST(MKINSTALLDIRS) + + dnl *** For now the libtool support in intl/Makefile is not for real. + l= + AC_SUBST(l) + ]) + diff --git a/m4/old/configure.in-0.92 b/m4/old/configure.in-0.92 new file mode 100644 index 0000000..6449024 --- /dev/null +++ b/m4/old/configure.in-0.92 @@ -0,0 +1,248 @@ +dnl Process this file with autoconf to produce a configure script. -*-sh-*- +AC_INIT(include/config.h.in) +AC_CONFIG_HEADER(include/config.h) +# AC_PREREQ(2.10)dnl dnl Minimum Autoconf version required. +# AC_ARG_PROGRAM + +# version code: +V_MAJOR=0 +V_MINOR=93 + +PACKAGE=xsane + +BINPROGS="xsane" + +# languages +ALL_LINGUAS="cs da de es fr it ja nl pt pt_BR ro ru sk sl sr sv vi tr zh" + +SANE_V_MAJOR=1 +VERSION=${V_MAJOR}.${V_MINOR} +PACKAGE_VERSION="$PACKAGE-$VERSION" +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") +AC_DEFINE_UNQUOTED(VERSION, "$VERSION") +AC_DEFINE_UNQUOTED(PACKAGE_VERSION, "$PACKAGE_VERSION") +AC_SUBST(PACKAGE) +AC_SUBST(VERSION) +AC_SUBST(PACKAGE_VERSION) +AC_SUBST(SANE_MAJOR) + + +dnl Check args + +dnl Check for gimp plugin support +AC_MSG_CHECKING([whether GIMP plugin is requested]) +dnl Default is enabled GIMP plugin +AC_ARG_ENABLE(gimp, [ --disable-gimp do not include GIMP plugin mode], USE_GIMP=$enableval, USE_GIMP=yes) +AC_MSG_RESULT($USE_GIMP) + +dnl Check for jpeg support +AC_MSG_CHECKING([whether JPEG support is requested]) +dnl Default is enabled JPEG +AC_ARG_ENABLE(jpeg, [ --disable-jpeg do not include JPEG support], USE_JPEG=$enableval, USE_JPEG=yes) +AC_MSG_RESULT($USE_JPEG) + +dnl Check for png support +AC_MSG_CHECKING([whether PNG support is requested]) +dnl Default is enabled PNG +AC_ARG_ENABLE(png, [ --disable-png do not include PNG support], USE_PNG=$enableval, USE_PNG=yes) +AC_MSG_RESULT($USE_PNG) + +dnl Check for tiff support +AC_MSG_CHECKING([whether TIFF support is requested]) +dnl Default is enabled TIFF +AC_ARG_ENABLE(tiff, [ --disable-tiff do not include TIFF support], USE_TIFF=$enableval, USE_TIFF=yes) +AC_MSG_RESULT($USE_TIFF) + + +dnl Checks for programs. +AC_PROG_CC +AC_AIX +AC_MINIX +AC_ISC_POSIX +AM_PROG_CC_STDC +AC_PROG_INSTALL +AC_PROG_MAKE_SET +AC_PROG_CPP +AC_PROG_GCC_TRADITIONAL + +INCLUDES="${INCLUDES} -I/usr/local/include" +CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" +if test "${ac_cv_prog_gcc}" = "yes"; then + CFLAGS="${CFLAGS} -Wall" +fi + +dnl Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS(os2.h fcntl.h unistd.h libc.h sys/time.h sys/types.h zlib.h) + +dnl Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST +AC_C_INLINE +AC_TYPE_SIGNAL +AC_TYPE_SIZE_T +AC_TYPE_PID_T +AC_CHECK_TYPE(ssize_t, long) +AC_CHECK_TYPE(u_char, unsigned char) +AC_CHECK_TYPE(u_int, unsigned int) +AC_CHECK_TYPE(u_long, unsigned long) + +dnl Checks for libraries. +AC_CHECK_LIB(m, sqrt) +AC_CHECK_LIB(z, deflateInit_) + +if test "${USE_JPEG}" = "yes"; then + AC_CHECK_LIB(jpeg, jpeg_start_decompress) +fi + +# tiff test must stand after test for zlib +if test "${USE_TIFF}" = "yes"; then + AC_CHECK_LIB(tiff, TIFFOpen) +fi + +dnl Checks for library functions. +AM_FUNC_ALLOCA +AC_FUNC_MMAP +AC_CHECK_FUNCS(atexit mkdir sigprocmask strdup strndup strftime strstr strsep strtod snprintf usleep strcasecmp strncasecmp lstat) + +dnl Check for NLS/gettext +AM_GNU_GETTEXT +AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl) + +if test "$USE_NLS" = yes; then + if test "$USE_INCLUDED_LIBINTL" = yes; then + CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/intl" + INTLSUB=intl + fi +fi + +AC_SUBST(INTLSUB) + +AM_PATH_SANE(1.0.0, HAVE_SANE=yes, ) + +dnl *** if xsane is compiled as gimp plugin it is possible that we do not +dnl *** need the test for gtk, but when we have gimp-1.0.x installed +dnl *** (gimp-1.0.x does not have gimp-config) or we compile xsane without +dnl *** gimp support we need the test for gtk +AM_PATH_GTK2(2.0.0, HAVE_GTK=yes, ) +if test "x${HAVE_GTK}" = "x"; then + AM_PATH_GTK(1.2.0, HAVE_GTK=yes, ) +fi + +if test "${USE_GIMP}" = "yes"; then + AM_PATH_GIMP(1.0.0, HAVE_GIMP=yes) +fi + + +# png test must stand after test for zlib +# png test must stand behind GTK-check (X-Window-check) +# because png.h is located in the X11 directory on some systems +# so we have to use GTK_CFLAGS and GTK_LIBS to test for png +if test "${USE_PNG}" = "yes"; then + saved_CPPFLAGS="${CPPFLAGS}" + + if test "x${HAVE_GTK}" != "x"; then + CPPFLAGS="${CPPFLAGS} ${GTK_CFLAGS}" + fi + + AC_CHECK_HEADERS(png.h, [AC_CHECK_LIB(png, png_create_info_struct,,, ${GTK_LIBS})]) + CPPFLAGS="${saved_CPPFLAGS}" +fi + + +AC_SUBST(INCLUDES) +AC_SUBST(BINPROGS) +AC_SUBST(GTK_CFLAGS) +AC_SUBST(GTK_LIBS) +AC_SUBST(GIMP_LIBS) +CPPFLAGS="${CPPFLAGS} \ + -DV_MAJOR=${V_MAJOR} -DV_MINOR=${V_MINOR} -DSANE_V_MAJOR=${SANE_V_MAJOR}" + +dnl Print error message if sane or gtk is missing +if test "x${HAVE_SANE}" = "x"; then + echo "****************************************************************" + echo "ERROR: SANE-1.0.0 or newer is needed for compiling xsane" + echo " - if you installed SANE as rpm make sure you also included" + echo " sane-devel" + echo "****************************************************************" + echo "" + exit +fi + +if test "x${HAVE_GTK}" = "x"; then + echo "****************************************************************" + echo "ERROR: GTK-1.2.0 or newer is needed for compiling xsane" + echo " if you installed gtk as rpm make sure you also included" + echo " gtk-devel" + echo "****************************************************************" + echo "" + exit +fi + + +AC_SUBST(V_MAJOR) +AC_SUBST(V_MINOR) +AC_SUBST(DLL_PRELOAD) + +AC_ARG_ENABLE(foo1, [ +Used environment variables that can be set by user: + CFLAGS, CPPFLAGS, LDFLAGS, LIBS]) + +AC_ARG_ENABLE(foo2, [ +To add include or library paths call: + [env] CPPFLAGS=\"-I/path/to/foo/include\" LDFLAGS=\"-L/path/to/foo/libs\" ./configure]) + +AC_OUTPUT([Makefile intl/Makefile po/Makefile lib/Makefile + src/Makefile include/Makefile doc/Makefile xsane.spec],) + +echo "****************************************************************" +echo "* *" +echo "* XSANE configure status: *" +echo "* ----------------------- *" + +if test "${USE_NLS}" = "yes"; then + if test "$USE_INCLUDED_LIBINTL" = yes; then + echo "* - NLS activated (package internal) *" + else + echo "* - NLS activated (external) *" + fi +else + echo "* - NLS deactivated *" +fi + +if test "${GIMP_LIBS}set" != "set"; then + echo "* - GIMP plugin activated *" +else + echo "* - GIMP plugin deactivated *" +fi + +if test "${ac_cv_lib_jpeg_jpeg_start_decompress}" = "yes"; then + echo "* - JPEG support activated *" +else + echo "* - JPEG support deactivated *" +fi + +if test "${ac_cv_lib_tiff_TIFFOpen}" = "yes"; then + echo "* - TIFF support activated *" +else + echo "* - TIFF support deactivated *" +fi + +if test "${ac_cv_lib_png_png_create_info_struct}" = "yes"; then + echo "* - PNG support activated *" +else + echo "* - PNG support deactivated *" +fi + +echo "* *" +echo "****************************************************************" +echo "* *" +echo "* To compile XSANE: *" +echo "* ----------------- *" +echo "* make *" +echo "* make install *" +echo "* *" +echo "* ------------------------------------------------------------ *" +echo "* ... PLEASE READ SANE DOCUMENTATION BEFORE STARTING XSANE ... *" +echo "* ------------------------------------------------------------ *" +echo "****************************************************************" +cat xsane.NEWS diff --git a/m4/old/gimp.m4 b/m4/old/gimp.m4 new file mode 100644 index 0000000..313f180 --- /dev/null +++ b/m4/old/gimp.m4 @@ -0,0 +1,211 @@ +# Configure paths for GIMP +# Manish Singh 98-6-11 +# Shamelessly stolen from Owen Taylor + +dnl AM_PATH_GIMP([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for GIMP, and define GIMP_CFLAGS and GIMP_LIBS +dnl +AC_DEFUN(AM_PATH_GIMP, +[dnl +dnl Get the cflags and libraries from the gimptool script +dnl +AC_ARG_WITH(gimp-prefix,[ --with-gimp-prefix=PFX Prefix where GIMP is installed (optional)], + gimptool_prefix="$withval", gimptool_prefix="") +AC_ARG_WITH(gimp-exec-prefix,[ --with-gimp-exec-prefix=PFX Exec prefix where GIMP is installed (optional)], + gimptool_exec_prefix="$withval", gimptool_exec_prefix="") +AC_ARG_ENABLE(gimptest, [ --disable-gimptest Do not try to compile and run a test GIMP program], + , enable_gimptest=yes) + + if test x$gimptool_exec_prefix != x ; then + gimptool_args="$gimptool_args --exec-prefix=$gimptool_exec_prefix" + if test x${GIMPTOOL+set} != xset ; then + GIMPTOOL=$gimptool_exec_prefix/bin/gimptool + fi + fi + if test x$gimptool_prefix != x ; then + gimptool_args="$gimptool_args --prefix=$gimptool_prefix" + if test x${GIMPTOOL+set} != xset ; then + GIMPTOOL=$gimptool_prefix/bin/gimptool + fi + fi + + AC_PATH_PROG(GIMPTOOL, gimptool, no) + min_gimp_version=ifelse([$1], ,1.0.0,$1) + AC_MSG_CHECKING(for GIMP - version >= $min_gimp_version) + no_gimp="" + if test "$GIMPTOOL" = "no" ; then + no_gimp=yes + else + GIMP_CFLAGS=`$GIMPTOOL $gimptool_args --cflags` + GIMP_LIBS=`$GIMPTOOL $gimptool_args --libs` + + GIMP_CFLAGS_NOUI=`$GIMPTOOL $gimptool_args --cflags-noui` + noui_test=`echo $GIMP_CFLAGS_NOUI | sed 's/^\(Usage\).*/\1/'` + if test "$noui_test" = "Usage" ; then + GIMP_CFLAGS_NOUI=$GIMP_CFLAGS + GIMP_LIBS_NOUI=$GIMP_LIBS + else + GIMP_LIBS_NOUI=`$GIMPTOOL $gimptool_args --libs-noui` + fi + + GIMP_DATA_DIR=`$GIMPTOOL $gimptool_args --gimpdatadir` + GIMP_PLUGIN_DIR=`$GIMPTOOL $gimptool_args --gimpplugindir` + nodatadir_test=`echo $GIMP_DATA_DIR | sed 's/^\(Usage\).*/\1/'` + if test "$nodatadir_test" = "Usage" ; then + GIMP_DATA_DIR="" + GIMP_PLUGIN_DIR="" + fi + + gimptool_major_version=`$GIMPTOOL $gimptool_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + gimptool_minor_version=`$GIMPTOOL $gimptool_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + gimptool_micro_version=`$GIMPTOOL $gimptool_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_gimptest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GIMP_CFLAGS" + LIBS="$LIBS $GIMP_LIBS" +dnl +dnl Now check if the installed GIMP is sufficiently new. (Also sanity +dnl checks the results of gimptool to some extent +dnl + rm -f conf.gimptest + AC_TRY_RUN([ +#include +#include + +#include + +#ifndef GIMP_CHECK_VERSION +#define GIMP_CHECK_VERSION(major, minor, micro) \ + (GIMP_MAJOR_VERSION > (major) || \ + (GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION > (minor)) || \ + (GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION == (minor) && \ + GIMP_MICRO_VERSION >= (micro))) +#endif + +#if GIMP_CHECK_VERSION(1,1,24) +GimpPlugInInfo +#else +GPlugInInfo +#endif +PLUG_IN_INFO = +{ + NULL, /* init_proc */ + NULL, /* quit_proc */ + NULL, /* query_proc */ + NULL /* run_proc */ +}; + +int main () +{ + int major, minor, micro; + char *tmp_version; + + system ("touch conf.gimptest"); + + /* HP/UX 9 (%@#!) writes to sscanf strings */ + tmp_version = g_strdup("$min_gimp_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gimp_version"); + exit(1); + } + + if (($gimptool_major_version > major) || + (($gimptool_major_version == major) && ($gimptool_minor_version > minor)) || + (($gimptool_major_version == major) && ($gimptool_minor_version == minor) && ($gimptool_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** 'gimptool --version' returned %d.%d.%d, but the minimum version\n", $gimptool_major_version, $gimptool_minor_version, $gimptool_micro_version); + printf("*** of GIMP required is %d.%d.%d. If gimptool is correct, then it is\n", major, minor, micro); + printf("*** best to upgrade to the required version.\n"); + printf("*** If gimptool was wrong, set the environment variable GIMPTOOL\n"); + printf("*** to point to the correct copy of gimptool, and remove the file\n"); + printf("*** config.cache before re-running configure\n"); + return 1; + } +} + +],, no_gimp=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_gimp" = x ; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$GIMPTOOL" = "no" ; then + echo "*** The gimptool script installed by GIMP could not be found" + echo "*** If GIMP was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the GIMPTOOL environment variable to the" + echo "*** full path to gimptool." + else + if test -f conf.gimptest ; then + : + else + echo "*** Could not run GIMP test program, checking why..." + CFLAGS="$CFLAGS $GIMP_CFLAGS" + LIBS="$LIBS $GIMP_LIBS" + AC_TRY_LINK([ +#include +#include + +#ifndef GIMP_CHECK_VERSION +#define GIMP_CHECK_VERSION(major, minor, micro) \ + (GIMP_MAJOR_VERSION > (major) || \ + (GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION > (minor)) || \ + (GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION == (minor) && \ + GIMP_MICRO_VERSION >= (micro))) +#endif + +#if GIMP_CHECK_VERSION(1,1,24) +GimpPlugInInfo +#else +GPlugInInfo +#endif +PLUG_IN_INFO = +{ + NULL, /* init_proc */ + NULL, /* quit_proc */ + NULL, /* query_proc */ + NULL /* run_proc */ +}; +], [ return 0; ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GIMP or finding the wrong" + echo "*** version of GIMP. If it is not finding GIMP, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means GIMP was incorrectly installed" + echo "*** or that you have moved GIMP since it was installed. In the latter case, you" + echo "*** may want to edit the gimptool script: $GIMPTOOL" ]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + GIMP_CFLAGS="" + GIMP_LIBS="" + GIMP_CFLAGS_NOUI="" + GIMP_LIBS_NOUI="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(GIMP_CFLAGS) + AC_SUBST(GIMP_LIBS) + AC_SUBST(GIMP_CFLAGS_NOUI) + AC_SUBST(GIMP_LIBS_NOUI) + AC_SUBST(GIMP_DATA_DIR) + AC_SUBST(GIMP_PLUGIN_DIR) + rm -f conf.gimptest +]) diff --git a/m4/old/gtk2.m4 b/m4/old/gtk2.m4 new file mode 100644 index 0000000..5d43f02 --- /dev/null +++ b/m4/old/gtk2.m4 @@ -0,0 +1,39 @@ +###################################################################### +# Configure paths for GTK+2 +# Oliver Rauch 2002-06-17 + +dnl AM_PATH_GTK2_EXTENDED([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for GTK+-2.0.x, and define GTK_CFLAGS and GTK_LIBS +dnl +AC_DEFUN(AM_PATH_GTK2_EXTENDED, +[ + AC_ARG_ENABLE(gtk2, [ --disable-gtk2 Do not use gtk+-2.0.x], USE_GTK2=$enableval, USE_GTK2=yes) + + if test $USE_GTK2 != no ; then + min_gtk_version=ifelse([$1], ,2.0.0,$1) + if `pkg-config --atleast-pkgconfig-version=0` ; then + AC_MSG_CHECKING(for GTK - version >= $min_gtk_version) + if `pkg-config gtk+-2.0 --atleast-version=$min_gtk_version` ; then + GTK_CFLAGS=`pkg-config gtk+-2.0 --cflags` + GTK_LIBS=`pkg-config gtk+-2.0 --libs` + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + ifelse([$3], , :, [$3]) + fi + else + AC_MSG_WARN(***************************************************************) + AC_MSG_WARN(*** pgk-config is not avilable: test for gtk2 not possible ****) + AC_MSG_WARN(***************************************************************) + ifelse([$3], , :, [$3]) + fi + else + ifelse([$3], , :, [$3]) + fi + + + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) +] +) diff --git a/m4/sane.m4 b/m4/sane.m4 new file mode 100644 index 0000000..d0dc89c --- /dev/null +++ b/m4/sane.m4 @@ -0,0 +1,149 @@ +# ******************************************************************** +# Configure paths for SANE +# Oliver Rauch 2000-10-30 + +dnl AM_PATH_SANE([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for SANE, and define SANE_CFLAGS and SANE_LIBS +dnl +AC_DEFUN(AM_PATH_SANE, +[dnl +dnl Get the cflags and libraries from the sane-config script +dnl + AC_ARG_ENABLE(sanetest, [ --disable-sanetest Do not try to compile and run a test SANE program], , enable_sanetest=yes) + + AC_PATH_PROG(SANE_CONFIG, sane-config, no) + min_sane_version=ifelse([$1], ,1.0.0,$1) + AC_MSG_CHECKING(for SANE - version >= $min_sane_version) + no_sane="" + if test "$SANE_CONFIG" = "no" ; then + no_sane=yes + else + SANE_CFLAGS=`$SANE_CONFIG $sane_config_args --cflags` + SANE_LDFLAGS=`$SANE_CONFIG $sane_config_args --ldflags` +# SANE_LIBS=`$SANE_CONFIG $sane_config_args --libs` + SANE_LIBS=`$SANE_CONFIG $sane_config_args --libs | sed -e 's/-lintl//g'` + SANE_PREFIX=`$SANE_CONFIG $sane_config_args --prefix` + sane_config_major_version=`$SANE_CONFIG $sane_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + sane_config_minor_version=`$SANE_CONFIG $sane_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + sane_config_micro_version=`$SANE_CONFIG $sane_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_sanetest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LDFLAGS="$LDFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $SANE_CFLAGS" + LDFLAGS="$LDFLAGS $SANE_LDFLAGS" + LIBS="$LIBS $SANE_LIBS" +dnl +dnl Now check if the installed SANE is sufficiently new. (Also sanity +dnl checks the results of sane-config to some extent +dnl + rm -f conf.sanetest + AC_TRY_RUN([ +#include +#include + +int +main () +{ + int major, minor, micro; + + system ("touch conf.sanetest"); + + if (sscanf("$min_sane_version", "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_sane_version"); + exit(1); + } + + if ( ($sane_config_major_version == major) && + ( ($sane_config_minor_version > minor) || + ( ($sane_config_minor_version == minor) && ($sane_config_micro_version >= micro)))) + { + return 0; + } + else if ($sane_config_major_version > major) + { + printf("\n*** A too new version of SANE (%d.%d.%d) was found.\n", + $sane_config_major_version, $sane_config_minor_version, $sane_config_micro_version); + printf("*** You need a version of SANE with the major version number %d.\n", major); + } + else + { + printf("\n*** An old version of SANE (%d.%d.%d) was found.\n", + $sane_config_major_version, $sane_config_minor_version, $sane_config_micro_version); + printf("*** You need a version of SANE newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + } + + printf("*** SANE is always available from ftp://ftp.mostang.com\n"); + printf("***\n"); + printf("*** If you have already installed a sufficient version, this error\n"); + printf("*** probably means that the wrong copy of the sane-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of SANE, but you can also set the SANE_CONFIG environment to point to the\n"); + printf("*** correct copy of sane-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + + return 1; +} +],, no_sane=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LDFLAGS="$ac_save_LDFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_sane" = x ; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$SANE_CONFIG" = "no" ; then + echo "*** The sane-config script installed by SANE could not be found" + echo "*** If SANE was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the SANE_CONFIG environment variable to the" + echo "*** full path to sane-config." + else + if test -f conf.sanetest ; then + : + else + echo "*** Could not run SANE test program, checking why..." + CFLAGS="$CFLAGS $SANE_CFLAGS" + LIBS="$LIBS $SANE_LIBS" + LDFLAGS="$LDFLAGS $SANE_LDFLAGS" + AC_TRY_LINK([ +#include +#include +], [ return (SANE_CURRENT_MAJOR); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding SANE or finding the wrong" + echo "*** version of SANE. If it is not finding SANE, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" + echo "***" ] + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means SANE was incorrectly installed" + echo "*** or that you have moved SANE since it was installed. In the latter case, you" + echo "*** may want to edit the sane-config script: $SANE_CONFIG" ]) + CFLAGS="$ac_save_CFLAGS" + LDFLAGS="$ac_save_LDFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + SANE_CFLAGS="" + SANE_LDFLAGS="" + SANE_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(SANE_LDFLAGS) + AC_SUBST(SANE_CFLAGS) + AC_SUBST(SANE_LIBS) + AC_SUBST(SANE_PREFIX) + rm -f conf.sanetest +]) diff --git a/po/Makefile.in b/po/Makefile.in index ff8ca90..d3c3932 100644 --- a/po/Makefile.in +++ b/po/Makefile.in @@ -31,10 +31,10 @@ MKINSTALLDIRS = $(top_srcdir)/@MKINSTALLDIRS@ CC = @CC@ GENCAT = @GENCAT@ -GMSGFMT = PATH=../src:$$PATH @GMSGFMT@ +GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ -XGETTEXT = PATH=../src:$$PATH @XGETTEXT@ -MSGMERGE = PATH=../src:$$PATH msgmerge +XGETTEXT = @XGETTEXT@ +MSGMERGE = msgmerge DEFS = @DEFS@ CFLAGS = @CFLAGS@ @@ -63,25 +63,37 @@ INSTOBJEXT = @INSTOBJEXT@ $(COMPILE) $< .po.pox: - $(MAKE) $(PACKAGE).pot - $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox + if test "${MSGMERGE}" != "no"; then \ + $(MAKE) $(PACKAGE).pot; \ + $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox; \ + fi .po.mo: - $(MSGFMT) -o $@ $< + @if test "${MSGFMT}" != "no"; then \ + echo "creating $@" ; \ + $(MSGFMT) -o $@ $< ; \ + fi .po.gmo: - file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ - && rm -f $$file && $(GMSGFMT) -o $$file $< + @if test "${GMSGFMT}" != "no"; then \ + echo "creating $@" ; \ + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ + && rm -f $$file && $(GMSGFMT) -o $$file $< ; \ + fi .po.cat: - sed -f ../intl/po2msg.sed < $< > $*.msg \ - && rm -f $@ && $(GENCAT) $@ $*.msg + if test "${GENCAT}" != "no"; then \ + echo "creating $@" ; \ + sed -f ../intl/po2msg.sed < $< > $*.msg \ + && rm -f $@ && $(GENCAT) $@ $*.msg; \ + fi all: all-@USE_NLS@ all-yes: $(CATALOGS) all-no: + @echo "*** Nationalziation is disabled! ***" $(srcdir)/$(PACKAGE).pot: $(srcdir)/xsane-pot.sed $(srcdir)/sane-text.h $(POTFILES) cat $(POTFILES) | \ @@ -201,6 +213,16 @@ update-po: Makefile fi; \ done +utf8: + for LNG in *.po ; do \ + FORMAT=`grep charset $$LNG | sed -e '{ s/Content-Type: text\/plain; charset=//g ; s/\\\n// ; s/\"//g ; }'` ;\ + echo recoding $$LNG\($$FORMAT\) to UTF-8/$$LNG\(UTF-8\);\ + COMMAND="s/"$$FORMAT"/UTF-8/g" ;\ + cat $$LNG | sed -e $$COMMAND >UTF-8/$$LNG ;\ + recode $$FORMAT..UTF-8 UTF-8/$$LNG ;\ + done + + Makefile: Makefile.in ../config.status cd .. \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \ diff --git a/po/UTF-8/Makefile b/po/UTF-8/Makefile new file mode 100644 index 0000000..46b7ca3 --- /dev/null +++ b/po/UTF-8/Makefile @@ -0,0 +1,233 @@ +# Makefile for program source directory in GNU NLS utilities package. +# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper +# Adopted for #define'd messages by Stanislav Brabec +# +# This file file be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# Please note that the actual code is *not* freely available. + +PACKAGE = xsane +VERSION = 0.96 + +SHELL = /bin/sh + + +srcdir = . +top_srcdir = ../.. + + +prefix = /usr/local +exec_prefix = ${prefix} +datadir = $(prefix)/share +localedir = $(datadir)/locale +gnulocaledir = $(prefix)/share/locale +gettextsrcdir = $(prefix)/share/gettext/po +subdir = po + +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +MKINSTALLDIRS = $(top_srcdir)/$(top_srcdir)/mkinstalldirs + +CC = gcc +GENCAT = +GMSGFMT = /usr/bin/msgfmt +MSGFMT = /usr/bin/msgfmt +XGETTEXT = /usr/bin/xgettext +MSGMERGE = msgmerge + +DEFS = -DHAVE_CONFIG_H +CFLAGS = -g -O2 -Wall +CPPFLAGS = -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=96 -DSANE_V_MAJOR=1 + +INCLUDES = -I.. -I$(top_srcdir)/intl + +COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) + +SOURCES = +POFILES = cs.po da.po de.po es.po fr.po it.po ja.po nl.po pt.po pt_BR.po ro.po ru.po sk.po sl.po sr.po sv.po vi.po tr.po zh.po +GMOFILES = cs.gmo da.gmo de.gmo es.gmo fr.gmo it.gmo ja.gmo nl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo vi.gmo tr.gmo zh.gmo +DISTFILES = ChangeLog Makefile.in xsane-pot.sed sane-text.h $(PACKAGE).pot \ +$(POFILES) $(GMOFILES) $(SOURCES) + +POTFILES = $(top_srcdir)/src/xsane-text.h $(srcdir)/sane-text.h + +CATALOGS = cs.gmo da.gmo de.gmo es.gmo fr.gmo it.gmo ja.gmo nl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo vi.gmo tr.gmo zh.gmo +CATOBJEXT = .gmo +INSTOBJEXT = .mo + +.SUFFIXES: +.SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat + +.c.o: + $(COMPILE) $< + +.po.pox: + if test "${MSGMERGE}" != "no"; then \ + $(MAKE) $(PACKAGE).pot; \ + $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox; \ + fi + +.po.mo: + @if test "${MSGFMT}" != "no"; then \ + echo "creating $@" ; \ + $(MSGFMT) -o $@ $< ; \ + fi + +.po.gmo: + @if test "${GMSGFMT}" != "no"; then \ + echo "creating $@" ; \ + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ + && rm -f $$file && $(GMSGFMT) -o $$file $< ; \ + fi + +.po.cat: + if test "${GENCAT}" != "no"; then \ + echo "creating $@" ; \ + sed -f ../intl/po2msg.sed < $< > $*.msg \ + && rm -f $@ && $(GENCAT) $@ $*.msg; \ + fi + + +all: all-yes + +all-yes: $(CATALOGS) +all-no: + @echo "*** Nationalziation is disabled! ***" + +$(srcdir)/$(PACKAGE).pot: $(srcdir)/xsane-pot.sed $(srcdir)/sane-text.h $(POTFILES) + cat $(POTFILES) | \ + sed -e 's@#define \([^ (]*\)\([ ]\)@/* \1 */\2@' -f $(srcdir)/xsane-pot.sed | \ + $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \ + --language=C --no-location \ + --add-comments --keyword=_ --keyword=N_ - \ + && test ! -f $(PACKAGE).po \ + || ( rm -f $(srcdir)/$(PACKAGE).pot \ + && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot ) + + +install: install-exec install-data +install-exec: +install-data: install-data-yes +install-data-no: all +install-data-yes: all + if test -r "$(MKINSTALLDIRS)"; then \ + $(MKINSTALLDIRS) $(datadir); \ + else \ + $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \ + fi + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + case "$$cat" in \ + *.gmo) destdir=$(gnulocaledir);; \ + *) destdir=$(localedir);; \ + esac; \ + lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ + dir=$$destdir/$$lang/LC_MESSAGES; \ + if test -r "$(MKINSTALLDIRS)"; then \ + $(MKINSTALLDIRS) $$dir; \ + else \ + $(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \ + fi; \ + if test -r $$cat; then \ + $(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \ + echo "installing $$cat as $$dir/$(PACKAGE)$(INSTOBJEXT)"; \ + else \ + $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \ + echo "installing $(srcdir)/$$cat as" \ + "$$dir/$(PACKAGE)$(INSTOBJEXT)"; \ + fi; \ + if test -r $$cat.m; then \ + $(INSTALL_DATA) $$cat.m $$dir/$(PACKAGE)$(INSTOBJEXT).m; \ + echo "installing $$cat.m as $$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ + else \ + if test -r $(srcdir)/$$cat.m ; then \ + $(INSTALL_DATA) $(srcdir)/$$cat.m \ + $$dir/$(PACKAGE)$(INSTOBJEXT).m; \ + echo "installing $(srcdir)/$$cat as" \ + "$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ + else \ + true; \ + fi; \ + fi; \ + done + +# Define this as empty until I found a useful application. +installcheck: + +uninstall: + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ + rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ + rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ + rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ + rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ + done + rm -f $(gettextsrcdir)/po-Makefile.in + +check: all + +dvi info tags TAGS ID: + +mostlyclean: + rm -f core core.* *.pox $(PACKAGE).po *.old.po + rm -fr *.o + +clean: mostlyclean + +distclean: clean + rm -f Makefile *.mo *.msg *.cat *.cat.m + +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 $(GMOFILES) + +distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) +dist distdir: update-po $(DISTFILES) + dists="$(DISTFILES)"; \ + for file in $$dists; do \ + ln $(srcdir)/$$file $(distdir) 2> /dev/null \ + || cp -p $(srcdir)/$$file $(distdir); \ + done + +update-po: Makefile + $(MAKE) $(PACKAGE).pot + PATH=`pwd`/../src:$$PATH; \ + cd $(srcdir); \ + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ + mv $$lang.po $$lang.old.po; \ + echo "$$lang:"; \ + if $(MSGMERGE) $$lang.old.po $(PACKAGE).pot -o $$lang.po; then \ + rm -f $$lang.old.po; \ + else \ + echo "msgmerge for $$cat failed!"; \ + rm -f $$lang.po; \ + mv $$lang.old.po $$lang.po; \ + fi; \ + done + +utf8: + for LNG in *.po ; do \ + FORMAT=`grep charset $$LNG | sed -e '{ s/Content-Type: text\/plain; charset=//g ; s/\\\n// ; s/\"//g ; }'` ;\ + echo recoding $$LNG from $$FORMAT to UTF-8;\ + COMMAND="s/"$$FORMAT"/UTF-8/g" ;\ + cat $$LNG | sed -e $$COMMAND >UTF-8/$$LNG ;\ + recode $$FORMAT..UTF-8 UTF-8/$$LNG ;\ + done + + +Makefile: Makefile.in ../../config.status + cd .. \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \ + $(SHELL) ./config.status + +# 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: diff --git a/po/UTF-8/Makefile.in b/po/UTF-8/Makefile.in new file mode 100644 index 0000000..ab6a5fa --- /dev/null +++ b/po/UTF-8/Makefile.in @@ -0,0 +1,233 @@ +# Makefile for program source directory in GNU NLS utilities package. +# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper +# Adopted for #define'd messages by Stanislav Brabec +# +# This file file be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# Please note that the actual code is *not* freely available. + +PACKAGE = xsane +VERSION = 0.96 + +SHELL = /bin/sh + + +srcdir = . +top_srcdir = .. + + +prefix = /usr/local +exec_prefix = ${prefix} +datadir = $(prefix)/share +localedir = $(datadir)/locale +gnulocaledir = $(prefix)/share/locale +gettextsrcdir = $(prefix)/share/gettext/po +subdir = po + +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +MKINSTALLDIRS = $(top_srcdir)/$(top_srcdir)/mkinstalldirs + +CC = gcc +GENCAT = +GMSGFMT = /usr/bin/msgfmt +MSGFMT = /usr/bin/msgfmt +XGETTEXT = /usr/bin/xgettext +MSGMERGE = msgmerge + +DEFS = -DHAVE_CONFIG_H +CFLAGS = -g -O2 -Wall +CPPFLAGS = -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=96 -DSANE_V_MAJOR=1 + +INCLUDES = -I.. -I$(top_srcdir)/intl + +COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) + +SOURCES = +POFILES = cs.po da.po de.po es.po fr.po it.po ja.po nl.po pt.po pt_BR.po ro.po ru.po sk.po sl.po sr.po sv.po vi.po tr.po zh.po +GMOFILES = cs.gmo da.gmo de.gmo es.gmo fr.gmo it.gmo ja.gmo nl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo vi.gmo tr.gmo zh.gmo +DISTFILES = ChangeLog Makefile.in xsane-pot.sed sane-text.h $(PACKAGE).pot \ +$(POFILES) $(GMOFILES) $(SOURCES) + +POTFILES = $(top_srcdir)/src/xsane-text.h $(srcdir)/sane-text.h + +CATALOGS = cs.gmo da.gmo de.gmo es.gmo fr.gmo it.gmo ja.gmo nl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo vi.gmo tr.gmo zh.gmo +CATOBJEXT = .gmo +INSTOBJEXT = .mo + +.SUFFIXES: +.SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat + +.c.o: + $(COMPILE) $< + +.po.pox: + if test "${MSGMERGE}" != "no"; then \ + $(MAKE) $(PACKAGE).pot; \ + $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox; \ + fi + +.po.mo: + @if test "${MSGFMT}" != "no"; then \ + echo "creating $@" ; \ + $(MSGFMT) -o $@ $< ; \ + fi + +.po.gmo: + @if test "${GMSGFMT}" != "no"; then \ + echo "creating $@" ; \ + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ + && rm -f $$file && $(GMSGFMT) -o $$file $< ; \ + fi + +.po.cat: + if test "${GENCAT}" != "no"; then \ + echo "creating $@" ; \ + sed -f ../intl/po2msg.sed < $< > $*.msg \ + && rm -f $@ && $(GENCAT) $@ $*.msg; \ + fi + + +all: all-yes + +all-yes: $(CATALOGS) +all-no: + @echo "*** Nationalziation is disabled! ***" + +$(srcdir)/$(PACKAGE).pot: $(srcdir)/xsane-pot.sed $(srcdir)/sane-text.h $(POTFILES) + cat $(POTFILES) | \ + sed -e 's@#define \([^ (]*\)\([ ]\)@/* \1 */\2@' -f $(srcdir)/xsane-pot.sed | \ + $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \ + --language=C --no-location \ + --add-comments --keyword=_ --keyword=N_ - \ + && test ! -f $(PACKAGE).po \ + || ( rm -f $(srcdir)/$(PACKAGE).pot \ + && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot ) + + +install: install-exec install-data +install-exec: +install-data: install-data-yes +install-data-no: all +install-data-yes: all + if test -r "$(MKINSTALLDIRS)"; then \ + $(MKINSTALLDIRS) $(datadir); \ + else \ + $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \ + fi + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + case "$$cat" in \ + *.gmo) destdir=$(gnulocaledir);; \ + *) destdir=$(localedir);; \ + esac; \ + lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ + dir=$$destdir/$$lang/LC_MESSAGES; \ + if test -r "$(MKINSTALLDIRS)"; then \ + $(MKINSTALLDIRS) $$dir; \ + else \ + $(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \ + fi; \ + if test -r $$cat; then \ + $(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \ + echo "installing $$cat as $$dir/$(PACKAGE)$(INSTOBJEXT)"; \ + else \ + $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \ + echo "installing $(srcdir)/$$cat as" \ + "$$dir/$(PACKAGE)$(INSTOBJEXT)"; \ + fi; \ + if test -r $$cat.m; then \ + $(INSTALL_DATA) $$cat.m $$dir/$(PACKAGE)$(INSTOBJEXT).m; \ + echo "installing $$cat.m as $$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ + else \ + if test -r $(srcdir)/$$cat.m ; then \ + $(INSTALL_DATA) $(srcdir)/$$cat.m \ + $$dir/$(PACKAGE)$(INSTOBJEXT).m; \ + echo "installing $(srcdir)/$$cat as" \ + "$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ + else \ + true; \ + fi; \ + fi; \ + done + +# Define this as empty until I found a useful application. +installcheck: + +uninstall: + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ + rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ + rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ + rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ + rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ + done + rm -f $(gettextsrcdir)/po-Makefile.in + +check: all + +dvi info tags TAGS ID: + +mostlyclean: + rm -f core core.* *.pox $(PACKAGE).po *.old.po + rm -fr *.o + +clean: mostlyclean + +distclean: clean + rm -f Makefile *.mo *.msg *.cat *.cat.m + +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 $(GMOFILES) + +distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) +dist distdir: update-po $(DISTFILES) + dists="$(DISTFILES)"; \ + for file in $$dists; do \ + ln $(srcdir)/$$file $(distdir) 2> /dev/null \ + || cp -p $(srcdir)/$$file $(distdir); \ + done + +update-po: Makefile + $(MAKE) $(PACKAGE).pot + PATH=`pwd`/../src:$$PATH; \ + cd $(srcdir); \ + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ + mv $$lang.po $$lang.old.po; \ + echo "$$lang:"; \ + if $(MSGMERGE) $$lang.old.po $(PACKAGE).pot -o $$lang.po; then \ + rm -f $$lang.old.po; \ + else \ + echo "msgmerge for $$cat failed!"; \ + rm -f $$lang.po; \ + mv $$lang.old.po $$lang.po; \ + fi; \ + done + +utf8: + for LNG in *.po ; do \ + FORMAT=`grep charset $$LNG | sed -e '{ s/Content-Type: text\/plain; charset=//g ; s/\\\n// ; s/\"//g ; }'` ;\ + echo recoding $$LNG from $$FORMAT to UTF-8;\ + COMMAND="s/"$$FORMAT"/UTF-8/g" ;\ + cat $$LNG | sed -e $$COMMAND >UTF-8/$$LNG ;\ + recode $$FORMAT..UTF-8 UTF-8/$$LNG ;\ + done + + +Makefile: Makefile.in ../config.status + cd .. \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \ + $(SHELL) ./config.status + +# 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: diff --git a/po/UTF-8/README b/po/UTF-8/README new file mode 100644 index 0000000..a9a0136 --- /dev/null +++ b/po/UTF-8/README @@ -0,0 +1,7 @@ +The UTF8 files are created from the files in the parent directory xsane-?.??/po +by callink "make utf8" (you need the program "recode", +e.g. from http://recode.progiciels-bpi.ca/). +In the moment the utf8 files are only used for +xsane-win32. May be they will be also used for the unix version one day. + +Oliver Rauch diff --git a/po/UTF-8/cs.gmo b/po/UTF-8/cs.gmo new file mode 100644 index 0000000..4106e71 Binary files /dev/null and b/po/UTF-8/cs.gmo differ diff --git a/po/UTF-8/cs.po b/po/UTF-8/cs.po new file mode 100644 index 0000000..89aaf23 --- /dev/null +++ b/po/UTF-8/cs.po @@ -0,0 +1,2794 @@ +# Czech translation for XSane. +# Copyright (C) 2004 Free Software Foundation, Inc. +# Stanislav Brabec , 2000-2004. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-21 20:16+0200\n" +"Last-Translator: Stanislav Brabec \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "cs" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "kopie-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "O programu" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "O překladu" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "autorizace" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "Licence GPL" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Licenční smlouva pro koncového uživatele" + +#. WINDOW_INFO +msgid "info" +msgstr "informace" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "načíst seznam dávek" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "zapsat seznam dávek" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "dávkové skenování" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "přejmenovat dávkovou oblast" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "faxový projekt" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "přejmenovat faxovou stránku" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "zadat ps-soubor pro fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "poštovní projekt" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "přejmenovat obrázek do pošty" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "vložit soubor do pošty" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "přejmenovat předvolenou oblast" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "přidat předvolenou oblast" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "přejmenovat médium" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "přidat nové médium" + +#. WINDOW_SETUP +msgid "setup" +msgstr "nastavení" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogram" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gama křivka" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Standardní volby" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Rozšířené volby" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "výběr zařízení" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Náhled" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Prohlížeč" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Prohlížeč: zvolte výstupní soubor" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Zvolte jméno výstupního souboru s rozpoznaným textem" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "výběr jména výstupního souboru" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "zápis nastavení zařízení" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "čtení nastavení zařízení" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "změna pracovního adresáře" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "výběr pomocného adresáře" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Změna velikosti obrázku" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Vyčistit obrázek" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Rozostřit obrázek" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Uložit definici média" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Nejsou k dispozici žádná zařízení" + +#. MENU_FILE +msgid "File" +msgstr "Soubor" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Nastavení" + +#. MENU_VIEW +msgid "View" +msgstr "Pohled" + +#. MENU_WINDOW +msgid "Window" +msgstr "Okno" + +#. MENU_HELP +msgid "Help" +msgstr "Nápověda" + +#. MENU_EDIT +msgid "Edit" +msgstr "Úpravy" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtry" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometrie" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "O XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Informace" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Konec" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Zápis obrázku" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - zapsat text" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Duplikovat" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Změna velikosti" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Zavřít" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Vrátit" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Vyčistit" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Rozostření" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Rotace 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rotace 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rotace 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Zrcadlení |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Zrcadlení -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Původní obrázek" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Zpracovaný obrázek" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Skenovat" + +#. BUTTON_OK +msgid "Ok" +msgstr "OK" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Přijmout" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Nepřijmout" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Použít" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Zrušit" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Redukovat" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Pokračovat na vlastní riziko" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Procházet" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Přepsat" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Seznam skenovacích dávek" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Zvolená oblast skenování" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Smazat stránku" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Zobrazit stránku" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Přejmenovat stránku" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Smazat obrázek" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Ukázat obrázek" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Editovat obrázek" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Přejmenovat obrázek" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Vložit soubor" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Vytvořit projekt" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Odeslat projekt" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Smazat projekt" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Přidat tiskárnu" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Odebrat tiskárnu" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Sejmout náhled" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Zrušit náhled" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Zahodit obrázek" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Zahodit všechny obrázky" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Nezavírat" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Spřáhnout změnu velikosti" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Nalézt režim" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTML pošta" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Při skončení zapsat předvolby zařízení" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Varování o přepsání" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Přeskočit existující jména souborů" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Zapsat jako 16bitový pnm v ascii formátu" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Redukovat 16bitový obrázek na 8bitový" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Pevná velikost hlavního okna" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Zakázat pro gimp gama náhledu" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Použít vlastní barevnou mapu" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Automaticky upravit gama" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Předvolba skenovací plochy" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Automatická korekce barev" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "Authentifikace POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Použít GUI rouru průběhu" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "procházejí se zařízení" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Dostupná zařízení:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Předvolby XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Režim XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Krok" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Typ" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Skener a ovladač:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Výrobce:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Typ:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Zařízení:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Zavedený ovladač:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Verze Sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Aktuální hodnoty:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gama korekce provádí:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "skener" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "software (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "nikdo" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Vstupní hloubka gama:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Výstupní hloubka gama:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Výstupní hloubka skeneru:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Výstupní formáty xsane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8bitové výstupní formáty:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16bitové výstupní formáty:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"GIMP nepodporuje hloubku 16 bitů/barvu.\n" +"Chcete redukovat hloubku na 8 bitů/barvu?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Tento výstupní formát nepodporuje hloubku 16 bitů/barvu.\n" +"Chcete redukovat hloubku na 8 bitů/barvu?<" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Je vyžadovaná autorizace" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Přenos hesla je bezpečný" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Ovladač vyžaduje heslo jako obyčejný text" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Uživatel:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Heslo:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Neplatné parametry." + +#. TEXT_VERSION +msgid "version:" +msgstr "verze:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "balík" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "s podporou programu GIMP" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "bez podpory programu GIMP" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "kompilováno s GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "kompilováno s GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "neznámý" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"Program XSane je šiřitelný v souladu s Obecnou veřejnou licencí GNU\n" +"publikovanou Free Software Foundation; buď licencí verze 2 nebo\n" +"(dle vaší volby) jakoukoliv novější.\n" +"\n" +"Tento program je šířen v naději, že bude užitečný, avšak\n" +"BEZ JAKÉKOLI ZÁRUKY; neposkytují se ani odvozené záruky\n" +"PRODEJNOSTI anebo VHODNOSTI PRO URČITÝ ÚČEL.\n" +"Může se ukázat, že je program nefunkční, pak berete na sebe\n" +"veškeré náklady na servis, opravu či korekci. Před použitím tohoto\n" +"programu musíte přečíst, pochopit a přijmout následující ujednání\n" +"\"ŽÁDNÉ ZÁRUKY\".\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"Program XSane je šiřitelný v souladu s Obecnou veřejnou licencí GNU\n" +"publikovanou Free Software Foundation; buď licencí verze 2 nebo\n" +"(dle vaši volby) jakoukoliv novější.\n" +"\n" +"Tento program je šířen v naději, že bude užitečný, avšak\n" +"BEZ JAKÉKOLI ZÁRUKY; neposkytují se ani odvozené záruky\n" +"PRODEJNOSTI anebo VHODNOSTI PRO URČITÝ ÚČEL.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "E-mail:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Domovská stránka:" + +#. TEXT_FILE +msgid "File:" +msgstr "Soubor:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Překlad:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"Stanislav Brabec\n" +"e-mail: utx@penguin.cz\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0 × 0: 0 KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Skenované stránky: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Text e-mailu:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Přílohy:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Stav projektu:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Typ souboru obrázku v poště:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Název média:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Velikost v pixelech: %d × %d, bitů/barvu: %d, barev: %d, %1.0f dpi × %1.0f " +"dpi, %1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Poloměr pro vyčistění:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Poloměr rozostření:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(beze jména)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Jméno oblasti:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Režim skenování:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Horní levý:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Velikost:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Rozlišení:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bitová hloubka:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "jako vybraná" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Výběr tiskárny:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Jméno:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Příkaz:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Volba počtu kopií:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Rozlišení čárové grafiky (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Rozlišení v šedích (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Rozlišení v barvě (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Šířka" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Výška" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Levý posun" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Spodní posun" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Gama hodnota tiskárny:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Červená gama tiskárny:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Zelená gama tiskárny:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Modrá gama tiskárny:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Pomocný adresář" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Práva obrázkového souboru" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Práva adresáře" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Kvalita JPEG obrázku" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Komprese PNG obrázku" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Délka čítače jména souboru" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Komprese 16bitových TIFF obrázků" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Komprese 8bitových TIFF obrázků" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Komprese TIFF čárové grafiky" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Zobrazit rozsah jako:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Převzorkování náhledu:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Gama náhledu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Červená gama náhledu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Zelená gama náhledu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Modrá gama náhledu:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Volba prahu:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Režim automatického podavače dokumentů:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Náhled rozsahu pipety" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Minimum prahu:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Maximum prahu:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Činitel prahu:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Posun prahu:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Jméno skenovacího režimu v šedích:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Prohlížeč souboru nápovědy (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Volba příjemce:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Volby postscriptového souboru:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Volby normálního režimu:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Volby režimu vysokého rozlišení:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Nastavit implicitní program pro:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Prohlížeč (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTP server:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTP port:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Od:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Odpovědět na:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3 server:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3 port:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "POP3 uživatel:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "POP3 heslo:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Prohlížeč (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Příkaz OCR:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Volba pro vstupní soubor:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Volba pro výstupní soubor:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Použít GUI rouru průběhu:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Volba pro GUI volbu výstupu:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Klíč pro průběh:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "uživatel" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "skupina" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "všichni" + +msgid "new media" +msgstr "nové médium" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Zápis" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Obrázek" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Kopírování" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Faxování" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Pošta" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Zobrazování" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Vylepšení" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "E-mail" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Zobrazovat tipy" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Zobrazovat náhled" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Zobrazovat histogram" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Zobrazit gama křivku" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Zobrazit dávkové skenování" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Zobrazovat standardní volby" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Zobrazovat rozšířené volby" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Nastavení" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Délková jednotka" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milimetry" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimetry" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "palce" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Metoda aktualizace" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "souvislá" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "nesouvislá" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "zpožděná" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Zobrazovat seznam rozlišení" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Rotovat postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Upravit definici média" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Zapsat nastavení zařízení" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Načíst nastavení zařízení" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Změnit adresář" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Zobrazit EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Zobrazit licenci (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Dokumentace XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Dokumentace rozhraní zařízení" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Dostupná rozhraní zařízení" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Skenovací tipy" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problémy?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "neaktivní" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "žádná komprese" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "Huffmanova komprese CCITT 1D" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Komprese CCITT Group 3 Fax" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Komprese CCITT Group 4 Fax" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Komprese JPEG DCT" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "bitové pakování" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Posuvník (škála)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Posuvník (rolování)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Cyklické tlačítko" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Škála a cyklické tlačítko" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Rolování a cyklické tlačítko" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Okno standardních voleb (čárová grafika)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Hlavní okno XSane (čárová grafika)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Hlavní okno XSane (šedi -> čárová grafika)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(nic)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "Přípona" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Přidat výběr do seznamu" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Přidat definici média" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Přejmenovat položku" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Smazat položku" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Přesunout položku výš" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Přesunout položku níž" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Skenuje se" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Přijímají se data typu %s" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Obrázek se přenáší" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Obrázek se rotuje" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Obrázek se zrcadlí" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Obrázek se komprimuje" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Obrázek se převádí" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Obrázek se zapisuje" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Duplikuje se obrázek" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Mění se velikost obrázku" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Obrázek se vyčisťuje" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Obrázek se rozostřuje" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Probíhá OCR" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Zahájit skenování " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Zrušit skenování " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Získat náhledový sken " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Zrušit náhledový sken " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"uložit-, zobrazit-, fotokopie-, fax- nebo " +"pošta-" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Zvolte typ zdrojového média.\n" +"K přejmenování, změně pořadí nebo smazání položky použijte kontextové menu " +"(pravé tlačítko myši).\n" +"K vytvoření média povolte volbu úpravy definice média v menu nastavení." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Hodnota, která se přidá k čítači jména souboru po skenování" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Vyhledat jméno souboru" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Jméno souboru pro skenovaný obrázek" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Typ formátu obrázku, vhodná koncovka je ke jménu souboru doplněná automaticky" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Zadání jména faxového projektu" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Zadání jména faxové strany" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Zadání telefonního čísla nebo adresy příjemce" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Zadání jména poštovního projektu" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Zadejte nové jméno obrázku do pošty" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Zadejte e-mailovou adresu" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Zadejte předmět zprávy" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Zvolte typ souboru pro obrázkové přílohy" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Zadejte nové jméno pro předvolenou oblast" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Zadejte nové jméno pro novou předvolenou oblast" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Zadejte nové jméno pro definici média" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Zadejte nové jméno pro novou definici média" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Volba definice tiskárny " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Nastavení rozlišení skenování" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Nastavení rozlišení ve směru x" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Nastavení rozlišení ve směru y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Nastavení faktoru změny velikosti" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Nastavení faktoru změny velikosti ve směru x" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Nastavení faktoru změny velikosti ve směru y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Nastavení počtu kopií" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativ: Invertuje barvy pro skenování negativů " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Nastavení gama hodnoty" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Nastavení gama hodnoty červené komponenty" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Nastavení gama hodnoty zelené komponenty" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Nastavení gama hodnoty modré komponenty" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Nastavení jasu" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Nastavení jasu červené komponenty" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Nastavení jasu zelené komponenty" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Nastavení jasu modré komponenty" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Nastavení kontrastu" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Nastavení kontrastu červené komponenty" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Nastavení kontrastu zelené komponenty" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Nastavení kontrastu modré komponenty" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Nastavení prahu" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"Implicitní RGB: Nastavení implicitních hodnot pro zpracování červené, zelené " +"a modré :\n" +" gama = 1.0\n" +" jas = 0\n" +" kontrast = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Automatické nastavení gamy, jasu a kontrastu " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Nastavení implicitních hodnot zpracování :\n" +"gama = 1.0\n" +"jas = 0\n" +"kontrast = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Obnovení hodnot zpracování z předvoleb " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Uložení aktivních hodnot zpracování do předvoleb " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Zobrazit histogram intenzity/šedí " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Zobrazit histogram červené komponenty " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Zobrazit histogram zelené komponenty " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Zobrazit histogram modré komponenty " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Režim zobrazování: zobrazit čárový histogram místo bodového " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Zobrazit logaritmy počtů pixelů " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Volba definice ke změně" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Zadání jména pro výběr této definice" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "" +"Zadání příkazu, který má být vyvolán v režimu kopírování (např. \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Zadání volby počtu kopií" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Rozlišení, ve kterém bude čárová grafika tisknuta a zapisována do postscriptu" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Rozlišení, ve kterém budou obrázky v šedích tisknuty a zapisovány do " +"postscriptu" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Rozlišení, ve kterém budou obrázky v barvě tisknuty a zapisovány do " +"postscriptu" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Šířka tisknutelné plochy" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Výška tisknutelné plochy" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Posun od levého okraje papíru do tisknutelné plochy" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Posun od spodního okraje papíru do tisknutelné plochy" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Dodatečná gama hodnota pro fotokopii" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Dodatečná gama hodnota pro červenou komponentu pro fotokopii" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Dodatečná gama hodnota pro zelenou komponentu pro fotokopii" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Dodatečná gama hodnota pro modrou komponentu pro fotokopii" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Cesta k pomocnému adresáři" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Vyhledat pomocný adresář" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Kvalita v procentech, je-li obrázek zapisován jako jpeg nebo tiff s jpeg " +"kompresí" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Komprese, je-li obrázek zapisován jako png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Minimální délka čítače ve jménu souboru" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Typ komprese, je-li obrázek zapisován jako 16bitový TIFF" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Typ komprese, je-li obrázek zapisován jako 8bitový TIFF" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Typ komprese, je-li obrázek zapisován jako TIFF čárová grafika" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Při skončení zapsat do standardního souboru předvolby závislé na zařízení" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Varování před přepsáním existujícího souboru" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Je-li čítač souborů automaticky zvětšován, použitá čísla jsou přeskočena" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Pokud má být 16bitový obrázek zapsán ve formátu pnm, potom použijte ascii " +"formát namísto binárního. Bunární formát je nový a nepodporují ho všechny " +"programy. Ascii formát podporuje více programů, ale produkuje obrovské " +"soubory!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Pošle-li skener obrázek s 16 bity/barvu, zapsat obrázek v 8 bitech/barvu" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Šířka papíru pro postscriptové soubory" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Výška papíru pro postscriptové soubory" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Posun od levého okraje papíru do tisknutelné plochy pro postscriptové soubory" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Posun od spodního okraje papíru do tisknutelné plochy pro postscriptové " +"soubory" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Užití pevné velikosti hlavního okna nebo okna s posuvníky a proměnnou " +"velikostí" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Zakázat gama náhledu, běží-li XSane jako gimp modul" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "Použití vlastní barevné mapy náhledu, je-li obrazová hloubka 8" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Zvolte, jak je rozsah zobrazován" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Hodnota, kterou se násobí rozlišení náhledu" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Nastavení gama korekce pro náhledový obrázek" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "Nastavení gama korekce pro červenou komponentu náhledového obrázku" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "Nastavení gama korekce pro zelenou komponentu náhledového obrázku" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Nastavení gama korekce pro modrou komponentu náhledového obrázku" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Definuje způsob, kterým má XSane pracovat s volbou prahu" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Zadání skenovacího režimu šedí. Tento režim je použit pro náhledový sken " +"čárové grafiky, je-li zapnut převod z šedí do čárové grafiky" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Minimální hodnota prahu v %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Maximální hodnota prahu v %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Činitel, který nastaví shodný rozsah prahů XSane a rozsah prahů skeneru" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "Posun, který nastaví shodný rozsah prahů XSane a rozsah prahů skeneru" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Výběr skenovacího zdroje pro automatický podavač dokumentů. Je-li zvolen, " +"XSane skenuje, dokud nenastane stav \"došel papír\" nebo chyba." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"rozměry čtverce, který je použit ke zprůměrování barvy pro barevnou pipetu" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Nastavení příkazu k zobrazení souborů nápovědy, musí být html prohlížeč!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Je-li tlačítko automatické úpravy stisknuto, změní gama hodnotu" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Po naskenování náhledu vybere skenovací oblast" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Po naskenování náhledu provede barevnou korekci" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Nastavení příkazu prováděného ve faxovém režimu" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Nastavení volby určující příjemce" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Nastavení volby k zadání postscriptových souborů" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Nastavení volby k určení normálního režimu (nízké rozlišení)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Nastavení volby k určení kvalitního režimu (velké rozlišení)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Nastavení příkazu k zobrazení faxu" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "" +"Užití vysokého svislého rozlišení při odesílání faxu (196 dpi namísto 98 dpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "IP adresa nebo doména SMTP serveru" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "port pro spojení se SMTP serverem" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "zadejte svou e-mailovou adresu" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "zadejte svou e-mailovou adresu pro odpovědi" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Authentifikace na POP3 serveru před odesláním mailu" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "IP adresa nebo jméno doména POP3 serveru" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "port pro připojení k POP3 serveru" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "uživatelské jméno pro POP3 server" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "heslo pro POP3 server" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Zadání příkazu, který má být vyvolán při zobrazení obrázku v mailu" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "Mail je posílán v režimu html, umístěte obrázky pomocí: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Zadejte příkaz pro spuštění ocr programu" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Zadejte volbu ocr programu pro zadání vstupního souboru" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Zadejte volbu ocr programu pro zadání výstupního souboru" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" +"Zadejte, zda OCR program podporuje rouru pro grafické znázornění průběhu" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "Zadejte, zda OCR program podporuje grafickou volbu souboru" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Zadejte klíč, který je použitý k označení informace o průběhu" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "čtení" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "zápis" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "spuštění" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Přidat výběr pro dávkové skenování" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Nasátí bílého bodu" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Nasátí šedého bodu" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Nasátí černého bodu" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Užití plné skenovací plochy" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Vzdálení o 20 %" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Zvětšení poklepnutím na pozici" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Přiblížení zvolenou oblast" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Vrácení posledního přiblížení" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Volba viditelné oblasti" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Automatický výběr skenovací plochy" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Automatické zvětšení skenovací plochy" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Smazat paměť náhledu" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Předvolená oblast:\n" +"K přidání nové oblasti nebo k úpravě existující oblasti použijte kontextové " +"menu (pravé tlačítko myši)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Rotace náhledu a skenování" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Poměr stran výběru" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Definovat pozici obrázku pro tisk" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Optické rozpoznávání znaků" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Vrácení poslední změny" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Duplikovat obrázek" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Rotovat obrázek o 90 stupňů" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Rotovat obrázek o 180 stupňů" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Rotovat obrázek o 270 stupňů" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Zrcadlit obrázek kolem svislé osy" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Zrcadlit obrázek kolem vodorovné osy" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Zvětšit obrázek" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Uložit médium" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Smazat aktivní médium" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Faktoru změny velikosti" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Faktoru změny velikosti X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Faktoru změny velikosti Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Zmenit velikost obrázku na šířku [v pixelech]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Zmenit velikost obrázku na výšku [v pixelech]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Prázdný seznam dávek" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Zapsat seznam dávek" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Načíst seznam dávek" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Přejmenovat oblast" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Přidat vybranou náhledovou oblast do seznamu dávek" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Přidat vybranou oblast ze seznamu dávek" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Zapne automatický režim" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Selhalo určení domovského adresáře:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Selhala změna pracovního adresáře na" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Jméno souboru je příliš dlouhé" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Nelze vytvořit dočasný soubor" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Selhalo nastavení hodnoty volby" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Selhalo získání hodnoty volby" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Selhalo získání počtu voleb" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Otevření zařízení selhalo" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "nejsou k dispozici žádná zařízení" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Chyba během čtení:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Chyba během zápisu:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Nelze zpracovat hloubku" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP nepodporuje hloubku %d bitů/barvu" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Neznámý formát souboru pro zápis" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Otevření selhalo" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Nelze vytvořit bezpečný soubor (možná, že existuje odkaz):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Otevření roury ke spuštění příkazu tiskárny selhalo" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Spuštění příkazu tiskárny selhalo" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Spuštění skeneru selhalo" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Získání parametrů selhalo:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Nebyl zadán výstupní formát" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "nedostatek paměti" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Ovladač poslal více dat, než bylo definováno v parametrech" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF hlásí chybu" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG hlásí chybu" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG hlásí chybu" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "neznámý typ" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "neznámý požadovaný typ" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Volba má prázdné jméno (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Toto je chyba ovladače zařízení. Prosím informujte autora ovladače!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Spuštění prohlížeče dokumentace selhalo" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Spuštění faxového prohlížeče selhalo" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Spuštění faxového příkazu selhalo:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Spuštění prohlížeče obrázků v poště selhalo" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Spuštění ocr příkazu selhalo:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "špatný formát rámce" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "nepodařilo se nastavit rozlišení" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Soubor s hesly (%s) je nebezpečný, použijte práva x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "chyba" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Hlavní číslo verze Sane nesouhlasí!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Hlavní číslo verze XSane =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "hlavní číslo verze ovladače =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAM ZRUŠEN ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Selhalo získání paměti pro obrázek:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Náhled nepodporuje bitovou hloubku" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Chybí podpora programu GIMP" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Nelze vytvořit pracovní náhledové soubory" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Nelze vytvořit jména náhledových souborů" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Nelze vytvořit faxový projekt" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Podtečení čítače jména souboru" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "varování: volba nezískala žádnou hodnotu" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Spouštíte XSane jako SUPERUŽIVATEL, což je velmi NEBEZPEČNÉ!\n" +"\n" +"Neposílejte chybová hlášení, budete-li mít problémy\n" +"při běhu XSane pod superuživatelem:\n" +"JSTE OSAMĚLÍ!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Chyba" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Varování" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Informace" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Chyba procesu potomka" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Vytvoření souboru selhalo" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Chyba během čtení nastavení zařízení:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "není soubor-záznamu-zařízení!!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Spuštění Netscape selhalo!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Odeslání faxu: není definován příjemce" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "byl vytvořen pro zařízení" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "má být použit pro zařízení" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "to může způsobit problémy!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Není zapsáno %d obrázků" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Soubor %s již existuje" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Soubor %s neexistuje" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Soubor %s není postscriptový soubor" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Nepodporované %dbitové výstupní formáty: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "obrázek z prohlížeče není zapsán" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Užití:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[VOLBA]... [ZAŘÍZENÍ]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Spuštění grafického rozhraní pro přístup k SANE zařízením\n" +"(SANE = Scanner Access Now Easy - přístup ke skeneru je nyní snadný).\n" +"\n" +"Formát [ZAŘÍZENÍ] je jméno_ovladače:jméno_zařízení (např. umax:/dev/" +"scanner).\n" +"[VOLBA]... může být kombinací následujících položek:\n" +" -h, --help vypíše tuto nápovědu a skončí\n" +" -v, --version vypíše označení verze\n" +" -l, --license vypíše informace o licenci\n" +"\n" +" -d, --device-settings soubor načte nastavení zařízení ze souboru (bez \"." +"drc\")\n" +"\n" +" -V, --viewer spustí se v režimu prohlížeče (implicitní)\n" +" -s, --save spustí se v režimu zápisu\n" +" -c, --copy spustí se v režimu kopírování\n" +" -f, --fax spustí se v režimu faxování\n" +" -m, --mail spustí se v režimu pošty\n" +" -n, --no-mode-selection zakáže menu volby režimu XSane\n" +"\n" +" -F, --Fixed použije pevnou velikost hlavního okna\n" +" (přepíše hodnotu předvolby)\n" +" -R, --Resizeable použije hlavní okno s posuvníky a proměnnou " +"velikostí\n" +" (přepíše hodnotu předvolby)\n" +"\n" +" -p, --print-filenames vypíše jména souborů vytvořená XSane\n" +" -N, --force-filename name vnutí jméno souboru a vypne volbu jména " +"souboru\n" +"\n" +" --display X11-displej přesměruje výstup na X11-displej\n" +" --no-xshm nepoužije sdílené paměťové obrazy\n" +" --sync vyžádá synchronní spojení s X11 serverem" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Uživatelský program k rozhraní SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Tato funkce nabízí přes rozhrani SANE (Scanner Access Now Easy - přístup ke " +"skeneru je nyní snadný) přístup ke skenerům a jiným zařízením ke snímání " +"obrázků" + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Dialog zařízení..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/File/Acquire/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Dialog zařízení..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Možné důvody:\n" +"1) Opravdu zde není žádné zařízení, které je podporování SANE\n" +"2) Podporovaná zařízení jsou obsazená\n" +"3) Práva k zařízením nedovolují použití - zkuste jako superuživatel\n" +"4) Ovladač není natažený do SANE (man sane-dll)\n" +"5) Ovladač není správně nakonfigurovaný (man sane-\"jméno_ovladače\")\n" +"6) Možná je nainstalováno více verzí SANE" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "plná velikost" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "ČSN A3 stoj." + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "ČSN A3 lež." + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "ČSN A4 stoj." + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "ČSN A4 lež." + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "ČSN A5 stoj." + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "ČSN A5 lež." + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm × 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm × 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm × 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm × 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm × 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm × 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal stoj." + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal lež." + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "letter stoj." + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "letter lež." + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Plný rozsah barev" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Diapozitiv" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Standardní negativní" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa negativní" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Agfa negativní XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Agfa negativní HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Fuji negativní" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Kodak negativní" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Konica negativní" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Konica negativní VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Rossmann negativní HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Poštovní projekt nebyl vytvořen" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Poštovní projekt byl vytvořen" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Poštovní projekt byl změněn" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Chyba při čtení poštovního projektu" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "POP3 spojení selhalo" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "POP3 přihlášení selhalo" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "SMTP spojení selhalo" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Položka Od byla odmítnuta" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Zadání příjemce bylo odmítnuto" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Data zprávy byla odmítnuta" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Zpráva se posílá" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Zpráva byla odeslána" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Faxový projekt nebyl vytvořen" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Faxový projekt byl vytvořen" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Faxový projekt byl změněn" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Fax se přidává do fronty" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax je ve frontě" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "plošný skener" + +msgid "frame grabber" +msgstr "snímač políček" + +msgid "handheld scanner" +msgstr "ruční ckener" + +msgid "still camera" +msgstr "digitální fotoaparát" + +msgid "video camera" +msgstr "videokamera" + +msgid "virtual device" +msgstr "virtuální zařízení" + +msgid "Success" +msgstr "Úspěch" + +msgid "Operation not supported" +msgstr "Operace není podporovaná" + +msgid "Operation was cancelled" +msgstr "Operace byla zrušena" + +msgid "Device busy" +msgstr "Zařízení je v používání" + +msgid "Invalid argument" +msgstr "Neplatný argument" + +msgid "End of file reached" +msgstr "Dosažen konec souboru" + +msgid "Document feeder jammed" +msgstr "Zmačkaný papír v podavači" + +msgid "Document feeder out of documents" +msgstr "V podavači došly dokumenty" + +msgid "Scanner cover is open" +msgstr "Víko skeneru je otevřeno" + +msgid "Error during device I/O" +msgstr "Chyba během V/V zařízení" + +msgid "Out of memory" +msgstr "Nedostatek paměti" + +msgid "Access to resource has been denied" +msgstr "Přístup ke zdroji byl odmítnut" diff --git a/po/UTF-8/da.gmo b/po/UTF-8/da.gmo new file mode 100644 index 0000000..d6c4a5d Binary files /dev/null and b/po/UTF-8/da.gmo differ diff --git a/po/UTF-8/da.po b/po/UTF-8/da.po new file mode 100644 index 0000000..cef1ae1 --- /dev/null +++ b/po/UTF-8/da.po @@ -0,0 +1,2803 @@ +# translation of da.po to Dansk +# Dansk oversættelse af XSane. +# Copyright (C) 2002 Mogens Jæger +# Mogens Jaeger , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-21 19:48+0200\n" +"Last-Translator: Mogens Jaeger \n" +"Language-Team: Dansk \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3.1\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "da" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "klon-af-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Om" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Om oversættelse" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "autorisation" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - licensen" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Slut bruger licens aftale" + +#. WINDOW_INFO +msgid "info" +msgstr "information" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "hent batch liste" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "gem batch liste" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "batch skan" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "omdøb batch område" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "fax projekt" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "omdøb fax side" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "indsæt ps-fil i fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "mail projekt" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "omdøb mail billede" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "indsæt fil i mail" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "omdøb forvalgt område" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "tilføj forvalgt område" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "omdøb medium" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "tilføj nyt medium" + +#. WINDOW_SETUP +msgid "setup" +msgstr "opsætning" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogram" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gamma kurve" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Standard indstillinger" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Avancerede indstillinger" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "valg af enhed" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Forhåndsvisning" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Viser" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Viser: vælg uddata filnavn" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Vælg uddata filnavn for tekstgenkendelsesfil" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "vælg uddata filnavn" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "gem enheds indstillinger" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "indlæs enheds indstillinger" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "skift arbejds bibliotek" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "vælg midlertidigt bibliotek" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Skaler billede" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Fjern kornstøj fra billede" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Slør billede" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Gem medie definition" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Ingen enheder til rådighed" + +#. MENU_FILE +msgid "File" +msgstr "Fil" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Indstillinger" + +#. MENU_VIEW +msgid "View" +msgstr "Vis" + +#. MENU_WINDOW +msgid "Window" +msgstr "Vindue" + +#. MENU_HELP +msgid "Help" +msgstr "Hjælp" + +#. MENU_EDIT +msgid "Edit" +msgstr "Ret" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtre" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometri" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Om XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Information" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Afslut" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Gem billede" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr " Tekstgenkendelse - gem som tekst" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Klon" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Skaler" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Luk" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Fortryd" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Fjern kornstøj" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Slør" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Roter 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Roter 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Roter 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Spejl |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Spejl -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Oprindeligt billede" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Forbedret billede" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Skan" + +#. BUTTON_OK +msgid "Ok" +msgstr "Ok" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Accepter" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Afvis" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Anvend" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Afbryd" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Reducer" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Fortsæt på egen risiko" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Gennemsøg" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Overskriv" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Skan batch liste" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Skan valgt område" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Slet side" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Vis side" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Omdøb side" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Slet billede" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Vis billede" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Ret billede" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Omdøb billede" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Indsæt fil" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Dan projekt" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Send projekt" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Slet projekt" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Tilføj printer" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Slet printer" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Rekvirer forhåndsvisning" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Afbryd forhåndsvisning" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Kasser billede" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Kasser alle billeder" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Undlad at lukke" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Fasthold skalering" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Fin tilstand" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTML-mail" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Gem enheds indstillinger ved afslutning" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Overskriv advarsel" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Drop eksisterende filnavne" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Gem 16 bit pnm i ascii format" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Reducer 16 bit billede til 8 bit" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Hoved vindues størrelse er fast" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Deaktiver gimp forhåndsvisnings gamma" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Brug egen farvemappe" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Automatisk optimering af gamma" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Forvælg skannings område" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Auto optimer farver" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "POP3 godkendelse" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Brug GUI fremskridts rør" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "Skanner efter enheder" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Enheder til rådighed:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "XSane indstillinger" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "XSane tilstand" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Skridt" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Type" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Skanner og bagende:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Fremstillet af:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Type:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Enhed:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Anvendt bagende:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Version af Sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Nuværende værdier:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gammakorrektion med:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "skanner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "software (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "ingen" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Gamma inddata bitdybde:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Gamma uddata bitdybde:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Scanner uddata bitdybde:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "XSane uddata formater:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8 bit uddata formater:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16 bit uddata formater:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp understøtter ikke 16 bit/farve.\n" +"Ønsker du at reducere til 8 bit/farve?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"16 bit/farve er ikke understøttet for dette uddata format.\n" +"Ønsker du at reducere til 8 bit/farve?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Autorisation er nødvendig for" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Password overførsel er sikker" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Bagende fordrer almindeligt tekst password" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Brugernavn:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Password:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Ugyldig parameter." + +#. TEXT_VERSION +msgid "version:" +msgstr "version:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "pakke" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "med GIMP understøttelse" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "uden GIMP understøttelse" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "oversat med GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "oversat med GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "ukendt" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane bliver distributeret under betingelserne i GNU General Public License\n" +"som publiceret af the Free Software Foundation; enten version 2 af " +"licensen,\n" +"eller (efter eget ønske) enhver senere version.\n" +"\n" +"Dette program er distribueret i det håb at det kan være nyttigt, men\n" +"UDEN ENHVER FORM FOR GARANTI, endda uden den underforståede\n" +"garanti for SALGBARHED, eller EGNETHED FOR ET BESTEMT FORMÅL\n" +"Skulle programmet vise sig at være defekt, overtager du udgiften til al\n" +"nødvendig service, reparation og korrektion. For at bruge dette program\n" +"skal du læse, forstå og acceptere den følgende\n" +"\"INGEN GARANTI\" aftale.\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane bliver distributeret under betingelserne i GNU General Public License\n" +"som publiceret af the Free Software Foundation; enten version 2 af " +"licensen,\n" +"eller (efter eget ønske) enhver senere version.\n" +"\n" +"Dette program er distribueret i det håb at det kan være nyttigt, men\n" +"UDEN ENHVER FORM FOR GARANTI, endda uden den underforståede\n" +"garanti for SALGBARHED, eller EGNETHED FOR ET BESTEMT FORMÅL\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Email:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Hjemmeside:" + +#. TEXT_FILE +msgid "File:" +msgstr "Fil:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Oversættelse:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"ikke oversat original engelsk tekst\n" +"af Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Skannede sider: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Email tekst:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Vedhæftninger:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Projekt status:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Mail billede filtype:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Medium navn:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Størrelse %d x %d pixel, %d bit/farve, %d farver, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Fjern kornstøj radius:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Slørings radius" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(intet navn)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Område navn:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Skanner tilstand:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Øverst venstre:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Størrelse:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Opløsning:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bit dybde:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "som valgt" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Printer valg:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Navn:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Kommando:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Kopi nummer indstilling:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Stregtegning opløsning (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Gråskala opløsning (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Farve opløsning (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Bredde" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Højde" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Venstre margen" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Bund margen" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Printers gamma værdi:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Printers gamma værdi i rød:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Printers gamma værdi i grøn:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Printers gamma værdi i blå:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Midlertidigt bibliotek" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Billed fil rettigheder" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Biblioteks rettigheder" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "JPEG billed kvalitet" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "PNG billed kompression" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Filnavn tæller længde" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "TIFF 16 bit billede kompression" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "TIFF 8 bit billede kompression" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "TIFF stregtegning billede kompression" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Vis område som:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Forhåndsvisning oversampling:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Forhåndsvisning gamma:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Forhåndsvisning gamma rød:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Forhåndsvisning gamma grøn:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Forhåndsvisning gamma blå:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Grænseværdi indstilling:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Automatisk dokument fødnings tilstand:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Forhåndsvisning pipette område" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Grænseværdi minimum:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Grænseværdi maksimum:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Grænseværdi faktor:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Grænseværdi forskydning:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Navn på gråskala skanner tilstand:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Hjælpefil viser (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Indstillinger for modtagernummer:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Indstillinger for Postscriptfiler:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Indstillinger for normal tilstand:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Indstillinger for fin tilstand:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Sæt program standardværdier for:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Viser (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTP server:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTP port:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Fra:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Svar til:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3 server:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3 port:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "POP3 bruger:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "POP3 password:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Viser (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Tekstgenkendelse kommando:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Inddatafil indstillinger:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Uddatafil indstillinger:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Brug GUI fremskridts rør" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUI uddata fd indstillinger:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Fremskridts nøgleord:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "bruger" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "gruppe" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "alle" + +msgid "new media" +msgstr "nyt medie" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Gem" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Billede" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Kopi" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Fax" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Mail" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "Tekstgenkendelse" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Skærm" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Forbedring" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Email" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Vis værktøjstips" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Vis forhåndsvisning" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Vis histogram" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Vis gamma kurve" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Vis batch skan" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Vis standard indstillinger" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Vis avancerede indstillinger" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Opsætning" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Længde enhed" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "millimeter" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimeter" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "tommer" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Opdaterings politik" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "kontinuerlig" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "afbrudt" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "forsinket" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Vis liste med opløsninger" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Roter postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Ret medie definition" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Gem enheds indstillinger" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Indlæs enheds indstillinger" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Skift bibliotek" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Vis slutbruger aftale" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Vis licens (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "XSane vejledning" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Bagende vejledning" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Bagender til rådighed" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Skanning tips" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problemer?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "Ikke aktiv" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "ingen kompression" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "CCITT 1D Huffman kompression" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "CCITT gruppe 3 Fax kompression" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "CCITT gruppe 4 Fac kompression" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "JPEG DCT kompression" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "pakkede bits" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Skyder instilling (skala)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Skyder indstilling (rullebjælke)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Drejeknap" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Skala og drejeknap" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Rullebjælke og drejeknap" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Standard instillings vindue (stregtegning)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "XSane hoved vindue (stregtegning)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "XSane hoved vindue (gråskala > stregtegning)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(ingen)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "efter fil-endelse" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Tilføj valgt område til liste" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Tilføj medie definition" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Omdøb punkt" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Slet punkt" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Flyt punkt op" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Flyt punkt ned" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Skanning" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Modtager %s data" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Overfører billede" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Roterer billede" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Spejlvender billede" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Pakker billede" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Konverterer billede" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Gemmer billede" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Kloner billede" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Skalerer billede" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Fjerner kornstøj i billede" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Slører billede" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Tekstgenkendelse" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Start skanning " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Afbryd skanning " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Rekvirer forhåndsvisnings skan " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Afbryd skan forhåndsvisning " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"gem-, vis-, fotokopier-, fax- eller mail-" +"" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Vælg kilde medie type.\n" +"For at omdøbe, omarrangere eller slette en indføring bruges genvejsmenuen " +"(højre musetaste).\n" +"For at danne et nyt medie, aktiver indstillingen ret medie definition i " +"indstillings menuen." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Værdi der bliver lagt til filtælleren efter skanning" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Søg efter billed filnavn" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Filnavn til skannet billede" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Type af billed format, den passende filendelse bliver automatisk tilføjet " +"filnavnet." + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Angiv navn på fax projekt" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Angiv nyt navn for fax side" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Angiv modtager telefon nummer eller adresse" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Angiv navn på mail projekt" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Angiv nyt navn på mail billede" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Angiv email adresse" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Angiv subjekt for email" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Vælg filtype for billed vedhæftninger" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Angiv nyt navn på forvalgt område" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Angiv navn på nyt forvalgt område" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Angiv nyt navn på medie definition" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Angiv navn på ny medie definition" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Vælg printerdefinition " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Sæt skanner opløsning" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Sæt skanner opløsning for x-retning" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Sæt skanner opløsning for y-retning" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Sæt zoom faktor" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Sæt zomm faktor for x-retning" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Sæt zomm faktor for y-retning" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Sæt antal kopier" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativer: Omvend farver for skannet negativ " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Sæt gamma værdi" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Sæt gamma værdi for rød farvedel" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Sæt gamma værdi for grøn farvedel" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Sæt gamma værdi for blå farvedel" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Sæt værdi for lyshed" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Sæt værdi for lyshed i rød farvedel" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Sæt værdi for lyshed i grøn farvedel" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Sæt værdi for lyshed i blå farvedel" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Sæt værdi for kontrast" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Sæt værdi for kontrast i rød farvedel" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Sæt værdi for kontrast i grøn farvedel" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Sæt værdi for kontrast i blå farvedel" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Sæt grænseværdi" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGB standard: Sæt optimerings værdier for rød, grøn og blå til standard " +"værdier :\n" +" gamma = 1.0\n" +" lyshed = 0\n" +" kontrast = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Autojuster gamma, lyshed og kontrast " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Sæt standard optimerings værdier :\n" +"gamma = 1.0\n" +"lyshed = 0\n" +"kontrast = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Genskab optimerings værdier fra indstillinger " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Gem aktive optimerings værdier i indstillinger " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Vis histogram for intensitet/grå " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Vis histogram for rød farvedel " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Vis histogram for grøn farvedel " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Vis histogram for blå farvedel " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Vis histogram med linier i stedet for med pixels " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Brug logaritmisk visning af pixeltælling " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Vælg definition der skal ændres" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Angiv et navn til den valgte definition" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "" +"Angiv hvilken kommando der skal udføres i kopi tilstand (f.eks. \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Angiv værdi for antal kopier" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Opløsning ved hvilken stregtegnings billeder bliver printet og gemt i " +"postscript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "Opløsning for printning og gemning i postscript for gråskala billeder" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "Opløsning for printning og gemning i postscript for farve billeder" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Bredde af printbart område" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Højde af printbart område" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Venstre margen fra kant af papir, til det printbare område" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Bund margen fra kant af papir, til det printbare område" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Supplerende gamma værdi for fotokopiering" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Supplerende gamma værdi for fotokopiering, rød farvedel" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Supplerende gamma værdi for fotokopiering, grøn farvedel" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Supplerende gamma værdi for fotokopiering, blå farvedel" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Sti til midlertidigt bibliotek" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Find sti til midlertidigt bibliotek" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Kvalitet i procent, hvis billede gemmes som jpeg eller som tiff med jpeg " +"kompression" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Kompression hvis billedet gemmes som png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Minimum længde af tæller i filnavn" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Kompressions type, hvis 16 bit billede gemmes i tiff format" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Kompressions type hvis 8 bit gemmes i tiff format" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Kompressions type når stregtegnings billeder gemmes i TIFF" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "Gem enheds afhængige værdier i standardfil, ved afslutning af XSane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Advar før overskrivning af eksisterende fil" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "Hvis filnavn tæller øges automatisk, bliver brugte numre forbigået" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Hvis et 16-bit billede skal gemmes i pnm format, bruges ascii format i " +"stedet for binær format. Det binære format er et nyt format, der ikke " +"understøttes af alle programmer. Ascii formatet er understøttet af flere " +"programmer, men det producerer ret store filer!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Hvis skanner sender billede med 16 bit/farve gemmes billedet med 8 bit/farve" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Bredde af papir for postscript filer" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Højde af papir for postscript filer" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Venstre margen fra papirkant til printbart område for postscript filer" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Bund margen fra papirkant til printbart område for postscript filer" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Brug fast hoved vindues størrelse eller rullet, foranderlig hoved vindues " +"størrelse" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Deaktiver forhåndsvisnings gamma, når XSane kører som et GIMP plugin" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Brug en egen farvemappe for forhåndsvisning, hvis display dybde er 8 bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Vælg hvordan et område vises" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "" +"Værdi, med hvilken den beregnede forhåndsvisnings opløsning er multipliceret" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Sæt gamma korrektions værdi for forhåndsvisnings billede" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "Sæt gamma korrektions værdi for forhåndsvisnings billede, rød farvedel" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Sæt gamma korrektions værdi for forhåndsvisnings billede, grøn farvedel" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Sæt gamma korrektions værdi for forhåndsvisnings billede, blå farvedel" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Definer den måde, hvorpå XSane skal behandle grænseværdi indstillingen" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Vælg gråskala skannings tilstand. Denne skannings tilstand bruges til " +"stregtegnings forhåndsvisning når transformation fra gråskala til " +"stregtegning er valgt." + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Skannerens minimums grænseværdi niveau i %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Skannerens maximums grænseværdi niveau i %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplikator, der bringer XSane's og skannerens grænseværdi område i " +"overensstemmelse med hinanden" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Forskydning, der bringer XSane's og skannerens grænseværdi område i " +"overensstemmelse med hinanden" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Vælg skanner kilde til automatisk dokumentføder. Hvis denne skanner kilde er " +"valgt, fortsætter XSane indtil \"out of paper\" eller ved fejl." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"Dimension af det kvadrat, der skal bruges til gennemsnits farve med pipette " +"funktionen" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Komando der skal udføres, for at vise hjælpefiler - skal være en html viser!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Skift gammaværdi, når autoforbedrings knappen trykkes" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Vælg skan område, når forhåndsvisning er gennemført" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Udfør farvekorrektion, når forhåndsvisning er gennemført" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Komando der skal udføres i fax tilstand" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Indstilling der angiver modtager telefon nummer" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "" +"Angiv indstilling, der markerer at efterfølgende fil er i postscript format" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Angiv værdi til indstilling af en lodret opløsning på 98 lpi" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Angiv værdi til indstilling af en lodret opløsning på 196 lpi" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Komando der skal udføres, for at vise en fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Send fax med høj lodret opløsning (196 lpi i stedet for 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "IP adresse eller domain navn på SMTP server" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "port til forbindelse til SMTP server" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "Angiv din email adresse" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "Angiv email adresse til svar emails" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Godkendelse af POP3 server, før mail sendes" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "IP adresse eller domain navn på POP3 server" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "port til forbindelse til POP3 server" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "brugernavn til POP3 server" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "password til POP3 server" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Komando der skal udføres, for at vise mail billeder" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "Mail er sendt i HTML tilstand, placer billede med: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Indtast komando for at starte tekstgenkendelses program" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "" +"Indtast indstillinger for tekstgenkendelses program for at definere inddata " +"fil" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "" +"Indtast indstillinger for tekstgenkendelses program for at definere uddata " +"fil" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Angiv om tekstgenkendelses programmet understøtter GUI fremskridts rør" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Angiv indstilling for tekstgenkendelses programmet, til definering af uddata " +"filbeskrivelse i GUI tilstand" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Definer nøgleord der skal bruges til at markere fremskridts angivelse" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "læs" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "skriv" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "udfør" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Tilføj område til batch skan" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Vælg hvidt punkt" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Vælg gråt punkt" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Vælg sort punkt" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Brug fuldt skanområde" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Zoom 20% ud" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Klik i det ønskede zoom område" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Zoom ind i det valgte område" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Fortryd sidste zoom" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Vælg synligt område" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Autovælg skan område" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Auto udvid skanområde" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Slet forhåndsvisnings cache" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Forvalgt område:\n" +"For at tilføje et nyt område, eller rette et eksisterende område bruges " +"genvejsmenuen (højre musetaste)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Roter forhåndsvisning og skanning" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Forholdet mellem bredde/højde af valgt område" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Definer billed position for printning" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Tekst genkendelse" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Fortryd sidste ændring" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Klon billede" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Roter billede 90 grader" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Roter billede 180 grader" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Roter billede 270 grader" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Spejlvend billede om lodret akse" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Spejlvend billede om vandret akse" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Zoom billede" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Gem medium" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Slet aktivt medium" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Skalerings faktor" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Skalerings faktor X-retning" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Skalerings faktor Y-retning" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Skaler billede til bredde [i pixler]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Skaler billede til højde [i pixler]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Tøm batch liste" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Gem batch liste" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Hent batch liste" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Omdøb område" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Tilføj valgt forhåndsvisnings område til batch liste" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Slet valgt forhåndsvisnings område fra batch liste" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Tænder for automatisk tilstand" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Kunne ikke bestemme hjem bibliotek:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Kunne ikke skifte arbejds bibliotek til" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Filnavn for langt" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Kunne ikke skabe midlertidig fil" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Kunne ikke sætte værdien af indstillingen" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Kunne ikke læse værdien af indstillingen" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Kunne ikke bestemme antallet af indstillinger" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Kunne ikke åbne enhed" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "Ingen enheder til rådighed" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Fejl under læsning:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Fejl under skrivning:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Ikke understøttet bit-dybde" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP understøtter ikke %d bit/farve dybde" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Ukendt filformat til gemning" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Kunne ikke åbne" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Kunne ikke danne sikker fil (måske eksisterer der et link):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Kunne ikke åbne rør til udførelse af printkommando" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Kunne ikke udføre printkommando:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Kunne ikke starte skanner:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Kunne ikke få fat i parametre:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Intet uddata format angivet" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "ikke mere ram" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Bagende sender flere billeddata, end defineret i parametrene" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF melder fejl" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG melder fejl" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG melder fejl" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "ukendt type" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "ukendt forpligtende type" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Indstilling har tomt navn (NULL)" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Dette er en bagende fejl. Underret forfatteren af bagenden!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Kunne ikke udføre dokument viser" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Kunne ikke udføre fax viser:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Kunne ikke udføre fax kommando:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Kunne ikke udføre mail billede viser:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Kunne ikke udføre tekstgenkendelses kommando:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "forkert frame-format" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "kunne ikke vælge opløsning" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Password fil (%s) er usikker, brug rettighed x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "fejl" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Sane hovedversionsnummer uoverensstemmelse!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "XSane hovedversionsnummer =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "bagende hovedversionsnummer =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAM AFBRUDT ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Kunne ikke allokere billed ram:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Forhåndsvisning kan ikke håndtere bitdybde" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "GIMP understøttelse mangler" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Kunne ikke danne midlertidig forhåndsvisnings filer" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Kunne ikke danne filnavne til forhåndsvisnings filer" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Kunne ikke danne fax-projekt" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Filnavn tæller 'underrun'" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "advarsel: indstillingen har ingen forpligtende værdi" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Du prøver at køre XSane som ROOT, det ER meget farligt!\n" +"\n" +"Du skal ikke sende bug-reporter hvis du\n" +"har problemer, når du kører XSane som root:\n" +"DU ER HELT ALENE!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Fejl" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Advarsel" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Information" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "barneproces-fejl" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Kunne ikke danne fil:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Fejl under hentning af enheds indstillinger:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "er ikke en enheds indstillings fil!!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Kunne ikke køre Netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Send fax: ingen modtager anført" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "er blevet dannet for enheden" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "bliver brugt for enheden" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "dette kan skabe problemer!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Der er %d ikke gemte billeder" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Filen %s eksisterer allerede" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Fil %s eksisterer ikke" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Fil %s er ikke en postscript fil" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Ikke understøttet %d-bit uddata format: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "viser billede er ikke gemt" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Brug:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[INDSTILLING]... [ENHED]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Starter grafisk bruger interface til SANE (Scanner Access Now Easy) " +"enheder.\n" +"\n" +"Formatet af [ENHED] er bagendenavn:enhedsfil (f.eks. umax:/dev/scanner).\n" +"[INDSTILLING]... Kan være en kombination af de følgende punkter:\n" +" -h, --hjælp vis denne hjælpe meddelelse og afslut\n" +" -v, --version print version information\n" +" -l, --licens print licens information\n" +"\n" +" -d, --device-settings file hent enheds indstillinger fra fil (uden \".drc" +"\")\n" +"\n" +" -V, --viewer start med viser-tilstand aktiveret (default)\n" +" -s, --save start med gem-tilstand aktiveret\n" +" -c, --copy start med kopi-tilstand aktiveret\n" +" -f, --fax start med fax-tilstand aktiveret\n" +" -m, --mail start med mail-tilstand aktiveret\n" +" -n, --no-mode-selection deaktiver menu for XSane tilstand markering\n" +"\n" +" -F, --Fixed fast hovedvindues størrelse (overskriv " +"præference værdier)\n" +" -R, --Resizeable foranderligt hovedvindues størrelse (overskriv " +"præference værdier)\n" +"\n" +" -p, --print-filenames print billedfilnavne dannet af XSane\n" +" -N, --force-filename name tving filenavne og deaktiver bruger filenavne " +"valg\n" +"\n" +" --display X11-display omdirriger uddata til X11-display\n" +" --no-xshm brug ingen delt ram billeder\n" +" --sync kræver en synkron forbindelse til X11 server" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Forende til SANE grænseflade" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Denne funktion giver adgang til skannere og andre billedhentnings enheder " +"gennem SANE (Scanner Access Now Easy) grænseflade." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Enheds dialog..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/File/Acquire/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Enheds dialog..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Mulige grunde:\n" +"1) Der er virkelig ingen enheder der er understøttet af SANE\n" +"2) Understøttede enheder er optagede\n" +"3) Enheds filens rettigheder tillader dig ikke at bruge den - prøv som root\n" +"4) Bagenden er ikke indlæst af SANE (man sane-dll)\n" +"5) Bagenden er ikke konfigureret korrekt (man sane-\"bagendenavn\")\n" +"6) Måske er der mere end en version af SANE installeret" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "fuld størrelse" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 portræt" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 tværformat" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 portræt" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 tværformat" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 portræt" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 tværformat" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal portræt" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal tværformat" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "letter portræt" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "letter tværformat" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Fuldt farve område" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Film" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Standard negativ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa negativ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Agfa negativ XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Agfa negativ HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Fuji negativ" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Kodak negativ" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Konica negativ" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Konica negativ VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Rossmann negativ HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Mail projekt ikke oprettet" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Mail projekt oprettet" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Mail projekt ændret" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Fejl ved læsning af mail projekt" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "POP3 tilslutning lykkedes ikke" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "POP3 logind lykkedes ikke" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "SMTP tilslutning lykkedes ikke" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Fra indtastningen ikke accepteret" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Modtager indtastningen ikke accepteret" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Mail data ikke accepteret" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Sender mail" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Mail er blevet sendt" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Fax projekt ikke oprettet" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Fax projekt oprettet" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Fax projekt ændret" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Fax sættes i kø" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax er sat i kø" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "Flatbed skanner" + +msgid "frame grabber" +msgstr "frame grabber" + +msgid "handheld scanner" +msgstr "Håndholdt skanner" + +msgid "still camera" +msgstr "Kamera" + +msgid "video camera" +msgstr "Video kamera" + +msgid "virtual device" +msgstr "Virtuel enhed" + +msgid "Success" +msgstr "Succes" + +msgid "Operation not supported" +msgstr "Handling ikke understøttet" + +msgid "Operation was cancelled" +msgstr "Handling afbrudt" + +msgid "Device busy" +msgstr "Enhed optaget" + +msgid "Invalid argument" +msgstr "Ugyldigt argument" + +msgid "End of file reached" +msgstr "Slutning af fil nået" + +msgid "Document feeder jammed" +msgstr "Dokument føder blokeret" + +msgid "Document feeder out of documents" +msgstr "Dokument føder tom for dokumenter" + +msgid "Scanner cover is open" +msgstr "Skanner låg er åbent" + +msgid "Error during device I/O" +msgstr "Fejl under enheds I/O" + +msgid "Out of memory" +msgstr "Ikke mere ram" + +msgid "Access to resource has been denied" +msgstr "Adgang til ressource nægtet" diff --git a/po/UTF-8/de.gmo b/po/UTF-8/de.gmo new file mode 100644 index 0000000..3fed761 Binary files /dev/null and b/po/UTF-8/de.gmo differ diff --git a/po/UTF-8/de.po b/po/UTF-8/de.po new file mode 100644 index 0000000..11d4095 --- /dev/null +++ b/po/UTF-8/de.po @@ -0,0 +1,2817 @@ +# German translation for XSane. +# Copyright (C) 1999-2002 Oliver Rauch +# Oliver Rauch +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2000-01-21 15:51+01:00\n" +"Last-Translator: Oliver Rauch \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "de" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "©" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "Duplikat-von-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Über" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Über Übersetzung" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "Autorisation" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - die Lizenz" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Endbenutzervereinbarung (EULA)" + +#. WINDOW_INFO +msgid "info" +msgstr "Informationen" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "Stapelliste laden" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "Stapelliste speichern" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "Stapel Scan" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "Stapelscan Bereich umbenennen" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "Faxprojekt" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "Faxseite umbenennen" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "ps-Datei einfügen in Fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "Mailprojekt" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "E-Mail Bild umbenennen" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "Bild in E-Mail einfügen" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "Bereichsvoreinstellung umbenennen" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "Bereichsvoreinstellung hinzufügen" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Medium umbenennen" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "Medium hinzufügen" + +#. WINDOW_SETUP +msgid "setup" +msgstr "Konfiguration" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogramm" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gamma Kurve" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Standard Optionen" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Erweiterte Optionen" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "Geräteauswahl" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Vorschau" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Betrachter" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Betrachter: Ausgabedatei auswählen" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Dateinamen für OCR Text auswählen" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "Ausgabedatei auswählen" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "Speichere Geräteeinstellungen" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "Lade Geräteeinstellungen" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "Arbeitsverzeichnis wechseln" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "temporäres Verzeichnis auswählen" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Bild skalieren" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Flecken entfernen" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Bild weichzeichnen" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Mediumdefinition speichern" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Keine Geräte erreichbar" + +#. MENU_FILE +msgid "File" +msgstr "Datei" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Einstellungen" + +#. MENU_VIEW +msgid "View" +msgstr "Ansicht" + +#. MENU_WINDOW +msgid "Window" +msgstr "Fenster" + +#. MENU_HELP +msgid "Help" +msgstr "Hilfe" + +#. MENU_EDIT +msgid "Edit" +msgstr "Bearbeiten" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filter" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometrie" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Über XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Informationen" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Beenden" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Bild speichern" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - als Text speichern" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Klonen" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Skalieren" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Schließen" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Rückgängig" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Entflecken" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Weichzeichnen" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Drehen 90°" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Drehen 180°" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Drehen 270°" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Spiegeln |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Spiegeln -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Rohbild" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Verbessertes Bild" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Scannen" + +#. BUTTON_OK +msgid "Ok" +msgstr "OK" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Akzeptieren" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Nicht akzeptieren" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Anwenden" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Abbrechen" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Reduzieren" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Auf eigenes Risiko fortfahren" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Durchsuchen" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Überschreiben" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Stapelliste scannen" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Auswahl scannen" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Seite löschen" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Seite anzeigen" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Seite umbenennen" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Bild löschen" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Bild anzeigen" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Bild ändern" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Bild umbenennen" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Datei einfügen" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Projekt erstellen" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Projekt senden" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Projekt löschen" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Drucker hinzufügen" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Drucker löschen" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Vorschauscan" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Vorschauscan abbrechen" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Bild verwerfen" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "alle Bilder verwerfen" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "nicht schliessen" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Verbinde Skalierung" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Fein-Modus" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTML mail" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Geräteeinstellungen beim Verlassen speichern" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Überschreibwarnung" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Existierende Dateinamen überspringen" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Speichere 16bit pnm im ASCII-Format" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Reduziere 16 Bit Bild auf 8 Bit" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Feste Hauptfenstergröße" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Vorschau-Gamma für Gimp deaktivieren" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Benutze eigene Farbpalette" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Automatische Gammakorrektur" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Scanbereich automatisch wählen" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Automatische Farbkorrektur" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "POP3 Authentifizierung" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Benutze GUI Fortschritts Pipe" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "Suche nach Geräten" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Erreichbare Geräte:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "XSane Optionen" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "XSane Modus" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Schritt" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Typ" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Scanner und Backends" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Hersteller:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Modell:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Typ:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Gerät:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Geladenes Backend:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "sane Version:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Aktuelle Werte:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gammakorrektur durch:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "Scanner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "Software (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "keine" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Bittiefe Gammaeingabe:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Bittiefe Gammaausgabe:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Bittieffe Scannerausgabe:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "XSane Ausgabeformate:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8 Bit Ausgabeformate:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16 Bit Ausgabeformate:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp unterstützt die Bittiefe 16Bits/Farbe nicht.\n" +"Möchten Sie die Bittiefe auf 8 Bits/Farbe reduzieren?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Die Bittiefe 16Bits/Farbe wird von diesem Ausgabeformat nicht unterstützt.\n" +"Möchten Sie die Bittiefe auf 8 Bits/Farbe reduzieren?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Autorisation benötigt für" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Passwortübertragung ist sicher" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Backend erbittet unverschlüsseltes Passwort" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Benutzername:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Passwort:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Ungültige Parameter" + +#. TEXT_VERSION +msgid "version:" +msgstr "Version:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "Paket" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "mit GIMP-Unterstützung" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "ohne GIMP-Unterstützung" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "übersetzt mit GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "übersetzt mit GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "unbekannt" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane wird unter den Bedingungen der GNU General Public Licence, wie\n" +"von der Free Software Foundation veröffentlicht, herausgegeben, entweder\n" +"Version 2 der Lizenz, oder (wenn Sie wünschen) jeder späteren Version.\n" +"\n" +"Die Veröffentlichung dieses Programms erfolgt in der Hoffnung, dass es\n" +"Ihnen von Nutzen sein wird, aber OHNE JEDE GEWÄHRLEISTUNG\n" +"- sogar ohne die implizite Gewährleistung der MARKTREIFE oder der\n" +"EIGNUNG FÜR EINEN BESTIMMTEN ZWECK. Sollte das Programm einen\n" +"Schaden verursachen, dann tragen Sie - der Benutzer - die Kosten\n" +"für alle notwendigen Dienstleistungen, Reparaturen oder Korrekturen.\n" +"Um dieses Programm zu benutzen, haben Sie die folgende Vereinbarung\n" +"über den Haftungsausschluß zu lesen, zu verstehen und zu akzeptieren.\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane wird unter den Bedingungen der GNU General Public Licence, wie\n" +"von der Free Software Foundation veröffentlicht, herausgegeben, entweder\n" +"Version 2 der Lizenz, oder (wenn Sie wünschen) jeder späteren Version.\n" +"\n" +"Die Veröffentlichung dieses Programms erfolgt in der Hoffnung, dass es\n" +"Ihnen von Nutzen sein wird, aber OHNE JEDE GEWÄHRLEISTUNG\n" +"- sogar ohne die implizite Gewährleistung der MARKTREIFE oder der\n" +"EIGNUNG FÜR EINEN BESTIMMTEN ZWECK.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "E-Mail:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Homepage:" + +#. TEXT_FILE +msgid "File:" +msgstr "Datei:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Übersetzung:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"Übersetzung ins Deutsche\n" +"von Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "gescannte Seiten: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "E-Mail Text:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Anhang:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Projekt Status:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Medium Name:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Größe %d x %d Punkte, %d Bit/Farbe, %d Farben, %1.0f dpi x %1.0f dpi, %1.1f %" +"s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Entflecken Radius:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Weichzeichnen Radius:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(kein Name)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Bereichsname:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Scanmodus:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Oben links:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Größe:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Auflösung:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bittiefe:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "wie ausgewählt" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Druckerauswahl:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Name:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Befehl:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Option for Anzahl der Kopien:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Lineart Auflösung (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Graustufen Auflösung (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Farb-Auflösung (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Breite" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Höhe" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Linker Rand" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Unterer Rand" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Drucker Gammawert:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Drucker Gammawert rot:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Drucker Gammawert grün:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Drucker Gammawert blau:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Temporäres Verzeichnis" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Bilddatei-Rechte" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Verzeichnisrechte" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "JPEG Bildqualität" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "PNG Bildkompression" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Dateinamenzähler Länge" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "TIFF 16 bit Bildkompression" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "TIFF 8 bit Bildkompression" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "TIFF lineart Bildkompression" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Zeige Bereich als:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Vorschau Oversampling:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Vorschau Gamma:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Vorschau Gamma rot:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Vorschau Gamma grün:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Vorschau Gamma blau:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Schwellwert Option:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Modus automatischer Dokumenteneinzug:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Vorschau Bereich Pipette" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Schwellwert Minimum:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Schwellwert Maximum:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Schwellwert Multiplikator:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Schwellwert Verschiebung:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Name des Scanodus \"Graustufen\":" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Hilfedatei Betrachter (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Option für Empfängernummer" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Option für Postscriptdatei:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Option für Normalmodus:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Option für Feinmodus:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Setze Standardwerte für folgendes Programm" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Betrachter (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTP Server:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTP Server:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Von:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Antwort an:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3 Server:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3 Port:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "POP3 Benutzer:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "POP3 Passwort:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Betrachter (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "OCR Befehl:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Option für Eingabedatei:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Option für Ausgabedatei:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Benutze GUI Fortschritts-Pipe" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUI Ausgabe-fd Option:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Fortschritts-Schluesselwort:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "Benutzer" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "Gruppe" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "Alle" + +msgid "new media" +msgstr "" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Speichern" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Bild" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Photokopie" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Fax" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "E-Mail" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "Texterkennung" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Darstellung" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Verbesserungen" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "E-Mail" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Zeige Tipps" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Zeige Vorschau" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Zeige Histogramm" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Zeige Gammakurve" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Zeige Stapelliste" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Zeige Standardoptionen" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Zeige erweiterte Optionen" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Konfiguration" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Längeneinheit" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "Millimeter" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "Zentimeter" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "Zoll" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Aktualisierung" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "kontinuierlich" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "diskontinuierlich" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "verzögert" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Zeige Auflösungsliste" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Drehe Postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Mediumdefinition ändern" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Speichere Geräteeinstellungen" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Lade Geräteeinstellungen" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Arbeitsverzeichnis ändern" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Zeige Endbenutzervereinbarung" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Zeige Lizenz (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "XSane Anleitung" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Backend Anleitung" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Erreichbare Backends" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Scantipps" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Probleme?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "nicht aktiv" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "keine Kompression" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "CCITT 1D Huffman Kompression" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "CCITT Gruppe 3 Fax Kompression" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "CCITT Gruppe 4 Fax Kompression" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "JPEG DCT Kompression" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "gepackte Bits" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Schieber (Scale)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Schieber (Scrollbalken)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Drehknopf" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Scale und Drehknopf" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Scrollbalken und Drehknopf" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Standard Optionen Fenster (b/w)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "XSane Hauptfenster (b/w)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "XSane Hauptfenster (grau->b/w)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(nichts)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "nach Erw" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Auswahl zur Liste hinzufügen" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Mediumdefinition hinzufügen" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Eintrag umbenennen" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Eintrag löschen" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Eintrag nach oben schieben" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Eintrag nach unten schieben" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Scanne" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Empfange %s Daten" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Bild übertragen" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Bild drehen" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Bild spiegeln" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Bild packen" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Bild konvertieren" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Bild speichern" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Bild clonen" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Bild skalieren" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Flecken entfernen" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Bild weichzeichnen" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Texterkennung" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Scan starten " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Scan abbrechen " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Vorschauscan " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Vorschauscan abbrechen " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"speichern-, betrachten-, kopieren-, faxen- " +"oder mailen-" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Quellmedium auswählen.\n" +"Zum Umbennenn, Umsortieren oder Löschen eines Eintrags das Kontextmenü " +"benutzen (rechter Mausknopf).\n" +"Um ein neues Medium zu erzeugen, Option Medium ändern im Einstellungsmenü " +"aktivieren." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Wert, der nach einem Scan zum Dateinamenzähler addiert wird" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Suche nach Bild-Dateinamen" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Dateiname für gescanntes Bild" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Dateiformat, die passende Dateinamen-Erweiterung wird autmatisch an den " +"Dateinamen angehängt" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Name des Faxprojekts" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Name der Faxseite eingeben" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Telefonnummer des Empfängers eingeben" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Name des Mailprojekts" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "neuen Name für E-Mail Bild eingeben" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "EMail Adresse eingeben" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Betreff eingeben" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Name der Gebietsvoreinstellung eingeben" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Namen für Gebietsvoreinstellung eingeben" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Namen für Mediendefinition eingeben" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Namen für Mediendefinition eingeben" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Wähle Druckerdefinition " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Bestimmt die Scanauflösung" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Bestimmt die Scanauflösung in X-Richtung" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Bestimmt die Scanauflösung in Y-Richtung" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Bestimmt den Vergrößerungsfaktor" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Bestimmt den Vergrößerungsfaktor in X-Richtung" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Bestimmt den Vergrößerungsfaktor in Y-Richtung" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Bestimmt die Anzahl der Kopien" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativ: Invertiere Farben, zum Scannen von Negativen " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Bestimmt Gammawert" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Bestimmt Gammawert für rote Komponente" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Bestimmt Gammawert für grüne Komponente" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Bestimmt Gammawert für blaue Komponente" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Bestimmt Helligkeit" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Bestimmt Helligkeit für rote Komponente" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Bestimmt Helligkeit für grüne Komponente" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Bestimmt Helligkeit für blaue Komponente" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Bestimmt Kontrast" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Bestimmt Kontrast für rote Komponente" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Bestimmt Kontrast für grüne Komponente" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Bestimmt Kontrast für blaue Komponente" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Schwellwert setzen" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGB Standard: Setzt Farbverbesserungswerte für rot, grün und blau auf " +"Standardwerte :\n" +"Gamma = 1.0\n" +"Helligkeit = 0\n" +"Kontrast = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Automatische Einstellung von Gamma, Helligkeit und Kontrast " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Setze Standardwerte für Farbverbesserung :\n" +"Gamma = 1.0\n" +"Helligkeit = 0\n" +"Kontrast = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Lade Farbverbesserungswerte aus Einstellungen " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Speichere Farbverbesserungswerte in Einstellungen " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Zeige Histogramm für Intensität/grau " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Zeige Histogramm für rote Komponente " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Zeige Histogramm für grüne Komponente " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Zeige Histogramm für blaue Komponente " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Zeichne Histogramm mit Linien anstatt mit Punkten " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Benutze Logarithmus der Pixelzahlen " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Auswahl der zu ändernden Definition" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Namen der Definition" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "" +"Befehl der im Kopiermodus zum Drucken ausgeführt werden soll (z.B. \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Option, mit der die Anzahl der Kopien angegeben wird" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Auflösung, mit der Lineart-Bilder gedruckt und im Postscriptformat " +"gespeichert werden" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Auflösung, mit der Graustufen-Bilder gedruckt und im Postscriptformat " +"gespeichert werden" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Auflösung, mit der Farb-Bilder gedruckt und im Postscriptformat gespeichert " +"werden" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Breite des druckbaren Bereichs" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Höhe des druckbaren Bereichs" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Abstand vom linken Papierrand zum Beginn des druckbaren Bereichs" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Abstand vom unteren Papierrand zum Beginn des druckbaren Bereichs" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Zusätzlicher Gammawert beim Photokopieren" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Zusätzlicher Gammawert für rote Komponente beim Photokopieren" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Zusätzlicher Gammawert für grüne Komponente beim Photokopieren" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Zusätzlicher Gammawert für blaue Komponente beim Photokopieren" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Pfad zum temporären Verzeichnis" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Nach temporärem Verzeichnis suchen" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Qualität in Prozent wenn Bild als JPEG oder als TIFF mit JPEG-Kompression " +"gespeichert wird" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Kompression wenn Bild im PNG-Format gespeichert wird" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Minimale Länge des Zählers im Dateinamen" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Kompression wenn 16 bit Bild im TIFF-Format gespeichert wird" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Kompression wenn 8 bit Bild im TIFF-Format gespeichert wird" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Kompression wenn lineart Bild im TIFF-Format gespeichert wird" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Geräteabhängige Einstellungen werden in der Default-Datei beim Beenden von " +"xsane gespeichert" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Warne vorm Überschreiben exisitierender Dateien" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Wenn der Dateinamenzähler automatisch erhöht wird, werden benutzte " +"Dateinummern übersprungen" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Speicher 16 Bit PNM-Bilder im ASCII Format anstatt im Binär Format. Das " +"Binär Format ist ein neues Format, das nicht von allen Programmen " +"unterstützt wird. Das ASCII Format wird von mehr Programmen unterstützt, " +"aber die Dateien werden sehr groß!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Wenn der Scanner das Bild mit 16 Bits/Farbe liefert wird das Bild mit 8 Bits/" +"Farbe gespeichert" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Breite des druckbaren Bereichs für Postscript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Höhe des druckbaren Bereichs für Postscript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Abstand vom linken Papierrand zum Beginn des druckbaren Bereichs für " +"Postsciptdateien" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Abstand vom unteren Papierrand zum Beginn des druckbaren Bereichs für " +"Postsciptdateien" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "Verwende feste oder veränderbare Hauptfenstergröße" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Preview Gamma deaktivieren wenn XSane als Gimp-Plugin gestartet wird" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Benutze eigene Farbpalette für Vorschaubild, wenn die Bildschirmfarbtiefe 8 " +"Bit beträgt" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Bestimmen Sie, wie die Auswahle eines Bereichs dargestellt wird" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Wert, mit dem die berechnete Vorschauauflösung multipliziert wird" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Bestimme Gammwert für Vorschaubild" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "Bestimme Gammwert der roten Komponente für Vorschaubild" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "Bestimme Gammwert der grünen Komponente für Vorschaubild" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Bestimme Gammwert der blauen Komponente für Vorschaubild" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Definiert die Art, wie XSane die Schwellwert-Option behandeln soll" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Name des Graustufen-Scanmodus auswählen. Dieser Scanmodus wird beim Schwarz-" +"Weiss Vorschauscan verwendet, wenn Umwandlung von Graustufen in Schwarz/Weiß " +"aktiviert ist." + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Minimaler Schwellwert des Scanners in %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Maximaler Schwellwert des Scanners in %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplikator um XSane's Schwellwertbereich und den Schwellwertbereich des " +"Scanners aufeinander abzustimmen" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Schwellwertverschiebung um XSane's Schwellwertbereich und den " +"Schwellwertbereich des Scanners aufeinander abzustimmen" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Scanquelle für automatischen Dokumenteneinzug auswählen. Wenn diese " +"Scanquelle angewählt ist, scannt XSane bis \"kein Papier\" oder ein Fehler " +"auftritt." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"Größe des Quadrats, das zum Mitteln der Farbe für die Pipette Funktion " +"benutzt wird" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Befehl, der ausgeführt werden soll, um Hilfedateien anzuzeigen, muß ein HTML-" +"Betrachter sein!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "" +"Gamma Wert wird angepasst wenn Knopf für automatische Verbesserung gedrückt " +"wird" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Scanbereich nach Vorschauscan automatisch auswählen" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Farbkorrektur nach Vorschauscan ausführen" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Befehl, der zum Senden eines Faxprojekts ausgeführt werden soll" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Option, mit der die Empfängertelephonnumer angegeben wird" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "" +"Option, mit der angegeben wird, dass der Dateiname einer Postscriptdatei " +"folgt" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Option, mit der die vertikale Auflösung auf 98 lpi gestellt wird" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Option, mit der die vertikale Auflösung auf 196 lpi gestellt wird" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "" +"Befehl, der ausgeführt werden soll, um Faxseiten(Postscript) anzuzeigen" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Sende Fax mit hoher vertikaler Auflösung (196 lpi anstatt 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "IP Adresse oder Domain Name des SMTP Servers" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "Port, auf dem zum SMTP Server verbunden werden soll" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "Geben Sie Ihre E-Mail Adresse ein" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "Geben Sie die E-Mail Adresse für Antworten auf diese Mail ein" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "" +"Authentifizierung über POP3 Server durchführen bevor mail gesendet wird" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "IP Adresse oder Domain Name des POP3 Servers" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "Port, auf dem zum POP3 Server verbunden werden soll" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "Benuter Name für den POP3 Server" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "Passwort für den POP3 Server" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Befehl, der ausgeführt werden soll, um Mail-Bilder anzuzeigen" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "E-Mail wird im hmtl Modus gesandt, Bild placieren mit: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "OCR Befehl eingeben" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Eingabe-Datei-Option für OCR Programm eingeben" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Ausgabe-Datei-Option für OCR Programm eingeben" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" +"Definieren Sie, ob das OCR Programm eine GUI-Fortschritts-Pipe unterstützt" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Geben Sie die Option des OCR Programms ein, mit der der Ausgabefildeskriptor " +"im GUI Mode übergeben wird" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"Definieren Sie das Schlüsselwort, das benutzt wird, um Fortschritssangaben " +"zu kennzeichenen" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "lesen" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "schreiben" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "ausführen" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Auswahl zur Stapelliste hinzufügen" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Wähle weißen Punkt" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Wähle grauen Punkt" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Wähle schwarzen Punkt" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Zoomt auf kompletten Scanbereich" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Zoomt um 20% heraus" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "In gewünschten Bereich zum Zoomen klicken" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Zoomt in den gewählten Bereich hinein" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "letzten Zoom rückgängig machen" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Sichtbaren Bereich auswählen" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Scanbereich automatisch wählen" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Scanbereich automatisch aufziehen" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Vorschau Speicher löschen" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Bereichsvoreinstellung:\n" +"Um einen neuen Bereich hinzuzufügen oder exisitierende Voreinstellungen zu " +"ändern verwenden Sie das Kontextmenü (rechter Mausknopf)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Drehe Vorschau und Scan" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Seitenverhältnis der Auswahl" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Bildposition beim Drucken definieren" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Optische Zeichenerkennung (OCR)" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Letzte Änderung rückgängig machen" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Bild clonen" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Drehe Bild um 90 Grad" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Drehe Bild um 180 Grad" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Drehe Bild um 270 Grad" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Bild an vertikaler Achse spiegeln" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Bild an horizontaler Achse spiegeln" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Bild zoomen" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Medium speichern" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Medium löschen" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Vergrößerungsfaktor" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Vergrößerungsfaktor X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Vergrößerungsfaktor Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Bild auf Breite [in Pixeln] skalieren" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Bild auf Höhe [in Pixeln] skalieren" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Stapelliste leeren" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Stapelliste speichern" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Stapelliste laden" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Bereich umbenennen" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Vorschau-Auswahl zur Stapelliste hinzufügen" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Ausgewählten Bereich aus Stapelliste löschen" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Schaltet automatische Einstellung ein" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Konnte Heimatverzeichnis nicht bestimmen" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Konnte Verzeichnis nicht wechseln" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Dateiname zu lang" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Konnte temporäre Datei nicht erzeugen" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Fehler beim Ändern der Option" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Fehler beim Lesen der Option" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Konnte Anzahl der Optionen nicht bestimmen" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Fehler beim Öffnen des Geräts" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "Keine Geräte erreichbar" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Fehler beim Lesen:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Fehler beim Speichern:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Nicht unterstützte Bittiefe" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP unterstützt Bittieffe %d Bits/Farbe nicht" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Unbekanntes Ausgabedateiformat" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Fehler beim Öffnen von" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "" +"Konnte keine sichere Datei erzeugen (möglicherweise exisitiert ein Link):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Konnte Pipe für Druckbefehl nicht öffnen" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Konnte Druckbefehl nicht ausführen" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Konnte Scanner nicht starten" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Konnte Parameter nicht lesen" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Kein Ausgabedateiformat angegeben" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "Kein Speicher" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Backend sendet mehr Bilddaten als es in Parametern definiert hat" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF meldet Fehler" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG meldet Fehler" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG meldet Fehler" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "unbekannter Typ" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "unbekannter verpflichtender Typ" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Option hat leeren Namen (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" +"Das ist ein Backend-Fehler. Bitte informieren Sie den Autor des Backends!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Konnte Hilfedateibetrachter nicht ausführen:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Konnte Faxbetrachter nicht ausführen:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Konnte Faxbefehl nicht ausführen:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Konnte E-Mail Bildbetrachter nicht ausführen:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Konnte OCR-Befehl nicht ausführen:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "unerwartetes FRAME-Format" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "konnte Auflösung nicht definieren" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Passwortdatei (%s) ist unsicher, benutze Rechte x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "Fehler" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Sane Hauptversionsnummern-Konflikt!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "XSane Hauptversionsnummer =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "backend Hauptversionsnummer =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAMM ABGEBROCHEN ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Konnte Bildspeicher nicht allozieren:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Vorschau kann Bittiefe nicht handhaben:" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "GIMP Unterstützung fehlt" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Konnte temporäre Vorschaudateien nicht erzeugen" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Konnte Dateinamen für Vorschaudateien nicht erzeugen" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Konnte Faxprojekt nicht erstellen" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Dateinamenzähler Unterlauf" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "Warnung: Option hat keinen vorgeschriebenen Wert" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Sie versuchen XSane als ROOT auszuführen,\n" +"das ist wirklich GEFÄHRLICH!\n" +"\n" +"Senden Sie keine Fehlermeldungen wenn Sie Probleme\n" +"haben während Sie xsane als root ausführen:\n" +"Sie sind alleine!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Fehler" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Warnung" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Information" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Kindprozess-Fehler" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Fehler beim Erstellen der Datei:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Fehler beim Laden der Geräteeinstellungen" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "ist keine Geräteeinstellungs-Datei !!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Konnte Netscape nicht aufrufen" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Fax senden: kein Empfänger angegeben" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "wurde erstellt für das Gerät" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "wird benutzt für das Gerät" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "das kann zu Problemen führen!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Es gibt %d nicht gespeicherte Bilder" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Datei %s exisitiert bereits" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Datei %s exisitiert nicht" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Datei %s is keine Postscript Datei" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Nicht unterstütztes %d-bit Ausgabeformat: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "Betrachter Bild ist nicht gespeichert" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Gebrauch:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPTION]... [GERÄT]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Startet graphisches Benutzerinterface für SANE (Scanner Access Now Easy)\n" +"\n" +"Das Format von [GERÄT] ist Backendname:Gerätedatei (z.B. umax:/dev/scanner)\n" +"[OPTION]... kann eine Kombination aus den folgenden Elementen sein:\n" +" -h, --help zeigt diesen Hilfetext\n" +" -v, --version gibt Versionsinformationen aus\n" +" -l, --license gibt Lizenzinformationen aus\n" +"\n" +" -d, --device-settings datei lädt Geräteeinstellungen von datei\n" +"\n" +" -V, --viewer starte im Betrachtermodus (default)\n" +" -s, --save starte im Speichernmodus\n" +" -c, --copy starte im Kopiermodus\n" +" -f, --fax starte im Faxmodus\n" +" -m, --mail starte im E-Mailmodus\n" +" -n, --no-mode-selection deaktiviere Modusauswahl\n" +"\n" +" -F, --Fixed Hauptfenstergröße ist fest\n" +" -R, --Resizeable Hauptfenstergröße ist veränderbar\n" +"\n" +" -p, --print-filenames gibt Dateinamen erzeugter Bilder aus\n" +" -N, --force-filename name benutze name als Dateinamen,\n" +" deaktiviere Auswahl für Dateinamen\n" +"\n" +" --display X11-display lenkt X-Ausgabe auf X11-Display um\n" +" --no-xshm keine shared memory Bilder benutzen\n" +" --sync fordert synchrone Verbindung zum X-Server an" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Frontend zum SANE-Interface" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Diese Funktion gibt Zugang zu Scannern und anderen bilderzeugenden Geräten " +"durch das SANE (Scanner Access Now Easy) Interface" + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Geräteauswahl" + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/File/Acquire/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Geräteauswahl" + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Mögliche Gründe:\n" +"1) Es ist wirklich kein von SANE unterstützes Gerät vorhanden\n" +"2) Unterstützte Geräte sind belegt\n" +"3) Die Rechte für die Gerätedatei erlauben Ihnen keinen Zugriff - Versuchen " +"Sie es als root\n" +"4) Das Backend wurde von SANE nicht geladen (man sane-dll)\n" +"5) Das Backend wurde nicht richtig konfiguriert (man sane-\"backendname\")\n" +"6) Möglicherweise sind mehrere SANE Versionen installiert" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "volle Größe" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 hoch" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 quer" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 hoch" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 quer" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 hoch" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 quer" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal hoch" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal quer" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "letter hoch" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "letter quer" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Voller Farbumfang" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Dia" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Standard Negativ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa Negativ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Agfa Negativ XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Agfa Negativ HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Fuji Negativ" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Kodak Negativ" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Konica Negativ" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Konica Negativ VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Rossmann Negativ HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Mail-Projekt nicht erstellt" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Mail-Projekt erstellt" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Mail-Projekt geändert" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Fehler beim Lesen des Mailprojekts" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "POP3 Verbindung fehlgeschlagen" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "POP3 Login fehlgeschlagen" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "SMTP Verbindung fehlgeschlagen" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Absender Eintrag nicht akzeptiert" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Empfänger Eintrag nicht akzeptiert" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Mail Daten nicht akzeptiert" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Mail wird gesendet" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Mail wurde gesendet" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Fax-Projekt nicht erstellt" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Fax-Projekt erstellt" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Fax-Projekt geändert" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Fax zum Senden einreihen" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax ist zum Senden eingereiht" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "Flachbettscanner" + +msgid "frame grabber" +msgstr "Framegrabber" + +msgid "handheld scanner" +msgstr "Handscanner" + +msgid "still camera" +msgstr "Photokamera" + +msgid "video camera" +msgstr "Videokamera" + +msgid "virtual device" +msgstr "virtuelles Gerät" + +msgid "Success" +msgstr "Erfolg" + +msgid "Operation not supported" +msgstr "Operation nicht unterstützt" + +msgid "Operation was cancelled" +msgstr "Operation abgebrochen" + +msgid "Device busy" +msgstr "Gerät besetzt" + +msgid "Invalid argument" +msgstr "Ungültiges Argument" + +msgid "End of file reached" +msgstr "Dateiende erreicht" + +msgid "Document feeder jammed" +msgstr "Dokumenteneinzug blockiert" + +msgid "Document feeder out of documents" +msgstr "Dokumenteneinzug ohne Papier" + +msgid "Scanner cover is open" +msgstr "Scannerdeckel ist offen" + +msgid "Error during device I/O" +msgstr "Fehler während Geräte I/O" + +msgid "Out of memory" +msgstr "Kein Speicher" + +msgid "Access to resource has been denied" +msgstr "Zugang zum Gerät wurde verweigert" diff --git a/po/UTF-8/es.gmo b/po/UTF-8/es.gmo new file mode 100644 index 0000000..86930b6 Binary files /dev/null and b/po/UTF-8/es.gmo differ diff --git a/po/UTF-8/es.po b/po/UTF-8/es.po new file mode 100644 index 0000000..9f5f71a --- /dev/null +++ b/po/UTF-8/es.po @@ -0,0 +1,2839 @@ +# translation of es.po to Castellano +# XSane Spanish .po file +# Copyright (C) 2001,2002, 2004 Free Software Foundation, Inc. +# Gustavo D. Vranjes , 2001,2002, 2004. +# Gustavo D. Vranjes , 2002. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-22 19:15GMT\n" +"Last-Translator: Gustavo D. Vranjes \n" +"Language-Team: Castellano \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.9\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "es" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "clon-de-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Acerca..." + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Acerca de la traducción..." + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "autorización" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - la licencia" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Acuerdo de Licencia para Usuario Final" + +#. WINDOW_INFO +msgid "info" +msgstr "información" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "cargar lista de proceso por lotes" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "guardar lista de proceso por lotes" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "Escaneo por lotes" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "renombrar area de proceso por lotes" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "proyecto de fax" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "renombrar página de fax" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "insertar archivo-ps dentro de fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "proyecto de correo electrónico" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "renombrar imagen de correo electrónico" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "insertar archivo dentro de correo electrónico" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "renombrar area de preset" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "agregar area de preset" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "renombrar medio" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "agregar medio nuevo" + +#. WINDOW_SETUP +msgid "setup" +msgstr "configuración" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histograma" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Curva Gamma" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Opciones estándar" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Ociones avanzadas" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "selección de dispositivo" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Vista previa" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Visor interno" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Visor: seleccionar archivo de salida" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Seleccionar nombre de archivo de salida para archivo de texto OCR" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "seleccionar archivo de salida" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "guardar configuración de dispositivo" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "cargar configuración de dispositivo" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "cambiar directorio de trabajo" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "seleccionar directorio temporal" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Redimensionar imagen" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Desparasitar imagen" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Desenfocar imagen" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Guardar definición de medio" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "No hay dispositivos obtenibles" + +#. MENU_FILE +msgid "File" +msgstr "Archivo" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Preferencias" + +#. MENU_VIEW +msgid "View" +msgstr "Ver" + +#. MENU_WINDOW +msgid "Window" +msgstr "Ventana" + +#. MENU_HELP +msgid "Help" +msgstr "Ayuda" + +#. MENU_EDIT +msgid "Edit" +msgstr "Editar" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtros" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometría" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Acerca de XSane..." + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Información" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Salir" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Guardar imagen" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - guardar como texto" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Duplicar" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Redimensionar" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Cerrar" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Deshacer" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Desparasitar " + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Desenfoque" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Rotar imagen 90 grados" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rotar imagen 180 grados" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rotar imagen 270 grados" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Espejo |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Espejo -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Imagen Cruda" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Imagen mejorada" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Escanear" + +#. BUTTON_OK +msgid "Ok" +msgstr "Ok" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Aceptar" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "No aceptar" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Aplicar" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Cancelar" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Reducir" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Continuar a su propio riesgo" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Explorar" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Sobreescribir" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Lista de escaneo por lotes" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Escanear área seleccionada" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Borrar página" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Mostrar página" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Renombrar página" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Borrar imagen" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Mostrar imagen" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Editar imagen" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Renombrar imagen" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Insertar archivo" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Crear proyecto" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Enviar proyecto" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Borrar proyecto" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Añadir impresora" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Borrar impresora" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Adquirir vista previa" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Cancelar vista previa" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Descartar imagen" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Descartar todas las imágenes" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "No cerrar" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Atar escala" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Modo fino" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "Correo electrónico HTML" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Guardar preferencias de dispositivo al salir" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Advertencia de sobreescritura" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Omitir nombres de archivos existentes" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Guardar 16bit pnm en formato ascii" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Reducir imagen de 16 bits a imagen de 8 bits" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Tamaño de ventana principal fijo" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Deshabilitar vista previa de gamma de gimp" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Usar mapa de colores privado" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Automejorar gamma" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Preseleccionar área de escaneado" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Autocorregir colores" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "Autentificación POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Usar progreso de tubería GUI " + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "Escaneando dispositivos" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Dispositivos disponibles:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Opciones de XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Modo de XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Paso" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Tipo" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Escáner y backend:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Vendedor:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Modelo:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Tipo:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Dispositivo:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Backend cargado:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Versión de Sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Valores recientes:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Corrección gamma por:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "escáner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "software (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "ninguno" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Profundidad de entrada de gamma:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Profundidad de salida de gamma:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Profundidad de salida de escáner:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Formatos de salida de XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "Formatos de salida de 8 bits:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "Formatos de salida de 16 bits:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp no soporta profundidad de 16 bits/color.\n" +"¿Quire reducir la profundidad a 8 bits/color?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"La profundidad de 16 bits/color no está soportada en éste formato de " +"salida.\n" +"¿Quire reducir la profundidad a 8 bits/color?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Se requiere autorización para" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "La transmisión de contraseña es segura" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Los pedidos de backend requieren contraseña de texto puro." + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Nombre de usuario:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Contraseña:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Parámetros no válidos." + +#. TEXT_VERSION +msgid "version:" +msgstr "versión:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "paquete" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "Con soporte de GIMP" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "Sin soporte de GIMP" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "compilado con GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "compilado con GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "desconocido" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane se distribuye bajo los términos de la Licencia Pública General GNU\n" +"tal como se la publica por la Free Software Foundation; cualquier versión \n" +"2 de la Licencia, or (a su opción) cualquier versión posterior\n" +"\n" +"Éste programa se distribuye con el deseo que pueda ser útil, pero\n" +"SIN NINGUNA GARANTÍA; aún sin la garantía implícita de\n" +"MERCANTILISMO o AJUSTE PARA ALGÚN PROPÓSITO PARTICULAR\n" +"Sea el caso de probarse defecto del programa, usted asumirá el costo de " +"toda\n" +"reparación, servicio ó corrección necesarios. Para usar éste programa usted\n" +"tiene que leer, entender y aceptar el siguiente\n" +"acuerdo de \"NO GARANTÍA\".\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane se distribuye bajo los términos de la Licencia Pública General GNU\n" +"tal como se la publica por la Free Software Foundation; cualquier versión \n" +"2 de la Licencia, or (a su opción) cualquier versión posterior\n" +"\n" +"Éste programa se distribuye con el deseo que pueda ser útil, pero\n" +"SIN NINGUNA GARANTÍA; aún sin la garantía implícita de\n" +"MERCANTILISMO o AJUSTE PARA ALGÚN PROPÓSITO PARTICULAR\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Correo electrónico:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Página web:" + +#. TEXT_FILE +msgid "File:" +msgstr "Archivo:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Traducción:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"texto traducido al castellano\n" +"por Gustavo D. Vranjes\n" +"Correo electrónico gvranjes@SoftHome.net\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Páginas escaneadas:" + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Texto de correo electrónico:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Adjuntos:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Estado del proyecto:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Tipo de archivo de imagen de correo electrónico" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Nombre del medio:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Tamaño %d x %d pixel, %d bit/color, %d colores, %1.0f dpi x %1.0f ppp, %1.1f " +"%s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Radio de desparasitado" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Radio de desenfoque de imagen:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(sin nombre)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Nombre de area:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Modo de escaneo:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Izquierda arriba:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Tamaño:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Resolución:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Profundidad de bit:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "como se seleccionó" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Selección de impresora:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Nombre:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Comando:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Copiar opción número:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Resolución de línea de arte (ppp):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Resolución de tonos de gris (ppp):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Resolución de color (ppp):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Anchura" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Altura" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Desplazamiento a izquierda" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Desplazamiento hacia abajo" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Valor de gamma de impresora:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Gamma rojo de impresora:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Gamma verde de impresora:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Gamma azul de impresora:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Directorio temporal" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Permisos de archivo de imagen" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Permisos de directorio" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Calidad de imagen JPEG " + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Compresión de imagen PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Largo del contador de nombre de archivo" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Compresión de imagen TIFF de 16 bits" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Compresión de imagen TIFF de 8 bits" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Compresión de imagen TIFF de línea de arte" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Mostrar range as:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Sobremuestra de vista previa:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Vista previa de gamma:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Vista previa de gamma rojo:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Vista previa de gamma verde:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Vista previa de gamma azul:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Opción de umbral:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Módulo de Alimentación Automática de Documento:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Rango de vista previa de pipeta" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Umbral mínimo:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Umbral máximo:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Multiplicador de umbral:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Desplazamiento de umbral:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Nombre del modo de escaneo en tonos de grises:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Visor de archivo de ayuda (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Opción del receptor:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Opción del archivo post-script:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Opción en modo normal:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Opción en modo fino:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Establecer por defecto para:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Visor (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "Servidor SMTP:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "puerto SMTP:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "De:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Responder a:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "Servidor POP3:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "puerto POP3:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "Usuario POP3:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "Contraseña POP3:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Visor (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Comando OCR:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Opción del archivo de entrada:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Opción del archivo de salida:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Usar tubería de progreso GUI:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Opción de salida-fd GUI:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Clave de progreso:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "usuario" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "grupo" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "todo" + +msgid "new media" +msgstr "medio nuevo" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Guarda imagen" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Imagen" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Copia a impresora" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Fax" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Correo electrónico" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Pantalla" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Mejora" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Correo electrónico" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Mostrar tooltips" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Mostrar vista previa" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Mostrar histograma" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Mostrar curva de gamma" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Mostrar escaneo por lotes" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Mostrar opciones estándard" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Mostrar opciones avanzadas" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Configuración" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Unidad de medida" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milímetros" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centímetros" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "pulgadas" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Póliza de actualización" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "continuo" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "discontinuo" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "retrasado" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Mostrar lista de resoluciones" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Rotar postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Editar definición de medio" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Guardar configuración de dispositivo" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Cargar configuración de dispositivo" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Cambiar directorio" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Mostrar EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Mostrar licencia (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Documentos de XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Documentos del backend" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Backends disponibles" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Tips de escaneo" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "¿Problemas?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "inactivo" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "sin compresión" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "Compresión CCITT 1D Huffman" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Compresión CCITT Grupo 3 Fax" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Compresión CCITT Grupo 4 Fax" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Compresión JPEG DCT" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "paquetes de bits" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Diapositiva (Escala)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Deslizador (Barra de scroll)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Botón de spin" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Escala y botón de spin" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Barra de scroll y botón de spin" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Ventana de opciones estándar (línea de arte)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Ventana principal de XSane (línea de arte)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Ventana principal de XSane (escala de grises ->línea de arte)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(ninguno)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "por extensión" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Añadir selección a la lista" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Agragar definición de medio" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Renombrar item" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Borrar item" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Mover item arriba" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Mover item abajo" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Escaneando" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Recibiendo datos %s" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Transfiriendo imagen" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Rotando imagen" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Espejando imagen" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Comprimiendo imagen" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Convirtiendo imagen" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Guardando imagen" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Clonando imagen" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Cambiando tamaño de imagen" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Desparasitando imagen" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Desenfocando imagen" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR en progreso" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Comenzar escaneo " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Cancelar escaneo " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Adquirir vista previa del escaneo " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Cancelar vista previa del escaneo " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"guardar-, ver-, fotocopia-, fax- ó correo " +"electrónico-" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Elegir tipo de medio fuente. \n" +"Para renombrar, reordenar o borrar una entrada use el menu de contexto " +"(botón derecho del ratón). \n" +"Para crear un 'medio' habilitar la opción 'editar definición de medio'en el " +"menú de preferencias." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "" +"Valor que se agrega al contador de nombre de archivo despues de escanear" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Explorar nombre de archivo de imagen" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Nombre de archivo para la imagen escaneada" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Tipo de formato de imagen, la extensión adecuada se agregará " +"automáticamente al nombre de archivo" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Ingresar nombre del proyecto de fax" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Ingrese nuevo nombre para la página de fax" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Ingrese número de teléfono del receptor ó dirección" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Ingresar nombre del proyecto de correo electrónico" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Ingresar nuevo nombre para la imagen de correo electrónico" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Ingresar dirección de correo electrónico" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Ingresar asunto de correo electrónico" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Seleccionar tipo de archivo para imagen adjunta" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Ingresar nuevo nombre para el área de preset" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Ingresar nuevo nombre para el área de preset" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Ingresar nuevo nombre para definición de medio" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Ingresar nuevo nombre para definición de medio" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Seleccionar definición de impresora " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Establecer resolución de escaneo" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Establecer resolución de escaneo en la dirección x" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Establecer resolución de escaneo en la dirección y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Establecer factor de ampliación" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Establecer factor de ampliación para la dirección x" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Establecer factor de ampliación para la dirección y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Establecer número de copias" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativos: Invertir colores para escanear negativos " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Establecer valor de gamma" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Establecer valor de gamma para el componente rojo" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Establecer valor de gamma para el componente verde" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Establecer valor de gamma para el componente azul" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Establecer brillo" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Establecer brillo para el componente rojo" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Establecer brillo para el componente verde" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Establecer brillo para el componente azul" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Establecer contraste" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Establecer contraste para el componente rojo" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Establecer contraste para el componente verde" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Establecer contraste para el componente azul" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Establecer umbral" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGB por omisión: Establecer valores de mejora para rojo, verde y azul a " +"valores por omisión :\n" +"gamma = 1.0\n" +"brillo = 0\n" +"contraste = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Autoajustar gamma, brillo y contraste " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Establecer valores de mejora por omisión :\n" +"gamma = 1.0\n" +"brillo = 0\n" +"contraste = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Restaurar valores de mejora desde preferencias " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Guardar valores de mejora activos a preferencias " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Mostrar histograma de intensidad/grises " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Mostrar histograma de componente rojo " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Mostrar histograma de componente verde " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Mostrar histograma de componente azul " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "" +"Modo de pantalla: mostrar histograma con líneas en vez de pixels " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Mostrar logaritmo de la cuenta de pixels " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Seleccionar definición a cambiar" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Definir un nombre para la selección de ésta definición" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "ingrese comando a ser ejecutado en modo copia (e.g. \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Ingrese opción para el número de copias" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Resolución con la que las imágenes de línea de arte son impresas y guardadas " +"en postscript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Resolución con la que las imágenes en tonos de grises son impresas y " +"guardadas en postscript" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Resolución con la que las imágenes en color son impresas y guardadas en " +"postscript" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Anchura de area imprimible" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Altura de area imprimible" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "" +"Deplazamiento a la izquierda desde el borde del papel al área imprimible" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Deplazamiento hacia abajo desde el borde del papel al área imprimible" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Valor de gamma adicional para fotocopia" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Valor de gamma adicional del valor rojo para fotocopia" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Valor de gamma adicional del valor verde para fotocopia" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Valor de gamma adicional del valor azul para fotocopia" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Ruta al directorio temporal" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Explorar para directorio temporal" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Calidad en porcentaje si la imagen es guardada como jpeg ó tiff con " +"compresión jpeg" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Compresión si la imagen es guardada como png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Medida mínima del contador en el nombre de archivo" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Tipo de compresión si la imagen de 16 bits es guardada como tiff" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Tipo de compresión si la imagen de 8 bits es guardada como tiff" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Tipo de compresión si la imagen de línea de arte es guardada como tiff" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Guardar preferencias dependientes del dispositivo en archivo por omisión al " +"salir de XSane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Advertir antes de sobreescribir un archivo existente" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Si el contador de nombre archivo se incrementa automáticamente, los números " +"presentes son salteados" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Cuando una imagen de 16 bits deba guardarse en formato pnm use el formato " +"ascii en vez del formato binario. El formato binario es un formato nuevo que " +"no está soportado por todos los programas. ¡¡¡El formato ascii está " +"soportado por la mayoría de los programas pero produce archivos realmente " +"enormes!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Si el escáner envía imágenes de 16 bits/color guardar imágenes con 8 bits/" +"color" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Anchura de papel para archivos postscript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Altura de papel para archivos postscript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Desplazamiento a la izquierda desde el borde del papel hasta el área usable " +"para los archivos postscript" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Desplazamiento hacia abajo desde el borde del papel hasta el área usable " +"para los archivos postscript" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Usar tamaño de ventana principal fijo ó uno de tamaño variable con scroll" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "" +"Deshabilitar el gamma de previsualización cuando XSane funciona como una " +"extensión de GIMP" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Usar un mapa de colores propio si la profundidad de la pantalla es 8 bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Seleccionar cómo se muestra un rango" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Valor con el que la resolución de la vista previa es multiplicado" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "" +"Establecer el valor de la corrección gamma para la imagen de previsualización" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Establecer el valor de la corrección gamma para el componente rojo de la " +"imagen de previsualización" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Establecer el valor de la corrección gamma para el valor verde de la imagen " +"de previsualización" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "" +"Establecer el valor de la corrección gamma para el valor azul de la imagen " +"de previsualización" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Definir la forma en que XSane manejará la opción umbral" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Seleccionar modo de escaneo tonos de grises. Éste modo es usado para " +"previsualización de línea de arte cuando la transformación de tonos de " +"grises a línea de arte está habilitada" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "El mínimo nivel del umbral del escáner en %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "El máximo nivel del umbral del escáner en %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Factor de multiplicación para hacer que el rango del umbral de XSane y el " +"rango del umbral del escáner sean iguales" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Desplazamiento para hacer que el rango del umbral de XSane y el rango del " +"umbral del escáner sean iguales" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Seleccionar fuente de escaneo para Alimentador de Documentos Automático. Si " +"ésta fuente se selecciona XSane escaneará hasta que ocurra un error \"out of " +"paper\" (sin papel)." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"Dimensión del cuadrado que es usado para promediar color para la función " +"pipeta" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Ingresar comando a ser ejecutado para mostrar archivos de ayuda, ¡debe ser " +"un visualizador html!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Cambiar valor de gamma cuando el botón de automejora es presionado" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "" +"Seleccionar área de escaneo después de que la previsualización ha concluído" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "" +"Hacer corrección de color después de que la previsualización ha concluído" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Ingresar comando a ser ejecutado en modo de fax" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Ingresar opción para especificar un receptor" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Ingresar opción para especificar archivos postscript siguientes" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Ingresar opción para especificar modo normal (baja resolución)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Ingresar opción para especificar modo fino (alta resolución)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Ingresar comando a ser ejecutado para ver un fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Enviar fax con resolución vertical alta (196 lpp en vez de 98 lpp)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "Dirección IP ó nombre de Dominio del servidor SMTP" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "puerto a conectar del servidor SMTP" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "Ingresar su dirección de correo electrónico" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "" +"Ingresar dirección de correo electrónico para los correos electrónicos " +"respondidos" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Autentificar en un servidor POP3 antes de enviar el correo electrónico" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "Dirección IP ó nombre de Dominio del servidor POP3" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "puerto a conectar al servidor POP3" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "nombre de usuario para el servidor POP3" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "contraseña para el servidor POP3" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "" +"Ingrese comando a ser ejecutado para ver una imagen de correo electrónico" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "" +"El correo electrónico se envía en modo html, coloque la imagen con: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Ingresar comando para lanzar programa de OCR" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "" +"Ingresar opción para el programa de OCR para definir archivo de entrada" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "ngresar opción para el programa de OCR para definir archivo de salida" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Definir si el programa de ocr soporta tubería de proceso GUI" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Ingresar opción para el programa de ocr para definir descriptor de archivo " +"de salida en modo GUI" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Palabra clave que se usa para indicar información de progreso" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "leer" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "escribir" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "ejecutar" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Añadir selección para escaneo por lotes" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Tomar punto blanco" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Tomar punto gris" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Tomar punto negro" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Usar área de escaneo completa" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Ampliar 20%" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Hacer click en la posición para hacer zoom a" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Ampliar dentro del área seleccionada" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Deshacer última ampliación" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Seleccionar area visible" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Autoseleccionar área de escaneado" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Autoseleccionar área de escaneado" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Borrar cache de imagen de previsualización" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Área de preset:\n" +"Para agregar una nueva área o editar una existente usar el menú de contexto " +"(botón derecho del ratón)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Rotar previsualización y escanear" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Relación de aspecto de selección" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Definir posición de imagen para imprimir" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Reconocimiento Óptico de Caracteres" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Deshacer el último cambio" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Clonar imagen" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Rotar imagen 90 grados" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Rotar imagen 180 grados" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Rotar imagen 270 grados" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Espejar imagen sobre el eje vertical" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Espejar imagen sobre el eje horizontal" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Ampliar imagen" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Guardar medio" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Borrar medio activo" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Factor de escala" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Factor de Escala-X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Factor de Escala Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Escalar imagen a ancho [en pixels]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Escalar imagen a alto [en pixels]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Vaciar lista de proceso por lotes" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Guardar lista de proceso por lotes" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Cargar lista de proceso por lotes" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Renombrar area" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Añadir vista previa seleccionada a la lista de proceso por lotes" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Borrar area seleccionada de la lista de proceso por lotes" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Enciende modo automático" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Falló al determinar el directorio home:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Falló al cambiar el directorio de trabajo a" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Archivo demasiado grande" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "No se puede crear archivos temporales" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Falló al definir valor de opción" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Falló al obtener valor de opción" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Error al obtener opción de conteo" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Falló al abrir dispositivo" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "no hay dispositivos obtenibles" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Error durante lectura:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Error durante guardado:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "No puede manejar la profundidad" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP no puede manejar la profundidad de %d bits/color" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Formato de archivo desconocido para guardar" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Falló al abrir" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "No se puede crear un archivo seguro (puede ser que exista un link):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Falló al abrir tubería para ejecutar comando de impresión" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Falló al ejecutar comando de impresión:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Falló al encender escáner:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Falló al tomar parámetros:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "No se dio formato de salida" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "sin memoria" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "" +"El Backend envía más datos de imagen que los definidos en los parámetros" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF reporta un error" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG reporta un error" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPE G reporta un error" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "tipo desconocido" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "Tipo de restricción desconocida" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "La opción tiene nombre vacío (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Éste es un error del backend. ¡Favor de informar al autor del backend!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Falló al ejecutar visor de documentación:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Falló al ejecutar visor de fax:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Falló al ejecutar comando de fax:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Falló al ejecutar visor de imagen de correo electrónico:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Falló al ejecutar comando de OCR:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "formato de frame inadecuado" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "No es posible establecer la resolución" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "El archivo de contraseña (%s) es inseguro, usar permisos x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "error" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "¡El número de versión principal de Sane no coincide!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Versión principal de XSane = " + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "Versión principal de backend = " + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAMA ABORTADO ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Falló al colocar la imagen de memoria:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "La vista previa no puede manejar la profundidad de bits" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "No hay soporte de GIMP" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "No se puede crear archivos temporales de previsualización" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "" +"No se puede crear nombres de archivos para archivos de previsualización" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "No se pudo crear proyecto de fax" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Desborde negativo para el contador de nombres de archivo" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "advertencia: la opción no tiene restricciones de valor" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"¡Usted intenta ejecutar XSane como ROOT, es verdaderamente PELIGROSO!\n" +"\n" +"¡ No envíe ningún reporte de bugs cuando usted\n" +"tenga algún problema mientras ejecute XSane as root:\n" +"USTED ESTÁ SOLO!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Error" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Aviso" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Información" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Error de proceso hijo" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Falló al crear archivo:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Error mientras se cargaban las opciones del dispositivo:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "¡¡¡no es un archivo-rc-de-dispositivo!!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "¡Falló al ejecutar Netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Envío de fax: no se definió receptor" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "se creó para dispositivo" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "usted quiere usarlo para el dispositivo" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "¡ésto puede causr problemas!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Hay %d imágenes no guardadas" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "El archivo %s ya existe" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "El archivo %s no existe" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "El archivo %s no es un archivo postscript" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Formato de salida de %d-bit no soportado: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "La imagen del visor no se guardó" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Uso:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPCIÓN]... [DISPOSITIVO]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Inicio de interfaz gráfica de usuario para acceder a dispositivos SANE [\n" +"(A)cceso a e(S)cáner (N)ahora (E)fácil]\n" +"\n" +"El formato de [DISPOSITIVO] es nombre_de_backend:archivo_de_dispositivo\n" +"(p/ej. umax:/dev/scanner).\n" +"[OPCIÓN]... puede ser una combinación de los siguientes ítems:\n" +" -h, --help mostrar éste mensaje de ayuda y salir\n" +" -v, --version imprimir información de la versión\n" +" -l, --license imprimir información de la licencia\n" +"\n" +" -d, --device-settings file cargar opciones de dispositivo desde archivo\n" +" (sin \".drc\")\n" +"\n" +" -V, --viewer comenzar con viewer-mode activo (por defecto)\n" +" -s, --save comenzar con save-mode activo\n" +" -c, --copy comenzar con copy-mode activo\n" +" -f, --fax comenzar con fax-mode activo\n" +" -m, --mail comenzar con mail-mode activo\n" +" -n, --no-mode-selection no habilitar menu para selección del modo " +"XSAne\n" +"\n" +" -M, --Medium-calibration habilitar modo de calibración medio\n" +"\n" +" -F, --Fixed tamaño de ventana principal fijo\n" +" (sobreescribe el valor de preferencias)\n" +" -R, --Resizeable ventana principal redimensionable, con scroll\n" +" (sobreescribe el valor de preferencias)\n" +"\n" +" -p, --print-filenames imprimir nombres de archivos de imágenes\n" +" creadas por XSane\n" +" -N, --force-filename name forzar nombre de archivo y no habilitar el de\n" +" la selección del usuario \n" +"\n" +" --display X11-display redireccionar salida a la pantalla de X11\n" +" --no-xshm no usar imágenes en memoria compartida\n" +" --sync requerir una conexión sincrónica con " +"el servidor X11" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Front-end para la interfaz SANE " + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Ésta función proporciona acceso a escáneres y otros dispositivos de " +"adquisición de imágenes a través de la interfaz SANE[(A)cceso a e(S)cáner (N)" +"ahora (E)fácil)" + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Ventana de diálogo de dispositivo..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/File/Acquire/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane: Ventana de diálogo de dispositivo..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Razones posibles:\n" +"1) No hay un dispositivo soportado por SANE\n" +"2) Los dispositivos soportados están ocupados\n" +"3) Los permisos para el dispositivo no le permiten usarlo. Pruebe como root\n" +"4) El backend no está cargado por SANE (man sane-dll)\n" +"5) El backend no está configurado correctamente (man sane-\"backendname\")\n" +"6) Posiblemente haya más de una versión de SANE instalada" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "tamaño real" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 vert." + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 horiz." + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 vert." + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 horiz." + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 vert." + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 horiz." + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal vert." + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal horiz." + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "carta vert." + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "carta horiz." + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Rango de color completo" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Diapositiva" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Negativo estándar" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Negativo Agfa" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Negativo Agfa XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Negativo Agfa HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Negativo Fuji" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Negativo Kodak" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Negativo Konica" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Negativo Konica VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Negativo Rossmann HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Proyecto de correo electrónico no creado" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Proyecto de correo electrónico creado" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Proyecto de correo electrónico cambiado" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Error leyendo el proyecto de correo electrónico" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "Falló la conexión POP3" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Falló el login POP3" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "Falló la conexión SMTP" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Datos de entrada no aceptados" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Entrada del receptor no aceptada" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Datos de correo electrónico no aceptados" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Eviando correo electrónico" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "El correo electrónico se envió" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Proyecto de fax no creado" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Proyecto de fax creado" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Proyecto de fax cambiado" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Poniendo el fax en la cola de envío" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "el fax está en la cola de envío" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "escáner flatbed" + +msgid "frame grabber" +msgstr "capturador de frames" + +msgid "handheld scanner" +msgstr "escáner manual" + +msgid "still camera" +msgstr "cámara fotográfica" + +msgid "video camera" +msgstr "cámara de video" + +msgid "virtual device" +msgstr "dispositivo virtual" + +msgid "Success" +msgstr "Éxito" + +msgid "Operation not supported" +msgstr "Operación no soportada" + +msgid "Operation was cancelled" +msgstr "Operación cancelada" + +msgid "Device busy" +msgstr "Dispositivo ocupado" + +msgid "Invalid argument" +msgstr "Argumento no válido" + +msgid "End of file reached" +msgstr "Final de archivo alcanzado" + +msgid "Document feeder jammed" +msgstr "Alimentador de Documentos atascado" + +msgid "Document feeder out of documents" +msgstr "Alimentador de Documentos sin documentos" + +msgid "Scanner cover is open" +msgstr "La tapa del Escáner está abierta" + +msgid "Error during device I/O" +msgstr "Error durante E/S de dispositivo" + +msgid "Out of memory" +msgstr "Sin memoria" + +msgid "Access to resource has been denied" +msgstr "Acceso al recurso fue prohibido" diff --git a/po/UTF-8/fr.gmo b/po/UTF-8/fr.gmo new file mode 100644 index 0000000..fd474de Binary files /dev/null and b/po/UTF-8/fr.gmo differ diff --git a/po/UTF-8/fr.po b/po/UTF-8/fr.po new file mode 100644 index 0000000..f1a710c --- /dev/null +++ b/po/UTF-8/fr.po @@ -0,0 +1,2826 @@ +# French translation for XSane. +# Copyright (C) 1999-2000 +# Laurent Grawet , 2000. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2000-02-09 21:00+01:00\n" +"Last-Translator: Laurent Grawet \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "fr" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "clone-de-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "A propos" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Concernant la traduction" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "Autorisation" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - La Licence" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Contrat d'utilisateur" + +#. WINDOW_INFO +msgid "info" +msgstr "Info" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "Charger la liste" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "Sauver la liste" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "Numérisation par lots" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "Renommer l'aire de numérisation" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "Projet fax" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "Renommer la page de fax" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "Importer un fichier ps dans un fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "Projet e-mail" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "Renommer l'image du message" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "Insérer un fichier dans le message" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "Renommer l'aire de présélection" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "Ajouter une aire de présélection" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Renomer le support" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "Ajouter un nouveau support" + +#. WINDOW_SETUP +msgid "setup" +msgstr "Configuration" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogramme" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Courbe gamma" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Options standard" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Options avancées" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "Sélection de périphérique" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Aperçu" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Visionneuse" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Visionneuse: Choisissez le nom du fichier de sortie" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Choisissez le nom du fichier texte OCR" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "Choisissez le nom du fichier de sortie" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "Enregistrer les paramètres du périphérique" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "Charger les paramètres du périphérique" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "Changer le répertoire de travail" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "Choisissez un répertoire temporaire" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Redimensionner l'image" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Déparasiter l'image" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Adoucir l'image" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Enregister la définition du support" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Aucun périphérique disponible" + +#. MENU_FILE +msgid "File" +msgstr "Fichier" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Préférences" + +#. MENU_VIEW +msgid "View" +msgstr "Afficher" + +#. MENU_WINDOW +msgid "Window" +msgstr "Fenêtre" + +#. MENU_HELP +msgid "Help" +msgstr "Aide" + +#. MENU_EDIT +msgid "Edit" +msgstr "Edition" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtres" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Géométrie" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "A propos de XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Info" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Quitter" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Sauver l'image" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - Sauver au format texte" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Cloner" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Redimensioner" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Fermer" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Annuler" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Déparasitage" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Flou" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Rotation à 90°" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rotation à 180°" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rotation à 270°" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Mirroir |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Mirroir -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Image brute" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Image améliorée" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Numériser" + +#. BUTTON_OK +msgid "Ok" +msgstr "Ok" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Accepter" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Refuser" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Appliquer" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Annuler" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Réduire" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Continuer à vos propres risques" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Parcourir" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Ecraser" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Numériser la liste" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Numériser l'aire sélectionnée" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Effacer la page" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Afficher la page" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Renommer la page" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Effacer l'image" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Afficher l'image" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Editer l'image" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Renommer l'image" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Insérer un fichier" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Créer un projet" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Envoyer un projet" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Effacer un projet" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Ajouter une imprimante" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Enlever une imprimante" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Acquisition de l'aperçu" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Annuler l'aperçu" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Abandonner l'image" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Abandonner toutes les images" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Ne pas fermer" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Garder à l'échelle" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Mode fin" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "e-mail HTML" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Sauver les paramètres du périphérique en quittant" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Avertissement en cas d'écrasement" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Sauter les noms de fichiers existants" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Sauver l'image pnm 16 bit en format ascii" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Réduire une image 16 bit en 8 bit" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Taille de la fenêtre principale fixe" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Désactive l'aperçu gamma de Gimp" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Utiliser une palette de couleurs privée" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Correction gamma automatique" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Présélection de l'aire de numérisation" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Correction automatique des couleurs" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "Authentification POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Utilise le \"pipe\" de progression GUI" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "Recherche de périphériques..." + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Périphériques disponibles:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Options de XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Mode XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Pas" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Type" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Scanner et backend:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Vendeur:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Modèle:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Type:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Périphérique:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Backend chargé:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Version de Sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Valeurs récentes:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Correction gamma par:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "scanner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "logiciel (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "aucun" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Valeur gamma d'entrée:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Valeur gamma de sortie:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Mode du scanner:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Formats de sortie XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "Formats de sortie 8 bits:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "Formats de sortie 16 bits:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp ne supporte pas la définition 16 bits/couleur.\n" +"Voulez-vous réduire la définition à 8 bits/couleur ?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"La définition 16 bits/couleur n'est pas supportée par ce format de sortie.\n" +"Voulez-vous réduire la définition à 8 bits/couleur ?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Autorisation requise pour" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "La transmission de mot de passe est sure" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Mot de passe pour les requêtes du backend" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Utilisateur:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Mot de passe:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Paramètres non valides" + +#. TEXT_VERSION +msgid "version:" +msgstr "version" + +#. TEXT_PACKAGE +msgid "package" +msgstr "paquetage" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "avec support GIMP" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "sans support GIMP" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "compilé avec GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "compilé avec GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "inconnu" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane est distribué selon les termes de la GNU \"General Public License\"\n" +"comme publiée par la FSF \"Free Software Foundation\" ; soit la version 2\n" +"de la Licence, ou (à votre choix) toute version ultérieure.\n" +"\n" +"Ce programme est distribué car potentiellement utile, mais SANS AUCUNNE\n" +"GARANTIE, sans même les garanties de COMMERCIALISATION ou d'ADAPTATION\n" +"DANS UN BUT SPECIFIQUE\n" +"Dans le cas ou le programme se révelerait défectueux, vous vous engagez à\n" +"assumer le coût de tous les services, réparations ou corrections " +"nécessaires.\n" +"Pour utiliser ce programme, vous devez avoir lu, compris et accepté les\n" +"termes \"SANS GARANTIE\" de ce contrat.\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane est distribué selon les termes de la GNU \"General Public License\"\n" +"comme publiée par la FSF \"Free Software Foundation\" ; soit la version 2\n" +"de la Licence, ou (à votre choix) toute version ultérieure.\n" +"\n" +"Ce programme est distribué car potentiellement utile, mais SANS AUCUNNE\n" +"GARANTIE, sans même les garanties de COMMERCIALISATION ou d'ADAPTATION\n" +"DANS UN BUT SPECIFIQUE\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "e-mail:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Page d'accueil:" + +#. TEXT_FILE +msgid "File:" +msgstr "Fichier:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Traduction:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"traduit en français\n" +"par Laurent Grawet\n" +"E-mail: laurent.grawet@ibelgique.com\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Pages numérisées:" + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Texte de l'e-mail:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Pièces attachées:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Statut du projet:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Type d'image pour l'e-mail" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Nom du support:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Taille %d x %d points, %d bit/couleur, %d couleurs, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Niveau de déparasitage:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Niveau de flou:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(sans nom)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Nom de l'aire:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Mode de numérisation:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Supérieur gauche:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Taille:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Résolution:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Nombre de bits:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "comme sélectionné" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Sélection de l'imprimante:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Nom:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Commande:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Nombre de copies:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Résolution en mode trait (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Résolution en mode niveaux de gris (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Résolution en mode couleur (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Largeur" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Longueur" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Marge gauche" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Marge inférieure" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Gamma de l'imprimante:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Gamma rouge de l'imprimante:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Gamma vert de l'imprimante:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Gamma bleu de l'imprimante:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Répertoire temporaire" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Permissions du fichier-image" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Permissions du répertoire" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Qualité d'image JPEG" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Compression des images PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Longueur du compteur de noms de fichiers" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Compression des images TIFF 16 bit" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Compression des images TIFF 8 bit" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Compression des images TIFF mode trait" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Afficher la plage comme:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Suréchantillonage de prévisualisation:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Gamma de l'aperçu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Gamma rouge de l'aperçu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Gamma vert de l'aperçu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Gamma bleu de l'aperçu:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Option seuil:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Chargeur automatique de documents:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Plage de la pipette de l'aperçu" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Seuil minimum:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Seuil maximum:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Multiplicateur de seuil:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Décalage de seuil:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Nom du mode de numérisation en niveaux de gris:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Visionneuse de fichiers d'aide (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Option de réception:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Option de fichier PostScript:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Option du mode normal:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Option du mode fin:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Options par défaut pour:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Visionneuse (PostScript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "Serveur SMTP:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "Port SMTP:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "De:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Répondre à:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "Serveur POP3:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "Port POP3:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "Utilisateur POP3:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "Mot de passe POP3:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Visionneuse (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Commande OCR:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Option de fichier d'entrée:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Option de fichier de sortie:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Utilise le \"pipe\" de progression GUI:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Option GUI output-fd:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Message de progression:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "utilisateur" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "groupe" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "tous" + +msgid "new media" +msgstr "nouveau support" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Enregistrer" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Image" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Copier" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Faxer" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Message" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Affichage" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Optimisation" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "e-mail" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Bulles d'aide" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Aperçu" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Histogramme" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Courbe gamma" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Numérisation par lots" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Options standard" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Options avancées" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Configuration" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Unité de longueur" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "millimètres" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimètres" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "pouces" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Mise à jour" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "continue" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "discontinue" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "retardée" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Afficher la liste des résolutions" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Rotation PostScript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Editer la définition du support" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Enregistrer les paramètres du périphérique" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Charger les paramètres du périphérique" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Changer de répertoire" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Afficher EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Afficher la licence (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Doc Xsane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Doc backend" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Backends disponibles" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Conseils de numérisation" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problèmes?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "inactif" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "pas de compression" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "Compression CCITT 1D Huffman" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Compression CCITT Group 3 Fax" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Compression CCITT Group 4 Fax" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Compression JPEG DCT" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Dia (Echelle)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Dia (Barre de défilement)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Bouton de rotation" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Echelle et bouton de rotation" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Barre de défilement et bouton de rotation" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Fenêtre d'options standard (mode trait)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Fenêtre principale de XSane (mode trait)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Fenêtre principale de XSane (niveaux de gris->mode trait)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(aucun)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "par ext" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Ajouter la sélection à la liste" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Nouveau support" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Renommer un objet" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Effacer un objet" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Déplacer l'objet vers le haut" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Déplacer l'objet vers le bas" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Numérisation..." + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Réception des données %s..." + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Transfert de l'image..." + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Rotation de l'image..." + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Mirroir de l'image..." + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Compression de l'image..." + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Conversion de l'image..." + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Sauvegarde de l'image..." + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Clonage de l'image..." + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Redimensionnement de l'image..." + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Déparasitage de l'image..." + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Flou de l'image..." + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR en cours..." + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Numériser " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Annuler la numérisation " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Acquisition de l'aperçu " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Annuler l'aperçu " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"sauver-, visionner-, photocopier-, faxer- ou " +"poster-" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Choisissez le type de support à utiliser.\n" +"Pour renommer, réarranger ou effacer une entrée, utilisez le menu contextuel " +"(bouton droit de la souris).\n" +"Pour créer un support, activez l'option éditer la définition du support dans " +"le menu préférences." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Valeur ajoutée au compteur de noms de fichiers après numérisation" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Parcourir pour un nom d'image" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Nom de fichier pour l'image numérisée" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Type de format d'image, l'extension de nom de fichier correspondante est " +"automatiquement ajoutée" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Entrez le nom du projet fax" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Entrez le nouveau nom pour la page de fax" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Entrez le numéro de tél. ou l'adresse du destinataire" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Entrez le nom du projet e-mail" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Entrez le nouveau nom pour l'image du message" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Entrez l'adresse e-mail" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Entrez le sujet de l'e-mail" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Sélectionnez le type de fichier pour les attachements" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Entrez un nom pour la présélection" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Entrez un nom pour la présélection" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Entrez un nom pour la définition du support" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Entrez un nom pour la définition du support" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Sélectionne l'imprimante " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Change la résolution de numérisation" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Change la résolution horizontale de numérisation" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Change la résolution verticale de numérisation" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Change le facteur de zoom" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Change le facteur de zoom horizontal" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Change le facteur de zoom vertical" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Entrez le nombre de copies" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "" +"Négatif: Inverse les couleurs pour la numérisation de négatifs " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Change la valeur gamma" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Change le gamma pour la composante rouge" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Change le gamma pour la composante verte" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Change le gamma pour la composante bleue" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Change la luminosité" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Change la luminosité pour la composante rouge" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Change la luminosité pour la composante verte" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Change la luminosité pour la composante bleue" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Change le contraste" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Change le contraste pour la composante rouge" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Change le contraste pour la composante verte" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Change le contraste pour la composante bleue" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Change le seuil" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"Défaults RGB: Place les optimisations pour le rouge, vert et bleu à leurs " +"valeurs par défaut :\n" +" gamma = 1.0\n" +" luminosité = 0\n" +" contraste = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Ajuste automatiquement gamma, luminosité et contraste " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Place les optimisations à leurs valeurs par défaut :\n" +" gamma = 1.0\n" +" luminosité = 0\n" +" contraste = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Restaure les optimisations des préférences " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Enregistre les optimisations actives dans les préférences " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Affiche l'histogramme de l'intensité/gris " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Affiche l'histogramme de la composante rouge " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Affiche l'histogramme de la composante verte " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Affiche l'histogramme de la composante bleue " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Affiche l'histogramme avec des lignes à la place des points " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Affiche le logarithme du nombre de points " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Choisissez la définition à changer" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Entrez un nom pour cette définition" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Entrez la commande à exécuter en mode copie (par ex.: \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Entrez l'option du nombre de copies" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Résolution avec laquelle les images trait doivent être enregistrées et " +"imprimées en PostScript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Résolution avec laquelle les images en niveaux de gris doivent être " +"enregistrées et imprimées en PostScript" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Résolution avec laquelle les images en couleur doivent être enregistrées et " +"imprimées en PostScript" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Largeur de la zone imprimable" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Longueur de la zone imprimable" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Marge entre le bord gauche du papier et l'aire imprimable" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Marge entre le bord inférieur du papier et l'aire imprimable en mm" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Gamma additionnel pour la photocopie" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Gamma additionnel pour la composante rouge pour la photocopie" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Gamma additionnel pour la composante verte pour la photocopie" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Gamma additionnel pour la composante bleue pour la photocopie" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Chemin du répertoire temporaire" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Parcourir pour un répertoire temporaire" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Qualité en pourcentage si l'image est enregistrée en jpeg ou tiff avec " +"compression jpeg" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Compression si l'image est enregistrée en png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Longueur minimale du compteur de noms de fichiers" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Type de compression si une image 16 bit est enregistrée en tiff" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Type de compression si une image 8 bit est enregistrée en tiff" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Type de compression si l'image trait est enregistrée en tiff" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Enregister les paramètres du scanner dans le fichier par défaut en quittant " +"XSane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Avertir avant d'écraser un fichier existant" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Si un compteur de noms de fichiers est utilisé, les nombres déjà utilisés " +"sont évités" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Quand une une image 16 bit doit être sauvée au format pnm, utilisez le " +"format ASCII au lieu du format binaire. Le format binaire est un nouveau " +"format qui n'est pas supporté par tous les programmes. Le format ASCII est " +"supporté par plus de programmes mais produit de très gros fichiers !!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Si le scanner envoie une image en 16 bits/couleur, sauver l'image en 8 bits/" +"couleur" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Largeur du papier pour les fichiers PostScript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Longueur du papier pour les fichiers PostScript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Marge entre le bord gauche du papier et l'aire imprimable pour les fichiers " +"PostScript" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Marge entre le bord inférieur du papier et l'aire imprimable pour les " +"fichiers PostScript" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Utilise une fenêtre principale de taille fixe ou avec défilement, fenêtre " +"principale redimensionable" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Désactive l'aperçu gamma quand XSane fonctionne comme un plugin Gimp" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Utilise une palette de couleurs privée pour l'aperçu si l'affichage est en " +"mode 8bits" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Sélectionnez la manière dont la plage est affichée" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "" +"Valeur avec laquelle la résolution de prévisualisation calculée est " +"multipliée" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Change la correction gamma pour l'image de l'aperçu" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Change la correction gamma de la composante rouge pour l'image de l'aperçu" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Change la correction gamma de la composante verte pour l'image de l'aperçu" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "" +"Change la correction gamma de la composante bleue pour l'image de l'aperçu" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Défini la manière dont XSane doit gérer l'option seuil" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Sélection du mode de numérisation en niveaux de gris. Ce mode de " +"numérisation est utilisé pour la prévisualisation en mode trait quand la " +"tranformation des niveaux de gris en mode trait est activée." + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Le niveau de seuil minimum du scanner en %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Le niveau de seuil maximum du scanner en %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplicateur pour rendre l'échelle de seuil de XSane et du scanner les " +"mêmes" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Décalage pour rendre l'échelle de seuil de XSane et du scanner les mêmes" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Sélectionnez la source de numérisation pour le chargeur automatique de " +"documents. Dans ce mode, XSane numérisera jusqu'à l'obtention d'un signal " +"\"plus de papier\" ou d'une erreur." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"Dimension du carré utilisée pour déterminer la couleur moyenne pour la " +"fonction pipette" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Entrez la commande a exécuter pour afficher les fichiers d'aide ; doit être " +"capable de lire du html !" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Change la valeur gamma quand le bouton d'optimisation auto est pressé" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "" +"Sélectionne l'aire de numérisation une fois la prévisualisation terminée" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Corrige les couleurs une fois la prévisualisation terminée" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Entrez la commande à exécuter en mode fax" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Entrez l'option à spécifier au destinataire" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Entrez l'option à spécifier aux fichiers PostScript" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Entrez l'option à spécifier au mode normal (basse résolution)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Entrez l'option à spécifier au mode fin (haute résolution)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Entrez la commande à être exécutée pour voir un fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "" +"Envoie un fax avec une résolution verticale élevée (196 lpi à la place de 98 " +"lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "Adresse IP ou nom de domaine du serveur SMTP" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "Port de connexion SMTP" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "Entrez votre adresse e-mail" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "Entrez l'adresse e-mail de réponse" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "S'authentifier au près du serveur POP3 avant d'envoyer le message" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "Adresse IP ou nom de domaine du serveur POP3" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "Port de connexion POP3" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "Nom d'utilisateur pour le serveur POP3" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "Mot de passe pour le serveur POP3" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Entrez la commande à être exécutée pour voir une image e-mail" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "Message envoyé en mode html, placer l'image avec: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Entrez la commande pour lancer le programme d'OCR" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Entrez l'option du programme d'OCR pour définir un fichier d'entrée" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Entrez l'option du programme d'OCR pour définir un fichier de sortie" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Définissez si le programme d'OCR supporte un pipe GUI de progression" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Entrez l'option du programme d'OCR pour définir un fichier descripteur de " +"sortie en mode GUI" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"Définissez un mot clé à utiliser pour marquer l'information de progression" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "lecture" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "écriture" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "exécution" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Ajouter la sélection pour la numérisation par lots" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Choisissez un point blanc" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Choisissez un point gris" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Choisissez un point noir" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Utilise l'aire de numérisation complète" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Zoom 20% en arrière" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Cliquez à la posisiton désirée du zoom" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Zoom l'aire sélectionnée" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Annule le dernier zoom" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Sélectionne l'aire visible" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Sélection automatique de l'aire de numérisation" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Affichage automatique de l'aire de numérisation" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Effacer le cache de l'aperçu" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Aire de présélection: \n" +"Pour ajouter une nouvelle aire ou éditer une aire existante, utilisez le " +"menu contextuel (bouton droit de la souris)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Pivote l'aperçu et la numérisation" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Proportions de la sélection" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Définit la position de l'image pour l'impression" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Reconnaissance Optique de Caractères" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Annule le dernier changement" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Cloner l'image" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Rotation à 90° de l'image" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Rotation à 180° de l'image" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Rotation à 270° de l'image" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Effet mirroir à axe vertical" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Effet mirroir à axe horizontal" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Zoom sur l'image" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Enregistre la définition du support" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Efface la définition du support" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Facteur d'échelle" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Facteur d'échelle horizontal" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Facteur d'échelle vertical" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Mettre l'image à l'échelle de la largeur [en pixels]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Mettre l'image à l'échelle de la hauteur [en pixels]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Vide la liste" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Sauve la liste" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Charge la liste" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Renomme l'aire" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Ajoute la sélection de la prévisualisation à la liste" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Supprime l'aire sélectionnée de la liste" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Actionne le mode automatique" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Impossible de déterminer le répertoire personnel:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Impossible de changer le répertoire de travail en:" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Nom de fichier trop long" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Ne peut créer de fichier temporaire" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Echec du changement de la valeur de l'option" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Echec de l'obtention de la valeur de l'option" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Erreur de l'option 'count'" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Erreur d'ouverture du périphérique" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "Aucun périphérique disponible" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Erreur pendant la lecture" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Erreur pendant la sauvegarde" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Ne supporte pas le mode" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP ne supporte pas la profondeur %d bits/color" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Format de sauvegarde inconnu" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Echec de l'ouverture" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Ne peut créer un fichier sécurité (peut-être qu'un lien existe déja):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "" +"Echec lors de l'ouverture du pipe pour exécuter la commande d'impression" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Echec de l'exécution de la commande d'impression" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Echec du démarrage du scanner" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Echec lors du chargement des paramètres" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Pas de format de sortie donné" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "Dépassement de mémoire" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Le backend envoie plus de données image que défini dans les paramètres" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF a reporté une erreur" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG a reporté une erreur" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG a reporté une erreur" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "type inconnu" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "type de restriction inconnu" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "L'option a un nom vide (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Bug du backend. Veuillez informer l'auteur du backend !" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Erreur d'exécution de la visionneuse de documentation" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Erreur d'exécution de la visionneuse de fax" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Erreur d'exécution de la commande de fax:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Erreur d'exécution de la visionneuse d'image:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Erreur d'exécution de la commande OCR:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "Mauvais format de frame" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "Impossible d'attribuer la résolution" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "" +"Le fichier de mot de passe (%s) n'est pas sur, utilisez des droits x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "Erreur" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Incohérence dans le numéro de version majeur de Sane!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Version majeure de XSane =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "Version majeure du backend =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** ARRET DU PROGRAMME ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Erreur d'allocation de mémoire pour l'image" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "La prévisualisation ne supporte pas le mode" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "le support pour GIMP est manquant" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Ne peut pas créer de fichiers temporaires de prévisualisation" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "" +"Ne peut pas créer de noms de fichiers pour les fichiers de prévisualisation" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Ne peut créer un projet fax" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Repositionnement du compteur de noms de fichiers" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "Attention: l'option n'a pas de restriction" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Vous exécutez XSane en tant que ROOT, c'est réellement DANGEREUX !\n" +"\n" +"N'envoyez pas de rapports de bug si vous rencontrez\n" +"des problèmes en utilisant XSane en tant que root:\n" +"VOUS ETES SEUL !" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Erreur" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Avertissement" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Information" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Erreur de processus enfant" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Erreur de création de fichier" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Erreur lors du chargement des paramètres du périphérique" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "n'est pas un fichier périphérique-rc" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Echec de l'exécution de Netscape" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Envoi fax: pas de destinataire définit" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "a été créé pour le périphérique" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "vous voulez l'utiliser comme périphérique" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "cela peut occasionner des problèmes!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Il y a %d images non sauvées" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Le fichier %s existe déja" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Le fichier %s n'existe pas" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Le fichier %s n'est pas un fichier PostScript" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Format de sortie %d-bit non supporté: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "L'image de la visionneuse n'est pas sauvegardée" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Usage:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPTION]... [PERIPHERIQUE]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Démarre l'interface graphique pour accéder aux périphériques de SANE " +"(Scanner Access Now Easy).\n" +"\n" +"Le format de [PERIPHERIQUE] est : nom_du_backend:fichier_périphérique\n" +"(ex : umax:/dev/scanner).\n" +"[OPTION]... peut être une des combinaisons suivantes :\n" +"\n" +"-h, --help affiche ce message d'aide et quitte\n" +"-v, --version donne des informations sur la version\n" +"-l, --license affiche des informations sur la licence\n" +"\n" +"-d, --device-settings file charge la configuration d'un périphérique à\n" +" partir d'un fichier (sans \".drc\")\n" +"\n" +"-V, --viewer démarre en mode visionneuse (défaut)\n" +"-s, --save démarre en mode sauvegarde\n" +"-c, --copy démarre en mode copie\n" +"-f, --fax démarre en mode fax\n" +"-m, --mail start with mail-mode active\n" +"-n, --no-mode-selection désactive le menu de sélection de mode\n" +"\n" +"-M, --Medium-calibration active le mode de calibration de media\n" +"\n" +"-F, --Fixed fixe la taille de la fenêtre principale (sans\n" +" tenir compte des préférences)\n" +"-R, --Resizeable taille de la fenêtre principale variable (sans\n" +" tenir compte des préférences)\n" +"-p, --print-filenames affiche le nom des images créées par XSane\n" +"-N, --force-filename name force le nom de fichier et désactive la " +"sélection\n" +" utilisateur\n" +"--display affichage-X11 redirige l'affichage vers un autre affichage " +"X11\n" +"--no-xshm n'utilise pas la mémoire partagée\n" +"--sync demande une connexion synchrone avec le serveur " +"X" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Front-end pour l'interface SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Cette fonction permet l'accès aux scanners et autres périphériques " +"d'acquisition d'images à travers SANE (Scanner Access Now Easy)" + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "" + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "" + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "" + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Raisons possibles:\n" +"1) Il n'y a aucun périphérique supporté par SANE\n" +"2) Les périphériques supportés sont occupés\n" +"3) Les permissions du fichier périphérique à utiliser sont mal définies - " +"essayez en tant que root\n" +"4) Le backend n'est pas chargé par SANE (man sane-dll)\n" +"5) Le backend n'est pas configuré correctement (man sane-\"nom-du-backend\"\n" +"6) Il y a peut-être plusieurs versions de SANE installées" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "Taille maximum" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 portrait" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 paysage" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 portrait" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 paysage" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 portrait" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 paysage" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "Legal portrait" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "Legal paysage" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "Letter portrait" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "Letter paysage" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Pleine échelle couleur" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Dia" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Négatif standard" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Négatif Agfa" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Négatif Agfa XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Négatif Agfa HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Négatif Fuji" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Négatif Kodak" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Négatif Konica" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Négatif Konica VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Négatif Rossman HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Projet d'e-mail non créé " + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Projet d'e-mail créé" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Projet d'e-mail modifié" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Erreur de lecture du projet d'e-mail" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "Echec de la connexion POP3" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Echec du login POP3" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "Echec de la connexion SMTP" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Champ from refusé" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Champ destinataire refusé" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Données d'e-mail refusées" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Envoi du message" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Message envoyé" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Projet de fax non créé" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Projet de fax créé" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Projet de fax modifié" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Mise en queue du fax" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax en queue" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "scanner à plat" + +msgid "frame grabber" +msgstr "carte d'acquisition vidéo" + +msgid "handheld scanner" +msgstr "scanner à main" + +msgid "still camera" +msgstr "appareil numérique" + +msgid "video camera" +msgstr "caméra numérique" + +msgid "virtual device" +msgstr "périphérique virtuel" + +msgid "Success" +msgstr "Succès" + +msgid "Operation not supported" +msgstr "Opération non supportée" + +msgid "Operation was cancelled" +msgstr "Opération annulée" + +msgid "Device busy" +msgstr "Périphérique occupé" + +msgid "Invalid argument" +msgstr "Argument invalide" + +msgid "End of file reached" +msgstr "Fin de fichier atteinte" + +msgid "Document feeder jammed" +msgstr "Chargeur de documents bloqué" + +msgid "Document feeder out of documents" +msgstr "Chargeur de documents vide" + +msgid "Scanner cover is open" +msgstr "Le capot du scanner est ouvert" + +msgid "Error during device I/O" +msgstr "Erreur d'I/O sur le périphérique" + +msgid "Out of memory" +msgstr "Dépassement de mémoire" + +msgid "Access to resource has been denied" +msgstr "Accès à la ressource refusé" diff --git a/po/UTF-8/hu.po b/po/UTF-8/hu.po new file mode 100644 index 0000000..4f0eae1 --- /dev/null +++ b/po/UTF-8/hu.po @@ -0,0 +1,2628 @@ +# Hungarian translation of XSane. +# Aron Novak , 2004. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.93\n" +"POT-Creation-Date: 2004-05-08 23:55+0200\n" +"PO-Revision-Date: 2004-06-20 20:00+GMT\n" +"Last-Translator: Aron Novak \n" +"Language-Team: Hungarian\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "hu" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Névjegy" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Fordítás névjegye" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "engedélyezés" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "A licensz - GPL" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Végfelhasználói Licenszegyezmény" + +#. WINDOW_INFO +msgid "info" +msgstr "infó" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "kötegelt lista betöltése" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "kötegelt lista mentése" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "kötegelt beolvasás" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "kötegelt terület átnevezése" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "faxterv" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "faxoldal átnevezése" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "ps fájl beszúrása a faxba" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "levélterv" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "kép átnevezése" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "fájl beszúrása a levélbe" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "kijelölés átnevezése" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "kijelölés törlése" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "kijelölés hozzáadása" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "rename medium" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "add new medium" + + +#. WINDOW_SETUP +msgid "setup" +msgstr "beállítás" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Hisztogram" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gammagörbe" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Általános beállítások" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Haladó beállítások" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "eszköz kiválasztása" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Előnézet" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Megjelenítés" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Megjelenítés: kimeneti fájlnév kiválasztása" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "A kimeneti fájlnév választása az OCR szöveghez" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "kimeneti fájlnév megadása" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "eszközbeállítások mentése" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "eszközbeállítások betöltése" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "munkakönyvtár váltása" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "ideiglenes könyvtár megadása" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Kép átméretezése" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Szemcsézettség csökkentése" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Kép elmosása" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Középmeghatározás tárolása" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Nincs elérhető eszköz" + +#. MENU_FILE +msgid "File" +msgstr "Fájl" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Tulajdonságok" + +#. MENU_VIEW +msgid "View" +msgstr "Nézet" + +#. MENU_HELP +msgid "Help" +msgstr "Súgó" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Szűrők" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Az XSane névjegye" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Infó" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Kilépés" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Kép mentése" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - mentés szövegként" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Klón" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Átméretezés" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Bezárás" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Szemcsézettség csökkentése" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Elmosás" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Nyers kép" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Javított kép" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Beolvasás" + +#. BUTTON_OK +msgid "Ok" +msgstr "Rendben" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Elfogadás" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Elutasítás" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Érvényesít" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Mégsem" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Csökkent" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Folytatás saját felelősségre" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Böngészés" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Felülírás" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Kötegelt lista beolvasása" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Kijelölt terület beolvasása" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Oldal törlése" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Oldal mutatása" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Oldal átnevezése" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Kép törlése" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Kép mutatása" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Kép átnevezése" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Fájl beillesztése" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Terv létrehozása" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Terv küldése" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Terv törlése" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Nyomtató hozzáadása" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Nyomtató törlése" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Előnézet kérése" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Előnézet megszakítása" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Kép elvetése" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Összes kép elvetése" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Ne zárd be" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Nagyítás rögzítése" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Részletes mód" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTML levél" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Eszközbeállítások mentése kilépéskor" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Figyelmeztetés felülíráskor" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Létező fájlnevek kihagyása" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "16bites pnm ascii módban mentése" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "16 bites kép 8 bitessé csökkentése" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "A főablak rögzített méretű" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "A gimp előnézeti gamma tiltása" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Egyéni színtérkép használata" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "A gamma önműködő javítása" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Előre választott beolvasási terület" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Színek automatikus javítása" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "POP3 azonosítás" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "A GUI folyamatcső használata" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "eszközök keresése" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Elérhető eszközök:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "XSane beállítások" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "XSane mód" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Lépésköz" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Típus" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Lapolvasó és backend:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Szállító:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Modell::" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Típus:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Eszköz:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Betöltött backend:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Sane változat:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Jelenlegi értékek" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gamma korrekció:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "lapolvasó" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "program (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "semmi" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Gamma bemeneti mélység:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Gamma kimeneti mélység:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Lapolvasó kimeneti mélység:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "XSane kimeneti formátumok:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8 bites kimeneti formátumok:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16 bites kimeneti formátumok:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"A Gimp nem támogatja a 16 bites színmélységet.\n" +"Szeretnéd csökkenteni 8 bitesre?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"A 16 bites színmélység nem támogatott ehhez a formátumhoz" +"Csökkentsük 8 bitesre?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Azonosítás szükséges" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Biztonságos jelszóátvitel" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "A backend sima szöveges jelszót igényel" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Felhasználói név:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Jelszó:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Érvénytelen paraméterek." + +#. TEXT_VERSION +msgid "version:" +msgstr "változat:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "csomag" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "GIMP támogatással" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "GIMP támogatás nélkül" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "GTK-val" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "GIMP-pel" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "ismeretlen" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"Az XSane-t Free Software Foundation A GNU General Public License\n" +"alatt terjeszti. Vagy akár a 2-es verziója a licensznek vagy bármelyik\n" +"későbbi igény szeint\n" +"Ezt a programot abban a reményben terjesztjük, hogy hasznos lesz, de\n" +"GARANCIA NÉLKÜL; mindenféle közvetett garancia nélkül az\n" +"ELADHATÓSÁGRA vagy az ALKALMASSÁGRA bizonyos célokra.\n" +"Ha a program hibásnak bizonyul, te állod a költségét minden\n" +"szükséges javításnak, szervizelésnek vagy korrekciónak. Ahhoz hogy\n" +"használd ezt a programot, el kell olvasd, meg kell értsed a következő\n" +"NINCS GARANCIA egyezményt.\n" + + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"Az XSane-t Free Software Foundation A GNU General Public License\n" +"alatt terjeszti. Vagy akár a 2-es verziója a licensznek vagy bármelyik\n" +"későbbi igény szeint\n" +"Ezt a programot abban a reményben terjesztjük, hogy hasznos lesz, de\n" +"GARANCIA NÉLKÜL; mindenféle közvetett garancia nélkül az\n" +"ELADHATÓSÁGRA vagy az ALKALMASSÁGRA bizonyos célokra.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Email:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Honlap:" + +#. TEXT_FILE +msgid "File:" +msgstr "Fájl:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Fordítás:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"magyar fordítás\n" +"Novák Áron\n" +"Email: aaron@szentimre.hu\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Beolvasott oldalak:" + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "A levél szövege:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Mellékletek:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "A terv állapota:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Közép neve:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Méret %d x %d képpont, %d bit/szín, %d szín, %1.0f dpi x %1.0f dpi, %1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Szemcsézettség sugara:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Elmosás sugara:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(névtelen)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Terület neve:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Beolvasás módja:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Jobb fölső:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Méret:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Felbontás:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Színmélység" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "a kijelölés szerint" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Nyomtató választása:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Név:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Parancs:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Másolatszám lehetősége:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Vonalas felbontás (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Szürkeárnyalatos felbontás (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Színes felbontás (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Szélesség" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Magasság" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Jobb eltolás" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Lenti eltolás" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Nyomtató gamma értéke:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Nyomtató piros gammája:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Nyomtató zöld gammája:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Nyomtató kék gammája:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Ideiglenes könyvtár" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Képfájl jogosultságai" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Könyvtár jogosultságai" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "JPEG képminőség" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "PNG tömörítés mértéke" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Fájlnévszámláló hossza" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "16 bites TIFF tömörítése" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "8 bites TIFF tömörítése" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Vonalas TIFF tömörítése" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Show range as:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Preview oversampling:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Előnézeti gamma:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Előnézet piros gammája:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Előnézet zöld gammája:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Előnézet kék gammája:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Telítettség lehetősége:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Önműködő Dokumentum Adagoló(ADF) mód:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Preview pipette range" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Telítettség minimuma:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Telítettség maximuma:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Telítettség szorózója:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Telítettség eltolása:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Szürkeárnyalatos beolvasás neve:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Súgófájl nézőke (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Fogadó beállításai:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Postscriptfájl beállítások:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Alap mód beállítása:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Részletes mód beállítása:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Alapértelmezett beállítások ehhez:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Nézőke (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTP kiszolgáló:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTP port:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Feladó:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Válaszcím:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3 kiszolgáló:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3 port:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "POP3 felhasználó:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "POP3 jelszó:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Nézőke (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "OCR parancs:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Bemeneti fájl beállítása:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Kimeneti fájl beállítása:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Use GUI progress pipe:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUI output-fd option:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Progress keyword:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "felhasználó" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "csoport" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "minden" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Mentés" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Kép" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Másolás" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Faxolás" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Email" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "Szövegfelismerés" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Megjelenítés" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Javítás" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Email" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Gyorssúgó megjelenítése" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Előnézet megjelenítése" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Hisztogram megjelenítése" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Gamma görbe megjelenítése" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Kötegelt beolvasás mutatása" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Alapbeállítások mutatása" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Haladó beállítások mutatása" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Beállítások" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Hosszegység" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milliméter" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centiméter" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "inch" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Frissítési mód" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "folyamatos" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "nem folyamatos" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "késleltetett" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Felbontások mutatása" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Postscript forgatása" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Edit medium definition" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Eszközbeállítások mentése" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Eszközbeállítások betöltése" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Könyvtárváltás" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "EULA mutatása" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Licensz mutatása (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "XSane doku" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Backend doku" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Elérhető backendek" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Beolvasási tanácsok" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Gond van?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "inaktív" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "tömörítés nélkül" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "CCITT 1D Huffman tömörítés" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "CCITT Group 3 Fax tömörítés" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "CCITT Group 4 Fax tömörítés" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "JPEG DCT tömörítés" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "bitek csomagolása" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Csúszka (Méretezés)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Csúszka (görgetősáv)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Forgató gomb" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Méretező és forgató gomb" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Görgetősáv és forgató gomb" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Alapbeállítások ablak (vonalas)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "XSane főablak (vonalas)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "XSane főablak (szürkeárnyalatos->vonalas)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(semmi)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "kiterjesztés szerint" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Kijelölés a listához" + +#. MENU_ITEM_PRESET_AREA_RENAME +msgid "Rename definiton" +msgstr "Meghatározás átnevezése" + +#. MENU_ITEM_PRESET_AREA_DELETE +msgid "Delete definition" +msgstr "Meghatározás törlése" + +#. MENU_ITEM_PRESET_AREA_MOVE_UP +msgid "Move up" +msgstr "Felfele mozgat" + +#. MENU_ITEM_PRESET_AREA_MOVE_DWN +msgid "Move down" +msgstr "Lefele mozgat" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Beolvasás" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "%s adatok fogadása" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Kép átvitele" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Kép forgatása" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Kép tükrözése" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Kép csomagolása" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Kép átalakítása" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Kép mentése" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Cloning image" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Kép átméretezése" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Kép szemcsétlenítése" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Kép elmosása" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Szövegfelismerés folyamatban" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Beolvasás indítása " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Beolvasás megszakítása " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Előnézeti kép beolvasása " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Előnézet beolvasásának megszakítása " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"mentés-, nézet-, fotómásolat-, fax-" +"vagy email-" + +#. DESC_XSANE_MEDIUM +msgid "Select source medium type\n" +msgstr "Forrás típusa\n" + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "A fájlnévszámlálóhoz beolvasás után hozzáadott szám" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Kép fájlnevének böngészése" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "A beolvasott kép fájlneve" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"A képformátum típusa, a megfelelő fájlkiterjesztés önműködően hozzá" +"adódik a fájlnévhez" +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Add meg a terv nevét" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Adj új nevet a faxoldalnak" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Add meg a fogadó telefonját vagy címét" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Add meg a levélterv nevét" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Adj új nevet a képnek" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Adj meg egy emailcímet" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Add meg a levél tárgyát" + +#. DESC_PRESET_AREA_NAME +msgid "Enter new name for preset area" +msgstr "Adj új nevet a kijelölésnek" + +#. DESC_MEDIUM_DEFINITION_NAME +msgid "Enter new name for medium definition" +msgstr "Enter new name for medium definition" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Válaszd ki a nyomtatómeghatározást " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Állítsd be a felbontást" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Add meg a vízszintes felbontást a beolvasáshoz" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Add meg a függőleges felbontást a beolvasáshoz" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Add meg a nagyítás mértéket" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Add meg a nagyítás vízszintes mértékét" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Add meg a nagyítás függőleges mértékét" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Add meg a másolatok számát" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negatív: Színek felcserélése a negatívok beolvasásához " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Gamma érték megadása" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Gamma érték megadása a piros összetevőhöz" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Gamma érték megadása a zöld összetevőhöz" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Gamma érték megadása a kék összetevőhöz" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Add meg a világosságot" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Világosság megadása a piros összetevőhöz" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Világosság megadása a zöld összetevőhöz" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Világosság megadása a kék összetevőhöz" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Add meg a kontrasztot" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Kontraszt megadása a piros összetevőhöz" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Kontraszt megadása a zöld összetevőhöz" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Kontraszt megadása a kék összetevőhöz" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Add meg a telítettséget" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGB alapértelmezett: Add meg a fokozás értékét a piroshoz, a zöldhöz, a kékhez" +"értékek :\n" +" gamma = 1.0\n" +" világosság = 0\n" +" kontraszt = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "A gamma, világosság és kontraszt önműködő állítása " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Alapértelmezett javítási értékek :\n" +"gamma = 1.0\n" +"világosság = 0\n" +"kontraszt = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "A fokozási értékek visszaállítása a beállításokból " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Mostani fokozási értékek tárolása a beállításokhoz " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Az intenzitás/szürke hisztogram mutatása " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Piros összetevő hisztogramjának mutatása " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Zöld összetevő hisztogramjának mutatása " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Kék összetevő hisztogramjának mutatása " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Megjelenítési mód: hisztogram vonalakkal képpontok helyett " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "A képpontszámláló logaritmusának mutatása " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Meghatározás megváltoztatása" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Define a name for the selection of this definition" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Add meg a parancsot, ami másoláskor végrehajtódik ((pl.: \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Enter option for copy numbers" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"A vonalas képek ekkora felbontásban lesznek nyomtatva és postscriptbe mentve" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"A szürke képek ekkora felbontásban lesznek nyomtatva és postscriptbe mentve" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "A színes képek ekkora felbontásban lesznek nyomtatva és postscriptbe mentve" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "A nyomtatható terület szélessége" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "A nyomtatható terület magassága" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "A papír jobb szélétől ekkora távolságra van a nyomtatható terület" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "A papír alsó szélétől ekkora távolságra van a nyomtatható terület" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Plusz gamma érték a fotómásoláshoz" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Plusz piros gamma érték a fotómásoláshoz" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Plusz zöld gamma érték a fotómásoláshoz" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Plusz kék gamma érték a fotómásoláshoz" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Az ideiglenes könyvtár elérési útja" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Tallózás az ideiglenes könyvtárhoz" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"A minőség százalékban megadva, ha a kép jpegben vagy jpeg tömörítésű tiffben van mentve" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "A tömörítés, ha a kép pngben van mentve" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "A fájlnévben a számláló minimális hossza" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "A tömörítés módja 16 bites tiff kép esetén" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "A tömörítés módja 8 bites tiff kép esetén" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "A tömörítés módja vonalas tiff kép esetén" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "Az eszközfüggő beállításokat kilépéskor mentsük el az alapértelmezett fájlba" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Figyelmeztetés fájlfelülírás esetén" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Ha a fájlnévszámláló önműködően növelt, akkor a már használt számokat hagyja ki" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Amikor 16 bites pnm fájlt mentünk, akkor azt ascii formában mentse a " +"bináris helyett. A bináris formátum új, nem támogatja minden program." +"Az ascii formátumot több program támogatja, de azok óriási" +"fájlok lesznek!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "Ha a lapolvasó 12 bites képet küdl, akkor 8 bitesbe mentse el" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "A papír szélessége postscript fájlokhoz" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "A papír magassága postscript fájlokhoz" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"A papír jobb szélétől ennyire van a használható terület postscript " +"fájloknál" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"A papír aljától ennyire van a használható terület postscript " +"fájloknál" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "Rögzített vagy görgethető/átméretezhető főablak használata" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Előnézeti gamma tiltása, amikor az XSane a gimpen belül fut" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "Saját színtérkép használata a 8 bites előnézetekhez" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Select how a range is displayed" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Value with that the calculated preview resolution is multiplied" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Gamma korrekciós érték megadása az előnézethez" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "Piros gamma korrekciós érték megadása az előnézethez" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "Zöld gamma korrekciós érték megadása az előnézethez" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Piros gamma korrekciós érték megadása az előnézethez" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Hogyan kezelje az XSane a telítettség beállítást" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Szürkeárnyalatos beolvasási mód. Ezt a vonalas előnézeti képekhez használják" +", amikor az átalakítás a szürkeárnyalatosról a vonalasra engedélyezve van" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "A lapolvasó minimális telítettségi szintje %-ban" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "A lapolvasó maximális telítettségi szintje %-ban" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplier to make XSane threshold range and scanner threshold range the same" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Offset to make XSane threshold range and scanner threshold range the same" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Válasszunk beolvasási forrást az automata adagolóhoz. Ha a forrás" +"ki lett választva, az Xsane a \"papír kifogyott\" üzenetig beolvas" + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "dimension of square that is used to average color for pipette function" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Adjuk meg a parancsot, ami a súgófájlok megjelenítéséhez kell. (html-nézőke!)" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Gamma érték változtatása amikor az önműködő javítás gombot használjuk" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Válasszuk ki a beolvasási területet miután elkészült az előnézet" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Készítsen színkorrekciót az előnézet elkészülte után" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Adjuk meg a fax-parancsot" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Adjuk meg a fogadó-fax egyéni adatait" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Adjuk meg a postscript fájl egyéni adatait" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Adjuk meg a normál mód beállításait (alacsony felbontás)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Adjuk meg a finom mód beállításait (nagy felbontás)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Adjuk meg a fax-nézőke parancsát" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Küldje a faxot nagyobb x-irányú felbontással(196 lpi a 98 lpi helyett)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "Az SMTP kiszolgáló IP címe vagy doménneve" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "Az SMTP kiszolgáló portja" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "adjuk meg az email címünket" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "adjuk meg a válaszcímet" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "POP3 azonosítás szükséges a levélküldés előtt" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "A POP3 kiszolgáló IP címe vagy doménneve" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "A POP3 kiszolgáló portja" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "felhasználónév a POP3 kiszolgálóhoz" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "jelszó a POP3 kiszolgálóhoz" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Adjuk meg a képfájl megjelenítő program parancsát" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, images are displayed directly" +msgstr "A levelet HTML módban küldtük, a képek beszúrva lesznek" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Adjuk meg a szövegfelismerő parancsát" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Adjuk meg a szövegfelismerő program beállítását a bemeneti fájl megadásához" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Adjuk meg a szövegfelismerő program beállítását a kimeneti fájl megadásához" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Define if the ocr program supports gui progress pipe" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Enter option of the ocr program to define output filedescripor in GUI mode" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Define Keyword that is used to mark progress information" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "olvasás" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "írás" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "végrehajtás" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Adjuk meg a kijelölést kötegelt beolvasáshoz" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Fehér pont megadása" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Szürke pont megadása" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Fekete pont megadása" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Teljes beolvasási terület" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Kicsinyít 20%-al" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Kattintsunk a nagyításhoz" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Nagyítás a kijelölt területre" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Utolsó nagyítás visszavonása" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Látható terület kijelölése" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Beolvasási terület önműködő meghatározása" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Beolvasási terület önműködő növelése" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Előnézeti képmemória törlése" + +#. DESC_PRESET_AREA +msgid "Preset area" +msgstr "Kijelölési terület" + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Előnézet forgatása aztán beolvasás" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Kijelölés aránya" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Kép helyzetének megadása nyomtatáshoz" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Szövegfelismerés" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Clone image" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Kép forgatása 90 fokkal" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Kép forgatása 180 fokkal" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Kép forgatása 270 fokkal" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Kép tükrözése az x tengelyre" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Kép tükrözése az y tengelyre" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Kép nagyítása" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Store medium" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Delete active medium" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Nagyítás mértéke" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "X-irányú nagyítás" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Y-irányú nagyítás" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Kép nagyítása adott szélességre[képpontban]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Kép nagyítása adott magasságra[képpontban]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Kötegelt lista ürítése" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Kötegelt lista mentése" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Kötegelt lista betöltése" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Terület átnevezése" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Kijelölt terület hozzáadása a kötegelt listához" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Kijelölt terület törlése a kötegelt listából" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Önmüködő mód bekapcsolása" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Sikertelen a home könyvtár megtalálása:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Nem sikerült a könyvtárba váltani:" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "A fájlnév túl hosszú" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Nem lehet létrehozni az ideiglenes fájlt" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Nem lehet hozzárendelni az értéket a beállításhoz" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Sikertelen az érték kinyerése a beállításból" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Error obtaining option count" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Nem lehet megnyitni az eszközt" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "nincs elérhető eszköz" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Hiba olvasás alatt:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Hiba mentés alatt:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Nem lehet kezelni ezt a mélységet" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "A GIMP nem tudja kezelni a %d színmélységet" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Ismeretlen fájlformátum mentéshez" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Sikertelen megnyitás" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Nem sikerült biztonságos fájlt létrehozni:" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Nem sikerült megnyitni a csövet a nyomtatóparancsnak" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Nem sikerült a nyomtatóparancs végrehajtása:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Nem sikerült beindítani a lapolvasót:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Paraméterek átvétele sikertelen:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Kimeneti formátum nincs megadva" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "elfogyott a memória" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "A backend több adatot küld, mint a paraméterek alapján kéne" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "A LIBTIFF hibát jelez" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "A LIBPNG hibát jelez" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "A LIBJPEG hibát jelez" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "ismeretlen típus" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "unknown constraint type" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Nem sikerült a dokumentum megjelenítése:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Nem sikerült a fax megjelenítése:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Nem sikerült a faxparancs végrehajtása:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Nem sikerült a képnéző elindítása:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Nem sikerült a szövegfelismerő elindítása:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "rossz keretformátum" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "a felbontás beállítása nem lehetséges" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "A %s jelszófájl nem biztonságos, használjuk a x00 jogokat\n" + +#. ERR_ERROR +msgid "error" +msgstr "hiba" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "A Sane fő változatszáma nem egyezik!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Az XSane fő változata =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "a backend fő változata =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "***A PROGRAM LEÁLLT***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Nem sikerült képmemóriát szerezni:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Az előnézet nem tudja kezelni a színmélységet" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "A GIMP támogatás hiányzik" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Ideiglenes előnézeti fájlok létrehozása meghiúsult" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Nem lehetett fájlnevet adni az előnézeti fájloknak" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Faxterv létrehozása meghiúsult" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Fájlnévszámláló kiürült" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "warning: option has no value constraint" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Az XSane-t root-ként akartad futtatni. Ez VESZÉLYES!\n" +"\n" +"Ne küldj semmilyen hibajelentést ha\n" +"rootként bármi gond van az XSane-nel:\n" +"EGYEDÜL MARADTÁL!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Hiba" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Figyelmeztetés" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Információ" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Gyermekfolyamat hibája" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Fájl létrehozása meghiúsult:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Hiba az eszközbeállítások betöltése alatt:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "ez nem egy device-rc-fájl !!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "A netscape indítása sikertelen!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Fax küldése: nincs fogadó megadva" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "has been created for device" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "you want to use it for device" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "ez gondokat okozhat!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Van %d el nem mentett kép" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "A %s fájl már létezik" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "A %s fájl nem létezik" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "A %s nem postscript fájl" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Nem támogatott %d-bites kimeneti mód: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "Megjelenítés képe nincs mentve" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Használat:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[BEÁLLÍTÁS]...[ESZKÖZ]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Grafikus felület indítása a SANE (Scanner Access Now Easy) eszközökhöz" +"való hozzáféréshez.\n" +"\n" +"Az [ESZKÖZ] formája: backendnév:eszközfájl (pl.: umax:/dev/scanner).\n" +"A [BEÁLLÍTÁS]... a következők variációja lehet:\n" +" -h, --help megjeleníti ezt a szöveget és kilép\n" +" -v, --version kiírja a változat információkat\n" +" -l, --license kiírja a licensz-adatokat\n" +"\n" +" -d, --device-settings file eszközadatok betöltése fájlból (\".drc" +"\" nélkül)\n" +"\n" +" -V, --viewer nézőke-módban indít (alapértelmezett)\n" +" -s, --save mentés-módban indít\n" +" -c, --copy másolás-módban indít\n" +" -f, --fax fax-módban indít\n" +" -m, --mail email-módban indít\n" +" -n, --no-mode-selection XSane módmenüjének letiltása\n" +"\n" +" -F, --Fixed rögzített ablakméret (felülírja a beállítást " +"is)\n" +" -R, --Resizeable méretezhető, görgethető főablak (felülírja a " +"beállítást is)\n" +"\n" +" -p, --print-filenames XSane által létrehozott képfájl-nevek kiírása\n" +" -N, --force-filename név fájlnév erőltetése/felhasználó által választott" +"fájlnév kihagyása\n" +"\n" +" --display X11-képernyő kimenet átirányítása az X11-képernyőre\n" +" --no-xshm nem használ osztott képmemóriát\n" +" --sync szinkronkapcsolat az X11 kiszolgálóval " +"" + + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Előtét a SANE felülethez" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Ez a funkció hozzáférést ad a lapolvasókhoz és egyéb eszközökhöz" +"amik a SANE (Scanner Access Now Easy) felületen csatlakoznak." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Eszköz párbeszédablak..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/File/Acquire/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Eszköz párbeszédablak..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Lehetséges okok:\n" +"1) Tényleg nincs SANE-megfelelő eszköz\n" +"2) Az eszköz foglalt\n" +"3) A jogosultságok miatt nem megy próbáld meg rendszer-" +"gazdaként\n" +"4) A backend nincs betöltve a SANE-be (man sane-dll)\n" +"5) A backend nincs rendesen beállítva (man sane-\"backendnév\")\n" +"6) Esetleg több SANE változat is telepítve van" + + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "teljes méret" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 álló" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 fekvő" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 álló" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 fekvő" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 álló" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 fekvő" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal álló" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal fekvő" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "levél álló" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "levél fekvő" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Teljes színmélyég" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Csúszka" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Szabvány negatív" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa negatív" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "XRG 200-4-es AGFA negatív" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "HDC 100-es Agfa negatív" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Fuji negatív" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Kodak negatív" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Konica negatív" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "VX 100-as Konica negatív" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "HR 100-as Rossmann negatív" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "síkágyas lapolvasó" + +msgid "frame grabber" +msgstr "képkockalopó" + +msgid "handheld scanner" +msgstr "kézi lapolvasó" + +msgid "still camera" +msgstr "fényképezőgép" + +msgid "video camera" +msgstr "videokamera" + +msgid "virtual device" +msgstr "virtuális eszköz" + +msgid "Success" +msgstr "Sikeres" + +msgid "Operation not supported" +msgstr "A művelet nem támogatott" + +msgid "Operation was cancelled" +msgstr "A művelet megszakítva" + +msgid "Device busy" +msgstr "Az eszköz foglalt" + +msgid "Invalid argument" +msgstr "Érvénytelen paraméter" + +msgid "End of file reached" +msgstr "Fájlvége elérve" + +msgid "Document feeder jammed" +msgstr "Dokumentumadagoló elakadt" + +msgid "Document feeder out of documents" +msgstr "Dokumentumadagoló kifogyott" + +msgid "Scanner cover is open" +msgstr "A lapolvasó fedele nyitva" + +msgid "Error during device I/O" +msgstr "Hiba az eszköz B/K alatt" + +msgid "Out of memory" +msgstr "Elfogyott a memória" + +msgid "Access to resource has been denied" +msgstr "A hozzáférés az erőforráshoz megtagadva" diff --git a/po/UTF-8/it.gmo b/po/UTF-8/it.gmo new file mode 100644 index 0000000..735242a Binary files /dev/null and b/po/UTF-8/it.gmo differ diff --git a/po/UTF-8/it.po b/po/UTF-8/it.po new file mode 100644 index 0000000..11f75e0 --- /dev/null +++ b/po/UTF-8/it.po @@ -0,0 +1,2859 @@ +# translation of xsane_it.po to Italiano +# Copyright (C) 2003, 2004 Free Software Foundation, Inc. +# Kostantino , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.95\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-16 10:02+0200\n" +"Last-Translator: Kostantino \n" +"Language-Team: Italiano \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Main-Translator: Stefano Rivoir \n" +"X-Generator: KBabel 1.3.1\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "Cartella_lingua" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c) " + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "Clone-di-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Riguardo a" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Informazioni sulla traduzione" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "Autorizzazione" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - la licenza" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Licenza Utente Finale (EULA)" + +#. WINDOW_INFO +msgid "info" +msgstr "Informazioni" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "Carica la lista batch" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "Salva la lista batch" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "Scansione batch" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "Rinomina l'area batch" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "Progetto fax" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "Rinomina la pagina fax" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "Inserisci un file PS nel fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "Progetto posta" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "Rinomina l'immagine della posta" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "Inserisci un file nella posta" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "Rinomina l'area predefinita" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "Aggiungi l'area predefinita" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Rinomina il supporto" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "Aggiungi un nuovo supporto" + +#. WINDOW_SETUP +msgid "setup" +msgstr "Impostazioni" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Istogramma" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Curva della gamma" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Opzioni usuali" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Opzioni avanzate" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "Selezione del dispositivo" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Anteprima" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Visualizzatore" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Visualizzatore: seleziona il nome del file prodotto" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Seleziona il nome del file prodotto per il file di testo OCR" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "Seleziona il nome del file prodotto" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "Salva le impostazioni del dispositivo" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "Carica le impostazioni del dispositivo" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "Cambia la cartella di lavoro" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "Seleziona la cartella temporanea" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Ridimensiona l'immagine" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Applica filtro mediano" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Sfoca l'immagine" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Salva la definizione del supporto" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Non è disponibile alcun dispositivo" + +#. MENU_FILE +msgid "File" +msgstr "File " + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Preferenze" + +#. MENU_VIEW +msgid "View" +msgstr "Visualizza" + +#. MENU_WINDOW +msgid "Window" +msgstr "Finestra" + +#. MENU_HELP +msgid "Help" +msgstr "Aiuto" + +#. MENU_EDIT +msgid "Edit" +msgstr "Modifica" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtri" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometria" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Riguardo a XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Informazioni" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Esci" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Salva l'immagine" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - salva come testo" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Duplica" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Ridimensiona" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Chiudi" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Annulla" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Filtro mediano" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Sfoca" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Ruota di 90°" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Ruota di 180°" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Ruota di 270°" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Duplica |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Duplica -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Immagine originale" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Immagine accentuata" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Scansiona" + +#. BUTTON_OK +msgid "Ok" +msgstr "Ok " + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Accetta" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Rifiuta" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Applica" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Cancella" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Riduci" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Continua a tuo rischio e pericolo" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Sfoglia" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Sovrascrivi" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Scansiona la lista batch" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Scansiona l'area selezionata" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Cancella la pagina" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Visualizza la pagina" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Rinomina la pagina" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Cancella l'immagine" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Visualizza l'immagine" + +#. BUTTON_IMAGE_EDIT +#, fuzzy +msgid "Edit image" +msgstr "Immagine accentuata" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Rinomina l'immagine" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Inserisci un file" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Crea un progetto" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Invia il progetto" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Cancella il progetto" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Aggiungi una stampante" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Cancella la stampante" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Acquisisci un'anteprima" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Cancella l'anteprima" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Cancella l'immagine" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Cancella tutte le immagini" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Non chiudere" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Blocca la scala" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Modalità fine" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "Posta in HTML" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Salva le impostazioni del dispositivo all'uscita" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Avvisa prima di sovrascrivere" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Salta i nomi di file esistenti" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Salva in formato ASCII le immagini PNM a 16 bit" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Riduci ad 8 bit l'immagine a 16 bit" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Finestra principale con dimensioni fisse" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Disabilita la gamma sull'anteprima di GIMP" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Usa una mappa di colori personale" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Miglioramento automatico della gamma" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Preselezione dell'area di scansione" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Correzione automatica dei colori" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "Autenticazione POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Utilizza la pipe di avanzamento della GUI" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "Sto cercando i dispositivi" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Dispositivi disponibili:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Opzioni di XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Modalità di XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Incremento" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Tipo" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Scanner e backend:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Marca:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Modello:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Tipo:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Dispositivo:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Backend caricato:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Versione di Sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Valori recenti:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Correzione della gamma via:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "Scanner " + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "software (XSane) " + +#. TEXT_NONE +msgid "none" +msgstr "Nessuno" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Profondità di ingresso della gamma:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Profondità d'uscita della gamma:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Profondità d'uscita dello scanner:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Formati d'uscita di XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "Formati d'uscita a 8 bit:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "Formati d'uscita a 16 bit:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"GIMP non supporta la profondità di 16 bit/colore.\n" +"Vuoi ridurla a 8 bit/colore?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"La profondità di 16 bit/colore non è supportata per questo formato.\n" +"Vuoi ridurla a 8 bit/colore?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "E' richiesta l'autorizzazione per" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "La trasmissione della password è sicura" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Il backend richiede una password in testo piano" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Utente:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Password:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Parametri non validi." + +#. TEXT_VERSION +msgid "version:" +msgstr "Versione:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "Pacchetto" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "Con supporto GIMP" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "Senza supporto GIMP" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "Compilato con GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "Compilato con GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "Sconosciuto" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane è distribuito secondo i termini della GNU General Public License\n" +"come pubblicato dalla Free Software Foundation, sia nella versione 2 della\n" +"Licenza, che (a vostra scelta) in una qualunque versione successiva.\n" +"\n" +"Questo programma è distribuito nella speranza che possa essere utile ma\n" +"SENZA NESSUNA GARANZIA; senza nemmeno l'implicita garanzia di\n" +"VENDIBILITA' o di UTILITA' PER UN SCOPO PARTICOLARE.\n" +"Se il programma si rivelasse difettoso vi assumete gli oneri di tutti\n" +"i servizi necessari, delle riparazioni o delle correzioni. Per usare \n" +"questo programma dovete aver letto, compreso e accettato il seguente\n" +"accordo di \"NESSUNA GARANZIA\".\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane è distribuito secondo i termini della GNU General Public License\n" +"come pubblicato dalla Free Software Foundation, sia nella versione 2 della\n" +"Licenza, che (a vostra scelta) in una qualunque versione successiva.\n" +"\n" +"Questo programma è distribuito nella speranza che possa essere utile, ma\n" +"SENZA NESSUNA GARANZIA; senza nemmeno l'implicita garanzia di\n" +"VENDIBILITA' o di UTILITA' PER UN SCOPO PARTICOLARE.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Posta elettronica:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Pagina principale:" + +#. TEXT_FILE +msgid "File:" +msgstr " File:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Traduzione italiana a cura di:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"Stefano Rivoir\n" +"Posta elettronica: s.rivoir@gts.it\n" +"Ceoldo Costantino\n" +"Posta elettronica: inverness1@virgilio.it\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0 KB " + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Pagine scansite: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Testo di posta elettronica:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Allegati:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Stato del progetto:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Nome del supporto:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Dimensione %d x %d pixel, %d bit/colore, %d colori, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Raggio del filtro mediano:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Raggio di sfocatura:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(Nessun nome)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Nome dell'area:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Modalità di scansione:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "In alto a sinistra:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Dimensione:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Risoluzione:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Profondità bit:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "Come da selezione" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Selezione della stampante:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Nome:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Comando:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Copia l'opzione numero:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Risoluzione binaria (DPI):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Risoluzione in scala di grigi (DPI):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Risoluzione del colore (DPI):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Larghezza" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Altezza" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Margine sinistro" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Margine inferiore" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Valore della gamma della stampante:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Rosso della gamma della stampante:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Verde della gamma della stampante:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Blu della gamma della stampante:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Cartella temporanea" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Permessi dei file immagine" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Permessi della cartella" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Qualità dell'immagine JPEG" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Compressione dell'immagine PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Lunghezza del contatore dei nomi file" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Compressione dell'immagine TIFF a 16 bit" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Compressione dell'immagine TIFF a 8 bit" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Compressione dell'immagine TIFF binaria" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Visualizza la scala come:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Sovracampionatura dell'anteprima:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Gamma dell'anteprima:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Rosso della gamma dell'anteprima:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Verde della gamma dell'anteprima:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Blu della gamma dell'anteprima:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Opzione della soglia:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Modalità automatica dell'alimentatore dei fogli:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Raggio del contagocce in anteprima" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Soglia minima:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Soglia massima:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Moltiplicatore della soglia:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Margine della soglia:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Nome della modalità di scansione della scala dei grigi:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Visualizzatore dei file di aiuto (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Opzione del ricevente:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Opzione del file di tipo Postscript:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Opzione modalità normale:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Opzioni modalità fine:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Imposta valori predefiniti per:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Visualizzatore (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "Server SMTP:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "Porta SMTP:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Da:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Rispondi a:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "Server POP3:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "Porta del server POP3:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "Utente POP3:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "Password POP3:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Visualizzatore (PNG):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Comando OCR:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Opzione del file d'ingresso:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Opzione del file d'uscita:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Utilizza la pipe di avanzamento della GUI:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Opzione della GUI output-fd:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Password di avanzamento:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "Utente" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "Gruppo" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "Tutti" + +msgid "new media" +msgstr "Nuovo supporto" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Salva" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Immagine" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Copia" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Fax " + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Posta" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR " + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Visualizzazione" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Miglioramento" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Posta elettronica" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Mostra suggerimenti" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Mostra anteprima" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Mostra istogramma" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Mostra la curva gamma" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Mostra la scansione batch" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Mostra le opzioni standard" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Mostra le opzioni avanzate" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Impostazioni" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Unità di lunghezza" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "Millimetri" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "Centimetri" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "Pollici" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Modalità di aggiornamento" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "Continua" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "Discontinua" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "Ritardata" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Visualizza l'elenco delle risoluzioni" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Ruota Postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Salva la definizione del supporto" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Salva le impostazioni del dispositivo" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Carica le impostazioni del dispositivo" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Cambia cartella" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Visualizza EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Visualizza licenza (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Documentazione di XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Documentazione dei backend" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Backend disponibili" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Consigli sulla scansione" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problemi?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "Disattivo" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "Nessuna compressione" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "Compressione CCITT 1D Huffman" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Compressione CCITT Group 3 Fax" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Compressione CCITT Group 4 Fax" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Compressione JPEG DCT" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "Comprimi i bit" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Slider (scala)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Slider (barra di scorrimento)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Pulsanti" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Scala e Pulsanti" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Barra di scorrimento e Pulsanti" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Finestra delle opzioni usuali (binaria)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Finestra principale di XSane (binaria)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Finestra principale di XSane (scala di grigi ---> binaria)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(Nessuno)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "Per estensione" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Aggiungi la selezione alla lista" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Aggiungi la definizione del supporto" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Rinomina l'oggetto" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Cancella l'oggetto" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Sposta in su l'oggetto" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Sposta in giù l'oggetto" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Acquisizione" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Sto ricevendo %s dati" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Trasferimento dell'immagine" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Rotazione dell'immagine" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Ribaltamento dell'immagine" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Compressione dell'immagine" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Conversione dell'immagine" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Salvataggio dell'immagine" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Duplicazione dell'immagine" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Scalatura dell'immagine" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Applicazione del filtro mediano all'immagine" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Sfocatura dell'immagine" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR in corso" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Avvia scansione (Ctrl-Enter)" + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Annulla scansione (ESC)" + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Acquisisci anteprima (Alt-p)" + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Annulla anteprima (Alt-ESC)" + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"Salva (Ctrl-s), Visualizza (Ctrl-v), Fotocopia (Ctrl-c), Fax (Ctrl-f) o " +"invia come Posta Elettronica (Ctrl-m)" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Seleziona il tipo di supporto sorgente.\n" +"Usa il menù contestuale (pulsante destro del mouse) per rinominare, " +"riordinare o cancellare una voce.\n" +"Per creare un nuovo supporto abilita l'opzione di modifica della definizione " +"di supporto, nel menù delle preferenze." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Valore aggiunto al contatore dei nomi file dopo la scansione" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Sfoglia per nome dell'immagine" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Nome del file per l'immagine acquisita" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Tipo di formato dell'immagine: l'estensione corretta del file viene aggiunta " +"automaticamente" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Inserisci il nome del progetto fax" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Inserisci il nuovo nome per la pagina del fax" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Inserisci il numero telefonico o l'indirizzo del ricevente" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Inserisci il nome del Progetto Posta" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Inserisci il nuovo nome per l'immagine della posta elettronica" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Inserisci l'indirizzo di posta elettronica" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Inserisci l'argomento della posta elettronica" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Inserisci il nuovo nome per l'area di preselezione" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Inserisci il nome per la nuova area di preselezione" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Inserisci il nuovo nome per la definizione del supporto" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Inserisci il nome per la nuova definizione del supporto" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Seleziona la definizione della stampante (Shift-F1/F2/...)" + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Imposta la risoluzione dello scanner" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Imposta la risoluzione per la coordinata X" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Imposta la risoluzione per la coordinata Y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Imposta il fattore di zoom" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Imposta il fattore di zoom per la coordinata X" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Imposta il fattore di zoom per la coordinata Y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Imposta il numero di copie" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativo: inverte i colori per la scansione di negativi (Shift-n)" + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Imposta il valore della gamma" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Imposta il valore della gamma per la componente rossa" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Imposta il valore della gamma per la componente verde" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Imposta il valore della gamma per la componente blu" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Imposta la luminosità" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Imposta la luminosità per la componente rossa" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Imposta la luminosità per la componente verde" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Imposta la luminosità per la componente blu" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Imposta il contrasto" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Imposta il contrasto per la componente rossa" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Imposta il contrasto per la componente verde" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Imposta il contrasto per la componente blu" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Imposta la soglia" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"Valori RGB prestabiliti: imposta i valori di miglioramento per il rosso, il " +"verde e il blu ai valori prestabiliti (Shift-b):\n" +" gamma = 1.0\n" +" luminosità = 0\n" +" contrasto = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "" +"Calibrazione automatica della gamma, della luminosità e del contrasto (Shift-" +"e)" + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Imposta i valori di miglioramento prestabiliti (Shift-d):\n" +" gamma = 1.0\n" +" luminosità = 0\n" +" contrasto = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Ripristina i valori di miglioramento dalle preferenze (Shift-r)" + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Salva i valori attivi di miglioramento nelle preferenze (Shift-m)" + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Visualizza l'istogramma di intensità/grigio (Alt-i)" + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Visualizza l'istogramma per la componente rossa (Alt-r)" + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Visualizza l'istogramma per la componente verde (Alt-g)" + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Visualizza l'istogramma per la componente blu (Alt-b)" + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "" +"Modalità di visualizzazione: visualizza l'istogramma per linee invece che " +"per pixel (Alt-m)" + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Visualizza il logaritmo del conteggio dei pixel (Alt-l)" + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Seleziona la definizione da cambiare" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Definisci un nome per la selezione di questa definizione" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Inserisci il comando da eseguire nel modo 'copia' (es. \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Inserisci l'opzione per il numero di copie" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Risoluzione con la quale le immagini vengono stampate e salvate in formato " +"Postscript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Risoluzione con la quale le immagini in scala di grigio vengono stampate e " +"salvate in formato Postscript" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Risoluzione con la quale le immagini a colori vengono stampate e salvate in " +"formato Postscript" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Larghezza dell'area di stampa" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Altezza dell'area di stampa" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Margine sinistro dal bordo del foglio all'area di stampa" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Margine inferiore dal bordo pagina all'area di stampa" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Valore aggiuntivo della gamma per la fotocopia" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Valore aggiuntivo della gamma per la componente rossa per la fotocopia" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Valore aggiuntivo della gamma per la componente verde per la fotocopia" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Valore aggiuntivo della gamma per la componente blu per la fotocopia" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Percorso alla cartella temporanea" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Cerca la cartella temporanea" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Qualità in percentuale se l'immagine è salvata come JPEG o TIFF con " +"compressione di tipo JPEG" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Compressione se l'immagine viene salvata come PNG" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Lunghezza minima del contatore nel nome file" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Tipo di compressione se l'immagine a 16 bit viene salvata come TIFF" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Tipo di compressione se l'immagine a 8 bit viene salvata come TIFF" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Tipo compressione se l'immagine binaria viene salvata come TIFF" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Salva le impostazioni del dispositivo nel file prestabilito all'uscita da " +"XSane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Avvisa prima di sovrascrivere un file esistente" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"I numeri già usati vengono saltati se il contatore del nome file viene " +"incrementato automaticamente" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Usa il formato ASCII invece di quello binario quando un'immagine a 16 bit " +"viene salvata in formato PNM. Il formato binario è un nuovo formato non " +"supportato da tutti i programmi. Il formato ASCII è invece supportato da più " +"programmi ma produce file giganteschi!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Salva l'immagine a 8 bit/colore se lo scanner invia immagini a 16 bit/colore" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Larghezza della carta per i file di tipo Postscript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Altezza della carta per i file di tipo Postscript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Margine sinistro dal bordo del foglio all'area utilizzabile per i file di " +"tipo Postscript" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Margine inferiore dal bordo del foglio all'area utilizzabile per i file di " +"tipo Postscript" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Utilizza delle dimensioni fisse per la finestra principale, anche quando è " +"scorribile o ridimensionabile" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "" +"Disabilita l'anteprima della gamma quando XSane è eseguito come un plugin di " +"GIMP" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Usa una mappa dei colori propria per l'anteprima se la profondità della " +"visualizzazione è di 8 bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Seleziona il modo in cui viene visualizzato un intervallo" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "" +"Valore per il quale viene moltiplicata la risoluzione calcolata " +"dell'anteprima" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "" +"Imposta il valore di correzione della gamma per l'immagine in anteprima" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Imposta il valore di correzione della gamma per la componente rossa " +"dell'immagine in anteprima" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Imposta il valore di correzione della gamma per la componente verde " +"dell'immagine in anteprima" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "" +"Imposta il valore di correzione della gamma per la componente blu " +"dell'immagine in anteprima" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Definisce il modo in cui XSane deve gestire l'opzione soglia" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Seleziona una modalità di scansione in scala di grigi. Questa modalità è " +"utilizzata per scansioni d'anteprima tipo binaria quando è abilitata la " +"trasformazione da scala di grigi a binaria" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "E' la soglia di livello minima dello scanner in percentuale" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "E' la soglia di livello massima dello scanner in percentuale" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Moltiplicatore per rendere uguali l'intervallo di soglia di XSane e quello " +"dello scanner" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Scarto per eguagliare l'intervallo di soglia dello scanner e quello di XSane" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Seleziona l'alimentatore ADF. Se selezionato, XSane acquisisce fino a \"Fine " +"carta\" o ad un errore." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "E' la dimensione del quadrato usato per il colore medio del contagocce" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Inserisci il comando per visualizzare i file di aiuto: deve essere un " +"visualizzatore HTML!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "" +"Cambia il valore della gamma quando viene premuto il pulsante del " +"miglioramento automatico" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Seleziona l'area di scansione dopo l'acquisizione dell'anteprima" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Applica la correzione dei colori dopo l'acquisizione dell'anteprima" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Inserisci il comando da eseguire in modalità fax" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Inserisci l'opzione per specificare il ricevente" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "" +"Inserisci l'opzione per specificare che seguono file di tipo Postscript" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "" +"Inserisci l'opzione per specificare la modalità normale (bassa risoluzione)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "" +"Inserisci l'opzione per specificare la modalità fine (alta risoluzione)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Inserisci il comando da eseguire per visualizzare un fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "" +"Invia il fax con un'alta risoluzione verticale (196 lpi invece di 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "Indirizzo IP o nome del dominio del server SMTP" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "Porta del server SMTP a cui connettersi" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "Inserisci il tuo indirizzo di posta elettronica" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "Inserisci l'indirizzo a cui inviare le risposte" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Autenticati sul server POP3 prima di inviare della posta elettronica" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "Indirizzo IP o nome del dominio del server POP3" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "Porta del server POP3 a cui connettersi" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "Nome utente per il server POP3" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "Password per il server POP3" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "" +"Inserisci il comando da eseguire per visualizzare un'immagine via posta " +"elettronica" + +#. DESC_HTML_MAIL +#, fuzzy +msgid "Mail is sent in html mode, place image with: " +msgstr "" +"La posta viene spedita in formato HTML, le immagini sono visualizzate " +"direttamente" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Inserisci il comando per avviare il programma OCR" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Inserisci l'opzione del programma OCR per definire il file di ingresso" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Inserisci l'opzione del programma OCR per definire il file d'uscita" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" +"Indica se il programma OCR supporta l'indicatore di avanzamento tramite pipe" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Inserisci l'opzione del programma OCR per definire il descrittore file " +"d'uscita in modalità GUI" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"Definisci la parola chiave utilizzata per segnalare l'informazione di " +"avanzamento" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "Leggi" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "Scrivi" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "Esegui" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Aggiungi la selezione per la scansione batch" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Preleva un punto bianco" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Preleva un punto grigio" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Preleva un punto nero" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Usa tutta l'area di scansione" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Riduci l'ingrandimento del 20%" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Clicca sul punto su cui eseguire lo zoom" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Ingrandisci l'area selezionata" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Annulla l'ultimo ingrandimento" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Seleziona l'area visibile" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Seleziona automaticamente l'area di scansione" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Ingrandisci automaticamente l'area di scansione" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Cancella l'immagine in cache dell'anteprima" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Area preselezionata:\n" +"usa il menù contestuale (pulsante destro del mouse) per aggiungere una nuova " +"area o modificarne una già esistente." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Ruota l'anteprima e scansiona" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Rapporto d'aspetto della selezione" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Imposta la posizione dell'immagine per la stampa" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Riconoscimento Ottico di Caratteri (OCR)" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Annulla l'ultima modifica" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Duplica l'immagine" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Ruota l'immagine di 90 gradi" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Ruota l'immagine di 180 gradi" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Ruota l'immagine di 270 gradi" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Ribalta l'immagine sull'asse verticale" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Ribalta l'immagine sull'asse orizzontale" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Ingrandisci l'immagine" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Memorizza supporto" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Elimina il supporto attivo" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Imposta il fattore di scala" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Fattore per la scala X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Fattore per la scala Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Riscala l'immagine in larghezza (in pixel)" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Riscala l'immagine in altezza (in pixel)" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Svuota la lista batch" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Salva la lista batch" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Carica la lista batch" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Rinomina l'area" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Aggiungi l'area selezionata dell'anteprima alla lista batch" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Togli l'area selezionata dalla lista batch" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Attiva la modalità automatica" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Non è possibile determinare la cartella home:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Non è possibile cambiare la cartella di lavoro a" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Il nome file è troppo lungo" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Non è possibile creare alcun file temporaneo" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Non è possibile impostare il valore dell'opzione" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Non è possibile ottenere il valore dell'opzione" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Si è verificato un errore nell'ottenere il conteggio delle opzioni" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Non è possibile aprire il dispositivo" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "Non è disponibile alcun dispositivo" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Si è verificato un errore durante la lettura:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Si è verificato un errore durante il salvataggio:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Non è possibile gestire la profondità" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP non può gestire profondità di %d bit/colore" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Il formato del file per il salvataggio è sconosciuto" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Impossibile aprire il file" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Non è possibile creare un file sicuro (forse esiste un collegamento):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Non è possibile aprire la pipe per eseguire il comando di stampa" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Non è possibile eseguire il comando di stampa:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Non è possibile attivare lo scanner:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Non è possibile ottenere i parametri:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Non è stato impostato alcun formato d'uscita" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "La memoria è esaurita" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Il backend invia più dati di quanti definiti nei parametri" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF ha riportato un errore" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG ha riportato un errore" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBPNG ha riportato un errore" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "Tipo sconosciuto" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "Vincolo di tipo sconosciuto" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "L'opzione ha un nome vuoto (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Questo è un baco nel backend. Per favore, informane il suo autore!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Non è possibile eseguire il visualizzatore della documentazione:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Non è possibile eseguire il visualizzatore di fax:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Non è possibile eseguire il comando fax:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "" +"Non è possibile eseguire il visualizzatore dell'immagine via posta " +"elettronica:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Non è possibile eseguire il comando OCR:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "E' sbagliato il formato della cornice" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "Non è possibile impostare la risoluzione" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Il file delle password (%s) non è sicuro, utilizza i permessi x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "Errore" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "La versione di Sane non è compatibile!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Versione superiore di XSane =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "Versione superiore dei backend =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAMMA ANNULLATO ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Non è possibile allocare memoria per l'immagine:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "L'anteprima non può gestire la profondità dei bit" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Manca il supporto per GIMP" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Non è possibile creare file temporanei per l'anteprima" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Non è possibile creare i nomi dei file per l'anteprima" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Non è possibile creare il progetto fax" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Si è verificato un errore nella creazione del contatore dei nome file" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "Attenzione: l'opzione non ha dei vincoli sul valore" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Stai cercando di utilizzare XSane come AMMINISTRATORE DI SISTEMA: è davvero " +"PERICOLOSO!\n" +"\n" +"Non riportare alcun messaggio su eventuali bachi quando\n" +"riscontri problemi utilizzando XSane come amministratore di sistema:\n" +"SEI STATO AVVISATO!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Errore" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Attenzione" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Informazione" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Errore sul processo figlio" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Non è possibile creare il file:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "" +"Si è verificato un errore sul caricamento delle impostazioni del dispositivo:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "Non è un file device-rc!!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "L'esecuzione di Netscape è fallita!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Invio del fax: nessun è stato definito alcun ricevente" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "E' stato creato per il dispositivo" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "Vuoi usarlo per il dispositivo" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "Questo potrebbe causare dei problemi!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Ci sono %d immagini non salvate" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Il file %s esiste già" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Il file %s non esiste" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Il file %s non è di tipo Postscript" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Il formato d'uscita a %d bit non è supportato: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "L'immagine del visualizzatore non è stata salvata" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Utilizzo:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPZIONE]...[DISPOSITIVO]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Avvia l'interfaccia grafica per accedere ai dispositivi SANE (Scanner Access " +"Now Easy) \n" +"\n" +"Il formato di [DISPOSITIVO] è nomebackend:filedispositivo (es. umax:/dev/" +"scanner).\n" +"[OPZIONE]... può essere una combinazione delle seguenti:\n" +" -h, --help visualizza questo messaggio d'aiuto\n" +" -v, --version visualizza le informazioni sulla versione\n" +" -l, --license visualizza le informazioni sulla licenza\n" +"\n" +" -d, --device-settings file carica le impostazioni del dispositivo (senza " +"\".drc)\n" +"\n" +" -v, --viewer avvia in modalità visualizzazione " +"(prestabilito)\n" +" -s, --save avvia in modalità salvataggio\n" +" -c, --copy avvia in modalità copia\n" +" -f, --fax avvia in modalità fax\n" +" -m, --mail avvia in modalità posta elettronica\n" +" -n, --no-mode-selection disabilita il menu per la selezione della " +"modalità\n" +"\n" +" -M, --Medium-calibration abilita la calibrazione del supporto\n" +"\n" +" -F, --Fixed finestra principale con dimensioni fisse " +"(ignora preferenze)\n" +" -R, --Resizeable finestra ridimensionabile, con barre di " +"scorrimento (ignora le preferenze)\n" +"\n" +" -p, --print-filenames stampa i nomi file delle immagini create da " +"XSane\n" +" -N, --force-filename name forza il nome file e disabilita quello " +"definito dall'utente\n" +"\n" +" --display X11-display redireziona l'uscita sul display X11\n" +" --no-xshm non usare la memoria condivisa per le " +"immagini\n" +" --sync richiedi una connessione sincrona con il " +"server X11" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Front-end all'interfaccia di SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Questa funzione fornisce l'accesso agli scanner o altri dispositivi di " +"acquisizione di immagini gestiti da SANE (Scanner Access Now Easy)." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "(Strumenti)/File/Acquisisci/XSane: finestra dispositivo..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "(Strumenti)/File/Acquisisci/Xsane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "(Strumenti)/Xtns/Xsane/Finestra dispositivo..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "(Strumenti)/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Possibili motivi:\n" +"1) Non c'è davvero nessun dispositivo supportato da SANE\n" +"2) I dispositivi supportati sono occupati\n" +"3) I permessi per il dispositivo non ne consentono l'utilizzo - prova come " +"amministratore di sistema\n" +"4) SANE non ha caricato il backend (man sane-dll)\n" +"5) Il backend non è configurato correttamente (man san-\"nome backend\")\n" +"6) E' possibile che siano installate più versioni di SANE 7) Il semplice " +"aggiornamento della distribuzione Linux usata può causare questi " +"inconvenienti" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "Area intera" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 vert." + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 oriz." + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 vert." + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 oriz." + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 vert." + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 oriz." + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm " + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm " + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm " + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm " + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm " + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm " + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "Legale vert." + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "Legale oriz." + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "Lettera vert." + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "Lettera oriz." + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Tutto l'intervallo del colore" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Lucidi" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Negativo standard" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Negativo Agfa" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Negativo Agfa XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Negativo Agfa HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Negativo Fuji" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Negativo Kodak" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Negativo Konica" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Negativo Konica VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Negativo Rossmann HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +#, fuzzy +msgid "Mail project not created" +msgstr "Stato del progetto:" + +#. TEXT_MAIL_STATUS_CREATED +#, fuzzy +msgid "Mail project created" +msgstr "Stato del progetto:" + +#. TEXT_MAIL_STATUS_CHANGED +#, fuzzy +msgid "Mail project changed" +msgstr "Preselezione dell'area di scansione" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +#, fuzzy +msgid "Error reading mailproject" +msgstr "Inserisci il nome del Progetto Posta" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +#, fuzzy +msgid "From entry not accepted" +msgstr "Stato del progetto:" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +#, fuzzy +msgid "Receiver entry not accepted" +msgstr "Stato del progetto:" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "" + +#. TEXT_FAX_STATUS_NOT_CREATED +#, fuzzy +msgid "Fax project not created" +msgstr "Stato del progetto:" + +#. TEXT_FAX_STATUS_CREATED +#, fuzzy +msgid "Fax project created" +msgstr "Stato del progetto:" + +#. TEXT_FAX_STATUS_CHANGED +#, fuzzy +msgid "Fax project changed" +msgstr "Preselezione dell'area di scansione" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "Scanner da tavolo" + +msgid "frame grabber" +msgstr "Acquisitore di frame" + +msgid "handheld scanner" +msgstr "Scanner a mano" + +msgid "still camera" +msgstr "Camera ferma" + +msgid "video camera" +msgstr "Videocamera" + +msgid "virtual device" +msgstr "Dispositivo virtuale" + +msgid "Success" +msgstr "Successo" + +msgid "Operation not supported" +msgstr "L'operazione non è supportata" + +msgid "Operation was cancelled" +msgstr "L'operazione è stata interrotta" + +msgid "Device busy" +msgstr "Il dispositivo è occupato" + +msgid "Invalid argument" +msgstr "L'argomento non è valido" + +msgid "End of file reached" +msgstr "E' stata raggiunta la fine del file" + +msgid "Document feeder jammed" +msgstr "Si è inceppato l'alimentatore dei fogli" + +msgid "Document feeder out of documents" +msgstr "L'alimentatore dei fogli ha esaurito la carta" + +msgid "Scanner cover is open" +msgstr "Il coperchio dello scanner è aperto" + +msgid "Error during device I/O" +msgstr "Si è verificato un errore durante l'I/O sul dispositivo" + +msgid "Out of memory" +msgstr "La memoria è esaurita" + +msgid "Access to resource has been denied" +msgstr "E' negato l'accesso alla risorsa" diff --git a/po/UTF-8/ja.gmo b/po/UTF-8/ja.gmo new file mode 100644 index 0000000..8d2c74a Binary files /dev/null and b/po/UTF-8/ja.gmo differ diff --git a/po/UTF-8/ja.po b/po/UTF-8/ja.po new file mode 100644 index 0000000..c0a5245 --- /dev/null +++ b/po/UTF-8/ja.po @@ -0,0 +1,2774 @@ +# Japanese translation for XSane +# Copyright (C) 2002 +# Kimizuka Tomokazu , 2002. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-28 12:48+900\n" +"Last-Translator: Kimizuka Tomokazu \n" +"Language-Team: Japanese\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "言語ディレクトリ" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "クローン元:" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "XSaneについて" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "翻訳について" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "アクセス権限" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - ライセンス" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "エンドユーザー使用許諾" + +#. WINDOW_INFO +msgid "info" +msgstr "情報" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "バッチリストをロード" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "バッチリストを保存" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "バッチスキャン" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "バッチ領域をリネーム" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "FAXプロジェクト" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "FAXページをリネーム" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "PSファイルをFAXに挿入" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "メールプロジェクト" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "メールイメージをリネーム" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "ファイルをメールに挿入" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "プリセット領域をリネーム" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "プリセット領域を追加" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "媒体をリネーム" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "新しい媒体を追加" + +#. WINDOW_SETUP +msgid "setup" +msgstr "セットアップ" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "ヒストグラム" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "ガンマ曲線" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "標準オプション" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "詳細オプション" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "デバイス選択" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "プレビュー" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "ビューワ" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "ビューワ:出力ファイル名を選択" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "出力OCRテキストファイル名を選択" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "出力ファイル名を選択" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "デバイス設定を保存" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "デバイス設定を読込" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "作業ディレクトリを変更" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "一時ディレクトリを選択" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "画像の拡大縮小" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "画像のしみ取り" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "画像をにじませる" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "媒体の定義を保存" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "デバイスが使えません" + +#. MENU_FILE +msgid "File" +msgstr "ファイル" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "設定" + +#. MENU_VIEW +msgid "View" +msgstr "表示" + +#. MENU_WINDOW +msgid "Window" +msgstr "ウィンドウ" + +#. MENU_HELP +msgid "Help" +msgstr "ヘルプ" + +#. MENU_EDIT +msgid "Edit" +msgstr "編集" + +#. MENU_FILTERS +msgid "Filters" +msgstr "フィルタ" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "ジオメトリ" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "XSaneについて" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "情報" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "終了" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "イメージを保存" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - テキストで保存" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "複製" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "倍率" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "閉じる" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "元に戻す" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "しみ取り" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "にじみ" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "90°回転" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "180°回転" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "270°回転" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "鏡像 |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "鏡像 -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Rawイメージ" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "拡張イメージ" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "スキャン" + +#. BUTTON_OK +msgid "Ok" +msgstr "OK" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "受理する" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "受理しない" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "適用" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "キャンセル" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "縮小" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "本当に続ける" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "ブラウズ" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "上書き" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "バッチリスト スキャン" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "選択領域をスキャン" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "ページ削除" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "ページを表示" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "ページをリネーム" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "画像を削除" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "画像を表示" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "画像を編集" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "画像をリネーム" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "ファイルを挿入" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "プロジェクト作成" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "プロジェクトを送る" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "プロジェクト削除" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "プリンタ追加" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "プリンタ削除" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "プレビューを取得" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "プレビューをキャンセル" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "画像を破棄" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "すべての画像を破棄" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "閉じない" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "倍率を固定" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "ファインモード" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTMLメール" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "終了時にデバイス設定を保存" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "上書きの警告" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "現在のファイル名をスキップ" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "16ビットpnmをasciiフォーマットで保存" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "16ビット画像を8ビットに減色" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "メインウィンドウのサイズを固定" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "GIMPのガンマプレビューを無効化" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "プライベートカラーマップを使う" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "自動強調(ガンマ)" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "スキャン領域の先行指定" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "色彩の自動補正" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "POP3認証" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "GUIプログレスパイプを使用" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "デバイスをスキャンしています" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "デバイス使用可能:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "XSaneのオプション" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "XSaneのモード" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "ステップ" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "タイプ" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "スキャナとバックエンド:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "ベンダ:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "機種:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "型名:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "デバイス:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "読込まれたバックエンド:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Saneのバージョン:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "最近の値:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "ガンマコレクション:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "スキャナ" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "ソフトウェア(XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "なし" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "ガンマ入力深度:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "ガンマ出力深度:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "スキャナ出力深度:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "XSane出力フォーマット:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8ビット出力フォーマット:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16ビット出力フォーマット:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"GIMPは16ビットカラーをサポートしていません。\n" +"8ビットカラーに減色しますか?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"この出力フォーマットは16ビットカラーをサポートしていません。\n" +"8ビットカラーに減色しますか?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "アクセス権限が必要です:" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "パスワード透過性は安全です" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "バックエンドは平文のパスワードを要求しています" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "ユーザー名:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "パスワード:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "不正なパラメータです" + +#. TEXT_VERSION +msgid "version:" +msgstr "バージョン" + +#. TEXT_PACKAGE +msgid "package" +msgstr "パッケージ" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "GIMPサポートあり" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "GIMPサポートなし" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "コンパイルされています…GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "コンパイルされています…GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "未知" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSaneは、Free Software Foundationが公表したGNU一般公有使用許諾\n" +"の「バージョン2」或いはそれ以降の各バージョンの中からいずれか\n" +"を選択し、そのバージョンが定める条項に従って本プログラムを再頒\n" +"布または変更することができます。\n" +"本プログラムは有用とは思いますが、頒布にあたっては、市場性及び\n" +"特定目的適合性についての暗黙の保証を含めて、いかなる保証も行な\n" +"いません。\n" +"このプログラムが不完全であると証明された場合、奉仕や改修が必要\n" +"となり、それらのすべてをあなたは受け入れることになります。\n" +"このプログラムを使用するためにあなたがすべきことは、以下の\n" +"「無保証許諾条項」を理解し、それに同意することです。\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSaneは、Free Software Foundationが公表したGNU一般公有使用許諾\n" +"の「バージョン2」或いはそれ以降の各バージョンの中からいずれか\n" +"を選択し、そのバージョンが定める条項に従って本プログラムを再頒\n" +"布または変更することができます。\n" +"本プログラムは有用とは思いますが、頒布にあたっては、市場性及び\n" +"特定目的適合性についての暗黙の保証を含めて、いかなる保証も行な\n" +"いません。\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "メール:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "ホームページ:" + +#. TEXT_FILE +msgid "File:" +msgstr "ファイル:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "翻訳:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"日本語への翻訳者:\n" +"君塚知一\n" +"メール: sgtom@pluto.dti.ne.jp\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0キロバイト" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "スキャンされたページ:" + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "メールテキスト:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "添付:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "プロジェクトの状態:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "メール画像のファイルタイプ" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "触媒名:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "%d x %d画素, %dビット/色, %d色, %1.0f dpi x %1.0f dpi, %1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "しみ取り範囲:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "にじみ範囲:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(名前なし)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "領域名:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "スキャンモード" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "左上" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "サイズ" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "解像度:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "ビット深度:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "選択された" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "プリンタ選択:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "名前:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "コマンド:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "番号オプションをコピー:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "ラインアート解像度(dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "グレースケール解像度(dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "色解像度(dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "幅" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "高さ" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "左オフセット" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "下オフセット" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "プリンタガンマ値:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "プリンタガンマ 赤:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "プリンタガンマ 緑:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "プリンタガンマ 青:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "一時ディレクトリ" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "画像ファイルの許可属性" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "ディレクトリの許可属性" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "JPEG画像品質" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "PNG画像圧縮" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "ファイル名カウンタの範囲" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "TIFF 16ビット画像圧縮" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "TIFF 8ビット画像圧縮" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "TIFF ラインアート画像圧縮" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "範囲を表示:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "オーバーサンプリングをプレビュー:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "ガンマをプレビュー:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "ガンマ赤をプレビュー:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "ガンマ緑をプレビュー:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "ガンマ青をプレビュー:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "閾値オプション:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "ADF関連の設定:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "ピペット範囲をプレビュー" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "閾値の下限:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "閾値の上限:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "閾値の乗数:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "閾値のオフセット:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "グレースケールのスキャンモード名:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "ヘルプファイルビューワ(HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "受信オプション:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "PostScriptファイルのオプション:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "標準モードのオプション:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "精細モードのオプション:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "プログラムの初期値を設定:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "ビューワ(PostScript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTPサーバ:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTPポート:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "差出人:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "返信先:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3サーバ:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3ポート:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "POP3ユーザー:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "POP3パスワード:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "ビューワ(PNG):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "OCRコマンド:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "入力ファイルオプション:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "出力ファイルオプション:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "GUIプログレスパイプを使用" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUI出力FDオプション:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "プログレスキーワード:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "ユーザー" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "グループ" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "すべて" + +msgid "new media" +msgstr "新しい媒体" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "保存" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "画像" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "コピー" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "FAX" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "メール" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "表示" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "強調" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "メール" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "ツールチップを表示" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "プレビューを表示" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "ヒストグラムを表示" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "ガンマ曲線を表示" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "バッチスキャンを表示" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "標準オプションを表示" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "詳細オプションを表示" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "セットアップ" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "長さの単位" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "ミリメートル" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "センチメートル" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "インチ" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "ポリシーを更新" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "連続的" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "非連続的" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "遅れて" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "解像度リストを表示" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "PostScriptを回転" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "媒体の定義を編集" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "デバイス設定を保存" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "デバイス設定を読込み" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "ディレクトリ変更" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "EULAを表示" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "ライセンス(GPL)を表示" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "XSaneの文書" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "バックエンドの文書" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "利用可能なバックエンド" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "スキャンに関するTips" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "何か問題?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "非活性" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "圧縮しない" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "CCITT 1D Huffman 圧縮" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "CCITT Group 3 Fax 圧縮" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "CCITT Group 4 Fax 圧縮" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "JPEG DCT 圧縮" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "パックビット" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "スライダー(スケール)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "スライダー(スクロールバー)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "スピンボタン" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "スケールとスピンボタン" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "スクロールバーとスピンボタン" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "標準オプションウィンドウ(ラインアート)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "XSane メインウィンドウ(ラインアート)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "XSane メインウィンドウ(グレースケール→ラインアート)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(なし)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "拡張子ごと" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "選択内容を一覧に追加" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "媒体の定義を追加" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "アイテムをリネーム" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "アイテムを削除" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "アイテムを上へ移動" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "アイテムを下へ移動" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "スキャンしています" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "データ %s を受信しています" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "画像を変換中" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "画像を回転中" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "画像を鏡映中" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "画像を圧縮中" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "画像を変換中" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "画像を保存中" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "画像を複製中" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "画像をスケーリング中" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "画像のしみ取り中" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "画像をにじませ中" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR進行中" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "スキャン開始 " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "スキャンの取消し " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "スキャンプレビューを取得 " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "スキャンプレビューをキャンセル " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"保存-, ビュー-, フォトコピー-, FAX- または " +"メール-" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"媒体のタイプを選択してください。\n" +"エントリをリネーム、再整理、削除するには、コンテクストメニューを使ってくださ" +"い。(マウス右ボタン)\n" +"媒体の作成するためのオプションを使用可能にするには、設定メニューで媒体の定義" +"を編集してください。" + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "スキャン後に加算されるファイル名カウンタ値" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "画像ファイル名をブラウズ" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "スキャンした画像のファイル名" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "画像フォーマットタイプファイル名に自動でつく適切な拡張子" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "FAXプロジェクト名を入力" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "FAXページにつけるファイル名を入力" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "FAX受信機の電話番号かアドレスを入力" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "メールプロジェクト名を入力" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "新規メールイメージのファイル名を入力" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "メールアドレスを入力" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "メールの表題を入力" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "画像添付時のファイルタイプを選択" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "プリセット領域につける名前を新規入力" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "プリセット領域につける名前を新規入力" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "媒体の定義を新規入力" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "新しい媒体の定義を入力" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "プリンタの解像度を選択 " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "スキャナの解像度をセット" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "スキャン時のX成分の解像度をセット" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "スキャン時のY成分の解像度をセット" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "拡大率をセット" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "X成分の拡大率をセット" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "X成分の拡大率をセット" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "コピー枚数をセット" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "裏焼き:色彩を裏焼き状態でスキャン " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "ガンマ値をセット" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "赤ガンマ値をセット" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "緑ガンマ値をセット" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "青ガンマ値をセット" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "明度をセット" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "赤成分への明度をセット" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "緑成分への明度をセット" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "青成分への明度をセット" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "コントラストをセット" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "赤成分へのコントラストをセット" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "緑成分へのコントラストをセット" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "青成分へのコントラストをセット" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "閾値をセット" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGBデフォルト値:赤・緑・青への強調値のデフォルト値をセット :\n" +"ガンマ値 = 1.0\n" +"明度 = 0\n" +"コントラスト = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "" +"選択されたスキャン領域に応じて、ガンマ値、明度、コントラストを自動調整 " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"デフォルトの強調値をセット :\n" +"ガンマ値 = 1.0\n" +"明度 = 0\n" +"コントラスト = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "設定した強調値を復元 " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "設定した強調値を保存 " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "輝度/白黒階調のヒストグラムを表示 " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "赤成分のヒストグラムを表示 " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "緑成分のヒストグラムを表示 " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "青成分のヒストグラムを表示 " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "画素の代わりに線でヒストグラムを表示 " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "画素数を対数で表示 " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "変更する解像度の選択" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "選択した解像度の名前を定義" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "コピーモードでの実行コマンドを入力(例:\"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "オプション:コピー枚数を入力" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "ラインアート画像の解像度はPostScriptで印刷・保存されます" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "グレースケール画像の解像度はPostScriptで印刷・保存されます" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "カラー画像の解像度はPostScriptで印刷・保存されます" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "印刷可能領域幅" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "印刷可能領域高さ" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "印刷可能領域の用紙端からの左オフセット" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "印刷可能領域の用紙端からの下オフセット" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "焼き増しへの追加ガンマ値" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "焼き増しへの赤成分追加ガンマ値" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "焼き増しへの緑成分追加ガンマ値" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "焼き増しへの青成分追加ガンマ値" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "一時ディレクトリへのパス" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "一時ディレクトリの参照" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "JPEG圧縮で保存されたJPEGまたはTIFF画像の画質(%)" + +# DESC_PNG_COMPRESSION +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "画像がPNGで保存されていれば圧縮" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "ファイル名のカウンタの最小範囲" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "16ビット画像がTIFFで保存されている場合の圧縮タイプ" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "8ビット画像がTIFFで保存されている場合の圧縮タイプ" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "ラインアート画像がTIFFで保存されている場合の圧縮タイプ" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "XSane終了時にデバイス依存の設定を既定値としてファイル保存" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "現在のファイルに上書きする前の警告" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "ファイル名のカウンタが自動的に増加する際、使用済みの番号はとばされます" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"16ビット画像がPNMフォーマットで保存されるときは、バイナリフォーマットの代わり" +"にアスキーフォーマットを使ってください。バイナリフォーマットは新しいため、す" +"べてのプログラムではサポートされていません。アスキーフォーマットは多くのプロ" +"グラムでサポートされていますが、たいへん巨大なファイルを作ります。" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "画像が16ビットカラーでスキャナから送られたら、8ビットで保存" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "PostScriptファイルの用紙幅" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "PostScriptファイルの用紙高さ" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "PostScriptファイルの使用可能領域の用紙端からの左オフセット" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "PostScriptファイルの使用可能領域の用紙端からの下オフセット" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "メインウィンドウに固定サイズを使うか、スクロール・リサイズ可能にする" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "XSaneがGIMPプラグインとして動作する時は、ガンマプレビューをオフにする" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "ディスプレイ解像度が8ビットなら、プレビューに固有のカラーマップを使う" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "表示する範囲を選択" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "プレビュー解像度に掛けられた計算値" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "プレビュー画像のガンマ補正値をセット" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "プレビュー画像の赤成分のガンマ補正値をセット" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "プレビュー画像の緑成分のガンマ補正値をセット" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "プレビュー画像の青成分のガンマ補正値をセット" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "XSaneの閾値オプション処理方式を定義" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "グレースケールのスキャンモードを選択してください。" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "スキャナの最小閾値レベル(%)" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "スキャナの最大閾値レベル(%)" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "XSaneとスキャナの閾値範囲を等しくするための乗数" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "XSaneとスキャナの閾値範囲を等しくするためのオフセット" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"ADFのためのスキャンソースを選択してください。このスキャンソースが選択されると" +"XSaneは用紙切れかエラーになるまでスキャンをします" + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "ピペット機能用の標準色に使われる小片の面積" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "ヘルプファイル表示時に実行されるコマンド(HTMLビューワです!)を入力" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "自動強調ボタン押下時にガンマ値を変更" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "プレビュースキャン終了後のスキャン領域を選択" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "プレビュースキャン終了後に色彩補正を行う" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "FAXモードで実行されるコマンドを入力" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "FAX受信機識別オプションを入力" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "後続のPostScriptファイル識別オプションを入力" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "標準モード(低解像度)識別オプションを入力" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "精細モード(高解像度)識別オプションを入力" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "FAX参照のための実行コマンドを入力" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "垂直高解像度(98lpiに代えて196lpiで)モードでFAX送信" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "IPアドレスまたはSMTPサーバのドメイン名" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "SMTPサーバへの接続ポート" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "メールアドレスを入力してください" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "返信先アドレスを入力してください" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "メール送信前にPOP3サーバで認証" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "IPアドレスまたはPOP3サーバのドメイン名" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "POP3サーバへの接続ポート" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "POP3サーバのユーザー名" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "POP3サーバのパスワード" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "メールイメージ表示のための実行コマンドを入力" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "メールはHTMLモードで送られ、画像はタグとともに配置されます。" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "OCRプログラムの開始コマンドを入力" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "入力ファイルを定義するOCRプログラムのオプションを入力" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "出力ファイルを定義するOCRプログラムのオプションを入力" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "OCRプログラムがGUIプログレスパイプをサポートするかを定義" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"GUIモードで出力ファイルディスクリプタを定義するためのOCRプログラムのオプショ" +"ンを入力" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "進行状況をマークするキーワードを定義" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "読込み" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "書込み" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "実行" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "選択内容をバッチスキャンに追加" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "白点をピック" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "灰点をピック" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "黒点をピック" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "スキャン領域すべてを使用" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "20%縮小" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "拡大する位置をクリック" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "選択領域を拡大" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "前回の拡大を元に戻す" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "可視領域を選択" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "スキャン領域の自動選択" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "スキャン領域の自動拡張" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "プレビュー画像のキャッシュを削除" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"プリセット領域:\n" +"新規領域を追加または既存領域を編集するには、コンテクストメニュー(マウス右ボ" +"タン)を使ってください。" + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "プレビューを回転してスキャン" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "選択アスペクト比率" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "印刷時の画像位置の定義" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "オプション文字の認識" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "前回の変更を元に戻す" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "画像を複製" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "画像を90°回転" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "画像を180°回転" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "画像を270°回転" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "垂直鏡像" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "水平鏡像" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "画像を拡大" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "媒体を保存" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "アクティブな媒体を削除" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "倍率:" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "X成分の倍率:" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Y成分の倍率:" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "画像幅の倍率[pixel]:" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "画像高さの倍率[pixel]:" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "空のバッチリスト" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "バッチリストを保存" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "バッチリストをロード" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "領域をリネーム" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "選択プレビュー領域をバッチリストに追加" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "選択領域をバッチリストから削除" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "自動モードに切替え" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "ホームディレクトリの確定に失敗しました:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "作業ディレクトリの変更に失敗しました" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "ファイル名が長すぎます" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "一時ファイルを作れません" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "オプション値のセットに失敗しました" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "オプション値の取得に失敗しました" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "オプションカウントの取得エラーです" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "デバイスを開けません" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "デバイスがありません" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "読込みエラーです:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "保存エラーです:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "深度が取得できません" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMPが%dビットカラーを取得できません" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "未知の保存フォーマットです" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "開けません" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "安全なファイルを作れません(リンク切れなど):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "プリンタコマンド実行のためのパイプを開けません" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "プリンタコマンドの実行に失敗しました:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "スキャナの開始に失敗しました:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "パラメータの取得に失敗しました:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "出力フォーマットがありません" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "オーバーフロー" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "バックエンドが規定のパラメータを超えた画像を送ってきました" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFFがエラーを返してきました" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNGがエラーを返してきました" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEGがエラーを返してきました" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "未知のタイプです" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "未知の制約条件です" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "オプションが空(NULL値)です" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "バックエンドのバグです。バックエンドの作者に報告してください!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "文書ビューワの実行に失敗しました:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "FAXビューワの実行に失敗しました:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "FAXコマンドの実行に失敗しました:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "メールイメージビューワの実行に失敗しました:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "OCRコマンドの実行に失敗しました:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "不正なフレームフォーマットです" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "解像度をセットできません" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "" +"パスワードファイル(%s)は安全ではありません。許可属性x00を適用してください\n" + +#. ERR_ERROR +msgid "error" +msgstr "エラー" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Saneのメジャーバージョンの不整合です!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "XSaneのメジャーバージョンは" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "バックエンドのメジャーバージョンは" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** プログラムの異常終了 ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "画像メモリの割当てに失敗しました:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "プレビューはビット深度を取得できません" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "GIMPサポートが見つかりません" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "一時プレビューファイルを作れません" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "一時プレビューファイル名を作れません" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "FAXプロジェクトを作れません" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "ファイル名カウンタのアンダーランです" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "警告:オプションは制約条件の値を持っていません" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"ルート権限でXSaneを使うのは、たいへん危険です!\n" +"\n" +"ルート権限でXSaneを動かしているときの問題についてのバグ報告は、\n" +"一切送らないでください\n" +"「あなたは独りなのです」から!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "エラー" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "警告" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "情報" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "子プロセスのエラー" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "ファイルの作成に失敗しました:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "デバイス設定読込中のエラーです:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "はデバイス設定ファイルではありません!!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Netscapeの実行に失敗しました!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "FAX送信:受信機が定義されていません" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "はデバイスに対して作成されています" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "デバイス用に使いたい" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "これは問題の種になるかも!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "%d個の画像が未保存です" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "ファイル %s は既に存在しています" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "ファイル %s は存在しません" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "ファイル %s はPostScriptファイルではありません" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "%dビットでサポートされていない出力フォーマットです: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "ビューワの画像が保存されていません" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "書式:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[オプション]...[デバイス]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"スタートアップ:SANE(Scanner Access Now Easy)デバイスのGUI\n" +"\n" +"[デバイス] のフォーマットはバックエンドの名前です:デバイスファイル (例 " +"umax:/dev/scanner)。\n" +"[オプション]... では、以下の項目の組み合わせが可能です:\n" +" -h, --help このヘルプメッセージを表示して終了する\n" +" -v, --version バージョン詳報を表示する\n" +" -l, --license ライセンス情報を表示する\n" +"\n" +" -d, --device-settings file デバイス設定をファイルから読み込む(\".drc\"抜" +"きで)\n" +"\n" +" -V, --viewer ビューワモード アクティブで起動\n" +" -s, --save セーブモード アクティブで起動\n" +" -c, --copy コピーモード アクティブで起動\n" +" -f, --fax FAXモード アクティブで起動\n" +" -m, --mail メールモード アクティブで起動\n" +" -n, --no-mode-selection XSaneのモード選択メニューをオフにする\n" +"\n" +" -F, --Fixed メインウィンドウのサイズを固定(設定値を上書" +"き)\n" +" -R, --Resizeable メインウィンドウをスクロール・リサイズ可能にす" +"る(設定値を上書き)\n" +"\n" +" -p, --print-filenames XSaneで作成した画像ファイル名を印刷\n" +" -N, --force-filename name ファイル名を強制して、ユーザーファイル名の選択" +"を無効にする\n" +"\n" +" --display X11-display X11のディスプレイ出力にリダイレクトする\n" +" --no-xshm 共有メモリのイメージを使わない\n" +" --sync X11サーバへの同期接続を要求する" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "インターフェイスSANEのフロントエンド" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"この機能は、インターフェイスSANE(Scanner Access Now Easy)を通じてスキャナをは" +"じめとする画像取込みデバイスへのアクセスを提供します。" + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: デバイスダイアログ..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/File/Acquire/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Device dialog..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"考えられる理由:\n" +"1) SANEがサポートしているデバイスが実際にない\n" +"2) サポートされているデバイスが使用中である\n" +"3) デバイスファイルのパーミッションが不許可になっている---ルート権限で試して" +"みてください\n" +"4) バックエンドがSANEによってロードされていない(man sane-dll)\n" +"5) バックエンドのコンフィギュレーションが正しくない(man sane-\"backendname" +"\")\n" +"6) ふたつ以上のバージョンのSANEがインストールされているかも" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "フルサイズ" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 縦" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 横" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 縦" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 横" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 縦" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 横" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm X 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm X 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm X 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm X 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm X 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm X 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "リーガルサイズ 縦" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "リーガルサイズ 横" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "レターサイズ 縦" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "レターサイズ 横" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "フルカラーレンジ" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "スライド" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "標準のネガ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfaのネガ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Agfa XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Agfa negative HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "富士フィルムのネガ" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "コダックのネガ" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "コニカのネガ" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "コニカ VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Rossmann HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "メールプロジェクトは作成されませんでした" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "メールプロジェクトが作成されました" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "メールプロジェクトが変更されました" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "メールプロジェクトを読込中にエラー" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "POP3接続に失敗しました" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "POP3ログインに失敗しました" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "SMTP接続に失敗しました" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "差出人が受けつけられません" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "受取人が受けつけられません" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "メールデータが受けつけられません" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "メール送信中" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "メールは送信されていません" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "FAXプロジェクトが作成されませんでした" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "FAXプロジェクトが作成されました" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "FAXプロジェクトが変更されました" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "FAXを送信中" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "FAXが送信されました" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "フラットベッドスキャナ" + +msgid "frame grabber" +msgstr "フレーム取込み" + +msgid "handheld scanner" +msgstr "ハンドヘルドスキャナ" + +msgid "still camera" +msgstr "スチールカメラ" + +msgid "video camera" +msgstr "ビデオカメラ" + +msgid "virtual device" +msgstr "仮想デバイス" + +msgid "Success" +msgstr "成功" + +msgid "Operation not supported" +msgstr "オペレーションはサポートされていません" + +msgid "Operation was cancelled" +msgstr "オペレーションは取り消されました" + +msgid "Device busy" +msgstr "デバイスがビジーです" + +msgid "Invalid argument" +msgstr "不正な引数です" + +msgid "End of file reached" +msgstr "ファイル終端まできました" + +msgid "Document feeder jammed" +msgstr "給紙系統に異常" + +msgid "Document feeder out of documents" +msgstr "用紙が足りません" + +msgid "Scanner cover is open" +msgstr "スキャナのカバーが開いています" + +msgid "Error during device I/O" +msgstr "デバイスI/Oエラー" + +msgid "Out of memory" +msgstr "オーバーフロー" + +msgid "Access to resource has been denied" +msgstr "リソースへのアクセスが拒否されました" diff --git a/po/UTF-8/nl.gmo b/po/UTF-8/nl.gmo new file mode 100644 index 0000000..b89995f Binary files /dev/null and b/po/UTF-8/nl.gmo differ diff --git a/po/UTF-8/nl.po b/po/UTF-8/nl.po new file mode 100644 index 0000000..5e9736d --- /dev/null +++ b/po/UTF-8/nl.po @@ -0,0 +1,2799 @@ +# Translations for XSane English->Dutch +# Copyright (C) 2001 Free Software Foundation, Inc. +# W. Sinke , 2001, 2002,2004. +# <>, 2004. +# +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-26 11:29+0200\n" +"Last-Translator: Wim Sinke \n" +"Language-Team: Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Report-Msgid-Bugs-To: \n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "nl" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "©" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "duplikaat-van-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Over" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Over de vertaling" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "authorizatie" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - de gebruikersrechten" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Eindgebruikersovereenkomst" + +#. WINDOW_INFO +msgid "info" +msgstr "Informatie" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "laad batch lijst" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "bewaar batch lijst" + +# Goed genoeg? +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "batch scan" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "batchgebied hernoemen" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "faxproject" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "faxpagina hernoemen" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "ps-bestand in fax voegen" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "e-mailproject" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "e-mail afbeelding hernoemen" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "voeg afbeelding in e-mail" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "scangebied hernoemen" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "scangebied toevoegen" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Medium hernoemen" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "medium toevoegen" + +#. WINDOW_SETUP +msgid "setup" +msgstr "configuratie" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogram" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gammakromme" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Standaard opties" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Geavanceerde opties" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "apparaat selectie" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Voorvertoning" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Bekijken" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Bekijken: kies uitvoernaam" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Kies uitvoerbestand voor herkende tekst" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "kies uitvoernaam" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "apparaatinstellingen bewaren" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "apparaatinstellingen laden" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "verander werkmap" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "selecteer tijdelijke map" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Schaal afbeelding" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Spikkels wegwerken" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Afbeelding vervagen" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Bewaar mediumdefinitie" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Geen apparaten vrij" + +#. MENU_FILE +msgid "File" +msgstr "Bestand" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Instellingen" + +#. MENU_VIEW +msgid "View" +msgstr "Bekijk" + +#. MENU_WINDOW +msgid "Window" +msgstr "Venster" + +#. MENU_HELP +msgid "Help" +msgstr "Help" + +#. MENU_EDIT +msgid "Edit" +msgstr "Bewerk" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filters" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometrie" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Over XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Informatie" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Afsluiten" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Bewaar afbeelding" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - opslaan als tekst" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Kloon" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Schaal" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Sluiten" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Ongedaan maken" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Spikkels wegwerken" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Vervagen" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Draaien 90°" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Draaien 180°" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Draaien 270°" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Spiegelen |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Spiegelen -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Onbewerkte afbeelding" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Verbeterde afbeelding" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Scan" + +#. BUTTON_OK +msgid "Ok" +msgstr "OK" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Accepteren" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Niet accepteren" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Uitvoeren" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Afbreken" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Reduceren" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Doorgaan op eigen risico" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Doorzoeken" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Overschrijven" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Scan batch lijst" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Scan geselecteerde gebied" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Pagina verwijderen" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Pagina bekijken" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Pagina hernoemen" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Afbeelding verwijderen" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Afbeelding bekijken" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Afbeelding bewerken" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Afbeelding hernoemen" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Bestand invoegen" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Project beginnen" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Project versturen" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Project verwijderen" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Printer toevoegen" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Printer verwijderen" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Preview maken" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Preview afbreken" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Afbeelding weggooien" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Alle afbeeldingen weggooien" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Niet sluiten" + +# TBD +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Bind scale" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Fijne modus" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTML e-mail" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Apparaatinstellingen bewaren bij verlaten" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Waarschuwing bij overschrijving" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Bestaande bestandnamen overslaan" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Bewaar 16 bit PNM in ASCII formaat" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "16 bits afbeelding reduceren naar 8 bits" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Vaste hoofdvenstergrootte" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Preview gamma voor Gimp deactiveren" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Gebruik eigen kleurenpallet" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Automatisch gamma verbeteren" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Automatisch scangebied selecteren" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Automatisch kleuren verbeteren" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "POP3 legalisatie" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Gebruik GUI progressie pipe" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "Zoeken naar apparaten" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Bruikbare apparaten:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "XSane opties" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "XSane mode" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Stap" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Type" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Scanner en backend:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Gemaakt door:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Type:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Apparaat:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Geladen backend:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Sane versie:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Recente waarden:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gammakorrectie door:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "scanner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "software (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "geen" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Bits in gamma invoer:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Bits in gamma uitvoer:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Bits in scanner uitvoer:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "XSane uitvoerformaten:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8 bits uitvoerformaten:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16 bits uitvoerformaten:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp kan geen 16 bits kleurdiepte aan.\n" +"Wil je de diepte reduceren naar 8 bits?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Dit uitvoerformaat kan geen 16 bits kleurdiepte aan.\n" +"Wil je de diepte reduceren naar 8 bits?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Authorizatie benodigd voor" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Paswoordoverdracht is veilig" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Backend vraagt om een onbeveiligd paswoord" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Gebruikersnaam:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Paswoord:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Ongeldige parameters." + +#. TEXT_VERSION +msgid "version:" +msgstr "versie:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "pakket" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "met GIMP ondersteuning" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "zonder GIMP ondersteuning" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "gecompileerd met GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "gecompileerd met GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "onbekend" + +# TBD +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane wordt gedistribueerd onder de voorwaarden van de GNU General Public\n" +"License, zoals gepubliseerd door de Free Software Foundation; hetzij\n" +"versie 2 van de licentie of (naar keuze) iedere latere versie\n" +"\n" +"Dit programma wordt gedistribueerd in de hoop dat het nuttig is, maar\n" +"ZONDER ENIGE GARANTIE; zelfs zonder de impliciete garantie van \n" +"VERHANDELBAARHEID of de BRUIKBAARHEID VOOR EEN SPECIAAL DOEL.\n" +"Als het programma defekt blijkt, dan zijn onderhouds-, reparatie- en\n" +"verbeteringskosten voor eigen rekening. Om dit programma te gebruiken moet\n" +"je de volgende \"GEEN GARANTIE\" verklaring gelezen, begrepen en\n" +"geaccepteerd hebben.\n" + +# TBD +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane wordt gedistribueerd onder de voorwaarden van de GNU General Public\n" +"License, zoals gepubliseerd door de Free Software Foundation; hetzij versie " +"2\n" +"van de licentie of (naar keuze) iedere latere versie\n" +"\n" +"Dit programma wordt gedistribueerd in de hoop dat het nuttig is, maar " +"ZONDER\n" +"ENIGE GARANTIE; zelfs zonder de impliciete garantie van VERHANDELBAARHEID of " +"de\n" +"BRUIKBAARHEID VOOR EEN SPECIAAL DOEL.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "E-mail:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Homepage:" + +#. TEXT_FILE +msgid "File:" +msgstr "Bestand:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Vertaling:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"Vertaling naar het Nederlands\n" +"door Wim Sinke\n" +"E-mail: sinke@wirehub.nl\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Gescande paginas: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "E-mail tekst:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Aanhangsels:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Projectstatus:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "E-mail afbeelding bestandstype:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Naam medium:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Grootte %d x %d pixels, %d bit/kleur, %d kleuren, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Ontspikkelradius:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Vervagingsradius:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(geen naam)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Naam van gebied:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "XSane mode" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Linksboven:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Grootte:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Resolutie:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bits diepte:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "zoals geselecteerd" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Printerselectie:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Naam:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Commando:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Aantal kopiëen optie:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Zwart-wit resolutie (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Grijswaarde resolutie (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Kleur resolutie (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Breedte" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Hoogte" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Linker rand" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Onderrand" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Printer gammawaarde:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Printer gammawaarde rood:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Printer gammawaarde groen:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Printer gammawaarde blauw:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Tijdelijke map" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Bestandspermissies afbeelding" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Mappermissies" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "JPEG kwaliteit" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "PNG compressie" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Bestandsnaamteller lengte" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "TIFF 16 bit compressie" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "TIFF 8 bit compressie" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "TIFF lineart compressie" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Bekijk range als:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Preview oversampling:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Preview gamma:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Preview gamma rood:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Preview gamma groen:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Preview gamma blauw:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Drempelwaarde optie:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Automatische document invoer mode:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Preview pipetbereik" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Drempelwaarde minimum:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Drempelwaarde maximum:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Drempelwaarde multiplicator:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Drempelwaarde verschuiving:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Naam van grijswaarde scanmodus:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Hulpbestand bekijker (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Ontvanger optie:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "PostScriptbestand optie:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Normale modus optie:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Fijne modus optie:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Geef programma standaardwaarden:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Bekijkprogramma (PostScript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTP server:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTP port:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Van:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Antwoord aan:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3 server:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3 port:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "POP3 gebruiker:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "POP3 paswoord:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Bekijkprogramma (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Tekstherkennings- (OCR) commando:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Invoeroptie:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Uitvoeroptie:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Gebruik GUI progressie pipe:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUI uitvoer-fd optie:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Progressie sleutel:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "gebruiker" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "groep" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "allemaal" + +msgid "new media" +msgstr "nieuwe media" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Opslaan" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Afbeelding" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Kopiëren" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Faxen" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "E-mailen" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "Tekstherkenning (OCR)" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Bekijk" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Verbetering" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "E-mail" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Laat tips zien" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Laat preview zien" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Laat histogram zien" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Laat gammakromme zien" + +# +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Batch scan tonen" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Laat standaard opties zien" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Laat geavanceerde opties zien" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Configuratie" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Lengteeenheid" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "millimeter" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimeter" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "inch" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Bijwerk beleid" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "continue" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "niet continue" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "vertraagd" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Laat resolutie lijst zien" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Draai PostScript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Verander mediumdefinitie" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Bewaar apparaatinstellingen" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Laad apparaatinstellingen" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Verander map" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Gebruikersovereenkomst (EULA)" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Licentie (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "XSane documentatie" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Backend documentatie" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Beschikbare backends" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Scantips" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problemen?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "inactief" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "geen compressie" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "CCITT 1D Huffman compressie" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "CCITT Group 3 Fax compressie" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "CCITT Group 4 Fax compressie" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "JPEG DCT compressie" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "gepackte bits" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Slider (Vergroting)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Slider (Scrollbar)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Spinbutton" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Scale en Spinbutton" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Scrollbar en Spinbutton" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Standaard opties venster (z/w)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "XSane hoofdvenster (z/w)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "XSane hoofvenster (grijs->z/w)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(geen)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "zoals extentie" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Voeg selectie toe aan lijst" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Mediumdefinitie toevoegen" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Element hernoemen" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Element verwijderen" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Element naar boven" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Element naar beneden" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Aan het scannen" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Ontvang %s gegevens" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Versturen afbeelding" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Draaien afbeelding" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Afbeelding spiegelen" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Afbeelding packen" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Afbeelding converteren" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Afbeelding bewaren" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Afbeelding dupliceren" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Schalen afbeelding" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Ontspikkelen" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Afbeelding vervagen" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Tekstherkenning is bezig" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Start scannen " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Onderbreek scan " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Preview maken " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Breek de preview af " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"opslaan-, bekijk-, kopieer-, fax- of mail-" +"" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Kies een bronmedium type\n" +"Om medium te hernoemen, herordenen of te verwijderen de context menu " +"gebruiken (rechter muisknop).\n" +"Kies de optie 'edit medium definitie' in het instellingen menu om een nieuw " +"medium te maken." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Waarde die bij de bestandsnaamteller wordt opgeteld na de scan" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Kies een bestandsnaam" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Bestandsnaam voor gescande afbeelding" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Bestandstype, de gebruikelijke extentie wordt automatisch toegevoegd aan de " +"bestandsnaam" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "De naam van het faxproject" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Geef de naam van de faxpagina" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Geef telefoonnummer of adres van de ontvanger" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "De naam van het e-mail project" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "De naam van de afbeelding" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "E-mail adres" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "E-mail onderwerp" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Selecteer het type van de afbeeldingen" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Geef naam voor scangebied" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Geef naam voor scangebied" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Geef nieuwe naam voor mediumdefinitie" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Geef nieuwe naam voor mediumdefinitie" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Kies printerdefinitie " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Kies de scanresolutie" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Kies de scanresolutie in de x-richting" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Kies de scanresolutie in de y-richting" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Kies vergrotingsfactor" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Kies vergroting in x-richting" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Kies vergroting in y-richting" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Stel het aantal kopiën in" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negatief: Inverteer de kleuren van een negatief " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Verander de gamma waarde" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Verander de gamma waarde voor rood" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Verander de gamma waarde voor groen" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Verander de gamma waarde voor blauw" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Kies helderheid" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Kies helderheid voor rood" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Kies helderheid voor groen" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Kies helderheid voor blauw" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Kies contrast" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Kies contrast voor rood" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Kies contrast voor groen" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Kies contrast voor blauw" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Kies drempelwaarde" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGB standaard: Zet de aanpassingswaarden voor rood, groen en blauw op de " +"standaardwaarden :\n" +" gamma = 1.0\n" +" helderheid = 0\n" +" contrast = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Automatische aanpassing van gamma, helderheid en contrast " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Kies de standaardwaarden :\n" +"gamma = 1.0\n" +"helderheid = 0\n" +"contrast = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Gebruik aanpassingswaarden van de configuratie " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Bewaar huidige aanpassingswaarden in de configuratie " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Histogram van intensiteit/grijs zien " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Histogram van rood " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Histogram van groen " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Histogram van blauw " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Kies tussen lijnen of pixels " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Logaritmisch histogram " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Kies definitie om te veranderen" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Naam van deze definitie" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Geef het commando dat tijdens het kopiëren uitgevoerd word (\"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Optie voor het aantal kopiën" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "Printresolutie voor zwart wit PostScript afbeeldingen" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "Printresolutie voor grijswaarde PostScript afbeeldingen" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "Printresolutie voor PostScript kleurenafbeeldingen" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Printbreedte" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Printhoogte" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Afstand van rand to printbare gebied" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Afstand van rand to printbare gebied" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Extra gammacorrectie voor fotokopie" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Extra gammacorrectie voor rood voor fotokopie" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Extra gammacorrectie voor groen voor fotokopie" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Extra gammacorrectie voor blauw voor fotokopie" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Pad naar tijdelijke map" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Bekijk de tijdelijke map" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Kwaliteit in procenten als afbeelding als JPEG of TIFF met JPEG compressie " +"bewaard wordt" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Compressie van PNG afbeeldingen" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Minimale lengte van bestandenteller" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Compressie van 16-bits TIFF afbeeldingen" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Compressie van 8-bits TIFF afbeeldingen" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Compressie van zwart wit TIFF afbeeldingen" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Bewaar apparaatspecifieke instellingen in standaard bestand als XSane eindigt" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Geef een waarschuwing voordat een bestaand bestand overschreven wordt" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Gebruikte numbers worden overgeslagen als de bestandsteller automatisch " +"verhoogd wordt" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Gebruik tekst i.p.v. binair formaat om 16 bits afbeeldingen te bewaren. Het " +"binaire formaat is nieuw en wordt niet door alle programma's ondersteund. " +"Het tekst formaat wordt door meer programma's ondersteund, maar levert zeer " +"grote bestanden op!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "16-bits kleuren worden bewaard met 8-bits" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Breedte van papier in PostScript bestanden" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Hoogte van papier in PostScript bestanden" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Linker afstand van de rand van het papier" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Onderste afstand van de rand van het papier" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "Gebruik vaste grootte voor hoofdvenster of gebruik scrollbars" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Schakel preview gamma uit als XSane als Gimp plugin gebruikt wordt" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "Gebruik eigen kleurenpallet als scherm diepte 8-bpp is" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Selecteer hoe een range vetoond wordt" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Waarde waarmee de berekende preview resolutie vermenigvuldigd wordt" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Gammacorrectie voor preview" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "Gammacorrectie voor rood van preview" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "Gammacorrectie voor groen van preview" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Gammacorrectie voor blauw van preview" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Hoe moet XSane de drempelwaarde gebruiken" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Kies grijswaarde scanmode. Dit wordt gebruikt voor de zwart wit preview als " +"de transformatie van grijs naar zwart-wit aanstaat" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "De minimale drempelwaarde in % van de scanner" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "De maximale drempelwaarde in % van de scanner" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Factor om de drempelwaarde van XSane gelijk te maken aan die van de scanner" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Verschuiving om de drempelwaarde van XSane gelijk te maken aan die van de " +"scanner" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Kies bron voor automatische document doorvoer. Indien geselecteerd gaat " +"XSane door met scannen to een \"papier op\" fout." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "grootte van het vierkantje waar de pipet het gemiddelde berekent" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "HTML programma om de helpfiles te bekijken" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "" +"Verander gammawaarde als de automatische aanpassings knop ingedrukt wordt" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Kies scangebied nadat preview klaar is" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Verbeter de kleuren nadat preview klaar is" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Geef commando dat in fax-mode uitgevoerd moet worden" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Geef optie om ontvanger te specificeren" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Geef optie voor de PostScript bestanden" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Geef optie voor normale mode (lage resolutie)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Geef optie voor fijne mode (hoge resolutie)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Commando om fax te bekijken" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Verstuur hoge resolutie fax (196 lpi inplaats van 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "IP-adres of domain name van SMTP server" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "port om met SMTP server te communiceren" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "geef je e-mail adres" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "geef e-mail adres voor antwoord e-mails" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Inloggen in POP3 server voor het versturen van e-mail" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "IP-adres of domain name van POP3 server" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "port om met POP3 server te communiceren" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "gebruikersnaam voor POP3 server" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "paswoord voor POP3 server" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Commando om e-mail afbeelding te bekijken" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "E-mail wordt als HTML verstuurd. Afbeeldingen plaatsen met: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Geef commando om tekstherkenningsprogramma te starten" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Geef de optie om een invoerbestand op te geven" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Geef de optie om een uitvoerbestand op te geven" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Ondersteund het OCR programma een GUI progressie pipe" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Geef de optie van het OCR programma om de file descriptor te geven in GUI " +"mode" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Met welke sleutel word progressie informatie gemarkeerd" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "lezen" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "schrijven" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "uitvoeren" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Voeg selectie toe aan batch lijst" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Kies wit punt" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Kies grijs punt" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Kies zwart punt" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Gebruik volledige scangebied" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Zoom 20% uit" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Klik op de positie om in te zoomen" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Zoom in het geselecteerde gebied" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Eén zoom terug" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Selecteer zichtbare gebied" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Automatische selectie" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Automatisch naar voren brengen" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Verwijder preview uit geheugen" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Scangebied:\n" +"Om scangebieden toe te voegen of the bewerken het context menu gebruiken " +"(rechter muisknop)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Draai preview en scan" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Aspectratio van selectie" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Definieer positie van de afbeelding voor printen" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Tekstherkenning (OCR)" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Laatste verandering ongedaan maken" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Kopiëer afbeelding" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Draai 90 graden" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Draai 180 graden" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Draai 270 graden" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Spiegel in vertikale richting" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Spiegel in horizontale richting" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Inzomen" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Sla medium op" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Huidige medium verwijderen" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Vergroting" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Vergroting in x-richting" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Vergroting in y-richting" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Schaal afbeelding naar breedte [in pixels]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Schaal afbeelding naar hoogte [in pixels]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Lege batch" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Bewaar batch lijst" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Laad batch lijst" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Gebied hernoemen" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Voeg geselecteerde gebied toe aan batch lijst" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Verwijder geselecteerde gebied van de batch lijst" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Activeer de automatische mode" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Kon hoofdmap niet vinden:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Kon werkmap niet veranderen in" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Bestandsnaam te lang" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Kon geen tijdelijk bestand maken" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Kon waarde van optie niet veranderen" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Kon geen waarde van optie verkrijgen" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Kon aantal opties niet vinden" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Kon apparaat niet vinden" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "geen apparaten aanwezig" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Fout tijden lezen:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Fout tijdens bewaren:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Kan diepte niet aan" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP kan niet met %d bits per kleur overweg" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Onbekend bestandstype tijdens bewaren" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Kon niet openen" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Kon geen 'secure' bestand maken (misschien mist een link):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Kon geen printercommando openen" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Kon printercommando niet uitvoeren:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Kon scanner niet aanzetten:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Kon parameters niet verkrijgen:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Geen uitvoerformaat gegeven" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "geheugen vol" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Backend geeft meer data dan gewenst" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF geeft fout" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG geeft fout" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG geeft foutmelding" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "onbekend type" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "onbekende beperking type" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Optie heeft een lege naam (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" +"Dit is een fout in de backend. Speel de informatie door aan de auteur van de " +"backend!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Kon documentatie programma niet starten:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Kon fax programma niet starten:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Kon fax commando niet uitvoeren:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Kon e-mail afbeelding niet bekijken:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Kon tekstherkenningscommando niet uitvoeren:" + +# TBD +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "slecht frame formaat" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "kon resolutie niet veranderen" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Paswoordbestand (%s) in niet veilig, gebruik permissie x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "fout" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Sane hoofdversie nummer incorrect!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "XSane hoofdversie =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "backend hoofdversie =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAMMA BEÏNDIGD ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Kon geen geheugen voor afbeelding krijgen:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Preview kan niet met deze kleurdiepte werken" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Geen GIMP ondersteuning" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Kon geen tijdelijke preview bestanden maken" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Kon geen naam maken voor previewbestand" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Kon geen faxproject maken" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Bestandsnaamteller te klein" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "waarschuwing: optie heeft geen waardebeperking" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Je probeert XSane als ROOT te draaien. Dat is heel GEVAARLIJK!\n" +"\n" +"Stuur geen foutmeldingen op als je XSane\n" +"als root draait.\n" +"JE STAAT ER ALLEEN VOOR!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Fout" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Waarschuwing" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Informatie" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Child process fout" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Kon bestand niet maken:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Fout tijdens het laden van apparaatinstellingen:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "is geen apparaat-rc-bestand!!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Kon netscape niet starten!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Zenden fax: geen ontvanger gedefinieerd" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "is gemaakt voor apparaat" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "je wilt het voor apparaat gebruiken" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "dit kan problemen veroorzaken!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Er zijn %d afbeeldingen niet bewaard" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Bestand %s bestaat al" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Kon bestand %s niet vinden" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "%s is geen PostScript bestand" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Geen ondersteuning van %d-bits kleuren in het %s formaat" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "Afbeelding is niet bewaard" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Gebruik:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPTIE]... [APPARAAT]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Start een grafische gebruikers interface om SANE (Scanner Access Now Easy) " +"apparaten te gebruiken.\n" +"\n" +"Het formaat van [APPARAAT] is backendnaam:apparaatbestand (b.v. umax:/dev/" +"scanner).\n" +"[OPTIE]... kan een combinatie zijn van de volgende:\n" +" -h, --help laat deze tekst zien en stop\n" +" -v, --version print versie informatie\n" +" -l, --license print licentie informatie\n" +"\n" +" -d, --device-settings bestand laad apparaatinstellingen van bestand (zonder " +"\".drc\")\n" +"\n" +" -V, --viewer begin in bekijk-mode (standaard)\n" +" -s, --save begin in save-mode\n" +" -c, --copy begin in kopieer-mode\n" +" -f, --fax begin in fax-mode\n" +" -m, --mail begin in e-mail-mode\n" +" -n, --no-mode-selection deactiveer menu voor XSane-mode selectie\n" +"\n" +" -F, --Fixed vaste grootte hoofdvenster (overschrijft " +"voorkeurinstellingen\n" +" -R, --Resizeable geen vaste grootte hoofdvenster (overschrijft " +"voorkeurinstellingen\n" +"\n" +" -p, --print-filenames print bestandnamen die-door XSane gemaakt\n" +" -N, --force-filename naam forceer een bestandsnaam en deactiveer " +"filename selectie door gebruiker\n" +"\n" +" --display X11-display output naar X11-display\n" +" --no-xshm gebruik geen shared memory afbeeldingen\n" +" --sync vraag synchrone connectie met X11 server" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Front-end voor de SANE interface" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Deze functie geeft toegang tot scanners en andere aquisitie apparaten door " +"de SANE (Scanner Access Now Easy) interface." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Apparaat kiezen..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/File/Acquire/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Apparaat kiezen..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Mogelijke redenen:\n" +"1) Er is echt geen apparaat dat door SANE ondersteund wordt\n" +"2) De ondersteunde apparaten zijn bezet\n" +"3) Je hebt geen permissie om het apparaat te gebruiken, probeer als root\n" +"4) De backend is niet geladen door SANE (man sane-dll)\n" +"5) De backend is niet goed geconfigureerd (man sane-)\n" +"6) Misschien is er meer dan één versie van SANE geïnstalleerd" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "volledige grootte" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 port." + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 land." + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 port." + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 land." + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 port." + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 land." + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal port." + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal land." + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "letter port." + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "letter land." + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Volledig kleuren bereik" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Dia" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Standaard negatief" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa negatief" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Agfa negatief XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Agfa negatief HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Fuji negatief" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Kodak negatief" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Konica negatief" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Konica negatief VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Rossmann negatief HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "E-mail project niet gemaakt" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "E-mail project gemaakt" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "E-mail project veranderd" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Fout tijdens lezen van e-mail project" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "POP3 verbinding mislukt" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "POP3 login mislukt" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "SMTP verbinding mislukt" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Verstuurder adres is afgewezen" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Ontvanger adres is afgewezen" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "E-mail data niet geaccepteerd" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Versturen e-mail" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "E-mail is verstuurd" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Fax project is niet gemaakt" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Fax project gemaakt" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Fax project veranderd" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Fax in de wachtrij aan het zetten" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax staat in de wachtrij" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "flatbedscanner" + +msgid "frame grabber" +msgstr "framegrabber" + +msgid "handheld scanner" +msgstr "handscanner" + +msgid "still camera" +msgstr "still camera" + +msgid "video camera" +msgstr "videocamera" + +msgid "virtual device" +msgstr "virtueel apparaat" + +msgid "Success" +msgstr "Succes" + +msgid "Operation not supported" +msgstr "Functie niet ondersteund" + +msgid "Operation was cancelled" +msgstr "Functie was onderbroken" + +msgid "Device busy" +msgstr "Apparaat bezig" + +msgid "Invalid argument" +msgstr "Fout argument" + +msgid "End of file reached" +msgstr "Einde van bestand bereikt" + +msgid "Document feeder jammed" +msgstr "Document doorvoer geblokkeerd" + +msgid "Document feeder out of documents" +msgstr "Geen documenten meer" + +msgid "Scanner cover is open" +msgstr "Scanner deksel is open" + +msgid "Error during device I/O" +msgstr "Fout tijdens apparaat communicatie" + +msgid "Out of memory" +msgstr "Geheugen vol" + +msgid "Access to resource has been denied" +msgstr "Geen toegang tot apparaat" diff --git a/po/UTF-8/pt.gmo b/po/UTF-8/pt.gmo new file mode 100644 index 0000000..4d2afdb Binary files /dev/null and b/po/UTF-8/pt.gmo differ diff --git a/po/UTF-8/pt.po b/po/UTF-8/pt.po new file mode 100644 index 0000000..fb7ecf4 --- /dev/null +++ b/po/UTF-8/pt.po @@ -0,0 +1,2819 @@ +# Portuguese translation for XSane. +# Copyright (C) 2002-2004 Yujo Rodrigues +# Yujo Rodrigues , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-10-08 22:00+3\n" +"Last-Translator: Yujo Rodrigues \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "pt" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "clone-de-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Sobre" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Sobre a tradução" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "autorização" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - a licença" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Contrato de Licença com o Usuário Final" + +#. WINDOW_INFO +msgid "info" +msgstr "" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "carrega lista de lote" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "salva lista de lote" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "digitaliza lote" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "renomeia area de lote" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "projeto de fax" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "renomeia página de fax" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "insere arquivo-ps em um fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "projeto de e-mail" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "renomeia imagem de correio" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "insere arquivo no correio" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "renomeia area predefinida" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "adiciona área pré-definida" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "renomeia mídia" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "adiciona nova mídia" + +#. WINDOW_SETUP +msgid "setup" +msgstr "configuração" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histograma" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Curva gama" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Opções padrão" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Opções avançadas" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "seleção do dispositivo" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Pré-Visualização" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Visualizador" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Visualizador: selecione arquivo de saída" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Selecione arquivo de saída para o texto do OCR" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "selecione arquivo de saída" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "salva configurações do dispositivo" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "carrega configurações do dispositivo" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "altera o diretório de trabalho" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "seleciona o diretório temporário" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Escala da imagem" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Desembaraça imagem" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Embaça imagem" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Armazena definição da mídia" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Nenhum dispositivo disponível" + +#. MENU_FILE +msgid "File" +msgstr "Arquivo" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Preferências" + +#. MENU_VIEW +msgid "View" +msgstr "Visualizar" + +#. MENU_WINDOW +msgid "Window" +msgstr "Janela" + +#. MENU_HELP +msgid "Help" +msgstr "Ajuda" + +#. MENU_EDIT +msgid "Edit" +msgstr "Edita" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtros" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometria" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Sobre XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Informações" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Sair" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Salvar imagem" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - salvar como texto" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Clonar" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Escala" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Fechar" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Desfazer" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Desembaraçar" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Embaçar" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Rotaciona 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rotaciona 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rotaciona 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Espelha |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Espelha -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Imagem raw" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Imagem realçada" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Digitalizar" + +#. BUTTON_OK +msgid "Ok" +msgstr "" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Aceitar" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Não aceitar" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Aplicar" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Cancelar" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Reduzir" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Continue a seu risco" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Listar" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Sobregravar" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Lista de digitalização em lote" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Digitalizar área selecionada" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Apagar página" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Mostrar página" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Renomear página" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Deletar imagem" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Mostrar imagem" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Editar imagem" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Renomear imagem" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Inserir arquivo" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Criar projeto" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Enviar projeto" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Apagar projeto" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Incluir impressora" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Excluir impressora" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Capturar Prévia" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Cancelar prévia" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Descartar imagem" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Descartar todas as imagens" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Não fechar" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Escala cega" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Modo fino" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "Correio HTML" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Salvar preferências do dispositivo na saída" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Aviso ao Sobregravar" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Pular arquivos existentes" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Salvar pnm 16bits em formato ascii" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Reduzir imagem 16 bits para 8 bits" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Tamanho da janela principal fixado" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Desabilita prévia gama do gimp" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Usar mapa de cores particular" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Alto realce gama" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Pré-seleciona área de digitalização" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Corrigir cores" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "Autenticação POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Usar barra gráfica de progresso" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "procurando por dispositivos" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Dispositivos disponíveis:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Opções do XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Modo do XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Passo" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Tipo" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Scaner e driver:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Fabricante:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Modelo:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Tipo:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Dispositivo:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Driver carregado:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Versão do Sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Valores recentes:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Correção Gamma por:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "scaner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "programa (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "nenhum" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Profundidade da entrada gama:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Profundidade da saída gama:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Profundidade de saída do scaner:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Formatos de saida do XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "Formatos de saída de 8 bits:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "Formatos de saída de 16 bits:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp não suporta profundidade de cores de 16 bits.\n" +"Você quer reduzir a profundidade para cores de 8 bits?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Profundidade de cores de 16 bits não são suportadas para este formato de " +"saída.\n" +"Você quer reduzir a profundidade para cores de 8 bits?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Autorização requerida para" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Transmissão de senha é segura" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Driver requer senha em texto puro" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Usuário :" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Senha :" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Parâmetros inválidos." + +#. TEXT_VERSION +msgid "version:" +msgstr "versao:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "pacote" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "com suporte GIMP" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "sem suporte GIMP" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "compilado com GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "compilado com GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "desconhecido" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane é distribuído sobre os termos da Licença Pública Geral GNU\n" +"como publicado pela Free Software Foundation; tanto a versão 2 da\n" +"Licença, ou (à sua escolha) qualquer outra versão.\n" +"\n" +"Este programa é distribuído na esperança que ele seja útil, mas\n" +"SEM QUALQUER GARANTIA; nem mesmo a garantia implícita de\n" +"OPERACIONALIDADE ou CAPACIDADE PARA UMA FINALIDADE PARTICULAR.\n" +"No caso do programa se mostrar defeituoso, você assume o custo de toda\n" +"necessidade de serviço, concerto ou correção. Para usuar este programa você\n" +"tem que ler, entender e aceitar o seguinte\n" +"contrato \"SEM GARANTIA\".\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane é distribuído sobre os termos da Licença Pública Geral GNU\n" +"como publicado pela Free Software Foundation; tanto a versão 2 da\n" +"Licença, ou (à sua escolha) qualquer outra versão.\n" +"\n" +"Este programa é distribuído na esperança que ele seja útil, mas\n" +"SEM QUALQUER GARANTIA; nem mesmo a garantia implícita de\n" +"OPERACIONALIDADE ou CAPACIDADE PARA UMA FINALIDADE PARTICULAR.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "E-mail:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Home page:" + +#. TEXT_FILE +msgid "File:" +msgstr "Arquivo:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Tradução:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"traduzido para o Português\n" +"por Yujo Rodrigues\n" +"Email: yujo@comp.ufu.br\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Páginas digitalizadas:" + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Texto do e-mail:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Anexos:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Estado do projeto:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Tipo de arquivo da imagem de correio:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Nome da mídia:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Tamanho %d x %d pontos, cores de %d bits, %d cores, %1.0f ppp x %1.0f ppp, %" +"1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Raio Despeckle:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Raio de embaçamento:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(sem nome)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Nome da Área:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Modo de digitalização:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Superior esquerdo:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Tamanho:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Resolução:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Profundidade de bits:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "como selecionado" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Seleção de impressora:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Nome:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Comando:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Opção de número de cópias:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Resolução de linha artística (ppp):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Resolução de tons de cinza (ppp):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Resolução de cores (ppp):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Largura:" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Altura:" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Deslocamento esquerdo" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Deslocamento inferior" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Valor de impressora gama:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Vermelho gama da impressora:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Verde gama da Impressora:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Azul gama da Impressora:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Diretório temporário:" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Permissões do arquivo da imagem" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Permissões do diretório" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Qualidade da imagem JPEG" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Compressão da imagem PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Comprimento do contador de arquivo" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Compressão de imagem TIFF 16 bits" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Compressão de imagem TIFF 8 bits" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Compressão de imagem TIFF linha artística" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Mostre largura como:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Prévia de amostragem:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Prévia gama:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Prévia vermelho gama:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Prévia verde gama:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Prévia azul gama:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Opção de Threshold:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Modo de Alimentação de Documento Automático" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Pré-visualiza a faixa da pipeta" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Threshold mínimo:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Threshold máximo:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Multiplicador de Threshold:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Deslocamento do Threshold:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Nome do modo de escala de cinzas:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Visualizador do arquivo de ajuda (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Opção de recebimento:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Opção de arquivo postscript:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Opção de modo normal:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Opção de modo fino:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Configura os padrões do programa para:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Visualizador (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "Servidor SMTP:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "Porta SMTP:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "De:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Responder para:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "Servidor POP3" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "Porta POP3" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "Usuário POP3" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "Senha POP3:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Visualizador (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Comando OCR:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Opção do arquivo de entrada:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Opção do arquivo de saída:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Usar barra gráfica de progresso:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Opção gráfica de saída-fd:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Palavra-chave de progresso" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "usuário" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "grupo" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "tudo" + +msgid "new media" +msgstr "nova mídia" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Salvar" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Imagem" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Copiar" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Correio" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Vídeo" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Realçamento" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "E-mail" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Mostrar dicas de ferramentas" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Mostrar prévia" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Mostrar histograma" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Mostrar curva gama" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Mostrar digitalização em lote" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Mostrar opções padrão" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Mostrar opções avançadas" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Configuração" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Unidade de medida" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milímetros" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centímetros" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "polegadas" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Política de atualização" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "contínua" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "descontínua" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "pausada" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Mostrar lista de resolução" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Rotacionar postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Edita definição da mídia" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Salvar parâmetros do dispositivo" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Carregar parâmetros do dispositivo" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Mudar diretório" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Mostrar EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Mostrar licença (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Documentação do XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Documentação do Driver" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Driver disponíveis" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Dicas de digitalização" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problemas?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "inativo" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "sem compressão" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "Compressão Huffman CCITT 1D" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Compressão Fax CCITT Grupo 3" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Compressão Fax CCITT Grupo 4" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Compressão DCT JPEG" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "empacota bits" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Rolamento (Escala)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Rolamento (Barra de rolagem):" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Botão de Giro" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Escala e Botão de Giro" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Barra de rolagem e Botão de Giro" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Janela de Opções avançadas (linha artística)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Janela principal do XSane (linha artística)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Janela principal do XSane (escala de cinzas->linha artística)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(nenhum)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "por extensão" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Incluir seleção na lista" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Adiciona definição da mídia" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Renomeia item" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Apaga item" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Move item para acima" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Move item para abaixo" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Digitalizando" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Recebendo dados %s" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Transferindo imagem" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Rotacionando imagem" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Espelhando imagem" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Empacotando imagem" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Convertendo imagem" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Salvando imagem" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Clonando imagem" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Redimencionando imagem" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Desembaraçando imagem" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Embançando imagem" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR em progresso" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Inicia digitalização " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Cancelar digitalização " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Adquirir prévia " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Cancelar prévia " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"salvar-, ver-, fotocópia-, fax- ou mail-" +"" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Selecione o tipo da mídia de origem.\n" +"Para renomear, reordenar ou apagar uma entrada, use o menu de contexto " +"(botão esquerdo do mouse).\n" +"Para criar uma mídia ative a opção para editar definição de mídia no menu de " +"preferências." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Valor que é incluído ao contador de arquivos depois de digitalizar" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Navegar por arquivos de imagem" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Nome de arquivo para imagem digitalizada" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Tipo de formato da imagem, a melhor extensão de arquivo é automaticamente " +"acrescentada ao nome do arquivo" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Digite o nome do projeto de fax" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Digite o nome para a página de fax" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Digite número de telefone ou endereço do destinatário" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Digite o nome do projeto de correio" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Digite o novo nome para a imagem de correio" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Digite o endereço de e-mail" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Digite o assunto do e-mail" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Selecione o tipoe de arquivo para anexos de imagem" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Digite o nome para a àrea pré-selecionada" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Digite o nome para a nova àrea pré-selecionada" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Digite o novo nome para a definição da mídia" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Digite o nome para a nova definição de mídia" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Selecione a definição de impressora " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Escolha a resolução" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Escolha a resolução para o eixo x" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Escolha a resolução para o eixo y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Escolha o fator de zoom" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Escolha o fator de zoom para o eixo x" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Escolha o fator de zoom para o eixo y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Escolha o número de cópias" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativo: Inverte cores para digitalizar negativos " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Escolha valor gama" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Escolha valor gama para o componente vermelho" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Escolha valor gama para o componente verde" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Escolha valor gama para o componente azul" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Escolha o brilho" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Escolha o brilho para o componente vermelho" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Escolha o brilho para o componente verde" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Escolha o brilho para o componente azul" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Escolha o contraste" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Escolha o contraste para o componente vermelho" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Escolha o contraste para o componente verde" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Escolha o contraste para o componente azul" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Escolha o threshold" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"Padrão RGB : Configura valores de realce do vermelho, verde e azul para " +"valores padrão :\n" +" gama = 1.0\n" +" brilho = 0\n" +" contraste = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Ajusta automaticamente gama, brilho e constraste " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Configura os valores de realce padrão :\n" +"gama = 1.0\n" +"brilho = 0\n" +"contraste = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Restaura os valores de realce das preferências " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Armazena valores de realce ativos nas preferências " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Mostra histograma de intensidade/cinza " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Mostra histograma do componente vermelho " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Mostra histograma do componente verde " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Mostra histograma do componente azul " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Modo do Visor: mostra histograma com linhas ao invés de pontos " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Mostra logarítmo da contagem de pontos " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Selecione a definição para mudar" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Define um nome para a seleção desta definição" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Entre o comando para ser executado no modo de cópia (ex.: \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Digite a opção do número de cópias" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Resolução com a qual imagens em linha artística são impressas e salvadas em " +"postscript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Resolução com a qual imagens em escala de cinzas são impressas e salvadas em " +"postscript" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Resolução com a qual imagens coloridas são impressas e salvadas em postscript" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Largura da área imprimível" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Altura da área imprimível" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Deslocamento esquerdo do canto do papel até a área imprimível" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Deslocamento inferior do canto do papel até a área imprimível" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Valor gama adicional para fotocópia" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Valor gama adicional para o componente vermelho para fotocópia" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Valor gama adicional para o componente verde para fotocópia" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Valor gama adicional para o componente azul para fotocópia" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Caminho para o diretório temporário" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Procurar pelo diretório temporário" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Qualidade em porcentagem se a imagem é salvada como jpeg ou tiff com " +"compressão jpeg" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Compressão se imagem é salvada como png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Comprimento mínimo do contador no nome de arquivo" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Tipo de compressão se imagem de 16 bits é salvada como tiff" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Tipo de compressão se imagem de 8 bits é salvada como tiff" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Tipo de compressão se imagem em linha artística é salvada como tiff" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Salva preferências dependentes do dispositivo em arquivo padrão na saída do " +"xsane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Avisa antes de sobregravar um arquivo existente" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Se o contador do nome de arquivo é auto-incrementado, números usados são " +"pulados" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Quando uma imagem 16 bits deve ser salvada em formato pnm então use formato " +"ascii ao invés do formato binário. O formato binário é um novo formato que " +"não é suportado por todos os programas. O formato ascii é suportado por mais " +"programas mas ele produz arquivos realmente imensos!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Se o scaner envia imagem com 16 bits de cores salva imagem com 8 bits de " +"cores" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Largura do papel para arquivos postscript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Altura do papel para arquivos postscript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Deslocamento esquerdo do canto do papel até a área usavel para arquivos " +"postscript" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Deslocamento inferior do canto do papel até a àrea usável para arquivos " +"postscript" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Usa janela principal de tamanho fixo ou janela principal rolável e " +"redimensionável" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Desabilita prévia gama quando XSane roda como plugin do gimp" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Usa um mapa de córes próprio para prévia se a profundidade do vídeo é 8 bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Selecione como a extensão é exibida" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Valor com o qual a resolução prévia calculada é multiplicada" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Escolha valor de correção gama para a prévia da imagem" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Muda valor de correção gama para o componente vermelho da prévia de imagem" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Muda valor de correção gama para o componente verde da prévia da imagem" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Muda valor de correção gama para o componente azul da prévia da imagem" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Define o modo que XSane deve usar a opção threshold" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Seleciona modo de digitalização em tons de cinza. Este modo é usado para pré-" +"visualizara digitalização quando a transformação de tons de cinza para linha " +"de arte está habilitada" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "O nível mínimo de threshold do scaner em %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "O nível máximo de threshold do scaner em %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplicador para fazer as variações de threshold de XSane e o do scaner " +"serem as mesmas" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Deslocamento para fazer as variações de threshold de XSane e o do scaner " +"serem as mesmas" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Seleciona a entrada do scaner para Alimentação Automática de Documento. Se " +"esta entradado scaner estiver selecionada XSane digitalizará até mensagem " +"\"sem papel\" ou algum erro." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"dimensão do quadro que é usado para calcular a média de cores para a função " +"pipeta" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Entra comando a ser executado para abrir um visualizador html para exibir " +"arquivos de ajuda" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "" +"Modifica o valor gama quando o botão de realce altomático esta pressionado" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "" +"Seleciona área de digitalização após a pré-visualização ter sido concluída" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "" +"Faz uma correção de cores depois da pré-visualização ter sido concluída" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Entra comando a ser executado no modo fax" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Entra opção para especificar o destinatário" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Entra opção para especificar acompanhamento de arquivos postscript" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Entra opção para especificar modo normal (resolução baixa)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Entra opção para especificar modo fino (alta resolução)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Entra comando para ser executado para visualizar um fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Envia fax com resolução vertical alta (196 lpp ao invés de 98 lpp)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "Endereço IP ou nome de Domínio do servidor SMTP" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "porta para conectar no servidor SMTP" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "entra seu endereço de e-mail" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "entra seu endereço de e-mail para e-mails respondidos" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Autentica com o servidor POP3 antes de enviar e-mail" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "Endereço IP ou nome de Domínio do servidor POP3" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "porta para conectar no servidor POP3" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "nome de usuário para o servidor POP3" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "senha para o servidor POP3" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Entra comando a ser executado para visualizar uma imagem de e-mail" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "Correio é enviado no modo html, com imagem: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Entra comando para iniciar o programa de ocr" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Entra opção do programa de ocr para definir o arquivo de entrada" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Entra opção do programa ocr para definir o arquivo de saída" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Define se o programa de ocr suporta a barra gráfica de progressão" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Entre com a opção do programa ocr para definir a saída do descritor de " +"arquivos no modo GUI" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"Define palavra chave que será usada para marcar informação do progresso" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "ler" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "gravar" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "executar" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Inclui seleção para digitalização em lote" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Pega ponto branco" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Pega ponto cinza" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Pega ponto preto" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Usa toda area de digitalização" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Zoom 20% de saida" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Clique na posição para ampliar" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Ampliar área selecionada" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Desfazer último ampliamento" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Seleciona área visível" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Auto seleciona área de digitalização" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Obtém automaticamente a área de digitalização" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Apaga cache de imagem pré-visualizada" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Área pré-configurada:\n" +"Para acrescentar nova área ou editar uma área existente, use o menu de " +"contexto (botão direito do mouse)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Rotaciona pré-visualização e digitaliza" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Proporção da seleção" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Define a posição da imagem para impressão" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Reconhecimento Óptico de Caracteres" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Desfaz última mudança" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Clona imagem" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Rotaciona imagem em 90 graus" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Rotaciona imagem em 180 graus" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Rotaciona imagem em 270 graus" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Espelha imagem no eixo vertical" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Espelha imagem no eixo horizontal" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Aumenta imagem" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Armazena mídia" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Apaga mídia ativa" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Fator de escala" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Fator de escala X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Fator de escala Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Dimensiona imagem para largura [em pontos]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Dimensiona imagem para altura [em pontos]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Esvazia lista de lote" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Salva lista de lote" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Carrega lista de lote" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Renomeia área" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Acrescenta na lista de lote a área de pré-visualização selecionada" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Apaga área selecionada da lista de lote" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Ativa o modo automático" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Falha ao determinar o diretório home:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Falha ao mudar o diretório de trabalho para" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Nome de arquivo longo demais" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Não foi possível criar arquivo temporário" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Falha ao mudar valor da opção" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Falha ao obter valor da opção" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Erro na obtenção de opção contadora" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Falha ao abrir dispositivo" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "nenhum dispositivo disponível" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Erro durante leitura:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Erro durante gravação:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Não é possível usar profundidade" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP não pode usar profundidade de cores de %d" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Formato de gravação desconhecido" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Falha ao abrir" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Não foi possível criar arquivo seguro (talvez o link não existe);" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Falha ao abrir pipe para executar comando de impressão" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Falha ao executar comando de impressão:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Falha ao iniciar digitalizador:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Falha ao obter parâmetros:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Nenhum formato de saída foi dado" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "sem memória" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Driver envia mais dados da imagem do que sua definição em parâmetros" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF reportou erro" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG reportou erro" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG reportou erro" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "tipo desconhecido" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "tipo de construtor desconhecido" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Opção possui nome vazio (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" +"Isto é um bug do driver (backend). Por favor informe ao autor do backend!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Falha ao executar o visualizador da documentação:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Falha ao executar o visualizador de fax:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Falha ao executar o comando de fax:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Falha ao executar o visualizador de imagem do e-mail:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Falha ao executar o comando para ocr:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "formato de quadro ruim" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "não é possível mudar resolução" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Arquivo de senha (%s) é inseguro, use permissão x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "erro" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Número da maior versão do Sane não corresponde!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Maior versão do XSane =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "versão maior do drive =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAMA ABORTADO ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Falha ao alocar memória para imagem:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Pré-visualização não pode usar profundidadde de bits" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Suporte ao gimp está faltando" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Não foi possível criar arquivos de pré-visualização temporários" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "" +"Não foi possível criar nomes de arquivos para arquivos de pré-visualização" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Não foi possível criar projeto de fax" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Contador de nome de arquivos estorou" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "atenção: opção não tem o valor do construtor" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Você está tentando rodar XSane como ROOT, o que é realmente PERIGOSO!\n" +"\n" +"Não envia nenhum relatório de bugs quando você\n" +"tiver qualquer problema enquando executar XSane como root:\n" +"VOCÊ ESTÁ SOZINHO!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Erro" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Atenção" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Informação" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Erro do processo filho" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Falha ao criar arquivo:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Erro enquanto carregava configurações do dispositivo:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "não é um arquivo de configuração de dispositivo !!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Falha ao executar netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Enviar fax: nenhum destinatário foi definido" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "foi criado para o dispositivo" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "você precisa usar ele para o dispositivo" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "isto pode causar problemas!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Existem %d imagens não salvadas" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Arquivo %s já existe" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Arquivo %s não existe" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Arquivo %s não é um arquivo postscript" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Formato de saída de %d-bit não suportado: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "visualizador de imagem não está salvado" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Uso:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPCAO]... [DISPOSITIVO]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Inicia a interface grafica de usuario para acessar os dispostivos do SANE" +"(Scanner Access Now Easy).\n" +"\n" +"O formato do [DISPOSITIVO] e o nomedodriver:arquivodedispostivo (ex.: umax:/" +"dev/scanner).\n" +"[OPCAO]... pode ser uma combinacao dos seguintes itens:\n" +" -h, --help mostra esta mensagem de ajuda e sai\n" +" -v, --version exibe a informacao da versao\n" +" -l, --license exibe a informacao da licença\n" +"\n" +" -d, --device-settings arquivo carrega configuracoes do dispositivo a " +"partir de um arquivo (sem \".drc\")\n" +"\n" +" -V, --viewer inicia com modo de visualizacao ativo " +"(padrao)\n" +" -s, --save inicia com modo de gravacao ativo\n" +" -c, --copy inicia com modo de copia ativo\n" +" -f, --fax inicia com modo de fax ativo\n" +" -m, --mail inicia com modo de correio ativo\n" +" -n, --no-mode-selection desabilita menu para selecao do modo de XSane\n" +"\n" +" -F, --Fixed tamanho da janela principal fixo (sobrepoe " +"valor das preferencias)\n" +" -R, --Resizeable janela principal rolavel e redimensionavel " +"(sobrepoe valor nas preferencias)\n" +"\n" +" -p, --print-filenames exibe nome de arquivos de imagens criadas por " +"XSane\n" +" -N, --force-filename nome força nome de arquivo e desabilita selecao de " +"nome de arquivo pelo usuario\n" +"\n" +" --display ambiente-X11 redireciona saida para o ambiente-X11\n" +" --no-xshm nao usa imagens de memoria compartilhada\n" +" --sync requisita uma conexao sincrona com o servidor " +"X11" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Front-end para a interface SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Esta função proporciona acesso aos scaners e outros dispositivos de " +"aquisição de imagens através da interface SANE (Scanner Access Now Easy)." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Janela de dispositivos..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "" + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "" + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Possíveis motivos:\n" +"1) Realmente não existe um dispositivo que seja suportado pelo SANE\n" +"2) Dispositivos suportados estão ocupados\n" +"3) As permissões para o arquivo de dispositivo não lhe deixam usá-lo - tente " +"como root\n" +"4) O driver não foi carregado pelo SANE (man sane-dll)\n" +"5) O driver não esta configurado corretamente (man sane-\"nomedodriver\")\n" +"6) Existe possívelmente mais de uma versão do SANE instalada" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "tamanho total" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 retrato" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 paisagem" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 retrato" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 paisagem" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 retrato" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN a5 paisagem" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal retrato" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal paisagem" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "carta retrato" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "carta paisagem" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Todas as cores" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Slide" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Negativo padrão" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Negativo Agfa" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Negativo Agfa XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Negativo Agfa HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Negativo Fuji" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Negativo Kodak" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Negativo Konica" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Negativo Konica VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Negativo Rossmann HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Projeto de correio não foi criado" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Projeto de correio criado" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Projeto de correio alterado" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Erro lendo projeto de correio" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "Conexão POP3 falhou" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Login na conta POP3 falhou" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "Conexão SMTP falhou" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Entrada de remetente não foi aceita" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Entrada de destinatário não foi aceita" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Dados do e-mail não aceitados" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Enviando correio" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Correio foi enviado" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Projeto de fax não foi criado" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Projeto de Fax criado" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Projeto de fax alterado" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Enviado Fax para fila" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax está pronto na fila" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "scaner de mesa" + +msgid "frame grabber" +msgstr "capturador de quadros" + +msgid "handheld scanner" +msgstr "scaner de handheld" + +msgid "still camera" +msgstr "câmera fotográfica" + +msgid "video camera" +msgstr "câmera de vídeo" + +msgid "virtual device" +msgstr "dispositivo virtual" + +msgid "Success" +msgstr "Sucesso" + +msgid "Operation not supported" +msgstr "Operação não suportada" + +msgid "Operation was cancelled" +msgstr "Operação foi cancelada" + +msgid "Device busy" +msgstr "Dispositivo ocupado" + +msgid "Invalid argument" +msgstr "Argumento inválido" + +msgid "End of file reached" +msgstr "Fim do arquivo" + +msgid "Document feeder jammed" +msgstr "Alimentador de Documento está engasgado" + +msgid "Document feeder out of documents" +msgstr "Alimentador de documento sem documentos" + +msgid "Scanner cover is open" +msgstr "Tampa do scaner esta aberta" + +msgid "Error during device I/O" +msgstr "Erro durante operação de E/S com o dispositivo" + +msgid "Out of memory" +msgstr "Sem memória" + +msgid "Access to resource has been denied" +msgstr "Acesso ao recurso foi proibido" diff --git a/po/UTF-8/pt_BR.gmo b/po/UTF-8/pt_BR.gmo new file mode 100644 index 0000000..0a18ca5 Binary files /dev/null and b/po/UTF-8/pt_BR.gmo differ diff --git a/po/UTF-8/pt_BR.po b/po/UTF-8/pt_BR.po new file mode 100644 index 0000000..43cf35c --- /dev/null +++ b/po/UTF-8/pt_BR.po @@ -0,0 +1,2819 @@ +# Portuguese translation for XSane. +# Copyright (C) 2002-2004 Yujo Rodrigues +# Yujo Rodrigues , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-10-08 22:00+3\n" +"Last-Translator: Yujo Rodrigues \n" +"Language-Team: Brazilian Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "pt_BR" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "clone-de-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Sobre" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Sobre a tradução" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "autorização" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - a licença" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Contrato de Licença com o Usuário Final" + +#. WINDOW_INFO +msgid "info" +msgstr "" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "carrega lista de lote" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "salva lista de lote" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "digitaliza lote" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "renomeia area de lote" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "projeto de fax" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "renomeia página de fax" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "insere arquivo-ps em um fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "projeto de e-mail" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "renomeia imagem de correio" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "insere arquivo no correio" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "renomeia area predefinida" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "adiciona área pré-definida" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "renomeia mídia" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "adiciona nova mídia" + +#. WINDOW_SETUP +msgid "setup" +msgstr "configuração" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histograma" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Curva gama" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Opções padrão" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Opções avançadas" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "seleção do dispositivo" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Pré-Visualização" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Visualizador" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Visualizador: selecione arquivo de saída" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Selecione arquivo de saída para o texto do OCR" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "selecione arquivo de saída" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "salva configurações do dispositivo" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "carrega configurações do dispositivo" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "altera o diretório de trabalho" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "seleciona o diretório temporário" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Escala da imagem" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Desembaraça imagem" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Embaça imagem" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Armazena definição da mídia" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Nenhum dispositivo disponível" + +#. MENU_FILE +msgid "File" +msgstr "Arquivo" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Preferências" + +#. MENU_VIEW +msgid "View" +msgstr "Visualizar" + +#. MENU_WINDOW +msgid "Window" +msgstr "Janela" + +#. MENU_HELP +msgid "Help" +msgstr "Ajuda" + +#. MENU_EDIT +msgid "Edit" +msgstr "Edita" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtros" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometria" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Sobre XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Informações" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Sair" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Salvar imagem" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - salvar como texto" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Clonar" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Escala" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Fechar" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Desfazer" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Desembaraçar" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Embaçar" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Rotaciona 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rotaciona 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rotaciona 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Espelha |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Espelha -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Imagem raw" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Imagem realçada" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Digitalizar" + +#. BUTTON_OK +msgid "Ok" +msgstr "" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Aceitar" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Não aceitar" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Aplicar" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Cancelar" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Reduzir" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Continue a seu risco" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Listar" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Sobregravar" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Lista de digitalização em lote" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Digitalizar área selecionada" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Apagar página" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Mostrar página" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Renomear página" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Deletar imagem" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Mostrar imagem" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Editar imagem" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Renomear imagem" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Inserir arquivo" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Criar projeto" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Enviar projeto" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Apagar projeto" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Incluir impressora" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Excluir impressora" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Capturar Prévia" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Cancelar prévia" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Descartar imagem" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Descartar todas as imagens" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Não fechar" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Escala cega" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Modo fino" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "Correio HTML" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Salvar preferências do dispositivo na saída" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Aviso ao Sobregravar" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Pular arquivos existentes" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Salvar pnm 16bits em formato ascii" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Reduzir imagem 16 bits para 8 bits" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Tamanho da janela principal fixado" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Desabilita prévia gama do gimp" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Usar mapa de cores particular" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Alto realce gama" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Pré-seleciona área de digitalização" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Corrigir cores" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "Autenticação POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Usar barra gráfica de progresso" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "procurando por dispositivos" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Dispositivos disponíveis:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Opções do XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Modo do XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Passo" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Tipo" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Scaner e driver:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Fabricante:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Modelo:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Tipo:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Dispositivo:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Driver carregado:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Versão do Sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Valores recentes:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Correção Gamma por:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "scaner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "programa (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "nenhum" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Profundidade da entrada gama:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Profundidade da saída gama:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Profundidade de saída do scaner:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Formatos de saida do XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "Formatos de saída de 8 bits:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "Formatos de saída de 16 bits:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp não suporta profundidade de cores de 16 bits.\n" +"Você quer reduzir a profundidade para cores de 8 bits?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Profundidade de cores de 16 bits não são suportadas para este formato de " +"saída.\n" +"Você quer reduzir a profundidade para cores de 8 bits?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Autorização requerida para" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Transmissão de senha é segura" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Driver requer senha em texto puro" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Usuário :" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Senha :" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Parâmetros inválidos." + +#. TEXT_VERSION +msgid "version:" +msgstr "versao:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "pacote" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "com suporte GIMP" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "sem suporte GIMP" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "compilado com GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "compilado com GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "desconhecido" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane é distribuído sobre os termos da Licença Pública Geral GNU\n" +"como publicado pela Free Software Foundation; tanto a versão 2 da\n" +"Licença, ou (à sua escolha) qualquer outra versão.\n" +"\n" +"Este programa é distribuído na esperança que ele seja útil, mas\n" +"SEM QUALQUER GARANTIA; nem mesmo a garantia implícita de\n" +"OPERACIONALIDADE ou CAPACIDADE PARA UMA FINALIDADE PARTICULAR.\n" +"No caso do programa se mostrar defeituoso, você assume o custo de toda\n" +"necessidade de serviço, concerto ou correção. Para usuar este programa você\n" +"tem que ler, entender e aceitar o seguinte\n" +"contrato \"SEM GARANTIA\".\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane é distribuído sobre os termos da Licença Pública Geral GNU\n" +"como publicado pela Free Software Foundation; tanto a versão 2 da\n" +"Licença, ou (à sua escolha) qualquer outra versão.\n" +"\n" +"Este programa é distribuído na esperança que ele seja útil, mas\n" +"SEM QUALQUER GARANTIA; nem mesmo a garantia implícita de\n" +"OPERACIONALIDADE ou CAPACIDADE PARA UMA FINALIDADE PARTICULAR.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "E-mail:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Home page:" + +#. TEXT_FILE +msgid "File:" +msgstr "Arquivo:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Tradução:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"traduzido para o Português do Brasil\n" +"por Yujo Rodrigues\n" +"Email: yujo@comp.ufu.br\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Páginas digitalizadas:" + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Texto do e-mail:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Anexos:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Estado do projeto:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Tipo de arquivo da imagem de correio:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Nome da mídia:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Tamanho %d x %d pontos, cores de %d bits, %d cores, %1.0f ppp x %1.0f ppp, %" +"1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Raio Despeckle:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Raio de embaçamento:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(sem nome)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Nome da Área:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Modo de digitalização:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Superior esquerdo:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Tamanho:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Resolução:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Profundidade de bits:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "como selecionado" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Seleção de impressora:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Nome:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Comando:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Opção de número de cópias:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Resolução de linha artística (ppp):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Resolução de tons de cinza (ppp):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Resolução de cores (ppp):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Largura:" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Altura:" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Deslocamento esquerdo" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Deslocamento inferior" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Valor de impressora gama:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Vermelho gama da impressora:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Verde gama da Impressora:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Azul gama da Impressora:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Diretório temporário:" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Permissões do arquivo da imagem" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Permissões do diretório" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Qualidade da imagem JPEG" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Compressão da imagem PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Comprimento do contador de arquivo" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Compressão de imagem TIFF 16 bits" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Compressão de imagem TIFF 8 bits" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Compressão de imagem TIFF linha artística" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Mostre largura como:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Prévia de amostragem:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Prévia gama:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Prévia vermelho gama:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Prévia verde gama:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Prévia azul gama:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Opção de Threshold:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Modo de Alimentação de Documento Automático" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Pré-visualiza a faixa da pipeta" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Threshold mínimo:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Threshold máximo:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Multiplicador de Threshold:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Deslocamento do Threshold:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Nome do modo de escala de cinzas:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Visualizador do arquivo de ajuda (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Opção de recebimento:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Opção de arquivo postscript:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Opção de modo normal:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Opção de modo fino:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Configura os padrões do programa para:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Visualizador (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "Servidor SMTP:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "Porta SMTP:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "De:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Responder para:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "Servidor POP3" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "Porta POP3" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "Usuário POP3" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "Senha POP3:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Visualizador (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Comando OCR:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Opção do arquivo de entrada:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Opção do arquivo de saída:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Usar barra gráfica de progresso:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Opção gráfica de saída-fd:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Palavra-chave de progresso" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "usuário" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "grupo" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "tudo" + +msgid "new media" +msgstr "nova mídia" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Salvar" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Imagem" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Copiar" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Correio" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Vídeo" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Realçamento" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "E-mail" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Mostrar dicas de ferramentas" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Mostrar prévia" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Mostrar histograma" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Mostrar curva gama" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Mostrar digitalização em lote" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Mostrar opções padrão" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Mostrar opções avançadas" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Configuração" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Unidade de medida" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milímetros" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centímetros" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "polegadas" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Política de atualização" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "contínua" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "descontínua" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "pausada" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Mostrar lista de resolução" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Rotacionar postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Edita definição da mídia" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Salvar parâmetros do dispositivo" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Carregar parâmetros do dispositivo" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Mudar diretório" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Mostrar EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Mostrar licença (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Documentação do XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Documentação do Driver" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Driver disponíveis" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Dicas de digitalização" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problemas?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "inativo" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "sem compressão" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "Compressão Huffman CCITT 1D" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Compressão Fax CCITT Grupo 3" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Compressão Fax CCITT Grupo 4" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Compressão DCT JPEG" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "empacota bits" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Rolamento (Escala)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Rolamento (Barra de rolagem):" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Botão de Giro" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Escala e Botão de Giro" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Barra de rolagem e Botão de Giro" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Janela de Opções avançadas (linha artística)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Janela principal do XSane (linha artística)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Janela principal do XSane (escala de cinzas->linha artística)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(nenhum)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "por extensão" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Incluir seleção na lista" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Adiciona definição da mídia" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Renomeia item" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Apaga item" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Move item para acima" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Move item para abaixo" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Digitalizando" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Recebendo dados %s" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Transferindo imagem" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Rotacionando imagem" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Espelhando imagem" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Empacotando imagem" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Convertendo imagem" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Salvando imagem" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Clonando imagem" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Redimencionando imagem" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Desembaraçando imagem" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Embançando imagem" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR em progresso" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Inicia digitalização " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Cancelar digitalização " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Adquirir prévia " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Cancelar prévia " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"salvar-, ver-, fotocópia-, fax- ou mail-" +"" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Selecione o tipo da mídia de origem.\n" +"Para renomear, reordenar ou apagar uma entrada, use o menu de contexto " +"(botão esquerdo do mouse).\n" +"Para criar uma mídia ative a opção para editar definição de mídia no menu de " +"preferências." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Valor que é incluído ao contador de arquivos depois de digitalizar" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Navegar por arquivos de imagem" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Nome de arquivo para imagem digitalizada" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Tipo de formato da imagem, a melhor extensão de arquivo é automaticamente " +"acrescentada ao nome do arquivo" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Digite o nome do projeto de fax" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Digite o nome para a página de fax" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Digite número de telefone ou endereço do destinatário" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Digite o nome do projeto de correio" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Digite o novo nome para a imagem de correio" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Digite o endereço de e-mail" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Digite o assunto do e-mail" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Selecione o tipoe de arquivo para anexos de imagem" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Digite o nome para a àrea pré-selecionada" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Digite o nome para a nova àrea pré-selecionada" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Digite o novo nome para a definição da mídia" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Digite o nome para a nova definição de mídia" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Selecione a definição de impressora " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Escolha a resolução" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Escolha a resolução para o eixo x" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Escolha a resolução para o eixo y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Escolha o fator de zoom" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Escolha o fator de zoom para o eixo x" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Escolha o fator de zoom para o eixo y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Escolha o número de cópias" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativo: Inverte cores para digitalizar negativos " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Escolha valor gama" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Escolha valor gama para o componente vermelho" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Escolha valor gama para o componente verde" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Escolha valor gama para o componente azul" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Escolha o brilho" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Escolha o brilho para o componente vermelho" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Escolha o brilho para o componente verde" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Escolha o brilho para o componente azul" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Escolha o contraste" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Escolha o contraste para o componente vermelho" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Escolha o contraste para o componente verde" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Escolha o contraste para o componente azul" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Escolha o threshold" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"Padrão RGB : Configura valores de realce do vermelho, verde e azul para " +"valores padrão :\n" +" gama = 1.0\n" +" brilho = 0\n" +" contraste = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Ajusta automaticamente gama, brilho e constraste " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Configura os valores de realce padrão :\n" +"gama = 1.0\n" +"brilho = 0\n" +"contraste = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Restaura os valores de realce das preferências " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Armazena valores de realce ativos nas preferências " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Mostra histograma de intensidade/cinza " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Mostra histograma do componente vermelho " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Mostra histograma do componente verde " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Mostra histograma do componente azul " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Modo do Visor: mostra histograma com linhas ao invés de pontos " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Mostra logarítmo da contagem de pontos " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Selecione a definição para mudar" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Define um nome para a seleção desta definição" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Entre o comando para ser executado no modo de cópia (ex.: \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Digite a opção do número de cópias" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Resolução com a qual imagens em linha artística são impressas e salvadas em " +"postscript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Resolução com a qual imagens em escala de cinzas são impressas e salvadas em " +"postscript" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Resolução com a qual imagens coloridas são impressas e salvadas em postscript" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Largura da área imprimível" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Altura da área imprimível" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Deslocamento esquerdo do canto do papel até a área imprimível" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Deslocamento inferior do canto do papel até a área imprimível" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Valor gama adicional para fotocópia" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Valor gama adicional para o componente vermelho para fotocópia" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Valor gama adicional para o componente verde para fotocópia" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Valor gama adicional para o componente azul para fotocópia" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Caminho para o diretório temporário" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Procurar pelo diretório temporário" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Qualidade em porcentagem se a imagem é salvada como jpeg ou tiff com " +"compressão jpeg" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Compressão se imagem é salvada como png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Comprimento mínimo do contador no nome de arquivo" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Tipo de compressão se imagem de 16 bits é salvada como tiff" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Tipo de compressão se imagem de 8 bits é salvada como tiff" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Tipo de compressão se imagem em linha artística é salvada como tiff" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Salva preferências dependentes do dispositivo em arquivo padrão na saída do " +"xsane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Avisa antes de sobregravar um arquivo existente" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Se o contador do nome de arquivo é auto-incrementado, números usados são " +"pulados" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Quando uma imagem 16 bits deve ser salvada em formato pnm então use formato " +"ascii ao invés do formato binário. O formato binário é um novo formato que " +"não é suportado por todos os programas. O formato ascii é suportado por mais " +"programas mas ele produz arquivos realmente imensos!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Se o scaner envia imagem com 16 bits de cores salva imagem com 8 bits de " +"cores" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Largura do papel para arquivos postscript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Altura do papel para arquivos postscript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Deslocamento esquerdo do canto do papel até a área usavel para arquivos " +"postscript" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Deslocamento inferior do canto do papel até a àrea usável para arquivos " +"postscript" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Usa janela principal de tamanho fixo ou janela principal rolável e " +"redimensionável" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Desabilita prévia gama quando XSane roda como plugin do gimp" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Usa um mapa de córes próprio para prévia se a profundidade do vídeo é 8 bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Selecione como a extensão é exibida" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Valor com o qual a resolução prévia calculada é multiplicada" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Escolha valor de correção gama para a prévia da imagem" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Muda valor de correção gama para o componente vermelho da prévia de imagem" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Muda valor de correção gama para o componente verde da prévia da imagem" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Muda valor de correção gama para o componente azul da prévia da imagem" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Define o modo que XSane deve usar a opção threshold" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Seleciona modo de digitalização em tons de cinza. Este modo é usado para pré-" +"visualizara digitalização quando a transformação de tons de cinza para linha " +"de arte está habilitada" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "O nível mínimo de threshold do scaner em %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "O nível máximo de threshold do scaner em %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplicador para fazer as variações de threshold de XSane e o do scaner " +"serem as mesmas" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Deslocamento para fazer as variações de threshold de XSane e o do scaner " +"serem as mesmas" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Seleciona a entrada do scaner para Alimentação Automática de Documento. Se " +"esta entradado scaner estiver selecionada XSane digitalizará até mensagem " +"\"sem papel\" ou algum erro." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"dimensão do quadro que é usado para calcular a média de cores para a função " +"pipeta" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Entra comando a ser executado para abrir um visualizador html para exibir " +"arquivos de ajuda" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "" +"Modifica o valor gama quando o botão de realce altomático esta pressionado" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "" +"Seleciona área de digitalização após a pré-visualização ter sido concluída" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "" +"Faz uma correção de cores depois da pré-visualização ter sido concluída" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Entra comando a ser executado no modo fax" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Entra opção para especificar o destinatário" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Entra opção para especificar acompanhamento de arquivos postscript" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Entra opção para especificar modo normal (resolução baixa)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Entra opção para especificar modo fino (alta resolução)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Entra comando para ser executado para visualizar um fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Envia fax com resolução vertical alta (196 lpp ao invés de 98 lpp)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "Endereço IP ou nome de Domínio do servidor SMTP" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "porta para conectar no servidor SMTP" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "entra seu endereço de e-mail" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "entra seu endereço de e-mail para e-mails respondidos" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Autentica com o servidor POP3 antes de enviar e-mail" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "Endereço IP ou nome de Domínio do servidor POP3" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "porta para conectar no servidor POP3" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "nome de usuário para o servidor POP3" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "senha para o servidor POP3" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Entra comando a ser executado para visualizar uma imagem de e-mail" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "Correio é enviado no modo html, com imagem: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Entra comando para iniciar o programa de ocr" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Entra opção do programa de ocr para definir o arquivo de entrada" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Entra opção do programa ocr para definir o arquivo de saída" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Define se o programa de ocr suporta a barra gráfica de progressão" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Entre com a opção do programa ocr para definir a saída do descritor de " +"arquivos no modo GUI" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"Define palavra chave que será usada para marcar informação do progresso" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "ler" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "gravar" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "executar" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Inclui seleção para digitalização em lote" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Pega ponto branco" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Pega ponto cinza" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Pega ponto preto" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Usa toda area de digitalização" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Zoom 20% de saida" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Clique na posição para ampliar" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Ampliar área selecionada" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Desfazer último ampliamento" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Seleciona área visível" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Auto seleciona área de digitalização" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Obtém automaticamente a área de digitalização" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Apaga cache de imagem pré-visualizada" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Área pré-configurada:\n" +"Para acrescentar nova área ou editar uma área existente, use o menu de " +"contexto (botão direito do mouse)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Rotaciona pré-visualização e digitaliza" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Proporção da seleção" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Define a posição da imagem para impressão" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Reconhecimento Óptico de Caracteres" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Desfaz última mudança" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Clona imagem" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Rotaciona imagem em 90 graus" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Rotaciona imagem em 180 graus" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Rotaciona imagem em 270 graus" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Espelha imagem no eixo vertical" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Espelha imagem no eixo horizontal" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Aumenta imagem" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Armazena mídia" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Apaga mídia ativa" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Fator de escala" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Fator de escala X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Fator de escala Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Dimensiona imagem para largura [em pontos]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Dimensiona imagem para altura [em pontos]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Esvazia lista de lote" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Salva lista de lote" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Carrega lista de lote" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Renomeia área" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Acrescenta na lista de lote a área de pré-visualização selecionada" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Apaga área selecionada da lista de lote" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Ativa o modo automático" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Falha ao determinar o diretório home:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Falha ao mudar o diretório de trabalho para" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Nome de arquivo longo demais" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Não foi possível criar arquivo temporário" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Falha ao mudar valor da opção" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Falha ao obter valor da opção" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Erro na obtenção de opção contadora" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Falha ao abrir dispositivo" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "nenhum dispositivo disponível" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Erro durante leitura:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Erro durante gravação:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Não é possível usar profundidade" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP não pode usar profundidade de cores de %d" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Formato de gravação desconhecido" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Falha ao abrir" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Não foi possível criar arquivo seguro (talvez o link não existe);" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Falha ao abrir pipe para executar comando de impressão" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Falha ao executar comando de impressão:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Falha ao iniciar digitalizador:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Falha ao obter parâmetros:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Nenhum formato de saída foi dado" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "sem memória" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Driver envia mais dados da imagem do que sua definição em parâmetros" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF reportou erro" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG reportou erro" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG reportou erro" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "tipo desconhecido" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "tipo de construtor desconhecido" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Opção possui nome vazio (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" +"Isto é um bug do driver (backend). Por favor informe ao autor do backend!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Falha ao executar o visualizador da documentação:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Falha ao executar o visualizador de fax:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Falha ao executar o comando de fax:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Falha ao executar o visualizador de imagem do e-mail:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Falha ao executar o comando para ocr:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "formato de quadro ruim" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "não é possível mudar resolução" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Arquivo de senha (%s) é inseguro, use permissão x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "erro" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Número da maior versão do Sane não corresponde!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Maior versão do XSane =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "versão maior do drive =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAMA ABORTADO ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Falha ao alocar memória para imagem:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Pré-visualização não pode usar profundidadde de bits" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Suporte ao gimp está faltando" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Não foi possível criar arquivos de pré-visualização temporários" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "" +"Não foi possível criar nomes de arquivos para arquivos de pré-visualização" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Não foi possível criar projeto de fax" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Contador de nome de arquivos estorou" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "atenção: opção não tem o valor do construtor" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Você está tentando rodar XSane como ROOT, o que é realmente PERIGOSO!\n" +"\n" +"Não envia nenhum relatório de bugs quando você\n" +"tiver qualquer problema enquando executar XSane como root:\n" +"VOCÊ ESTÁ SOZINHO!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Erro" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Atenção" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Informação" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Erro do processo filho" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Falha ao criar arquivo:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Erro enquanto carregava configurações do dispositivo:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "não é um arquivo de configuração de dispositivo !!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Falha ao executar netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Enviar fax: nenhum destinatário foi definido" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "foi criado para o dispositivo" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "você precisa usar ele para o dispositivo" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "isto pode causar problemas!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Existem %d imagens não salvadas" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Arquivo %s já existe" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Arquivo %s não existe" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Arquivo %s não é um arquivo postscript" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Formato de saída de %d-bit não suportado: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "visualizador de imagem não está salvado" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Uso:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPCAO]... [DISPOSITIVO]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Inicia a interface grafica de usuario para acessar os dispostivos do SANE" +"(Scanner Access Now Easy).\n" +"\n" +"O formato do [DISPOSITIVO] e o nomedodriver:arquivodedispostivo (ex.: umax:/" +"dev/scanner).\n" +"[OPCAO]... pode ser uma combinacao dos seguintes itens:\n" +" -h, --help mostra esta mensagem de ajuda e sai\n" +" -v, --version exibe a informacao da versao\n" +" -l, --license exibe a informacao da licença\n" +"\n" +" -d, --device-settings arquivo carrega configuracoes do dispositivo a " +"partir de um arquivo (sem \".drc\")\n" +"\n" +" -V, --viewer inicia com modo de visualizacao ativo " +"(padrao)\n" +" -s, --save inicia com modo de gravacao ativo\n" +" -c, --copy inicia com modo de copia ativo\n" +" -f, --fax inicia com modo de fax ativo\n" +" -m, --mail inicia com modo de correio ativo\n" +" -n, --no-mode-selection desabilita menu para selecao do modo de XSane\n" +"\n" +" -F, --Fixed tamanho da janela principal fixo (sobrepoe " +"valor das preferencias)\n" +" -R, --Resizeable janela principal rolavel e redimensionavel " +"(sobrepoe valor nas preferencias)\n" +"\n" +" -p, --print-filenames exibe nome de arquivos de imagens criadas por " +"XSane\n" +" -N, --force-filename nome força nome de arquivo e desabilita selecao de " +"nome de arquivo pelo usuario\n" +"\n" +" --display ambiente-X11 redireciona saida para o ambiente-X11\n" +" --no-xshm nao usa imagens de memoria compartilhada\n" +" --sync requisita uma conexao sincrona com o servidor " +"X11" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Front-end para a interface SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Esta função proporciona acesso aos scaners e outros dispositivos de " +"aquisição de imagens através da interface SANE (Scanner Access Now Easy)." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Janela de dispositivos..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "" + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "" + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Possíveis motivos:\n" +"1) Realmente não existe um dispositivo que seja suportado pelo SANE\n" +"2) Dispositivos suportados estão ocupados\n" +"3) As permissões para o arquivo de dispositivo não lhe deixam usá-lo - tente " +"como root\n" +"4) O driver não foi carregado pelo SANE (man sane-dll)\n" +"5) O driver não esta configurado corretamente (man sane-\"nomedodriver\")\n" +"6) Existe possívelmente mais de uma versão do SANE instalada" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "tamanho total" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 retrato" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 paisagem" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 retrato" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 paisagem" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 retrato" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN a5 paisagem" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal retrato" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal paisagem" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "carta retrato" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "carta paisagem" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Todas as cores" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Slide" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Negativo padrão" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Negativo Agfa" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Negativo Agfa XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Negativo Agfa HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Negativo Fuji" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Negativo Kodak" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Negativo Konica" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Negativo Konica VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Negativo Rossmann HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Projeto de correio não foi criado" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Projeto de correio criado" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Projeto de correio alterado" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Erro lendo projeto de correio" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "Conexão POP3 falhou" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Login na conta POP3 falhou" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "Conexão SMTP falhou" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Entrada de remetente não foi aceita" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Entrada de destinatário não foi aceita" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Dados do e-mail não aceitados" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Enviando correio" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Correio foi enviado" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Projeto de fax não foi criado" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Projeto de Fax criado" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Projeto de fax alterado" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Enviado Fax para fila" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax está pronto na fila" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "scaner de mesa" + +msgid "frame grabber" +msgstr "capturador de quadros" + +msgid "handheld scanner" +msgstr "scaner de handheld" + +msgid "still camera" +msgstr "câmera fotográfica" + +msgid "video camera" +msgstr "câmera de vídeo" + +msgid "virtual device" +msgstr "dispositivo virtual" + +msgid "Success" +msgstr "Sucesso" + +msgid "Operation not supported" +msgstr "Operação não suportada" + +msgid "Operation was cancelled" +msgstr "Operação foi cancelada" + +msgid "Device busy" +msgstr "Dispositivo ocupado" + +msgid "Invalid argument" +msgstr "Argumento inválido" + +msgid "End of file reached" +msgstr "Fim do arquivo" + +msgid "Document feeder jammed" +msgstr "Alimentador de Documento está engasgado" + +msgid "Document feeder out of documents" +msgstr "Alimentador de documento sem documentos" + +msgid "Scanner cover is open" +msgstr "Tampa do scaner esta aberta" + +msgid "Error during device I/O" +msgstr "Erro durante operação de E/S com o dispositivo" + +msgid "Out of memory" +msgstr "Sem memória" + +msgid "Access to resource has been denied" +msgstr "Acesso ao recurso foi proibido" diff --git a/po/UTF-8/ro.gmo b/po/UTF-8/ro.gmo new file mode 100644 index 0000000..45c5f66 Binary files /dev/null and b/po/UTF-8/ro.gmo differ diff --git a/po/UTF-8/ro.po b/po/UTF-8/ro.po new file mode 100644 index 0000000..9e127b3 --- /dev/null +++ b/po/UTF-8/ro.po @@ -0,0 +1,2821 @@ +# translation of ro.po to Romanian +# Copyright (C) 2002, 2004 Free Software Foundation, Inc. +# Harald Ersch ,2002. +# Harald Ersch , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-27 19:55+0300\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.0.2\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "ro" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "clona " + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Despre" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Despre traducere" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "Autorizare" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "Licenţa GPL" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "End User License Agreement" + +#. WINDOW_INFO +msgid "info" +msgstr "Informaţii" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "Încarcă lista loturilor" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "Salvează lista loturilor" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "Scanare lot" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "Redenumeşte zone predefinite pt. loturi" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "Proiect fax" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "Redenumeşte pagina de fax" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "Introduce fişier ps în fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "Trimite proiect prin email" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "Redenumeşte imagine scrisoare" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "Introduce fişier în email" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "Redenumeşte zone predefinite" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "Adaugă zonă predefinită" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Redenumire mediu" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "Adaugă mediu nou" + +#. WINDOW_SETUP +msgid "setup" +msgstr "Configurare" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogramă" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Curbă gamma" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Opţiuni standard" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Opţiuni avansate" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "Selectare dispozitiv" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Previzualizare" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Vizualizare" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Vizualizator: selectează nume fişier ieşire" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Selectează nume fişier ieşire pt. fişierul text OCR" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "Selectează nume fişier ieşire" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "Salvează setările dispozitivului" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "Încarcă setările dispozitivului" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "Schimbă directorul de lucru" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "Selectează directorul temporar" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Scalează imaginea" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Scoate petele din imagine" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Face imaginea neclară" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Stocare definiţie mediu" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Nu există dispozitive disponibile" + +#. MENU_FILE +msgid "File" +msgstr "Fişier" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Preferinţe" + +#. MENU_VIEW +msgid "View" +msgstr "Vizualizare" + +#. MENU_WINDOW +msgid "Window" +msgstr "Fereastră" + +#. MENU_HELP +msgid "Help" +msgstr "Ajutor" + +#. MENU_EDIT +msgid "Edit" +msgstr "Editare" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtre" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometrie" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Despre Xsane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Info" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Ieşire" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Salvează imaginea" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - salvare ca text" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Clonează" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Scalează" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Închide" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Des-face" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Scoate pete" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Difuzie" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Roteşte 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rotire cu 180°" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rotire cu 270°" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Oglindire axa X" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Oglindire axa Y" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Imagine brută" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Imagine îmbunătăţită" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Scanează" + +#. BUTTON_OK +msgid "Ok" +msgstr "OK" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Acceptă" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Refuză" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Aplică" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Renunţă" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Reduce" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Continuaţi pe riscul dvs." + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Navighează" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Suprascrie" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Scanează loturi" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Scanează zona selectată" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Şterge pagina" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Arată pagina" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Redenumeşte pagina" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Şterge imaginea" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Arată imaginea" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Editare imagine" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Redenumeşte imaginea" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Inserare fişier" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Creează proiect" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Trimite proiect" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Şterge proiect" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Adaugă imprimantă" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Şterge imprimantă" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Obţine o previzualizare" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Renunţă la previzualizare" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Renunţă la imagine" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Renunţă la toate imaginile" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Nu închide" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Legare scală" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Mod fin" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "Email HTML" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Salvează preferinţele dispozitivului la ieşire" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Avertizare la suprascriere" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Salt peste fişierele existente" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Salvează pnm 16 biţi în format ascii" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Reduce imaginea de la 16 la 8 biţi" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Mărime fixă pentru dimensiunea ferestrei principale" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Dezactivează previzualizare gamma în Gimp" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Foloseşte harta de culori personală" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Îmbunătăţire automată gamma" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Preselectare zonă de scanare" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Corecţie automată culori" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "Autentificare POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Foloseşte pipe GUI pt. evoluţie" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "Caut dispozitivele" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Dispozitive disponibile" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Opţiuni XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Mod XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Pas" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Tip" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Scanner şi backend:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Vânzător:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Tip:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Dispozitiv:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Backend încărcat:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Versiune sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Valori recente:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Corecţie gamma de:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "Scanner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "Program (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "Nici unul" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Adâncime intrare gamma:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Adâncime ieşire gamma:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Adâncime ieşire scanner:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Formate de ieşire XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "Formate de ieşire pe 8 biţi:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "Formate de ieşire pe 16 biţi:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp nu susţine adâncimi de 16 biţi/culoare.\n" +"Doriţi să reduceţi adâncimea la 8 biţi/culoare?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Acest format de ieşire nu susţine adâncimi de 16 biţi/culoare.\n" +"Doriţi să reduceţi adâncimea la 8 biţi/culoare?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Autorizare necesară pentru" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Transmiterea parolei este sigură" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Backend-ul necesită o parolă text" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Nume utilizator:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Parolă:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Parametri incorecţi" + +#. TEXT_VERSION +msgid "version:" +msgstr "Versiune: " + +#. TEXT_PACKAGE +msgid "package" +msgstr "Pachet" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "Cu susţinere GIMP" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "Fără susţinere GIMP" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "Compilat cu GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "Compilat cu GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "Necunoscut" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane este distribuit sub termenii licenţei GNU General Public\n" +"publicată de Free Software Foundation respectiv versiunea 2 a\n" +"licenţei sau (opţional) orice versiune mai recentă.\n" +"\n" +"Acest program este distribuit în speranţa ca va fi folositor, dar\n" +"FĂRĂ NICI O GARANŢIE. \n" +"Dacă programul nu funcţionează, vă asumaţi toate costurile\n" +"rezultate din repataţii, depanări sau corecţii.\n" +"\n" +"Pentru a folosi acest program, trebuie să citiţi, înţelegeţi şi acceptaţi\n" +"următorul contract \"FĂRĂ GARANŢIE\".\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane este distribuit sub termenii licenţei GNU General Public\n" +"publicată de Free Software Foundation respectiv versiunea 2 a\n" +"licenţei sau (opţional) orice versiune mai recentă.\n" +"\n" +"Acest program este distribuit în speranţa ca va fi folositor, dar\n" +"FĂRĂ NICI O GARANŢIE. \n" +"\n" +"Pentru a folosi acest program, trebuie să citiţi, înţelegeţi şi acceptaţi\n" +"următorul contract \"FĂRĂ GARANŢIE\".\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Email:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Pagină acasă:" + +#. TEXT_FILE +msgid "File:" +msgstr "Fişier:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Traducere:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"Tradus în limba română\n" +"de Harald Ersch - 2002\n" +"Email: hersch@romatsa.ro\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Pagini scanate: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Text email:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Ataşamente:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Stare proiect:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Tip fişier mail imagine:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Nume mediu:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Mărime %d x %d pixeli, %d biţi/culoare, %d culori, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Raza scos pete:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Raza difuzie:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(fără nume)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Nume zonă:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Mod scanare:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Stânga sus:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Mărime:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Rezoluţie:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Adâncime în biţi :" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "ca selecţia" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Selectare imprimantă:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Nume:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Comandă:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Opţiune număr de cópii:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Rezoluţie alb/negru (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Rezoluţie scară de gri (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Rezoluţie color (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Lăţime" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Înălţime" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Decalaj stânga" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Decalaj jos" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Valoare gamma imprimantă:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Gamma - componentă roşu - pt. imprimantă" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Gamma - componentă verde - pt. imprimantă" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Gamma - componentă albastru - pt. imprimantă" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Director temporar" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Drepturi fişier imagine" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Drepturi în director" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Calitate imagine JPEG" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Comprimare imagine PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Lungime contor pt. nume fişier" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Comprimare imagine TIFF pe 16 biţi" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Comprimare imagine TIFF pe 8 biţi" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Comprimare imagine TIFF alb/negru (pe 1bit)" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Arată gama ca:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Previzualizare supraeşantionare:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Previzualizare gamma:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Previzualizare gamma roşu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Previzualizare gamma vede:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Previzualizare gamma albastru:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Opţiuni prag:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Mod încărcare automată documente:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Previzualizare gamă pipetă" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Prag minim:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Prag maxim:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Multiplicator prag:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Decalaj prag:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Nume mod scanare în scară de gri:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Vizualizator fişiere de ajutor (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Opţiuni destinatar:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Opţiuni postscript:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Opţiuni mod Normal:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Opţiuni mod Fin:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Setează valori implicite în program pt.:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Vizualizator (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "Server SMTP:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "Port SMTP:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "De la:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Răspuns la:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "Server POP3:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "Port POP3:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "Utilizator POP3:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "Parola POP3:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Vizualizator (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Comandă OCR:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Opţiune fişier de intrare" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Opţiune fişier de ieşire" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Foloseşte pipe GUI pt. evoluţie:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Opţiune fd ieşire GUI:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Cuvânt cheie evoluţie:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "utilizator" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "grup" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "toţi" + +msgid "new media" +msgstr "mediu nou" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Salvare" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Imagine" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Copiere" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Fax" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Poştă" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Afişare" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Îmbunătăţire" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Poşta electronică" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Arată ponturi" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Arată previzualizarea" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Arată histograma" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Arată curba gamma" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Arată scanare loturi" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Arată opţiunile standard" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Arată opţiunile avansate" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Configurare" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Unitate de lungime" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milimetri" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimetri" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "inci" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Politica de actualizare" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "continuă" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "discontinuă" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "întârziată" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Arată lista rezoluţiilor" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Roteşte postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Editare definiţie mediu" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Salvează setări dispozitiv" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Încarcă setări dispozitiv" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Schimbă directorul" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Arată EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Arată licenţa (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Documentaţie XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Documentaţie backend" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Backend-uri disponibile" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Ponturi pt. scanare" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Probleme?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "inactiv" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "Necomprimat" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "Compresie CCITT 1D Huffmann" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Compresie CCITT Grup 3 Huffmann" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Compresie CCITT Grup 4 Huffmann" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Compresie JPEG DCT" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "pack bits" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Alunecător (Scală)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Alunecător (Bară de derulare)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Buton rotativ" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Scală şi buton rotativ" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Bară de derulare şi buton rotativ" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Fereastră opţiuni standard (alb/negru)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Fereastră principală XSane (alb/negru)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Fereastră principală XSane (scală de gri->alb/negru)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(nimic)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "după extensie" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Adaugă selecţia la listă" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Adaugă definiţie mediu" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Redenumeşte articol" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Şterge articol" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Mută articol în sus" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Mută articol în jos" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Scanare..." + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Primesc date %s" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Transfer imaginea" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Rotesc imaginea" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Oglindesc imaginea" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Împachetez imaginea" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Convertesc imaginea" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Salvez imaginea" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Clonez imaginea" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Scalez imaginea" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Scot petele din imagine" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Fac imaginea neclară" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Recunoaştere optică de caractere în evoluţie" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Porneşte scanarea" + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Renunţă la scanare" + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Scanare pt. previzualizare " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Renunţă la scanarea pt. previzualizare " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"Salvare-, vizualizare-, fotocopie-, fax- sau " +"mail-" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Selectaţi tipul mediului sursă. \n" +"Pentru a redenumi, şterge, ordona un articol, folosiţi meniul contextual " +"(butonul dreapta al mausului).\n" +"Pentru a creea un mediu activaţi opţiunea de editare a definirii mediului " +"din meniul Preferinţe." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Valoarea care este adăugată la contorul numelui de fişier după scanare" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Navighează la numele fişierului de imagine" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Nume fişier pt. imaginea scanată" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Tip format imagine, extensia fişier corespunzătoare este adăugata automat la " +"numele fişierului" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Introduceţi numele proiectului fax" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Introduceţi numele paginii de fax" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Introduceţi numărul de telefon sau adresa destinatarului" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Introduceţi numele proiectului mail" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Introduceţi numele imaginii pt. mail" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Introduceţi adresa de email" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Introduceţi subiectul email-ului" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Selectaţi tipul fişierelor pentru ataşamentele imagine" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Introduceţi numele noii zone predefinite" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Introduceţi numele noii zone predefinite" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Introduceţi noul nume pt. definiţia mediului" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Introduceţi noul nume pt. definiţia mediului" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Selectaţi definirea imprimantei " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Setează rezoluţia de scanare" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Setează rezoluţia de scanare pt. direcţia x" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Setează rezoluţia de scanare pt. direcţia y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Setează factorul de mărire" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Setează factorul de mărire pt. direcţia x" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Setează factorul de mărire pt. direcţia y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Setează număr copii" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativ: inversează culorile pentru scanare negative " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Setează valoarea gamma" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Setează valoarea gamma pentru componenta de roşu" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Setează valoarea gamma pentru componenta de verde" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Setează valoarea gamma pentru componenta de albastru" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Setează strălucirea" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Setează strălucirea pentru componenta de roşu" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Setează strălucirea pentru componenta de verde" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Setează strălucirea pentru componenta de albastru" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Setează contrastul" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Setează contrastul pentru componenta de roşu" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Setează contrastul pentru componenta de verde" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Setează contrastul pentru componenta de albastru" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Setează prag" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"Setare valori RGB implicite pt. îmbunătăţire: canale roşu, verde, albastru " +":\n" +" gamma = 1.0\n" +" strălucire = 0\n" +" contrast = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Ajustare automată pt. gamma, strălucire, contrast " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Setare valori implicite pt. îmbunătăţire :\n" +"gamma = 1.0\n" +"strălucire = 0\n" +"contrast = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "" +"Restaurează valorile implicite pt. îmbunătăţire din preferinţe " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Salvează valorile curente pt. îmbunătăţire în preferinţe " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Arată histograma intensităţii/gri " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Arată histograma componentei de roşu " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Arată histograma componentei de verde " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Arată histograma componentei de albastru " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Mod afişare: arată histograma cu linii în loc de pixeli " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Arată numărul de pixeli logaritmic " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Selectare definiţie ce va fi schimbată" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Defineşte un nume pentru selectarea acestei definiţii" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Introduceţi comanda ce va fi executată în modul copiere (ex. \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Introduceţi opţiunea pt. numărul de copii" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Rezoluţia la care imaginile alb/negru sunt tipărite şi salvate în postscript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Rezoluţia la care imaginile în scară de gri sunt tipărite şi salvate în " +"postscript" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Rezoluţia la care imaginile color sunt tipărite şi salvate în postscript" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Lăţime zonă tipăribilă" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Înălţime zonă tipăribilă" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Decalaj stânga de la marginea hârtiei la zona tipăribilă" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Decalaj de jos de la marginea hârtiei la zona tipăribilă" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Valoare gamma adiţională pt. fotocopie" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Valoare gamma adiţională componentă roşu pt. fotocopie" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Valoare gamma adiţională componentă verde pt. fotocopie" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Valoare gamma adiţională componentă albastru pt. fotocopie" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Calea către directorul temporar" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Navighează la directorul temporar" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Calitatea în procente dacă imaginea este salvată ca JPEG sau TIFF cu " +"compresie JPEG" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Compresie dacă imaginea este salvată ca PNG" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Lungimea minimă a contorului în numele fişierului" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Tip compresie dacă o imagine de 16 biţi este salvată ca TIFF" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Tip compresie dacă o imagine de 8 biţi este salvată ca TIFF" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Tip compresie dacă o imagine alb/negru este salvată ca TIFF" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Salvează preferinţele dependente de dispozitiv în fişierul implicit la " +"terminarea XSane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Avertizează înainte de suprascrierea unui fişier existent" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Numerele folosite deja sunt sărite la incrementarea automată a contorului " +"numelui de fişier" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Folosiţi formatul ascii în locul celui binar pentru a salva imaginile pe 16 " +"biţi în format pnm. Formatul binar este nou şi nu este susţinut de toate " +"programele. Formatul ascii este susţinut de mai toate programele, dar " +"produce fişiere foarte mari!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Salvează o imagine cu 8 biţi/culoare dacă scannerul trimite imagini cu 16 " +"biţi/culoare" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Lăţime hârtie pt. fişierele postscript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Înălţime hârtie pt. fişierele postscript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Decalaj stânga de la marginea hârtiei pt. zona utilizabilă pt. fişierele " +"postscript" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Decalaj jos de la marginea hârtiei pt. zona utilizabilă pt. fişierele " +"postscript" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Foloseşte mărime fixă pt. fereastra principală sau fereastră principală " +"redimensionabilă cu defilare" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "" +"Dezactivează previzualizarea gamma când XSane rulează ca extensie la Gimp" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Foloseşte o harta de culori proprie pentru previzualizare dacă adâncimea " +"este de 8 bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Selectare mod de afişare a gamei" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Valoarea cu care este înmulţită rezoluţia calculată pt. previzualizare" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Setează valoarea corecţiei gamma pentru imaginea previzualizată" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Setează valoarea corecţiei gamma pentru componenta de roşu a imaginii " +"previzualizate " + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Setează valoarea corecţiei gamma pentru componenta de verde a imaginii " +"previzualizate " + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "" +"Setează valoarea corecţiei gamma pentru componenta de albastru a imaginii " +"previzualizate " + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Defineşte modul în care XSane va manipula opţiunea pragului" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Selectează modul de scanare în nuanţe de gri. Acest mod de scanare este " +"folosit pt. previzualizare alb/negru când transformarea gri->a/n este " +"activată" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Nivelul minim de prag al scannerului în %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Nivelul maxim de prag al scannerului în %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplicatorul necesar pt. a face gama pragurilor XSane egală cu cea a " +"scannerului" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Deplasamentul necesar pt. a face gama pragurilor XSane egală cu cea a " +"scannerului" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Selectează drept sursă Alimentatorul automat de documente. În acest caz " +"XSane scanează pâna la apariţia erorii \"terminare hârtie\"" + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "dimensiunea pătratului folosit la medierea culorii pt. funcţia pipetă" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Introduceţi comanda ce va fi executată pentru afişarea fişierelor ajutor, " +"trebuie să fie un vizualizator de HTML!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Schimbă valoarea gamma la apasarea butonului de îmbunătăţire automată" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Selectează zona de scanare după terminarea scanării pt. previzualizare" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Corectează culorile după terminarea scanării pt. previzualizare" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Introduceţi comanda ce va fi executată în modul fax" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Introduceţi opţiunea pt. a specifica destinatarul" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Introduceţi opţiunea pt. a specifica că urmează fişiere postscript" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Introduceţi opţiunea pt. a specifica modul normal (rezoluţie redusă)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Introduceţi opţiunea pt. a specifica modul normal (rezoluţie ridicată)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Introduceţi comanda ce va fi executată pt. a vizualiza un fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "" +"Trimite un fax cu rezoluţie verticală ridicată (196 lpi în loc de 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "Adresa IP sau numele în domeniu a serverului SMTP" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "portul de conectare la serverul SMTP" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "Introduceţi adresa dvs. de email" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "Introduceţi adresa de email pt. email-urile de răspuns" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Autentificare la serverul POP3 înainte de a trimite poşta" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "Adresa IP sau numele în domeniu a serverului POP3" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "portul de conectare la serverul POP3" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "nume utilizator pt. serverul POP3" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "Parola pt. serverul POP3" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "" +"Introduceţi comanda ce va fi executată pt. a vizualiza o imagine din mail" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "Poşta trimisă în mod HTML va afişa imaginile cu " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "" +"Introduceţi comanda ce va fi executată pt. a porni recunoaşterea optică a " +"caracterelor (OCR)" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Introduceţi opţiunea programului OCR ce defineşte fişierul de intrare" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Introduceţi opţiunea programului OCR ce defineşte fişierul de ieşire" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Defineşte dacă programul OCR susţine GUI de evoluţie prin pipe" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Introduceţi opţiunea programului OCR ce defineşte descriptorul fişierului de " +"ieşire în mod GUI" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Defineşte cuvântul cheie pt. a marca informaţiile despre evoluţie" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "citire" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "scriere" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "execuţie" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Adaugă selecţia la lista loturilor" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Preia punctul de alb" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Preia punctul de gri" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Preia punctul de negru" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Foloseşte toată zona de scanare" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Micşorează cu 20%" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Clic la o poziţie pentru mărire/micşorare" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Mărire la zona selectată" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Anulează ultima mărire" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Selectează zona vizibilă" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Selectare automată zonă de scanare" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Ridică automat zona de scanare" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Şterge imaginea previzualizată tampon" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Zona predefinită:\n" +"Pentru a adăuga o zonă nouă sau a edita o zonă existentă folosiţi meniul " +"contextual (butonul dreapta maus)" + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Roteşte previzualizarea şi scanează" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Formatul de imagine al selecţiei" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Defineşte poziţionarea imaginii pt. tipărire" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Recunoaştere optică a caracterelor (OCR)" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Anulează ultima modificare" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Clonează imaginea" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Roteşte imaginea cu 90°" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Roteşte imaginea cu 180°" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Roteşte imaginea cu 270°" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Oglindeşte imaginea după axa verticală" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Oglindeşte imaginea după axa orizontală" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Mărire imagine" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Stocare mediu" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Şterge mediul activ" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Factor de scalare" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Factor scalare X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Factor scalare Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Scalare imagine (la lăţime) [în pixeli]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Scalare imagine (la înălţime) [în pixeli]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Listă loturi goală" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Salvează lista loturi" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Încarcă lista loturi" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Redenumeşte zona" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Adaugă zona previzualizată selectată la lista cu loturi" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Şterge zona selectată din lista cu loturi" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Activează modul automat" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Nu am putut determina directorul acasă" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Nu am putut schimba directorul de lucru la" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Nume fişier prea lung" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Nu am putut crea fişierul temporar" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Nu am putut seta valoarea opţiunii" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Nu am putut obţine valoarea opţiunii" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Eroare la obţinerea numărului de opţiuni" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Nu pot deschide dispozitivul" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "Nu există dispozitive disponibile" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Eroare la citire:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Eroare la salvare:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Nu pot manipula adâncimea" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "Gimp nu poate manipula adâncimea de %d biţi/culoare" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Format de salvare necunoscut" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Nu am putut deschide" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Nu am putut crea fişierul în siguranţă (poate există o legătură):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Nu am putut deschide un pipe pentru a executa comanda de tipărire" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Nu am putut executa comanda de tipărire:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Pornire scanner eşuată:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Preluare parametri eşuată:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Nu am primit formatul de ieşire" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "Nu am memorie suficientă." + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "" +"Backend-ul trimite mai multe date de imagine decât este definit în parametri" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "libtiff raportează o eroare" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "libpng raportează o eroare" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG raportează o eroare" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "Tip necunoscut" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "tip constrângere necunoscut" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Opţiunea are nume vid (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Aceasta este o eroare de back-end. Informaţi autorul back-end-ului!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Nu am putut lansa vizualizatorul de documentaţie:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Nu am putut lansa vizualizatorul de faxuri:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Nu am putut executa comanda de fax:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Nu am putut lansa vizualizatorul de imagini din poştă:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Nu am putut executa comanda de OCR:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "format cadru eronat" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "nu pot seta rezoluţia" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Fişierul cu parole (%s) nu este sigur, folosesc drepturile x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "eroare" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Nepotrivire număr major de versiune Sane" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Versiune majoră Xsane=" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "Versiune majoră backend=" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "***PROGRAM ABANDONAT***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Nu am putut aloca memorie pt. imagine" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Pevizualizarea nu poate manipula adâncimea" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Lipseşte susţinerea Gimp" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Nu am putut crea fişierele temporare de previzualizare" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Nu am putut crea nume de fişiere pt. previzualizare" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Nu am putut crea proiecul fax" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Contor nume fişiere prea mic" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "atenţie: opţiunea nu are constrângeri pt. valoare" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Încercaţi să rulaţi XSane ca root, ceea ce este PERICULOS!\n" +"\n" +"Nu trimiteţi rapoarte de erori dacă sunt probleme\n" +"când XSane ruleaza ca root!\n" +"Sunteţi pe cont propriu!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Eroare" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Avertisment" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Informaţii" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Eroare proces copil" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Nu pot crea fişierul:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Eroare la încărcare setări dispozitiv:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "nu este un fişier device-rc!!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Nu pot executa netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Trimitere fax: destinatar nedefinit" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "a fost creat pentru dispozitivul" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "doriţi să fie folosit pentru dispozitivul" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "poate cauza probleme!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Există %d imagini nesalvate" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Fişierul %s exită deja" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Fişierul %s nu există" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Fişierul %s nu este un fişier postscript" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Formatul de ieşire: %s pe %d biţi nu este susţinut" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "imaginea vizualizată nu este salvată" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Utilizare:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPŢIUNE]... [DISPOZITIV]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Porneşte interfaţa grafică utilizator pt. a accesa dispozitivele SANE " +"(Scanner Access Now Easy).\n" +"\n" +"Formatul [DISPOZITIV] este numeBackend:fişierDispozitiv (ex.umax:/dev/" +"scanner).\n" +"[OPŢIUNI] poate fi o combinaţie a următoarelor articole:\n" +" -h, --help afişează acest mesaj, apoi terminare\n" +" -v, --version afişează informaţii despre versiune\n" +" -l, --license afişează informaţii despre licenţă\n" +" -d, --device-settings fişier încarcă setările dispozitivului din fişier " +"(fără \".drc\")\n" +"\n" +" -V, --viewer porneşte în modul vizualizare (implicit)\n" +" -s, --save porneşte în modul salvare\n" +" -c, --copy porneşte în modul copiere\n" +" -f, --fax porneşte în modul fax\n" +" -m, --mail porneşte în modul poştă\n" +" -n, --no-mode-selection dezactivează meniul de selectare a modului " +"XSane\n" +" -F, --Fixed marime fixă a ferestrei principale (suprascrie " +"valorile din preferinţe)\n" +" -R, --Resizeable fereastră principală redimensionabilă (suprascrie " +"valorile din preferinţe)\n" +"\n" +" -p, --print-filenames tipăreşte numele fişierelor create de către " +"XSane\n" +" -N, --force-filename name forţează numele de fişiere şi dezactivează " +"selectarea numelor de fişiere de către utilizator\n" +"\n" +" --display X11-display redirecţionează ieşirea către afişajul X11\n" +" --no-xshm nu foloseşte imagini partajate în memorie\n" +" --sync cere o conexiune sincronă cu serverul X11" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Front-end la interfaţa SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Această funcţie oferă accesul la scannere şi alte dispozitive de achiziţie " +"de imagini prin interfaţa SANE (Scanner Access Now Easy)." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/Fişier/Obţine/XSane: Dialog dispozitiv..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/Fişier/Obţine/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Extensii/XSane: Dialog dispozitiv..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Extensii/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Cauze posibile:\n" +"1) Chiar nu este nici un dispozitiv susţinut de SANE\n" +"2) Dispozitivele susţinute sunt ocupate\n" +"3) Drepturile pt. fişierul dispozitiv nu vă permit folosirea lui - încercaţi " +"ca root\n" +"4) Backend-ul nu este incărcat de către SANE (man sane-dll)\n" +"5) Backend-ul nu este configurat corect (man sane-\"backendname\")\n" +"6) Este posibil să aveţi instalate mai multe versiuni de SANE" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "mărime completă" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 Vert." + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 Oriz." + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 Vert." + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 Oriz." + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 Vert." + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 Oriz." + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "Legal Vert." + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "Legal Oriz." + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "Letter Vert." + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "Letter Oriz." + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Toată gama de culori" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Diapozitiv" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Negativ standard" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Negativ AGFA" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Negativ AGFA XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Negativ AGFA HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Negativ FUJI" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Negativ KODAK" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Negativ KONICA" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Negativ KONICA VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Negativ Rossmann HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Proiectul mail nu a fost creat" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Proiectul mail a fost creat" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Proiectul mail a fost modificat" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Eroare de citire proiect mail" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "Conexiune POP3 eşuată" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Logare POP3 eşuată" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "Conexiune SMTP eşuată" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Intrarea De la: inacceptabilă" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Intrarea Destinatar: inacceptabilă" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Datele mailului inacceptabile" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Transmitere mail" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Mailul a fost trimis" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Proiectul fax nu a fost creat" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Proiectul fax a fost creat" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Proiectul fax a fost modificat" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Faxul este trimis în coadă" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Faxul este în coadă" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "Scanner staţionar" + +msgid "frame grabber" +msgstr "Captură cadre" + +msgid "handheld scanner" +msgstr "Scanner manual" + +msgid "still camera" +msgstr "Aparat de fotografiat digital" + +msgid "video camera" +msgstr "Cameră video" + +msgid "virtual device" +msgstr "Dispozitiv virtual" + +msgid "Success" +msgstr "Succes" + +msgid "Operation not supported" +msgstr "Operaţiunea nu este susţinută" + +msgid "Operation was cancelled" +msgstr "Operaţiunea a fost anulată" + +msgid "Device busy" +msgstr "Dispozitiv ocupat" + +msgid "Invalid argument" +msgstr "Argument incorect" + +msgid "End of file reached" +msgstr "Am ajuns la sfârşitul fişierului" + +msgid "Document feeder jammed" +msgstr "Încărcătorul de documente s-a blocat" + +msgid "Document feeder out of documents" +msgstr "Încărcătorul de documente s-a golit" + +msgid "Scanner cover is open" +msgstr "Capacul scannerului este deschis" + +msgid "Error during device I/O" +msgstr "Eroare intrare/ieşire dispozitiv" + +msgid "Out of memory" +msgstr "Nu am memorie suficientă." + +msgid "Access to resource has been denied" +msgstr "Accesul la resursă a fost respins" diff --git a/po/UTF-8/ru.gmo b/po/UTF-8/ru.gmo new file mode 100644 index 0000000..8447c93 Binary files /dev/null and b/po/UTF-8/ru.gmo differ diff --git a/po/UTF-8/ru.po b/po/UTF-8/ru.po new file mode 100644 index 0000000..c5920c0 --- /dev/null +++ b/po/UTF-8/ru.po @@ -0,0 +1,2819 @@ +# Russian translation of XSANE. +# Copyright (C) 2001-2004, The Free Software Foundation +# John Profic , 2001, 2002. +# Vitaly Lipatov , 2002, 2003, 2004. +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-09-04 17:39MSK\n" +"Last-Translator: Vitaly Lipatov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3.1\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "ru" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "копия-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "О программе" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "О локализации" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "авторизация" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "Лицензия GPL" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Соглашение с конечным пользователем" + +#. WINDOW_INFO +msgid "info" +msgstr "информация" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "открыть пакет" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "сохранить пакет" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "пакетное сканирование" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "переименовать область" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "подготовка факса" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "переименование факсимильной страницы" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "добавление PS-файла в факсимильное послание" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "электронное письмо" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "переименовать изображение в письме" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "добавить файл в послание" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "переименование области" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "добавить область предварительной настройки" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "переименовать носитель" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "добавить новый носитель" + +#. WINDOW_SETUP +msgid "setup" +msgstr "установки" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Уровни" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Гамма-коррекция" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Стандартные параметры" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Дополнительные параметры" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "выбор устройства" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Предварительное сканирование" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Просмотр" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Просмотр: выберите название выходного файла" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Выберите название выходного файла для распознанного текста" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "выберите название выходного файла" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "сохранить параметры устройства" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "загрузить параметры устройства" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "изменить рабочий каталог" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "изменить каталог для временных файлов" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Масштабирование изображения" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Убрать растр с изображения" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Размыть изображение" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Записать определение носителя" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Доступные устройства отсутствуют" + +#. MENU_FILE +msgid "File" +msgstr "Файл" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Параметры" + +#. MENU_VIEW +msgid "View" +msgstr "Вид" + +#. MENU_WINDOW +msgid "Window" +msgstr "Окна" + +#. MENU_HELP +msgid "Help" +msgstr "Помощь" + +#. MENU_EDIT +msgid "Edit" +msgstr "Редактировать" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Фильтры" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Изображение" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "О программе XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Информация" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Выйти" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Сохранить изображение" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "Распознать и сохранить как текст" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Сделать копию" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Изменить размер" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Закрыть" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Отменить" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Убрать растр" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Размыть" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Повернуть на 90 градусов" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Повернуть на 180 градусов" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Повернуть на 270 градусов" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Отразить по горизонтали |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Отразить по вертикали -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Исходное изображение" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Обработанное изображение" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Сканировать" + +#. BUTTON_OK +msgid "Ok" +msgstr "Да" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Принять" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Отказаться" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Применить" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Отменить" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Уменьшить" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Продолжить (опасно)" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Обзор" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Перезаписать" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Сканировать отобранное" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Сканировать выбранную область" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Удалить страницу" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Показать страницу" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Переименовать страницу" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Удалить изображение" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Показать изображение" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Редактировать изображение" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Переименовать изображение" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Вставить файл" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Создать послание" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Отправить послание" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Удалить послание" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Добавить описание принтера" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Удалить описание принтера" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Предварительное сканирование" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Отменить предварительное сканирование" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Отказаться от изображения" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Отказаться от всех изображений" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Не закрывать" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Зафиксировать масштаб" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Режим хорошего качества" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "Отправлять текст как HTML" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Сохранять параметры устройства при выходе" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Предупреждать при перезаписи" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Пропускать существующие" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Сохранять 16-битные pnm в формате ASCII" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Уменьшать цветность 16-битных изображений до 8 бит" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Не позволять менять размер главного окна" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Отключить гамма-коррекцию в предварительном сканировании для GIMP" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Использовать собственную цветовую таблицу" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Автоподбор гаммы" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Автовыбор области сканирования" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Автокоррекция цвета" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "Использовать авторизацию POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Использовать канал GUI" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "поиск устройств" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Доступные устройства:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Общие параметры" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Режим" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Шаг" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Формат" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Устройство и драйвер:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Поставщик:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Модель:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Тип:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Устройство:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Используемый драйвер:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Версия Sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Последние значения:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Коррекция гаммы осуществляется:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "сканер" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "программно (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "нет" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Исходная глубина гаммы:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Результирующая глубина гаммы:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Глубина цвета сканера:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Форматы файлов XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8-битные выходные форматы:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16-битные выходные форматы:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"GIMP не поддерживает глубину цвета в 16 бит.\n" +"Уменьшить глубину до 8 бит на цвет?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Данный формат файла не поддерживает глубину цвета в 16 бит.\n" +"Уменьшить глубину до 8 бит на цвет?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Требуется авторизация для" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Пароль при передаче шифруется" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Пароль передаётся открытым текстом" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Имя пользователя :" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Пароль :" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Неверные параметры." + +#. TEXT_VERSION +msgid "version:" +msgstr "версии:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "пакет" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "с поддержкой GIMP" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "поддержка GIMP отсутствует" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "собрано с GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "собрано с GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "неизвестно" + +# +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane распространяется в соответствиями с условиями версии 2\n" +"либо по вашему выбору более поздней версии\n" +"Стандартной Общественной Лицензии GNU,\n" +"опубликованной Free Software Foundation.\n" +"\n" +"Мы распространяем данную программу в надежде на то, что она будет вам\n" +"полезной, однако НЕ ПРЕДОСТАВЛЯЕМ НА НЕЁ НИКАКИХ ГАРАНТИЙ, в том числе\n" +"ГАРАНТИИ ТОВАРНОГО СОСТОЯНИЯ ПРИ ПРОДАЖЕ\n" +"и ПРИГОДНОСТИ ДЛЯ ИСПОЛЬЗОВАНИЯ В КОНКРЕТНЫХ ЦЕЛЯХ.\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane распространяется в соответствиями с условиями версии 2\n" +"либо по вашему выбору более поздней версии\n" +"Стандартной Общественной Лицензии GNU,\n" +"опубликованной Free Software Foundation.\n" +"\n" +"Мы распространяем данную программу в надежде на то, что она будет вам\n" +"полезной, однако НЕ ПРЕДОСТАВЛЯЕМ НА НЕЁ НИКАКИХ ГАРАНТИЙ, в том числе\n" +"ГАРАНТИИ ТОВАРНОГО СОСТОЯНИЯ ПРИ ПРОДАЖЕ\n" +"и ПРИГОДНОСТИ ДЛЯ ИСПОЛЬЗОВАНИЯ В КОНКРЕТНЫХ ЦЕЛЯХ.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "E-mail:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Домашняя страница проекта:" + +#. TEXT_FILE +msgid "File:" +msgstr "Файл:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Перевод:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"русский перевод:\n" +"John Profic \n" +"\n" +"дополнения и обновления:\n" +"Виталий Липатов \n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0Кбайт" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Отсканировано страниц: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Текст письма:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Изображения:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Состояние послания:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Формат изображения при отправке по почте:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Название носителя: " + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Размер %d на %d точек, %d бит/цвет, %d цветов, %1.0f dpi x %1.0f dpi, %1.1f %" +"s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Радиус убирания растра:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Радиус размытия:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(без названия)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Название области:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Режим сканирования:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Верхняя левая координата:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Размер:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Разрешение:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Глубина цвета:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "как выбрано" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Текущий принтер:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Название:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Команда:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Параметр для количества копий:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Разрешение для штрихового изображения (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Разрешение для чёрно-белого изображения (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Разрешение для цветного изображения (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Ширина" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Высота" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Отступ слева" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Отступ снизу" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Значение гаммы для принтера:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Значение красного компонента гаммы для принтера:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Значение зелёного компонента гаммы для принтера:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Значение синего компонента гаммы для принтера:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Временный каталог" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Права на файл с изображением" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Права на каталог" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Качество изображения JPEG" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Степень сжатия изображения PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Длина счётчика файлов" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Сжатие для 16-битного изображения TIFF" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Сжатие для 8-битного изображения TIFF" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Сжатия для штрихового (1-битного) изображения TIFF" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Показать диапазон как:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Увеличение при предварительном сканировании:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Значение гаммы для предварительного сканирования:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Значение красного компонента гаммы для предварительного сканирования:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Значение зелёного компонента гаммы для предварительного сканирования:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Значение синего компонента гаммы для предварительного сканирования:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Параметры управления порогом:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Режим автоподатчика бумаги:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Размер пипетки для предварительного сканирования" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Минимальный порог:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Максимальный порог:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Множитель для порога:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Смещение для порога:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Название режима чёрно-белого сканирования:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Просмотрщик документации (HTML)" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Параметр для приёма:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Параметр для PostScript-файла:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Параметр, указывающий нормальный режим:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Параметр, указывающий хороший режим:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Установить умолчания для:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Программа просмотра PostScript-файлов:" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "Сервер SMTP:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "Порт SMTP:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Отправитель:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Отвечать на:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "Сервер POP3:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "Порт POP3:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "Пользователь POP3:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "Пароль POP3:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Программа просмотра файлов PNG:" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Команда распознавания текста:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Параметр для входного файла:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Параметр для выходного файла:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Использовать канал GUI:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Параметр для выхода-fd GUI:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Ключевое слово степени выполнения:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "владелец" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "группа" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "прочие" + +msgid "new media" +msgstr "новый носитель" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Файл" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Изображение" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Копирование" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Факс" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Письмо" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "Распознавание текста" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Вид" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Прочее" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Почта" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Показывать всплывающие подсказки" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Показывать область предварительного просмотра" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Показывать уровни" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Показывать гамму" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Показывать окно пакетного сканирования" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Показывать стандартные параметры" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Показывать дополнительные параметры" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Настройки" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Единицы измерения" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "миллиметры" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "сантиметры" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "дюймы" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Режим обновления" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "постоянное" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "периодическое" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "отложенное" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Показать список разрешений сканирования" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Повернуть PostScript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Изменять определения носителей" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Сохранить параметры устройства" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Загрузить параметры устройства" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Изменить текущий каталог" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Показать EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Показать лицензию GPL" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Документация по XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Документация по драйверам" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Доступные драйверы" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Подсказки по сканированию" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Проблемы?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "не активно" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "без сжатия" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "сжатие CCITT 1D Huffman" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "сжатие CCITT Group 3 Fax" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "сжатие CCITT Group 4 Fax" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "сжатие JPEG DCT" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "упаковывать биты" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Слайдер (Изменение размера)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Слайдер (полоса прокрутки)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Кнопка поворота" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Изменения размера и кнопка поворота" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Полоса прокрутки и кнопка поворота" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Окно стандартных параметров (штриховое)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Главное окно XSane (штриховое)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Главное окно XSane (чёрно-белое -> штриховое)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(нет)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "по расширению" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Добавить выделенную область к пакету" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Добавить определение носителя" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Переименовать пункт" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Удалить пункт" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "На позицию вверх" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "На позицию вниз" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Сканирование" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Приём данных %s" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Передача изображения" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Поворот изображения" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Отражение изображения" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Сжатие изображения" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Преобразование изображения" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Сохранение изображения" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Создание копии изображения" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Изменение размера изображения" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Убирание растра с изображения" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Размытие изображения" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Распознавание текста" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Начать сканирование " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Отменить сканирование " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Начать предварительное сканирование " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Отменить предварительное сканирование " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"Сохранить-, просмотреть-, скопировать-, отправить по " +"факсу- или отправить письмо-" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Выберите тип носителя.\n" +"Для переименования, переупорядочивания или удаления строки используйте " +"контекстное меню (по правой кнопке мыши).\n" +"Для создания носителя включите параметр Изменять определения носителей в " +"меню Параметры." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "" +"Значение, на которое изменяется счётчик в названии файла после сканирования" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Выбрать название файла изображения" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Название файла для сохранения изображения" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Формат изображения, необходимое расширение автоматически добавляется к " +"названию файла" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Название факсимильного послания" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Название факсимильной страницы" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Номер телефона или адрес для отправки" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Название почтового сообщения" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Название файла для отправляемого изображения" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Адрес электронной почты" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Тема письма" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Выберите формат файла для вложения изображения" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Новое название для области" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Введите название для новой области предварительной настройки" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Введите новое название для определения носителя" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Введите название для нового определения носителя" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Выбор описания принтера " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Выбор разрешения сканирования" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Разрешения сканирования по оси X" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Разрешение сканирование по оси Y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Коэффициент увеличения" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Коэффициент увеличения по оси X" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Коэффициент увеличения по оси Y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Количество копий" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Негатив: инвертировать цвета для сканирования негативов " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Значение гаммы" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Значение гаммы для красного компонента" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Значение гаммы для зелёного компонента" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Значение гаммы для синего компонента" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Яркость" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Яркость для красного компонента" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Яркость для зелёного компонента" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Яркость для синего компонента" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Контрастность" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Контрастность для красного компонента" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Контрастность для зелёного компонента" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Контрастность для синего компонента" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Управление порогом" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGB по умолчанию: красный, зелёный и синий компонент = значение по " +"умолчанию:\n" +"гамма = 1.0\n" +"яркость = 0\n" +"контрастность = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Автоподбор значений гаммы, яркости и контрастности " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Параметры по умолчанию :\n" +"гамма = 1.0\n" +"яркость = 0\n" +"контрастность = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Восстановить настройки выразительности " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Запомнить настройки выразительности изображения " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Показать уровни для интенсивности/степени серости " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Показать уровни для красного компонента " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Показать уровни для зелёного компонента " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Показать уровни для синего компонента " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Режим отображения: показать уровни с линиями вместо точек " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Показать логарифм точек " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Описание для редактирования" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Название для данного описания" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Команда, выполняемая в режиме копирования (например, \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Параметр для указания количества копий" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Разрешение, с которым штриховые изображения печатаются и сохраняются в " +"PostScript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Разрешение, с которым чёрно-белые изображения печатаются и сохраняются в " +"PostScript" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Разрешение, с которым цветные изображения печатаются и сохраняются в " +"PostScript" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Ширина печатаемой области" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Высота печатаемой области" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Отступ слева от угла бумаги до печатаемой области" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Отступ снизу от угла бумаги до печатаемой области" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Дополнительное значение гаммы при копировании" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Дополнительное значение красного компонента гаммы при копировании" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Дополнительное значение зелёного компонента гаммы при копировании" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Дополнительное значение синего компонента гаммы при копировании" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Путь к каталогу для временных файлов" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Указать временный каталог" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "Качество в процентах для формата JPEG или TIFF с JPEG-сжатием" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Сжатие для формата PNG" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Минимальная длина счётчика в названии файла" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Тип сжатия для формата TIFF при глубине цвета 16 бит" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Тип сжатия для формата TIFF при глубине цвета 8 бит" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Тип сжатия для формата TIFF при сохранении штриховых изображений" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Сохранять параметры устройства в файле по умолчанию при выходе из XSane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Предупреждать перед перезаписыванием существующего файла" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"При использовании счётчика в названии файла уже использованные номера " +"пропускаются" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"При сохранении 16-битных изображений в формате pnm используйте текстовый " +"(ascii) формат вместо двоичного. Двоичный формат появился недавно и не " +"всеми программами поддерживается. Текстовый формат поддерживается многими " +"программами, но занимает значительно больше места на диске!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "При сканировании с глубиной цвета 16 бит уменьшать цветность до 8 бит" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Ширина бумаги для файла PostScript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Высота бумаги для файла PostScript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Отступ слева от угла бумаги до области печати для файлов PostScript" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Отступ снизу от угла бумаги до области печати для файлов PostScript" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "Размеры главного окна фиксированы или изменяемы" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "" +"Отключать гамма-коррекцию для предварительного сканирования привызове XSane " +"как модуля GIMP" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Использовать собственную цветовую палитру для предварительного сканирования " +"при цветности монитора в 8 bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Выберите, как будет отображаться диапазон" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "" +"Значение, на которое умножается высчитанное разрешение для предварительного " +"сканирования" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Значение гаммы для изображения предварительного сканирования" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Значение красного компонента гаммы для изображения предварительного " +"сканирования" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Значение зелёного компонента гаммы для изображения предварительного " +"сканирования" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "" +"Значение синего компонента гаммы для изображения предварительного " +"сканирования" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Способ, которым XSane будет использовать параметры порога" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Выберите режим сканирования для чёрно-белых изображений. Этот режим будет " +"использоваться для предварительного просмотра штриховых изображений, если " +"преобразование из чёрно-белого изображения в штриховое включено" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Минимальный порог для сканера в %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Максимальный порог для сканера в %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "Множитель для уравнивания порогов XSane и сканера" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "Смещение для уравнивания порогов XSane и сканера" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Источник для автоматического податчика бумаги. Если источник выбран, XSane " +"будет сканировать до конца пачки бумаги или ошибки." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"Размеры квадрата, который используется для определения среднего значения " +"цвета при его получении с помощью пипетки" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Команда для отображения файлов справки, должна уметь отображать файлы HTML" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Изменять значение гаммы при нажатии кнопки автоподбора значений" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "" +"Выделять область сканирования после завершения предварительного сканирования" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "" +"Выполнять цветовую коррекцию после завершения предварительного сканирования" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Команда для выполнения в режиме факса" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Параметр для определения получателя" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Параметр, которым указывается входной файл PostScript" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Параметр для указания нормального режима (низкое разрешение)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Параметр для указания хорошего режима (высокое разрешение)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Команда для просмотра факсимильного послания" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "" +"Отсылать факс с высоким вертикальным разрешением (196 lpi вместо 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "IP-адрес или название домена SMTP-сервера" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "Порт для SMTP-сервера" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "Ваш электронный адрес" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "Адрес для ответа" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Авторизоваться на POP3-сервере перед отправкой письма" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "IP-адрес или название домена POP3-сервера" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "Порт для POP3-сервера" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "Имя пользователя для POP3-сервера" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "Пароль для POP3-сервера" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Введите команду для просмотра почтовых вложений" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "" +"Письмо отправлено в виде HTML-документа, размещение изображения: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Введите команду распознавания текста" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Параметр, указывающий входной файл программе распознавания текста" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Параметр, указывающий выходной файл программе распознавания текста" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" +"Определяет, поддерживает ли программа распознавания текста GUI-канал степени " +"выполнения" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Укажите параметр для программы распознавания текста, определяющий выходной " +"файловый дескриптор в режиме GUI." + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"Определите ключевое слово, которое будет использоваться для отметки " +"информации о ходе выполнения." + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "чтение" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "запись" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "выполнение" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Добавить выделение к пакету" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Выбрать белую точку" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Выбрать серую точку" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Выбрать чёрную точку" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Использовать полную область сканирования" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Уменьшить на 20%" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Увеличить на 20% в месте нажатия" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Увеличить до выбранной области" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Отменить последнее изменение масштаба" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Выбрать всю видимую область для сканирования" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Автоматически выбрать область сканирования" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Автоматически расширить область сканирования" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Удалить кэш изображений предварительного просмотра" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Область предварительных настроек:\n" +"Для добавление новой области или изменения существующей используйте " +"контекстное меню (через правую кнопку мыши)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Поворот предварительного и окончательного сканирования" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Отношение сторон выделения" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Укажите расположения печатаемого изображения" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Распознавание текстов" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Отменить последнее изменение" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Сделать копию изображения" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Повернуть изображение на 90 градусов" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Повернуть изображение на 180 градусов" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Повернуть изображение на 270 градусов" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Отобразить по горизонтали" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Отобразить по вертикали" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Увеличить изображение" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Сохранить тип носителя" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Удалить тип носителя" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Коэффициент масштабирования" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Увеличение по оси X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Увеличение по оси Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Изменить размер изображения до ширины [в точках]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Изменить размер изображения до высоты [в точках]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Очистить пакет" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Сохранить пакет" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Открыть пакет" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Переименовать область" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Добавить выделение к пакету" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Удалить выделение из пакета" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Включает автоматический режим" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Невозможно определить домашний каталог:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Невозможно изменить каталог на" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Название файла слишком длинное" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Невозможно создать временный файл" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Невозможно установить значение параметра" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Невозможно получить значение параметра" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Ошибка при подсчёте количества параметров" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Невозможно открыть устройство" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "нет доступных устройств" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Ошибка во время чтения:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Ошибка во время сохранения:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Невозможно определить глубину цвета" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP не поддерживает глубину цвета в %d бит на цвет" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Неизвестный формат файла для записи" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Невозможно открыть" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Невозможно создать секретный файл (возможно ссылка не существует):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Невозможно открыть канал для выполнения команды печати" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Невозможно вызвать команду печати при копирования:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Невозможно инициализировать сканирование:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Невозможно получить параметры:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Не задан формат файла" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "нехватка памяти" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Драйвер послал больше данных, чем передал в параметрах" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF сообщает об ошибке" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG сообщает об ошибке" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG сообщает об ошибке" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "неизвестный тип" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "неизвестный принуждённый тип" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Параметр имеет пустое название (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Это ошибка движка (драйвера) - пожалуйста, проинформируйте его автора!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Невозможно вызвать программу просмотра документации:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Невозможно вызвать программу просмотра факсимильных посланий:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Невозможно выполнить команду отправки факсимильного послания" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Невозможно вызвать программу просмотра почтовых изображений" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Невозможно выполнить команду распознавания текста:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "неправильный формат файла" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "невозможно установить разрешение" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Файл паролей (%s) не безопасный, права доступа x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "ошибка" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Недопустимая версия sane!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Версия XSane =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "Версия драйвера =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** ПРОГРАММА ПРЕРВАНА ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Невозможно выделить память для изображения:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Окно предварительного сканирования не поддерживает цветность" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Поддержка программы GIMP отсутствует" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Невозможно создать временный файл для предварительного сканирования" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "" +"Невозможно сгенерировать название файла для предварительного сканирования" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Невозможно создать проект факсимильного послания" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Счётчик названий файлов меньше нуля" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "предупреждение: параметр не содержит значения" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Вы запускаете XSane как ROOT, что ОЧЕНЬ ОПАСНО!\n" +"\n" +"Не присылайте сообщения об ошибках когда вы\n" +"испытываете некоторые проблемы при работе с XSane из-под ROOT:\n" +"ВЫ СО СВОИМИ ПРОБЛЕМАМИ НАЕДИНЕ!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Ошибка" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Предупреждение" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Информация" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Ошибка дочернего процесса" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Невозможно создать файл:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Невозможно загрузить параметры устройства:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "не является допустимым файлом конфигурации устройства!!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Невозможно запустить netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Отправка факса: не задан получатель" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "был создан для устройства" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "вы хотите использовать его для устройства" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "это может привести к проблемам!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Имеется %d несохранённых изображений" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Файл %s уже существует" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Файл %s не существует" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Файл %s не является файлом PostScript" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Неподдерживаемая глубина цвета в %d для формата: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "Просматриваемое изображение не сохранено" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Использование:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[ПАРАМЕТРЫ]... [УСТРОЙСТВО]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Запускает графический интерфейс для работы с устройствами SANE (Scanner " +"Access Now Easy).\n" +"\n" +"Формат [УСТРОЙСТВО]: драйвер:файл_устройства (например, umax:/dev/scanner).\n" +"[ПАРАМЕТРЫ]... любая комбинация из следующих:\n" +" -h, --help вывести это сообщение и выйти\n" +" -v, --version вывести информации о версии\n" +" -l, --license вывести информации о лицензии\n" +"\n" +" -d, --device-settings file загрузить параметры устройства из файла (без " +"\".drc\")\n" +"\n" +" -V, --viewer запустить в режиме просмотра (по умолчанию)\n" +" -s, --save запустить в режиме сканирования\n" +" -c, --copy запустить в режиме копирования\n" +" -f, --fax запустить в режиме факса\n" +" -m, --mail запустить в режиме почты\n" +" -n, --no-mode-selection отключить меню выбора режима XSane\n" +"\n" +" -F, --Fixed не позволять менять размер главного окна " +"(перезаписывает настройки)\n" +" -R, --Resizeable позволяет изменение размера главного окна и " +"прокручивание в нём (перезаписывает настройки)\n" +"\n" +" -p, --print-filenames выводить названия изображений, созданных " +"XSane\n" +" -N, --force-filename name назначить названия файла автоматически и " +"отключить возможность его выбора пользователем\n" +"\n" +" --display X11-display перенаправить вывод на дисплей X11\n" +" --no-xshm не использовать изображений в разделяемой " +"памяти\n" +" --sync запросить синхронное соединение с X11-сервером" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Графическая оболочка к интерфейсу SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Данная функция предоставляет доступ к сканерам и другим подобным устройствам " +"через интерфейс SANE (Scanner Acess Now Easy)." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Выбор устройства..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/File/Acquire/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Выбор устройства..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Возможные причины:\n" +"1) Действительно нет устройств, поддерживаемых SANE\n" +"2) Поддерживаемые устройства заняты\n" +"3) Права доступа к устройству не дают возможности использовать его -- " +"попробуйте запустить xsane с правами root\n" +"4) Драйвер не загружен в SANE (см. man sane-dll)\n" +"5) Драйвер настроен неправильно (см. man sane-\"драйвер\")\n" +"6) Возможно, установлена более чем одна версия SANE" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "полный размер" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "A3 портрет" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "A3 альбом" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "A4 портрет" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "A4 альбом" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "A5 портрет" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "A5 альбом" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13см x 18см" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18см x 13см" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10см x 15см" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15см x 10см" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9см x 13см" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13см x 9см" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "Legal портрет" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "Legal альбом" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "Letter портрет" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "Letter альбом" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Полная палитра цветов" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Слайд" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Стандартный негатив" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Негатив Agfa" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Негатив Agfa XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Негатив Agfa HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Негатив Fuji" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Негатив Kodak" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Негатив Konica" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Негатив Konica VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Негатив Rossmann HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Письмо не создано" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Электронное письмо создано" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Электронное письмо изменено" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Ошибка при чтении почтового проекта" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "Не удалось соединиться через POP3" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Неверное имя пользователя для POP3" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "Не удалось соединиться по SMTP" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Информация об отправителе не принята" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Адрес получателя не принят" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Данные в письме не приняты" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Отправляется письмо" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Письмо было отправлено" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Факсимильное послание не создано" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Создано факсимильное послание" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Факсимильное послание изменено" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Помещаем факс в очередь на отправку" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Факс размещён в очереди" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "планшетный сканер" + +msgid "frame grabber" +msgstr "фотосканер" + +msgid "handheld scanner" +msgstr "ручной сканер" + +msgid "still camera" +msgstr "цифровая камера" + +msgid "video camera" +msgstr "видеокамера" + +msgid "virtual device" +msgstr "вирт. устройство" + +msgid "Success" +msgstr "Успешно" + +msgid "Operation not supported" +msgstr "Операция не поддерживается" + +msgid "Operation was cancelled" +msgstr "Операция была прервана" + +msgid "Device busy" +msgstr "Устройство занято" + +msgid "Invalid argument" +msgstr "Неверный аргумент" + +msgid "End of file reached" +msgstr "Достигнут конец файла" + +msgid "Document feeder jammed" +msgstr "Автоподатчик документов зажевал бумагу" + +msgid "Document feeder out of documents" +msgstr "Автоподатчик документов не может найти бумагу" + +msgid "Scanner cover is open" +msgstr "Крышка сканера открыта" + +msgid "Error during device I/O" +msgstr "Ошибка во время ввода-вывода с устройством" + +msgid "Out of memory" +msgstr "Не хватает памяти" + +msgid "Access to resource has been denied" +msgstr "Доступ к ресурсу запрещён" diff --git a/po/UTF-8/sk.gmo b/po/UTF-8/sk.gmo new file mode 100644 index 0000000..156e04b Binary files /dev/null and b/po/UTF-8/sk.gmo differ diff --git a/po/UTF-8/sk.po b/po/UTF-8/sk.po new file mode 100644 index 0000000..3daae8b --- /dev/null +++ b/po/UTF-8/sk.po @@ -0,0 +1,2831 @@ +# Slovak translation of sane +# Copyright (C) 2003, 2004 Free Software Foundation, Inc. +# Zdenko Podobný , 2001, 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.95\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 09.08.2004 21:26\n" +"Last-Translator: Zdenko Podobný \n" +"Language-Team: Slovak \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3.1\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "sk" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "klon" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "O programe" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "O preklade" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "autorizácia" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL -licencia" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Licenčná zmluva s koncovým používateľom" + +#. WINDOW_INFO +msgid "info" +msgstr "informácie" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "načítať dávkový zoznam" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "uložiť dávkový zoznam" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "dávkové skenovanie" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "premenovať dávkovú oblasť" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "faxový projekt" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "premenovať faxovú stránku" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "vložiť ps-súbor do faxu" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "poštový projekt" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "premenovať obrázok do pošty" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "vložiť obrázok do pošty" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "premenovať predvolaná oblasť" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "pridať predvolenú oblasť" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "premenovať médium" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "pridať nové médium" + +#. WINDOW_SETUP +msgid "setup" +msgstr "nastavenie" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogram" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gama krivka" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Štandardné voľby" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Rozšírené voľby" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "výber zariadenia" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Náhľad" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Prehliadač" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Prehliadač: zvoľte vstupný súbor" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Zvoľte názov pre výstupný súbor s rozoznaným textom" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "zvoľte názov pre výstupný súbor" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "uložiť nastavenia zariadení" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "načítať nastavenia zariadení" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "zmeniť pracovný priečinok" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "vybrať dočasný priečinok" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Zmena veľkosti obrázku" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Vyčistiť obrázok" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Rozmazať obrázok" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Uložiť definíciu média" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Nie je dostupné žiadne zariadenie" + +#. MENU_FILE +msgid "File" +msgstr "Súbor" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Nastavenia" + +#. MENU_VIEW +msgid "View" +msgstr "Zobraziť" + +#. MENU_WINDOW +msgid "Window" +msgstr "Okno" + +#. MENU_HELP +msgid "Help" +msgstr "Pomocník" + +#. MENU_EDIT +msgid "Edit" +msgstr "Upraviť" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtre" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometria" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "O XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Info" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Koniec" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Uložiť obrázok" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - uložiť ako text" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Duplikovať" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Zmena veľkosti" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Zavrieť" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Späť" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Vyčistiť" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Rozostriť" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Rotovať 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rotovať 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rotovať 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Zrkadlo |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Zrkadlo -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Pôvodný obrázok" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Spracovaný obrázok" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Skenovať" + +#. BUTTON_OK +msgid "Ok" +msgstr "OK" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Akceptovať" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Neakceptovať" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Použiť" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Zrušiť" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Redukovať" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Pokračovať na vlastné riziko" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Prechádzať" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Prepísať" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Skenovať dávkový zoznam" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Skenovať zvolenú oblasť" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Zmazať stránku" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Zobraziť stránku" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Premenovať stránku" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Odstrániť obrázok" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Zobraziť obrázok" + +#. BUTTON_IMAGE_EDIT +#, fuzzy +msgid "Edit image" +msgstr "Spracovaný obrázok" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Premenovať obrázka" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Vložiť súbor" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Vytvoriť projekt" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Poslať projekt" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Zmazať projekt" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Pridaj tlačiareň" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Zmazať tlačiareň" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Získať náhľad" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Zrušiť náhľad" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Zahodiť obrázok" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Zahodiť všetky obrázky" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Nezavrieť" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Zviazať zmenu veľkosti" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Jemný režim" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTML pošta" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Uložiť nastavenie zariadenia pri ukončení" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Varovanie o prepísaní" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Preskočiť existujúce názvy súborov" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Uložiť 16 bitové pnm v ascii formáte" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Redukovať 16 bitový obrázok na 8 bitov" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Pevná veľkosť hlavného okna" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Zakázať pre gimp gama náhľad" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Použiť vlastnú farebnú mapu" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Automaticky upraviť gama" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Predvoľba skenovacej plochy" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Automatická korekcia farieb" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "POP3 autentifikácia" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Použiť GUI rúru postupu" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "hľadám zariadenia" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Dostupné zariadenia:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Nastavenia XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "XSane režim" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Krok" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Typ" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Skener a ovládač:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Dodávateľ:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Typ:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Zariadenie:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Načítaný ovládač:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Sane verzia :" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Aktuálne hodnoty:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gama korekcia:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "skener" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "softvérová (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "nič" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Vstupná gama hĺbka:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Výstupná gama hĺbka:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Výstupná hĺbka skeneru:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Výstupné formáty XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8 bitové výstupné formáty:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16 bitové výstupné formáty:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"GIMP nepodporuje hĺbku 16 bitov/farba.\n" +"Prajete si redukciu hĺbky na 8 bitov/farba?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"16 bitov na farbu nie je podporovaných v tomto výstupnom formát.\n" +"Prajete si redukciu hĺbky na 8 bitov/farbu?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Vyžaduje sa autorizácia pre" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Prenos hesla je bezpečný" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Ovládač vyžaduje heslo ako obyčajný text" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Používateľ :" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Heslo :" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Neplatné parametre." + +#. TEXT_VERSION +msgid "version:" +msgstr "verzia:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "balík" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "s podporou GIMPu" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "bez podpory GIMPu" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "kompilované s GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "kompilované s GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "neznámy" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane je šírený v zmysle podmienok GNU General Public License,\n" +"tak ako boli publikované Free Software Foundation, verzia 2 alebo \n" +"(ak Vám to vyhovuje) akejkoľvek neskoršej verzie.\n" +"\n" +"Tento program je rozširovaný v nádeji, že bude užitočný, avšak\n" +"BEZ AKEJKOĽVEK ZÁRUKY. Neposkytujú sa ani odvodené záruky\n" +"PREDAJNOSTI alebo VHODNOSTI PRE URČITÝ ÚČEL.\n" +"Program by mohol dokázať ako defektný, a mali by ste preto prevziať\n" +"všetky nevyhnutné náklady na servis, opravu a nápravu. Aby ste\n" +"mohli používať tento program, musíte si prečítať a akceptovať nasledujúcu\n" +"zmluvu \"Neposkytovaní záruky\".\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane je šírený v zmysle podmienok GNU General Public License,\n" +"tak ako boli publikované Free Software Foundation, verzia 2 alebo \n" +"(ak Vám to vyhovuje) akejkoľvek neskoršej verzie.\n" +"\n" +"Tento program je distribuovaný v nádeji, že bude užitočný, ale\n" +"BEZ AKEJKOĽVEK GARANCIE; okrem implicitnej garancie,\n" +"ktorá sa týka OBCHODOVATEĽNOSTI alebo VHODNOSTI\n" +"PRE KONKRÉTNY ÚČEL.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Email:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Domáca stránka:" + +#. TEXT_FILE +msgid "File:" +msgstr "Súbor:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Preklad:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"pôvodný nepreložený anglický text\n" +"je od Olivera Raucha\n" +"Email: Oliver.Rauch@rauch-domain.de\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Skenované stránky: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Text emailu:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Prílohy:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Stav projektu:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Názov média:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Veľkosť v bodoch: %d × %d, bitov/farbu: %d, farieb: %d, %1.0f dpi × %1.0f " +"dpi, %1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Polomer pre vyčistenie:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Polomer rozostrenia:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(bez názvu)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Názov oblasti:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Mód skenovania:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Vľavo hore:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Veľkosť:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Rozlíšenie:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bitová hĺbka:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "podľa výberu" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Výber tlačiarne:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Názov:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Príkaz:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Voľba počtu kópií:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Rozlíšenie čiarovej grafiky (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Rozlíšenie v odtieňoch šedej (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Farebné rozlíšenie (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Šírka" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Výška" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Posun zľava" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Posun zdola" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Gama hodnota tlačiarne:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Červená gama tlačiarne:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Zelená gama tlačiarne:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Modrá gama tlačiarne:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Dočasný priečinok" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Práva obrázkového súboru" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Práva priečinka" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Kvalita JPEG obrázka" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Kompresia PNG obrázka" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Dĺžka počítadla názvov súborov" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Kompresia 16 bitového TIFF obrázka" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Kompresia 8 bitového TIFF obrázka" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Kompresia čiarovej grafiky TIFF obrázka" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Zobraziť rozsah ako:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Prevzorkovanie náhľadu:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Gama náhľadu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Červená gama náhľadu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Zelená gama náhľadu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Modrá gama náhľadu:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Nastavenie prahu:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Režim automatického podávača dokumentov:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Náhľad rozsahu pipety" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Minimum prahu:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Maximum prahu:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Násobiteľ prahu:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Posun prahu:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Názov skenovacieho režimu v odtieňoch šedi:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Prehliadač pomocníka (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Nastavenie príjemcu:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Nastavenie postscriptu:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Voľby normálneho režimu:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Nastavenie jemného režimu:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Štandardné nastavenia programu pre:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Prehliadač (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTP server:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTP port:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Od:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Odpovedať na:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3 server:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3 port:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "POP3 používateľ:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "POP3 heslo:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Prehliadač (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "OCR príkaz:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Nastavenie vstupného súboru:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Nastavenie výstupného súboru:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Použiť GUI rúru postupu:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Nastavenie GUI výstupu:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Kľúčové slová postupu:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "používateľ" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "skupina" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "všetko" + +msgid "new media" +msgstr "nové médium" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Ukladanie" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Obrázok" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Kopírovanie" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Fax" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Pošta" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Zobrazenie" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Vylepšenie" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Email" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Zobraziť rady" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Zobraziť náhľad" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Zobraziť histogram" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Zobraziť gama krivku" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Zobraziť dávkové skenovanie" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Zobraziť štandardné nastavenia" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Zobraziť rozšírené voľby" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Nastavenie" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Jednotka dĺžky" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milimetre" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimetre" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "palce" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Politika aktualizácie" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "súvislá" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "nesúvislá" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "omeškaná" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Zobraziť zoznam rozlíšení" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Otočenie postscriptu" + +# MENU_ITEM_EDIT_MEDIUM_DEF +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Upraviť definíciu média" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Uložiť nastavenia zariadení" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Načítať nastavenia zariadení" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Zmeniť priečinok" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Zobraziť LZKP (EULA)" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Zobraziť licenciu (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "XSane dokumentácia" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Dokumentácia ovládačov" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Dostupné ovládače" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Tipy pre skenovanie" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problémy?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "neaktívny" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "bez kompresie" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "CCITT 1D Huffmanova kompresia" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Kompresia CCITT Group 3 Fax" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Kompresia CCITT Group 4 Fax" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Kompresia JPEG DCT" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "bitová kompresia" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Behúň (Mierka)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Behúň (Posuvník)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Otočné tlačidlo" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Mierka a otočné tlačidlo" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Posuvník a otočné tlačidlo" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Okno štandardných nastavení (čiarová grafika)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Hlavné okno XSane (čiarová grafika)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Hlavné okno XSane (odtiene šedej->čiarová grafika)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(žiadny)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "podľa prípony" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Pridať výber do zoznamu" + +# MENU_ITEM_EDIT_MEDIUM_DEF +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Pridať definíciu média" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Premenovať položku" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Odstrániť položku" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Posunúť položku hore" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Posunúť položku dole" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Skenovanie" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Prijímanie %s dát" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Prenášanie obrázka" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Otáčanie obrázka" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Zrkadlenie obrázka" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Komprimovanie obrázka" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Konverzia obrázka" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Ukladanie obrázka" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Duplikovanie obrázka" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Menenie veľkosti obrázka" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Čistenie obrázka" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Rozostrovanie obrázka" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Vykonáva sa OCR" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Začať skenovanie " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Zrušiť skenovanie " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Získať náhľad skenovania " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Prerušenie skenovanie náhľadu " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"uložiť, zobraziť-, fotokópia-, fax- alebo " +"pošta-" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Vyberte typ zdrojového média.\n" +"Na premenovanie, preusporiadanie alebo zmazanie záznamu použite kontextovú " +"ponuku (pravé tlačidlo myši).\n" +"Na vytvorenie média povoľte nastavenie upraviť definíciu média v ponuke " +"nastavenia." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Hodnota, ktorá je pridaná k počítadlu názvov súborov po skenovaní" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Vyhľadať názov súboru" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Názov súboru pre skenovaný obrázok" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Typ formátu obrázku; vhodná koncovka je automaticky pridaná k názvu súboru." + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Vložte názov faxového projektu" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Vložte nový názov pre faxovú stránku" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Vložte telefónne číslo alebo adresu príjemcu" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Vložte názov poštového projektu" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Vložte nový názov pre poštový obrázok" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Vložte emailovú adresu" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Vložte predmet správy" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Vložte nový názov pre predvolenú oblasť" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Vložte názov pre novú predvolenú oblasť" + +# DESC_MEDIUM_DEFINITION_NAME +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Vložte nový názov pre definíciu média" + +# DESC_MEDIUM_DEFINITION_NAME +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Vložte názov pre novú definíciu média" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Voľba definície tlačiarne " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Nastavenie rozlíšenia skenovania" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Nastavenie rozlíšenia v smere x" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Nastavenie rozlíšenia v smere y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Nastavenie faktoru zväčšenia" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Nastavenie faktoru zväčšenia pre smer x" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Nastavenie faktoru zväčšenia pre smer y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Nastavenie počtu kópií" + +# DESC_NEGATIVE +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negatív: Invertuje farby pre skenovanie negatívov " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Nastavenie gama hodnoty" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Nastavenie gama hodnoty pre červený komponent" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Nastavenie gama hodnoty pre zelený komponent" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Nastavenie gama hodnoty pre modrý komponent" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Nastavenie jasu" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Nastavenie jasu pre červený komponent" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Nastavenie jasu pre zelený komponent" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Nastavenie jasu pre modrý komponent" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Nastavenie kontrastu" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Nastavenie kontrastu pre červený komponent" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Nastavenie kontrastu pre zelený komponent" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Nastavenie kontrastu pre modrý komponent" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Nastavenie prahu" + +# DESC_RGB_DEFAULT +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGB štandard: Nastavenie štandardných hodnôt pre červenú, zelenú a modrú " +":\n" +" gama = 1.0\n" +" jas = 0\n" +" kontrast = 0" + +# DESC_ENH_AUTO +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Automatické nastavenie gamy, jasu a kontrastu " + +# DESC_ENH_DEFAULT +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Nastavenie štandardných hodnôt spracovávania :\n" +" gama = 1.0\n" +" jas = 0\n" +" kontrast = 0" + +# DESC_ENH_RESTORE +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Obnovenie štandardných hodnôt spracovania " + +# DESC_ENH_STORE +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Uloženie aktívnych hodnôt spracovania do nastavení " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Zobraziť histogram intenzity/šedej " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Zobraziť histogram červeného komponentu " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Zobraziť histogram zeleného komponentu " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Zobraziť histogram modrého komponentu " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Zobrazovací režim: zobrazenie čiarového histogramu namiesto bodového" + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Zobraziť logaritmy počítania bodov " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Vybrať definíciu na zmenu" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Definovať názov pre výber tejto definície" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "" +"Vložte príkaz, ktorý bude vykonaný v kopírovacom režime (napr. \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Vložte nastavenie pre počet kópií" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Rozlíšenie, v ktorom bude čiarová grafika tlačená a uložená do postscriptu" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Rozlíšenie, v ktorom budú obrázky v stupňoch šedi tlačené a uložené do " +"postscriptu" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Rozlíšenie, v ktorom budú farebné obrázky tlačené a uložené do postscriptu" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Šírka tlačiteľnej oblasti" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Výška tlačiteľnej oblasti" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Posun od ľavého okraja papiera po tlačiteľnú oblasť" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Posun od dolného okraja papiera po tlačiteľnú oblasť" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Dodatočná gama hodnota pre fotokópiu" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Dodatočná gama hodnota pre červený komponent fotokópie" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Dodatočná gama hodnota pre zelený komponent fotokópie" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Dodatočná gama hodnota pre modrý komponent fotokópie" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Cesta k dočasnému priečinku" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Vyhľadať pomocný priečinok" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Kvalita v percentách, ak obrázok je uložený ako jpeg alebo tiff s jpeg " +"kompresiou" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Kompresia, ak obrázok je uložený ako png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Minimálna dĺžka počítadla názvov súborov" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Typ kompresie, ak obrázok je uložený ako 16 bitový TIFF" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Typ kompresie, ak obrázok je uložený ako 8 bitový TIFF" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Typ kompresie, ak je obrázok uložený ako TIFF čiarová grafika" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Uložiť nastavenia závislé na zariadení v štandardnom súbore pri ukončení " +"XSane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Varovať pred prepísaním existujúceho súbor" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Ak počítadlo súborov automaticky zväčšovaný, použité čísla sú preskočené" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Keď ukladáte 16 bitový obrázok vo formáte pnm, tak by ste mali použiť ascii " +"formát namiesto binárneho formátu. Binárny formát je novým formátom a nie je " +"podporovaný všetkými programami. Ascii formát je podporovaný oveľa väčším " +"počtom programov, ale vytvára skutočne veľké súbory!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Ak skener pošle farebný 16 bitový obrázok, zapísať obrázok v bitoch/farbu" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Šírka papiera pre postscriptové súbory" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Výška papiera pre postscriptové súbory" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Posun od ľavej hrany papiera po použiteľnú oblasť pre postscriptové súbory" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Posun od dolnej hrany papiera po použiteľnú oblasť pre postscriptové súbory" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Použiťpevnú veľkosť hlavného okna alebo okna s posuvníkmi a premennou " +"veľkosťou" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Zakázať gama náhľad, keď je XSane spustené ako GIMP modul" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "Použiť vlastnú farebnú mapu pre náhľad, ak hĺbka zobrazenia je 8bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Zvoliť ako sa zobrazí rozsah" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Hodnota, ktorou sa násobí rozlíšenie náhľadu" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Nastavenie hodnotu gama korekcie pre náhľad na obrázok" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Nastaviť hodnotu gama korekcie pre červený komponent pre náhľad na obrázok" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Nastaviť hodnotu gama korekcie pre zelený komponent pre náhľad na obrázok" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "" +"Nastaviť hodnotu gama korekcie pre modrý komponent pre náhľad na obrázok" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Definovanie spôsobu ako sa XSane vysporiada s nastavením prahu" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Výber skenovacieho režimu v odtieňoch šedej. Tento skenovací režim sa " +"používa pre náhľad na čiarovú grafiku, keď je povolená transformácia z " +"odtieňov šedej." + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Minimálna úroveň prahu skeneru v %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Maximálna úroveň prahu skeneru v %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "Násobiteľ, ktorý nastaví rovnaký rozsah prahov XSane a skeneru" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "Posun, ktorý nastaví rovnaký rozsah prahu XSane a rozsah prahu skeneru" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Výber zdroja skenovania pre automatický podávač dokumentov. Pokiaľ je táto " +"voľba nastavená, XSane skenuje, pokiaľ nenastane stav \"nie je papier\" " +"alebo chyba" + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"rozmery štvorca, ktorý je použitý k spriemerovaniu farby pre funkciu pipety" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Nastavenie príkazu k zobrazeniu súborov pomocníka - musí to byť html " +"prehliadač!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Zmení gama hodnotu, ak je stlačené tlačidlo automatickej úpravy" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Nastavenie skenovanej oblasti po dokončení náhľadu" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Vykonanie farebnej korekcie po dokončení náhľadu" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Nastavenie príkazu spúšťaného vo faxovom režime" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Nastavenie voľby určujúceho príjemcu" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Nastavenie voľby k zadaniu postscriptových súborov" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Nastavenie voľby k určeniu normálneho režimu (nízke rozlíšenie)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Nastavenie voľby k určeniu jemného režimu (vysoké rozlíšenie)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Nastavenie príkazu k zobrazeniu faxu" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Poslať fax s vysokým zvislým rozlíšením (196 lpi namiesto 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "IP adresa alebo názov domény SMTP servera" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "port na pripojenie sa k SMTP" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "vložte svoju emailovú adresu" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "vložte svoju emailovú adresu pre odpoveď" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Autentifikácia na POP3 servery pre odoslaním emailu" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "IP adresa alebo názov domény POP3 servera" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "port na pripojenie sa k POP3 serveru" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "používateľské meno pre POP3 server" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "heslo pre POP3 server" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "" +"Nastavenie príkazu, ktorý ma byť spustený k zobrazeniu obrázku v emaily" + +#. DESC_HTML_MAIL +#, fuzzy +msgid "Mail is sent in html mode, place image with: " +msgstr "Email je poslaný v html móde, obrázky sú zobrazené priamo" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Nastavenie príkazu na spustenie ocr programu" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Zadajte voľbu pre ocr program na definovanie vstupného súboru" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Zadajte voľbu pre ocr program na definovanie výstupného súboru" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Určenie, či ocr program podporuje gui rúru postupu" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Vložiť nastavenie ocr programu určujúci výstupný popis súboru v GUI režime" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"Určenie Kľúčového slova, ktoré sa použije na označenie informácií o postupe" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "čítanie" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "zápis" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "spustenie" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Pridať výber do zoznamu skenovania" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Výber bieleho bodu" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Výber šedého bodu" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Výber čierneho bodu" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Použiť celú skenovaciu oblasť" + +# DESC_ZOOM_OUT +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Zmenšenie o 20%" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Kliknite na pozíciu pre zväčšenie na" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Priblížiť zvolenú oblasť" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Vrátiť späť poslednú zmenu" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Vybrať viditeľnú oblasť" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Automatický výber skenovanej oblasti" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Automatické zvýšenie skenovanej oblasti" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Zmazať pamäť náhľadu" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Predvolená oblasť:\n" +"Na pridanie novej oblasti alebo úpravy existujúcej oblasti použite " +"kontextovú ponuku (pravé tlačidlo myši)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Otočenie náhľadu a skenovania" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Očakávaný pomer výberu" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Definovanie pozície obrázku pre tlač" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Optické rozpoznávanie textu" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Vrátiť späť poslednú zmenu" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Duplikovanie obrázka" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Otočenie obrázka o 90 stupňov" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Otočenie obrázka o 180 stupňov" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Otočenie obrázka o 270 stupňov" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Zrkadliť obrázok okolo zvislej osy" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Zrkadliť obrázok okolo vodorovnej osy" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Zväčšiť obrázok" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Uložiť médium" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Zmazať aktívne médium" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Faktor zmeny" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Faktor zmeny veľkosti X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Faktor zmeny veľkosti Y" + +# DESC_SCALE_WIDTH +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Zmeniť zväčšenie na šírky [v bodoch]" + +# DESC_SCALE_HEIGHT +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Zmeniť zväčšenie na výšku [v bodoch]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Prázdny dávkový zoznam" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Uložiť dávkový zoznam" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Načítať dávkový zoznam" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Premenovať oblasť" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Pridať zvolený náhľad oblasti do zoznamu" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Zmazať zvolenú oblasť z dávkového zoznamu" + +# DESC_AUTOMATIC +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Zapne automatický režim" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Nepodarilo sa určiť domovský priečinok:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Nepodarilo sa zmeniť pracovný priečinok na" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Názov súboru príliš dlhý" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Nie je možné vytvoriť dočasný súbor" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Zlyhalo nastavenie hodnoty voľby" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Zlyhalo získavanie hodnoty voľby" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Chyba pri získavaní nastavení počítadla" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Zlyhalo otváranie zariadenia" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "žiadne zariadenie nie je dostupné" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Chyba počas čítania:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Chyba počas ukladania:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Nie je možné spracovať hĺbku" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP nemôže spracovať hĺbku %d bitov/farbu" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Neznámy formát súboru pre ukladanie" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Zlyhalo otváranie" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Nie je možné vytvoriť bezpečný súbor (možno, že existuje odkaz):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Zlyhalo otváranie rúry pre spustenie tlačového príkazu" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Zlyhalo spúšťanie tlačového príkazu:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Zlyhalo spustenie skeneru:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Zlyhalo získavanie parametrov:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Bez výstupného formátu" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "nedostatok pamäti" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Ovládač poslal viac dát, než bolo definované v parametroch" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF hlási chybu" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG hlási chybu" + +# ERR_LIBJPEG +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBPNG hlási chybu" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "neznámy typ" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "neznámy požadovaný typ" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Voľba má prázdny názov (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Toto je chyba programu. Informujte prosím autora programu!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Zlyhalo spustenie prehliadača dokumentácie:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Zlyhalo spustenie prehliadača faxov:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Zlyhalo spustenie faxového príkazu:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Zlyhalo spustenie prehliadača obrázkov e emaily:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Zlyhalo spustenie ocr príkazu:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "zlý formát rámca" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "nie je možné nastaviť rozlíšenie" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Súbor s heslami (%s) je nebezpečný, použite práva x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "chyba" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Hlavné číslo verzie Sane nesúhlasí!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Hlavné číslo verzie XSane =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "hlavné číslo verzie ovládača =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAM PRERUŠENÝ ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Zlyhalo získavanie pamäte pre obrázok:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Náhľad nepodporuje bitovú hĺbku" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Chýba podpora pre GIMP" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Nie je možné vytvoriť dočasné súbory pre náhľad" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Nie je možné vytvoriť názvy súborov pre náhľad" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Nie je možné vytvoriť fax projekt" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Podtečenie počítadla názvov súborov " + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "varovanie: voľba nezískala žiadnu hodnotu" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Spúšťate XSane ako ROOT, čo je veľmi nebezpečné!\n" +"\n" +"Neposielajte žiadne chybové hlásenie, ak budete \n" +"mať problémy pri spustení XSane ako root:\n" +"STE V TO SAMI!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Chyba" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Varovanie" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Informácie" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Chyba detského procesu" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Nepodarilo sa vytvoriť súbor:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Chyba počas načítavania nastavení zariadenia:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "nie je súbor-záznamu-zariadenia !!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Zlyhalo spustenie netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Odoslanie faxu: nie je definovaný príjemca" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "bol vytvorený pre príjemcu" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "chcete to použiť pre zariadenie" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "toto môže spôsobiť problémy!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "%d neuložených obrázkov" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Súbor %s už existuje" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Súbor %s neexistuje" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Súbor %s nie je postscriptový súbor" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Nepodporovaný %d-bitový výstupný formát: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "obrázok z prehliadača nie je uložený" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Použitie:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[VOĽBA]... [ZARIADENIE]" + +# TEXT_HELP +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Spustenie grafického rozhrania pre prístup k SANE zariadeniam.\n" +"\n" +"Formát [ZARIADENIA] je názov_ovládača:názov zariadenia (napr. umax:/dev/" +"scanner).\n" +"[VOĽBA]... môže mať kombináciu nasledovných položiek:\n" +" -h, --help zobrazí tohoto pomocníka a skončí\n" +" -v, --version vypíše informácie o verzií\n" +" -l, --license vypíše informáciu o licencií\n" +"\n" +" -d, --device-settings file načíta nastavenia zariadenia zo súboru (bez \"." +"drc\")\n" +"\n" +" -V, --viewer spustí v režime prehliadač (štandardné)\n" +" -s, --save spustí v režime ukladania\n" +" -c, --copy spustí v režime kopírovania\n" +" -f, --fax spustí v režime faxovania\n" +" -m, --mail spustí v režime emailu\n" +" -n, --no-mode-selection zakáže ponuku výberu režimu XSane\n" +"\n" +" -F, --Fixed použije pevnú veľkosť hlavného okna (prepíše\n" +" hodnotu v nastaveniach )\n" +" -R, --Resizeable použije hlavné okno s posuvníkmi\n" +" a premenlivou veľkosťou (prepíše hodnotu\n" +" v nastaveniach )\n" +"\n" +" -p, --print-filenames vypíše názvy súborov vytvorených XSane\n" +" -N, --force-filename name vnúti názov súboru a vypne voľbu názvu súboru\n" +"\n" +" --display X11-display presmeruje výstup na X11-display\n" +" --no-xshm nepoužije zdieľané pamäťové obrazy\n" +" --sync vyžiadanie synchrónneho spojenia s X11 serverom" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Používateľský program k rozhraniu SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Táto funkcia poskytuje prístup k skenerom a ostatným zariadeniam na " +"získavanie obrázkov cez rozhranie SANE (Scanner Access Now Easy - prístup k " +"skeneru je teraz jednoduchý)" + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/Súbor/Získať/XSane: dialóg zariadenia..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/Súbor/Získať/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Extra/XSane/Dialóg zariadenia..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Extra/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Možné dôvody:\n" +"1) Skutočne neexituje zariadenie, ktoré je podporované v SANE\n" +"2) Podporované zariadenie sa používa\n" +"3) Práva zariadenia vám nepovoľujú jeho používanie - vyskúšajte SANE spustiť " +"ako root\n" +"4) Backend nie je načítaný pomocou SANE (man sane-dll)\n" +"5) Backend nie je správne nakonfigurovaný (man sane-\"názovbackendu\")\n" +"6) Pravdepodobne viac ako len jedna verzia SANE je nainštalovaná" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "úplná veľkosť" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 na výšku" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 na šírku" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 na výšku" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 na šírku" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 na výšku" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 na šírku" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal na výšku" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal na šírku" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "letter na výšku" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "letter na šírku" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Celofarebný rozsah" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Diapozitív" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Štandardný negatív" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa negatív" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Agfa negatív XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Agfa negatív HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Fuji negatív" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Kodak negatív" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Konica negatív" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Konica negatív VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Rossmann negatív HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +#, fuzzy +msgid "Mail project not created" +msgstr "čítanie" + +#. TEXT_MAIL_STATUS_CREATED +#, fuzzy +msgid "Mail project created" +msgstr "čítanie" + +#. TEXT_MAIL_STATUS_CHANGED +#, fuzzy +msgid "Mail project changed" +msgstr "Predvoľba skenovacej plochy" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +#, fuzzy +msgid "Error reading mailproject" +msgstr "Vložte názov poštového projektu" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +#, fuzzy +msgid "From entry not accepted" +msgstr "čítanie" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +#, fuzzy +msgid "Receiver entry not accepted" +msgstr "čítanie" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "" + +#. TEXT_FAX_STATUS_NOT_CREATED +#, fuzzy +msgid "Fax project not created" +msgstr "čítanie" + +#. TEXT_FAX_STATUS_CREATED +#, fuzzy +msgid "Fax project created" +msgstr "čítanie" + +#. TEXT_FAX_STATUS_CHANGED +#, fuzzy +msgid "Fax project changed" +msgstr "Predvoľba skenovacej plochy" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "plošný skener" + +msgid "frame grabber" +msgstr "snímač políčok" + +msgid "handheld scanner" +msgstr "ručný skener" + +msgid "still camera" +msgstr "digitálny fotoaparát" + +msgid "video camera" +msgstr "videokamera" + +msgid "virtual device" +msgstr "virtuálne zariadenie" + +msgid "Success" +msgstr "Úspech" + +msgid "Operation not supported" +msgstr "Operácia nie je podporovaná" + +msgid "Operation was cancelled" +msgstr "Operácia bola prerušená" + +msgid "Device busy" +msgstr "Zariadenie je používané" + +msgid "Invalid argument" +msgstr "Neplatné argumenty" + +msgid "End of file reached" +msgstr "Bol dosiahnutý koniec súboru" + +msgid "Document feeder jammed" +msgstr "Pokrčený dokument v podávači" + +msgid "Document feeder out of documents" +msgstr "V podávači nie sú dokument" + +msgid "Scanner cover is open" +msgstr "Veko skeneru je otvorené" + +msgid "Error during device I/O" +msgstr "Chyba počas V/V zariadenia" + +msgid "Out of memory" +msgstr "Mimo pamäte" + +msgid "Access to resource has been denied" +msgstr "Prístup k zdroju bol odmietnutý" diff --git a/po/UTF-8/sl.gmo b/po/UTF-8/sl.gmo new file mode 100644 index 0000000..f398c67 Binary files /dev/null and b/po/UTF-8/sl.gmo differ diff --git a/po/UTF-8/sl.po b/po/UTF-8/sl.po new file mode 100644 index 0000000..6ce99ca --- /dev/null +++ b/po/UTF-8/sl.po @@ -0,0 +1,2888 @@ +# Slovenian translation for XSane. +# Copyright (C) 2001 Free Software Foundation, Inc. +# Ales Kosir , 2001. +# +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.84\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2001-02-25 14:06+01:00\n" +"Last-Translator: Ales Kosir \n" +"Language-Team: Slovenian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "O programu" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "O prevodu" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "avtorizacija" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "" + +#. WINDOW_INFO +msgid "info" +msgstr "podatki" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "paketno skeniranje" + +#. WINDOW_BATCH_RENAME +#, fuzzy +msgid "rename batch area" +msgstr "Zbriši projekt" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "fax" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "preimenuj stran s faksom" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "" + +#. WINDOW_MAIL_PROJECT +#, fuzzy +msgid "mail project" +msgstr "fax" + +#. WINDOW_MAIL_RENAME +#, fuzzy +msgid "rename mail image" +msgstr "preimenuj stran s faksom" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "" + +#. WINDOW_PRESET_AREA_RENAME +#, fuzzy +msgid "rename preset area" +msgstr "preimenuj stran s faksom" + +#. WINDOW_PRESET_AREA_ADD +#, fuzzy +msgid "add preset area" +msgstr "preimenuj stran s faksom" + +#. WINDOW_MEDIUM_RENAME +#, fuzzy +msgid "rename medium" +msgstr "Izbor tiskalnika za prilagoditev" + +#. WINDOW_MEDIUM_ADD +#, fuzzy +msgid "add new medium" +msgstr "Izbor tiskalnika za prilagoditev" + +#. WINDOW_SETUP +msgid "setup" +msgstr "nastavi" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogram" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Krivulja gama" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Običajne izbire" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Napredne izbire" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "izbiranje naprave" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Ogled" + +#. WINDOW_VIEWER +#, fuzzy +msgid "Viewer" +msgstr "Pogled" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +#, fuzzy +msgid "Viewer: select output filename" +msgstr "izbiranje izhodne datoteke" + +#. WINDOW_OCR_OUTPUT_FILENAME +#, fuzzy +msgid "Select output filename for OCR text file" +msgstr "izbiranje izhodne datoteke" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "izbiranje izhodne datoteke" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "shrani nastavitve naprave" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "naloži nastavitve naprave" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "spremeni delovni imenik" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "izberi imenik z začasnimi datotekami" + +#. WINDOW_SCALE +#, fuzzy +msgid "Scale image" +msgstr "Surova slika" + +#. WINDOW_DESPECKLE +#, fuzzy +msgid "Despeckle image" +msgstr "Zbriši projekt" + +#. WINDOW_BLUR +#, fuzzy +msgid "Blur image" +msgstr "Zbriši projekt" + +#. WINDOW_STORE_MEDIUM +#, fuzzy +msgid "Store medium definition" +msgstr "Izbor tiskalnika za prilagoditev" + +#. WINDOW_NO_DEVICES +#, fuzzy +msgid "No devices available" +msgstr "na voljo ni nobene naprave" + +#. MENU_FILE +msgid "File" +msgstr "Datoteka" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Nastavitve" + +#. MENU_VIEW +msgid "View" +msgstr "Pogled" + +#. MENU_WINDOW +msgid "Window" +msgstr "" + +#. MENU_HELP +msgid "Help" +msgstr "Pomoč" + +#. MENU_EDIT +msgid "Edit" +msgstr "" + +#. MENU_FILTERS +#, fuzzy +msgid "Filters" +msgstr "Datoteka" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "O programu XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Podatki" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Izhod" + +#. MENU_ITEM_SAVE_IMAGE +#, fuzzy +msgid "Save image" +msgstr "Surova slika" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "" + +#. MENU_ITEM_CLONE +#, fuzzy +msgid "Clone" +msgstr "Zapri" + +#. MENU_ITEM_SCALE +#, fuzzy +msgid "Scale" +msgstr "Skeniraj" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Zapri" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "" + +#. MENU_ITEM_MIRROR_X +#, fuzzy +msgid "Mirror |" +msgstr "napaka" + +#. MENU_ITEM_MIRROR_Y +#, fuzzy +msgid "Mirror -" +msgstr "napaka" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Surova slika" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Obdelana slika" + +#. BUTTON_SCAN +#, fuzzy +msgid "Scan" +msgstr "Skeniram" + +#. BUTTON_OK +msgid "Ok" +msgstr "V redu" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Uporabi" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Prekliči" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Nadaljevanje je na lastno odgovornost" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Brskaj" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Prepiši" + +#. BUTTON_BATCH_LIST_SCAN +#, fuzzy +msgid "Scan batch list" +msgstr "Namigi za skeniranje" + +#. BUTTON_BATCH_AREA_SCAN +#, fuzzy +msgid "Scan selected area" +msgstr "Približaj izbrano območje" + +#. BUTTON_PAGE_DELETE +#, fuzzy +msgid "Delete page" +msgstr "Zbriši projekt" + +#. BUTTON_PAGE_SHOW +#, fuzzy +msgid "Show page" +msgstr "Prikaži predogled" + +#. BUTTON_PAGE_RENAME +#, fuzzy +msgid "Rename page" +msgstr "preimenuj stran s faksom" + +#. BUTTON_IMAGE_DELETE +#, fuzzy +msgid "Delete image" +msgstr "Zbriši projekt" + +#. BUTTON_IMAGE_SHOW +#, fuzzy +msgid "Show image" +msgstr "Prikaži predogled" + +#. BUTTON_IMAGE_EDIT +#, fuzzy +msgid "Edit image" +msgstr "Obdelana slika" + +#. BUTTON_IMAGE_RENAME +#, fuzzy +msgid "Rename image" +msgstr "preimenuj stran s faksom" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Ustvari projekt" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Pošlji projekt" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Zbriši projekt" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Dodaj tiskalnik" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Odstrani tiskalnik" + +#. BUTTON_PREVIEW_ACQUIRE +#, fuzzy +msgid "Acquire preview" +msgstr "Ustvari predogled" + +#. BUTTON_PREVIEW_CANCEL +#, fuzzy +msgid "Cancel preview" +msgstr "Odstrani predogled" + +#. BUTTON_DISCARD_IMAGE +#, fuzzy +msgid "Discard image" +msgstr "Zbriši projekt" + +#. BUTTON_DISCARD_ALL_IMAGES +#, fuzzy +msgid "Discard all images" +msgstr "Zbriši projekt" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Natančnejše nastavljanje" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Prepiši opozorilo" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Preskoči obstoječe datoteke" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Velikost glavnega okna je popravljena" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Onemogoči popravljanje gama pri predogledu v gimpu" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Uporabi lastno paleto" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Samodejno izboljšaj faktor gama" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +#, fuzzy +msgid "Preselect scanarea" +msgstr "Samodejno določi območje skeniranja" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "iskanje naprave" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Naprave na voljo:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Izbire XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Način delovanja XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Korak" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Vrsta" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Skener in proces v ozadju" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Dobavitelj:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Vrsta:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Naprava:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Naložen proces v ozadju:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Različica programa sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Zadnje vrednosti" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Popravek gama:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "skener" + +#. TEXT_SOFTWARE_XSANE +#, fuzzy +msgid "software (XSane)" +msgstr "programska oprema (xsane)" + +#. TEXT_NONE +msgid "none" +msgstr "brez" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Globina vhoda gama:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Globina izhoda gama:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Globina izhoda skenerja: " + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Izhodni zapisi programa XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8-bitni izhodni zapisi:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16-bitni izhodni zapisi:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Zahtevana potrditev za" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Prenos gesla je varen" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Proces v ozadju zahteva nekodirano geslo" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Uporabnik:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Geslo:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Neveljavni parametri." + +#. TEXT_VERSION +msgid "version:" +msgstr "različica:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "paket" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "s podporo za GIMP" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "brez podpore za GIMP" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "preveden s podporo za GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "preveden s podporo za GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "neznano" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Epošta:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Domača stran:" + +#. TEXT_FILE +msgid "File:" +msgstr "Datoteka:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Prevod:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +#, fuzzy +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"prevod iz angleškega izvirnika\n" +"Aleš Košir\n" +"Epošta: ales.kosir@lugos.si\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Poskenirane strani: " + +#. TEXT_MAIL_TEXT +#, fuzzy +msgid "Email text:" +msgstr "Epošta:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" + +#. TEXT_DESPECKLE_RADIUS +#, fuzzy +msgid "Despeckle radius:" +msgstr "Zbriši projekt" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +#, fuzzy +msgid "(no name)" +msgstr "(nobeno)" + +#. TEXT_BATCH_LIST_AREANAME +#, fuzzy +msgid "Area name:" +msgstr "Uporabnik:" + +#. TEXT_BATCH_LIST_SCANMODE +#, fuzzy +msgid "Scanmode:" +msgstr "Način delovanja XSane" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +#, fuzzy +msgid "Size:" +msgstr "Datoteka:" + +#. TEXT_BATCH_LIST_RESOLUTION +#, fuzzy +msgid "Resolution:" +msgstr "Izbira praga:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +#, fuzzy +msgid "Bit depth:" +msgstr "Globina vhoda gama:" + +#. TEXT_BATCH_LIST_BY_GUI +#, fuzzy +msgid "as selected" +msgstr "Približaj izbrano območje" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Izbrani tiskalnik:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Ime:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Ukaz:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Število kopij:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Ločljivost v črnobelem načinu Lineart (dpi)" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Ločljivost v sivinskem načinu (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Ločljivost v barvnem načinu (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +#, fuzzy +msgid "Width" +msgstr "Širina [mm]:" + +#. TEXT_SETUP_PRINTER_HEIGHT +#, fuzzy +msgid "Height" +msgstr "Višina [mm]:" + +#. TEXT_SETUP_PRINTER_LEFT +#, fuzzy +msgid "Left offset" +msgstr "Levi odmik [mm]:" + +#. TEXT_SETUP_PRINTER_BOTTOM +#, fuzzy +msgid "Bottom offset" +msgstr "Odmik spodaj [mm]:" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Vrednost gama za tiskalnik:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Vrednost gama rdeče barve za tiskalnik:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Vrednost gama zelene barve za tiskalnik:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Vrednost gama modre barve za tiskalnik:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Začasni imenik" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Dovoljenja dostopa do slikovne datoteke" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Dovoljenja dostopa do imenika" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Kakovost slike v zapisu JPEG" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Stopnja stiskanja v zapisu PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "število znakov pri oštevilčenju slik" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Stiskanje v 16-bitnem zapisu TIFF" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Stiskanje v 8-bitnem zapisu TIFF" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Stiskanje v načinu Lineart v zapisu TIFF" + +#. TEXT_SETUP_SHOW_RANGE_MODE +#, fuzzy +msgid "Show range as:" +msgstr "Prikaži predogled" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Prekomerno vzorčenje pri predogledu:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Faktor gama pri preodgledu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Faktor gama za rdečo barvo pri preodgledu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Faktor gama za zeleno barvo pri preodgledu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Faktor gama za modro barvo pri preodgledu:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Izbira praga:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Samodejno podajanje dokumentov:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Velikost območja pri zajemanju barve v predogledu" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Spodnja vrednost praga:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Zgornja vrednost praga:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Pomnoževalnik praga:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Odmik praga:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Ime sivinskega načina skeniranja:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Ime programa za prikaz pomoči v zapisu HTML:" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Izbira naslovnika:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Izbire pri postscriptni datoteki:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Izbire pri običajnem načinu:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Izbire pri podrobnem načinu:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Ogledovalnik za zapis postscript" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "" + +#. TEXT_SETUP_POP3_PASS +#, fuzzy +msgid "POP3 password:" +msgstr "Geslo:" + +#. TEXT_SETUP_MAIL_VIEWER +#, fuzzy +msgid "Viewer (png):" +msgstr "Ogledovalnik za zapis postscript" + +#. TEXT_SETUP_OCR_COMMAND +#, fuzzy +msgid "OCR Command:" +msgstr "Ukaz:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +#, fuzzy +msgid "Inputfile option:" +msgstr "Izbire pri postscriptni datoteki:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +#, fuzzy +msgid "Outputfile option:" +msgstr "Izbire pri postscriptni datoteki:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "" + +#. TEXT_SETUP_OCR_OUTFD_OPT +#, fuzzy +msgid "GUI output-fd option:" +msgstr "Izbire pri postscriptni datoteki:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "uporabnik" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "skupina" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "vsi" + +msgid "new media" +msgstr "" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Kopiraj" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Faks" + +#. NOTEBOOK_MAIL_OPTIONS +#, fuzzy +msgid "Mail" +msgstr "Epošta:" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "" + +#. NOTEBOOK_DISPLAY_OPTIONS +#, fuzzy +msgid "Display" +msgstr "Prikaz izbir" + +#. NOTEBOOK_ENHANCE_OPTIONS +#, fuzzy +msgid "Enhancement" +msgstr "Izbire za izboljševanje" + +#. MENU_ITEM_MAIL +#, fuzzy +msgid "Email" +msgstr "Epošta:" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Prikaži namige" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Prikaži predogled" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Prikaži histogram" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Prikaži krivuljo gama" + +#. MENU_ITEM_SHOW_BATCH_SCAN +#, fuzzy +msgid "Show batch scan" +msgstr "paketno skeniranje" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Prikaži običajne izbire" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Prikaži napredne možnosti" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Nastavi" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Dolžinska enota" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milimetri" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimetri" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "palci" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Način osveževanja" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "zvezen" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "nezvezen" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "zakasnjen" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Prikaži seznam ločljivosti" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Zasuči postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +#, fuzzy +msgid "Edit medium definition" +msgstr "Izbor tiskalnika za prilagoditev" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Shrani nastavitve naprave" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Naloži nastavitve naprave" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Spremeni imenik" + +#. MENU_ITEM_XSANE_EULA +#, fuzzy +msgid "Show EULA" +msgstr "Prikaži" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "" + +#. MENU_ITEM_XSANE_DOC +#, fuzzy +msgid "XSane doc" +msgstr "Navodila za uporabo XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Navodila za uporabo procesa v ozadju" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Procesi v ozadju, ki so na voljo" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Namigi za skeniranje" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Težave?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "nedejaven" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "brez stiskanja" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "Huffmanovo stiskanje CCITT 1D" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Stiskanje za fakse po CCITT Group 3" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Stiskanje za fakse po CCITT Group 4" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Stiskanje JPEG DCT" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "stisni bite" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Okno z običajnimi nastavitvami za način lineart" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Osrednje okno programa XSane v načinu lineart" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Osrednje okno programa XSane v načinu sivinski -> lineart" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(nobeno)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "po končnici" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "" + +#. MENU_ITEM_MEDIUM_ADD +#, fuzzy +msgid "Add medium definition" +msgstr "Izbor tiskalnika za prilagoditev" + +#. MENU_ITEM_RENAME +#, fuzzy +msgid "Rename item" +msgstr "preimenuj stran s faksom" + +#. MENU_ITEM_DELETE +#, fuzzy +msgid "Delete item" +msgstr "Odstrani tiskalnik" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Skeniram" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Prejemam %s podatke" + +#. PROGRESS_TRANSFERING_DATA +#, fuzzy +msgid "Transfering image" +msgstr "Shranjujem sliko" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Sučem sliko" + +#. PROGRESS_MIRRORING_DATA +#, fuzzy +msgid "Mirroring image" +msgstr "Sučem sliko" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Stiskam sliko" + +#. PROGRESS_CONVERTING_DATA +#, fuzzy +msgid "Converting image" +msgstr "Pretvarjam podatke" + +#. PROGRESS_SAVING_DATA +#, fuzzy +msgid "Saving image" +msgstr "Surova slika" + +#. PROGRESS_CLONING_DATA +#, fuzzy +msgid "Cloning image" +msgstr "Sučem sliko" + +#. PROGRESS_SCALING_DATA +#, fuzzy +msgid "Scaling image" +msgstr "Surova slika" + +#. PROGRESS_DESPECKLING_DATA +#, fuzzy +msgid "Despeckling image" +msgstr "Zbriši projekt" + +#. PROGRESS_BLURING_DATA +#, fuzzy +msgid "Bluring image" +msgstr "Zbriši projekt" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "" + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "" + +#. DESC_PREVIEW_ACQUIRE +#, fuzzy +msgid "Acquire preview scan " +msgstr "Ustvari predogled" + +#. DESC_PREVIEW_CANCEL +#, fuzzy +msgid "Cancel preview scan " +msgstr "Odstrani predogled" + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Vrednost, za katero se poveča števec datotek po skeniranju" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Poženi brskalnik za imena datotek s slikami " + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Ime datoteke s sliko" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "Način zapisa; ime datoteke se samodejno dopolni s končnico" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Vnesite ime projekta za faks" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Vnesite novo ime za stran s faksom" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Vnesite telefonsko številko ali naslov prejemnika faksa" + +#. DESC_MAILPROJECT +#, fuzzy +msgid "Enter name of mail project" +msgstr "Vnesite ime projekta za faks" + +#. DESC_MAILIMAGENAME +#, fuzzy +msgid "Enter new name for mail image" +msgstr "Vnesite novo ime za stran s faksom" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "" + +#. DESC_PRESET_AREA_RENAME +#, fuzzy +msgid "Enter new name for preset area" +msgstr "Vnesite novo ime za stran s faksom" + +#. DESC_PRESET_AREA_ADD +#, fuzzy +msgid "Enter name for new preset area" +msgstr "Vnesite novo ime za stran s faksom" + +#. DESC_MEDIUM_RENAME +#, fuzzy +msgid "Enter new name for medium definition" +msgstr "Izbor tiskalnika za prilagoditev" + +#. DESC_MEDIUM_ADD +#, fuzzy +msgid "Enter name for new medium definition" +msgstr "Izbor tiskalnika za prilagoditev" + +#. DESC_PRINTER_SELECT +#, fuzzy +msgid "Select printerdefinition " +msgstr "Izberite tiskalnik" + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Nastavitev ločljivosti skeniranja" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Nastavitev ločljivosti skeniranja v smeri x" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Nastavitev ločljivosti skeniranja v smeri y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Nastavitev stopnje povečave" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Nastavitev stopnje povečave v smeri x" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Nastavitev stopnje povečave v smeri x" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Nastavitev števila kopij" + +#. DESC_NEGATIVE +#, fuzzy +msgid "Negative: Invert colors for scanning negatives " +msgstr "" +"Negativ: invertiranje barv za pripravo negativov\n" +"na primer z zamenjavo bele in črne barve" + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Nastavitev vrednosti gama" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Nastavitev vrednosti gama za rdečo barvo" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Nastavitev vrednosti gama za zeleno barvo" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Nastavitev vrednosti gama za modro barvo" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Nastavitev svetlosti" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Nastavitev svetlosti za rdečo barvo" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Nastavitev svetlosti za zeleno barvo" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Nastavitev svetlosti za modro barvo" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Nastavitev kontrasta" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Nastavitev kontrasta za rdečo barvo" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Nastavitev kontrasta za zeleno barvo" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Nastavitev kontrasta za modro barvo" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Nastavitev praga" + +#. DESC_RGB_DEFAULT +#, fuzzy +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"Privzete vrednosti za RGB: Nastavitev privzetih vrednosti za rdečo, zeleno " +"in modro:\n" +" gama = 1.0\n" +" svetlost = 0\n" +" kontrast = 0" + +#. DESC_ENH_AUTO +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast " +msgstr "" +"Samonastavi vrednost gama, svetlost in kontrast v odvisnosti od izbranega " +"območja" + +#. DESC_ENH_DEFAULT +#, fuzzy +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Ponastavi vrednosti za obdelavo slike:\n" +"gama = 1.0\n" +"svetlost = 0\n" +"kontrastt = 0" + +#. DESC_ENH_RESTORE +#, fuzzy +msgid "Restore enhancement values from preferences " +msgstr "Obnovi vrednosti za obdelavo slike iz shranjenih vrednosti" + +#. DESC_ENH_STORE +#, fuzzy +msgid "Store active enhancement values to preferences " +msgstr "Shrani vrednosti za obdelavo slike" + +#. DESC_HIST_INTENSITY +#, fuzzy +msgid "Show histogram of intensity/gray " +msgstr "Prikaz histograma svetlosti in sivin" + +#. DESC_HIST_RED +#, fuzzy +msgid "Show histogram of red component " +msgstr "Prikaz histograma rdeče barve" + +#. DESC_HIST_GREEN +#, fuzzy +msgid "Show histogram of green component " +msgstr "Prikaz histograma zelene barve" + +#. DESC_HIST_BLUE +#, fuzzy +msgid "Show histogram of blue component " +msgstr "Prikaz histograma modre barve" + +#. DESC_HIST_PIXEL +#, fuzzy +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Prikaz histograma s stolpci namesto pik" + +#. DESC_HIST_LOG +#, fuzzy +msgid "Show logarithm of pixelcount " +msgstr "Prikaz histograma v logaritemskem merilu" + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Izbor tiskalnika za prilagoditev" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Vnos imena tiskalnika za prilagoditev" + +#. DESC_PRINTER_COMMAND +#, fuzzy +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Vnesite ukaz, ki se izvede pri kopiranju (na primer \"lpr -\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Vnesite število kopij" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "Ločljivost, v kateri natisnemo in shranimo slike v načinu lineart" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "Ločljivost, v kateri natisnemo in shranimo slike v načinu grayscale" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "Ločljivost, v kateri natisnemo in shranimo slike v načinu color" + +#. DESC_PRINTER_WIDTH +#, fuzzy +msgid "Width of printable area" +msgstr "Širina območja, ki se natisne [mm]" + +#. DESC_PRINTER_HEIGHT +#, fuzzy +msgid "Height of printable area" +msgstr "Višina območja, ki se natisne [mm]" + +#. DESC_PRINTER_LEFTOFFSET +#, fuzzy +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Odmik območja, ki se natisne, od levega roba papirja [mm]" + +#. DESC_PRINTER_BOTTOMOFFSET +#, fuzzy +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Odmik območja, ki se natisne, od spodnjega roba papirja [mm]" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Dodatna vrednost gama pri fotokopiranju" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Dodatna vrednost gama za rdečo barvo pri fotokopiranju" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Dodatna vrednost gama za zeleno barvo pri fotokopiranju" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Dodatna vrednost gama za modro barvo pri fotokopiranju" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Pot do imenika z začasnimi datotekami" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Pobrskaj za imenikom z začasnimi datotekami" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Kakovost slike v odstotkih, če sliko shranjujemo v zapisih TIFF ali JPEG pri " +"stiskanju z JPEG" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Stopnja stiskanja ob shranjevanju slike v zapisu PNG" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Najkrajša dolžina oznake s števcem datotek" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Vrsta stiskanja pri shranjevanju 16-bitnih slik v zapisu TIFF" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Vrsta stiskanja pri shranjevanju 8-bitnih slik v zapisu TIFF" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Vrsta stiskanja pri shranjevanju slik v načinu lineart v zapisu TIFF" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Opozori pri pisanju prek obstoječe datoteke" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "Pri samodejnem povečevanju števca datotek se zasedene oznake preskoči" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" + +#. DESC_PSFILE_WIDTH +#, fuzzy +msgid "Width of paper for postscript files" +msgstr "Širina papirja pri tiskanju v postscriptnem zapisu [mm]" + +#. DESC_PSFILE_HEIGHT +#, fuzzy +msgid "Height of paper for postscript files" +msgstr "Višina papirja pri tiskanju v postscriptnem zapisu [mm]" + +#. DESC_PSFILE_LEFTOFFSET +#, fuzzy +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Odmik slike od levega roba papirja pri tiskanju v postscriptnem zapisu [mm]" + +#. DESC_PSFILE_BOTTOMOFFSET +#, fuzzy +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Odmik slike od levega roba papirja pri tiskanju v postscriptnem zapisu [mm]" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "Uporabi glavno okno s stalno ali spremenljivo velikostjo." + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +#, fuzzy +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Onemogoči pretvorbo z gamo, če xsane uporabljamo kot vmesnik za gimp" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "Uporabi lastno paleto za ogled slike pri 8-bitni globini" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Faktor prekomernega vzorčenja" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Nastavitev vrednosti gama pri predogledu slike" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "Nastavitev vrednosti gama za rdečo barvo pri predogledu slike" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "Nastavitev vrednosti gama za zeleno barvo pri predogledu slike" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Nastavitev vrednosti gama za modro barvo pri predogledu slike" + +#. DESC_LINEART_MODE +#, fuzzy +msgid "Define the way XSane shall handle the threshold option" +msgstr "Opredelite, kako naj xsane ravna z izbiro praga" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Sivinski način skeniranja. Ta način je v rabi pri preogledu slike,zajete v " +"načinu lineart, če je omogočen pretvorbaiz sivinskega načina v lineart" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Spodnja vrednost praga v %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Zgornja vrednost praga v %" + +#. DESC_PREVIEW_THRESHOLD_MUL +#, fuzzy +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Pomnoževalnik, s katerim poenotimo območje praga v skenerju in programu xsane" + +#. DESC_PREVIEW_THRESHOLD_OFF +#, fuzzy +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "Odmik, s katerim poenotimo območje praga v skenerju in programu xsane" + +#. DESC_ADF_MODE +#, fuzzy +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Skeniranje s samodejnim podajanjem dokumentov. Program xsane bo zajemal " +"slike do obvestila \"out of paper\" ali prve napake." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "Velikost kvadrata, v katerem povprečimo barvo pri zajemu s pipeto." + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "Podajte ukaz, s katerim prikažemo datoteke s pomočjo v zapisu HTML." + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "" +"Prilagodi vrednost gama pri uporabi gumba za samodejno izboljševanje slike" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Podajte ukaz za rabo pri pošiljanju faksa" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Podajte izbiro, s katero določite prejemnika" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Podajte izbiro za določitev spremljajočih datotek v zapisu postscript" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Podajte izbiro za običajni način pri nizki ločljivosti" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Podajte izbiro za običajni način pri visoki ločljivosti" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Podajte ukaz za prikaz faksa" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Odpošlji faks v visoki ločljivosti po osi y (196 lpi namesto 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "" + +#. DESC_MAIL_VIEWER +#, fuzzy +msgid "Enter command to be executed to view a mail image" +msgstr "Podajte ukaz za prikaz faksa" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "beriljiva" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "pisljiva" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "izvedljiva" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Izberite točko v beli barvi" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Izberite točko v sivi barvi" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Izberite točko v črni barvi" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Uporabi celotno območje " + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Približaj za 20 %" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Približaj izbrano območje" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Prekliči zadnje približanje" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Izberi vidno območje" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Samodejno določi območje skeniranja" + +#. DESC_AUTORAISE_SCANAREA +#, fuzzy +msgid "Autoraise scanarea" +msgstr "Samodejno določi območje skeniranja" + +#. DESC_DELETE_IMAGES +#, fuzzy +msgid "Delete preview image cache" +msgstr "Zasuči preodgled in sliko" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Zasuči preodgled in sliko" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "" + +#. DESC_VIEWER_UNDO +#, fuzzy +msgid "Undo last change" +msgstr "Prekliči zadnje približanje" + +#. DESC_VIEWER_CLONE +#, fuzzy +msgid "Clone image" +msgstr "Zbriši projekt" + +#. DESC_ROTATE90 +#, fuzzy +msgid "Rotate image 90 degree" +msgstr "Sučem sliko" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "" + +#. DESC_VIEWER_ZOOM +#, fuzzy +msgid "Zoom image" +msgstr "Prikaži predogled" + +#. DESC_STORE_MEDIUM +#, fuzzy +msgid "Store medium" +msgstr "Izbor tiskalnika za prilagoditev" + +#. DESC_DELETE_MEDIUM +#, fuzzy +msgid "Delete active medium" +msgstr "Izbor tiskalnika za prilagoditev" + +#. DESC_SCALE_FACTOR +#, fuzzy +msgid "Scale factor" +msgstr "Nastavitev stopnje povečave" + +#. DESC_X_SCALE_FACTOR +#, fuzzy +msgid "X-Scale factor" +msgstr "Nastavitev stopnje povečave" + +#. DESC_Y_SCALE_FACTOR +#, fuzzy +msgid "Y-Scale factor" +msgstr "Nastavitev stopnje povečave" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "" + +#. DESC_BATCH_LIST_EMPTY +#, fuzzy +msgid "Empty batch list" +msgstr "Namigi za skeniranje" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "" + +#. DESC_BATCH_RENAME +#, fuzzy +msgid "Rename area" +msgstr "preimenuj stran s faksom" + +#. DESC_BATCH_ADD +#, fuzzy +msgid "Add selected preview area to batch list" +msgstr "Zasuči preodgled in sliko" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Določitev domačega imenika se ni posrečila:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Sprememba domačega imenika se ni posrečila:" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Predolgo ime datoteke" + +#. ERR_CREATE_TEMP_FILE +#, fuzzy +msgid "Could not create temporary file" +msgstr "Ustvari projekt" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Napaka pri nastavitvi vrednosti izbire" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Napaka pri pridobitvi vrednosti izbire" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Napaka pri pridobitvi števila izbir" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Napaka pri odpiranju naprave" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "na voljo ni nobene naprave" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Napaka pri branju:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Napaka pri shranjevanju" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Napaka pri ravnanju z globino" + +#. ERR_GIMP_BAD_DEPTH +#, fuzzy, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP ne more ravnati z globino" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Neznan zapis za shranjevanje" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Napaka pri odpiranju" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Napaka pri odpiranju cevovoda za tiskanje" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Napaka pri izvajanju ukaza za tiskanje" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Napaka pri zagonu skenerja:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Napaka pri pridobivanju parametrov:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Izhodni zapis ni podan" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "zmanjkalo je pomnilnika" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF sporoča napako" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG sporoča napako" + +#. ERR_LIBJPEG +#, fuzzy +msgid "LIBJPEG reports error" +msgstr "LIBPNG sporoča napako" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "neznana vrsta" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "neznana vrsta omejitve" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Napaka pri zagonu prikazovalnika dokumentacije:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Napaka pri zagonu pregledovalnika faksov:" + +#. ERR_FAILED_EXEC_FAX_CMD +#, fuzzy +msgid "Failed to execute fax command:" +msgstr "Napaka pri zagonu ukaza za faskiranje:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +#, fuzzy +msgid "Failed to execute mail image viewer:" +msgstr "Napaka pri zagonu pregledovalnika faksov:" + +#. ERR_FAILED_EXEC_OCR_CMD +#, fuzzy +msgid "Failed to execute ocr command:" +msgstr "Napaka pri zagonu ukaza za faskiranje:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "pokravjen zapis okvira" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "ločljivosti ni moč nastaviti" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Datoteka z gesli (%s) ni varna, uporabljam dovoljenja x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "napaka" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Glavna različica sane se ne ujema" + +#. ERR_XSANE_MAJOR_VERSION +#, fuzzy +msgid "XSane major version =" +msgstr "glavna različica xsane =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "glavna različica programa v ozadju =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** IZVAJANJE PREKINJENO ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Napaka pri dodeljevanju pomnilnika za sliko" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Predogled ne podpira bitne globine" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Manjkajoča podpora za GIMP" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "" + +#. ERR_CREATE_FAX_PROJECT +#, fuzzy +msgid "Could not create faxproject" +msgstr "Ustvari projekt" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Števec datotek je prekoračil obseg" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "opozorilo: izbira nima omejitve" + +#. WARN_XSANE_AS_ROOT +#, fuzzy +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Program xsane ste želleli pognati kot skrbnik, to pa je nevarno!\n" +"\n" +"Če pri tem pride do napake, ne po;siljajte sporočil o napakah!\n" +"Bili ste opozorjeni, znajti se morate sami!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Napaka" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Opozorilo" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Obvestilo" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Napaka pri izdelavi datoteke:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Napaka pri nalaganju nastavitev za napravo:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "ni datoteka s podatki o device-rc" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Napaka pri zagonu programa netscape" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Napaka pri pošiljanju faksa: prejemnik ni podan" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "je bila ustvarjena za napravo" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "želeli ste uporabiti napravo" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "to lahko povzroči težave" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Datoteka %s že obstaja" + +#. ERR_FILE_NOT_EXISTS +#, fuzzy, c-format +msgid "File %s does not exist" +msgstr "Datoteka %s že obstaja" + +#. ERR_FILE_NOT_POSTSCRIPT +#, fuzzy, c-format +msgid "File %s is not a postscript file" +msgstr "Širina papirja pri tiskanju v postscriptnem zapisu [mm]" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Nepodprti %d-bitni izhodni zapis: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Uporaba:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[izbire]... [naprava]" + +#. TEXT_HELP +#, fuzzy +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Zagon grafičnega uporabniškega vmesnika za dostop do naprav SANE (Scanner " +"Access Now Easy).\n" +"\n" +"Zapis [naprave] je ime programa v ozadju v obliki naprava: (na primer umax:/" +"dev/scanner).\n" +"[izbira]... je sestava naslednjih gradnikov:\n" +" -h, --help prikaže to sporočilo in konča\n" +" -v, --version izpiše podatke o različici\n" +"\n" +" -d, --device-settings datoteka prebere nastavitve o napravi z datoteke " +"(brez končnice \".drc\")\n" +"\n" +" -s, --scan uporabi način za zkeniranje\n" +" -c, --copy uporabi način za kopiranje\n" +" -f, --fax uporabi način za pošiljanje faksov\n" +" -n, --no-mode-selection onemogoči menu za izbiranje načina dela v " +"xsane\n" +"\n" +" -F, --Fixed glavno okno je stalne velikosti (prepiši " +"zeljene vrednosti)\n" +" -R, --Resizeable glavno okno je spremenljive velikosti (prepisi " +"željene vrednosti)\n" +"\n" +" -p, --print-filenames izpiši imena datotek, ki jih ustvari xsane\n" +" -N, --force-filename name vsili imena datotek in onemogoči uporabniška " +"imena\n" +"\n" +" --display X11-display preusmeri izhod na podani prikazovalnik X11\n" +" --no-xshm ne uporabi slik z deljenim pomnilnikom\n" +" --sync zahtevaj sinhrono povezavo s strežnikom za X11" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Grafični vmesnik do SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Ta funkcija omogoča dostop do skenerjev in drugih naprav zazajem slik z " +"vmesnikom SANE (Scanner Access Now Easy)." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Pogovor z napravo..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/File/Acquire/XSane:" + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Pogovor z napravo..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "polna velikost" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "vzdolžno A3" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "prečno A3" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "vzdolžno A4" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "prečno A4" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "vzdolžno A5" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "prečno A5" + +#. MENU_ITEM_SURFACE_13cmx18cm +#, fuzzy +msgid "13cm x 18cm" +msgstr "13 cm x 9 cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +#, fuzzy +msgid "18cm x 13cm" +msgstr "9 cm x 13 cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +#, fuzzy +msgid "10cm x 15cm" +msgstr "9 cm x 13 cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +#, fuzzy +msgid "15cm x 10cm" +msgstr "9 cm x 13 cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9 cm x 13 cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13 cm x 9 cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "vzdolžno legal" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "prečno legal" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "vzdolžno pisemsko" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "prečno pisemsko" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +#, fuzzy +msgid "Standard negative" +msgstr "Običajne izbire" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +#, fuzzy +msgid "Fuji negative" +msgstr "nedejaven" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +#, fuzzy +msgid "Konica negative" +msgstr "nedejaven" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +#, fuzzy +msgid "Konica negative VX 100" +msgstr "nedejaven" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "" + +#. TEXT_MAIL_STATUS_NOT_CREATED +#, fuzzy +msgid "Mail project not created" +msgstr "beriljiva" + +#. TEXT_MAIL_STATUS_CREATED +#, fuzzy +msgid "Mail project created" +msgstr "beriljiva" + +#. TEXT_MAIL_STATUS_CHANGED +#, fuzzy +msgid "Mail project changed" +msgstr "Samodejno določi območje skeniranja" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +#, fuzzy +msgid "Error reading mailproject" +msgstr "Vnesite ime projekta za faks" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +#, fuzzy +msgid "From entry not accepted" +msgstr "beriljiva" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +#, fuzzy +msgid "Receiver entry not accepted" +msgstr "beriljiva" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "" + +#. TEXT_FAX_STATUS_NOT_CREATED +#, fuzzy +msgid "Fax project not created" +msgstr "beriljiva" + +#. TEXT_FAX_STATUS_CREATED +#, fuzzy +msgid "Fax project created" +msgstr "beriljiva" + +#. TEXT_FAX_STATUS_CHANGED +#, fuzzy +msgid "Fax project changed" +msgstr "Samodejno določi območje skeniranja" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "ploski skener" + +msgid "frame grabber" +msgstr "zajemalnik zaslona" + +msgid "handheld scanner" +msgstr "ročni skener" + +msgid "still camera" +msgstr "fotoaparat" + +msgid "video camera" +msgstr "videokamera" + +msgid "virtual device" +msgstr "navidezna naprava" + +msgid "Success" +msgstr "Opravljeno" + +msgid "Operation not supported" +msgstr "Operacija ni podprta" + +msgid "Operation was cancelled" +msgstr "Operacija je bila prekinjena" + +msgid "Device busy" +msgstr "Naprava je zasedena" + +msgid "Invalid argument" +msgstr "Napačen argument" + +msgid "End of file reached" +msgstr "Dosežen konec datoteke" + +msgid "Document feeder jammed" +msgstr "Zastoj v podajalniku dokumentov " + +msgid "Document feeder out of documents" +msgstr "Pomanjkanje dokumentov v podajalniku dokumentov" + +msgid "Scanner cover is open" +msgstr "Pokrov skenerja je odprt" + +msgid "Error during device I/O" +msgstr "Napaka pri branju naprave ali pisanju nanjo" + +msgid "Out of memory" +msgstr "Zmanjkalo je pomnilnika" + +msgid "Access to resource has been denied" +msgstr "Dostop do vira je ni dovoljen." diff --git a/po/UTF-8/sr.gmo b/po/UTF-8/sr.gmo new file mode 100644 index 0000000..4de44a5 Binary files /dev/null and b/po/UTF-8/sr.gmo differ diff --git a/po/UTF-8/sr.po b/po/UTF-8/sr.po new file mode 100644 index 0000000..2e239d8 --- /dev/null +++ b/po/UTF-8/sr.po @@ -0,0 +1,2816 @@ +# Serbian translation for XSane. +# Copyright (C) 2001 Free Software Foundation, Inc. +# Rusmir Duškor , 2002. +# +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.76\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2002-01-17 00:47GMT\n" +"Last-Translator: Rusmir Duško \n" +"Language-Team: srpski \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 0.9.2\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "sr" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "O programu" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "O prevodu" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "autorizacija" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "" + +#. WINDOW_INFO +msgid "info" +msgstr "podatci" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "paketno skeniranje" + +#. WINDOW_BATCH_RENAME +#, fuzzy +msgid "rename batch area" +msgstr "Izbriši stranu" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "Faks" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "preimenuj stranu sa faksom" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "unesi ps-fajl u faks" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "e-pošta" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "preimenuj stranu sa e-poštom" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "unesi sliku u e-poštu" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "preimenuj prepodešavanja" + +#. WINDOW_PRESET_AREA_ADD +#, fuzzy +msgid "add preset area" +msgstr "preimenuj prepodešavanja" + +#. WINDOW_MEDIUM_RENAME +#, fuzzy +msgid "rename medium" +msgstr "Izaberi izvor medijuma" + +#. WINDOW_MEDIUM_ADD +#, fuzzy +msgid "add new medium" +msgstr "Izaberi izvor medijuma" + +#. WINDOW_SETUP +msgid "setup" +msgstr "Konfiguracija" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogram" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gama krivina" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Standarni izbori" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Napredni izbori" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "biranje uređaja" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Pregled" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Prikazivač" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Prikazivač: izaberi izlazni naziv fajla" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Izaberi izlazni naziv fajla za OCR tekst fajl" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "Odredi izlazni naziv fajla" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "Zapamti podešavanja uređaja" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "Učitaj podešavanja uređaja" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "Promeni radnu granu" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "Izaberi privremeni direktorijum" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Skaliraj sliku" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Odstrani fleke" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Zamagli sliku" + +#. WINDOW_STORE_MEDIUM +#, fuzzy +msgid "Store medium definition" +msgstr "Preimenuj definiciju" + +#. WINDOW_NO_DEVICES +#, fuzzy +msgid "No devices available" +msgstr "Nijedan uređaj nije dostupan" + +#. MENU_FILE +msgid "File" +msgstr "Fajl" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Podešavanja" + +#. MENU_VIEW +msgid "View" +msgstr "Pogled" + +#. MENU_WINDOW +msgid "Window" +msgstr "" + +#. MENU_HELP +msgid "Help" +msgstr "Pomoć" + +#. MENU_EDIT +msgid "Edit" +msgstr "" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filteri" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "O programu XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Informacije" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Izlaz" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Zapamti sliku" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Kopiraj" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Promeni veličinu" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Zatvori" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "odflekati" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "zamagli" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "" + +#. MENU_ITEM_ROTATE180 +#, fuzzy +msgid "Rotate 180" +msgstr "Rotiraj sliku za 180 stepeni" + +#. MENU_ITEM_ROTATE270 +#, fuzzy +msgid "Rotate 270" +msgstr "Rotiraj sliku za 270 stepeni" + +#. MENU_ITEM_MIRROR_X +#, fuzzy +msgid "Mirror |" +msgstr "greška" + +#. MENU_ITEM_MIRROR_Y +#, fuzzy +msgid "Mirror -" +msgstr "greška" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "sirova slika" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Poboljšana slika" + +#. BUTTON_SCAN +#, fuzzy +msgid "Scan" +msgstr "Skeniranje" + +#. BUTTON_OK +msgid "Ok" +msgstr "U redu" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Prihvati" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Nije prihvaćeno" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Primeni" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Prekini" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Smanji" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Nastavi na sopstvenu odgovornost" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Pretraži" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Prepiši" + +#. BUTTON_BATCH_LIST_SCAN +#, fuzzy +msgid "Scan batch list" +msgstr "Saveti za skeniranje" + +#. BUTTON_BATCH_AREA_SCAN +#, fuzzy +msgid "Scan selected area" +msgstr "Uvećavaj u izabrano područje" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Izbriši stranu" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Prikaži pregled" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Preimenuj stranu" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Izbriši sliku" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Pokaži sliku" + +#. BUTTON_IMAGE_EDIT +#, fuzzy +msgid "Edit image" +msgstr "Poboljšana slika" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Preimenuj sliku" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Unesi fajl" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Uradi projekat" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Pošalji projekat" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Izbriši projekat" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Dodaj štampač" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Odstrani štampač" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Uradi pregled" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Prekini pregled" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Odbaci sliku" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Odbaci sve slike" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Ne zatvaraj" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Poveži skaliranja" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Tačan modus" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTML e-pošta" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Zapamti podešavanja uređaja pri izlazu" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Prepiši upozorenje" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Preskoči postojeće nazive fajli" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Smanji 16 bitnu sliku na 8 bita" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Veličina glavnog prozora je postavljena" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Onemogući gama pri pregledu u gimpu" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Upotrebi privatnu paletu boja" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Automatsko poboljšanje faktora gama" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Automatsko biranje površine skeniranja" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Autokorektura boja" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "POP3 autentifikacija" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "Skeniranje uređaja" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Dostupni uređaji" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "XSane opcije" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Način rada XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Korak" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Vrsta" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Skener i backend" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Proizvođač:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Vrsta:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Uređaj:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Podignut backend:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Sane verzija:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Zadnje vrednosti:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gama korekcija:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "skener" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "program (Xsane)" + +#. TEXT_NONE +msgid "none" +msgstr "bez" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Dubina bita ulazne game:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Dubina bita izlazne game:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Dubina bita izlaza skenera: " + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Xsane izlazni formati:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8-bitni izlazni formati:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16-bitni izlazni formati:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp ne podržava dubinu 16 bit-a u boji.\n" +"Da li želite da smanjite dubinu na 8 bit-a u boji?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Dubina 16 bit-a u boji nije podržana za ovaj format.\n" +"Da li želite da smanjite dubinu na 8 bit-a u boji?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Zahtevana potvrda za" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Prenos lozinke je siguran" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Backend zahteva nešifrovanu lozinku" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Korisnik:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Lozinka:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Nevažeći parametri." + +#. TEXT_VERSION +msgid "version:" +msgstr "Verzija:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "paket" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "sa podrškom GIMP-a" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "bez podrške GIMP-a" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "prevedeno sa podrškom za GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "prevedeno sa podrškom GIMP-a" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "nepoznato" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "E-pošta:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "lični Web sajt:" + +#. TEXT_FILE +msgid "File:" +msgstr "Fajl:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Prevod:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"prevod iz engleskog teksta\n" +"Rusmir Duško\n" +"E-pošta: drusmir@gmx.ch\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Skenirane strane: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "E-pošta:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Dodatci:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Status projekta:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Veličina %d x %d piksxel, %d bit/boji, %d boja, %1.0f dpi x %1.0f dpi, %1.1f " +"%s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Radijus odflekivanja:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Radijus zamaglivanja:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +#, fuzzy +msgid "(no name)" +msgstr "(ništa)" + +#. TEXT_BATCH_LIST_AREANAME +#, fuzzy +msgid "Area name:" +msgstr "Korisnik:" + +#. TEXT_BATCH_LIST_SCANMODE +#, fuzzy +msgid "Scanmode:" +msgstr "Način rada XSane" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +#, fuzzy +msgid "Size:" +msgstr "Dia" + +#. TEXT_BATCH_LIST_RESOLUTION +#, fuzzy +msgid "Resolution:" +msgstr "Opcije praga šuma:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +#, fuzzy +msgid "Bit depth:" +msgstr "Dubina bita ulazne game:" + +#. TEXT_BATCH_LIST_BY_GUI +#, fuzzy +msgid "as selected" +msgstr "Uvećavaj u izabrano područje" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Izaberi štampač:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Ime:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Komanda:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Opcija sa broj kopija:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Rezolucija u crno/belom načinu Lineart (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Rezolucija u sivom (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Rezolucija u boji (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Širina" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Visina" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Leva ivica" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Donja ivica" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Vrednost gama za štampač:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Vrednost gama crvene boje za štampač:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Vrednost gama zelene boje za štampač:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Vrednost gama plave boje za štampač:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Privremeni direktorijum" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Dozvole za fajle slika" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Dozvole direktorijuma" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "JPEG kvalitet slike" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "PNG kompresija slike" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Brojač dužine naziva fajla" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "TIFF 16-bitna kompresija slike" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "TIFF 8 bitna kompresija slike" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "TIFF lineart kompresija slike" + +#. TEXT_SETUP_SHOW_RANGE_MODE +#, fuzzy +msgid "Show range as:" +msgstr "Prikaži pregled" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Prekomerni uzorak pri pregledu:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Faktor gama pri pregledu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Faktor gama za crvenu boju pri pregledu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Faktor gama za zelenu boju pri pregledu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Faktor gama za plavu boja pri pregledu:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Opcije praga šuma:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Automatsko uvlačenje dokumenata:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Opsega četkice pri pregledu" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Minimalni prag šuma:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Maksimum praga šuma:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Umnožavač praga šuma:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Promena praga šuma:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Ime sivog načina skeniranja:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Prikazivač za pomoć (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Opcija za broj prijemnika:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Opcije za postscript fajl:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Opcije pri normalnom načinu:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Opcije pri posebnom načinu:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Prikazivač (postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTP server" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTP port:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Pošiljalac:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Adresa za odgovor:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3 server:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3 port:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "POP3 korisnik:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "POP3 lozinka:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Prikazivač (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "OCR komanda:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Opcije za ulazni fajl:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Opcije za izlazni fajl:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "" + +#. TEXT_SETUP_OCR_OUTFD_OPT +#, fuzzy +msgid "GUI output-fd option:" +msgstr "Opcije za izlazni fajl:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "korisnik" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "grupa" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "svi" + +msgid "new media" +msgstr "" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Sačuvaj" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Slika" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Kopiraj" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Faks" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "E-pošta:" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Prikaz" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Poboljšavanje" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "E-pošta:" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Prikaži savete" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Prikaži pregled" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Prikaži histogram" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Prikaži krivinu gama" + +#. MENU_ITEM_SHOW_BATCH_SCAN +#, fuzzy +msgid "Show batch scan" +msgstr "paketno skeniranje" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Prikaži standardne izbore" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Prikaži napredne mogućnosti" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Konfiguracija" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Dužinska mera" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milimetri" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimetri" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "inči" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Aktualiziraj" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "neprekidno" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "prekidno" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "zadržano" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Prikaži listu rezolucija" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Rotiraj postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +#, fuzzy +msgid "Edit medium definition" +msgstr "Preimenuj definiciju" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Zapamti podešavanja uređaja" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Učitaj podešavanja uređaja" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Promeni direktorijum" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Xsane dokumentacija" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Backend dokumentacija" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Dostupni backend-i" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Saveti za skeniranje" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problemi?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "neaktivno" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "bez kompresije" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "CCITT 1D Huffman kompresija" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "CCITT Group 3 Faks kompresija" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "CCITT Group 4 Faks kompresija" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "JPEG DCT kompresija" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "zapakovani biti" + +#. MENU_ITEM_RANGE_SCALE +#, fuzzy +msgid "Slider (Scale)" +msgstr "Dia" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Standardne opcije prozor (c/b)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Xane glavni prozor (c/b)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "XSane glavni prozor (sivi -> c/b)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(ništa)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "po nastavku" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Dodaj izbor u listu" + +#. MENU_ITEM_MEDIUM_ADD +#, fuzzy +msgid "Add medium definition" +msgstr "Preimenuj definiciju" + +#. MENU_ITEM_RENAME +#, fuzzy +msgid "Rename item" +msgstr "Preimenuj sliku" + +#. MENU_ITEM_DELETE +#, fuzzy +msgid "Delete item" +msgstr "Odstrani štampač" + +#. MENU_ITEM_MOVE_UP +#, fuzzy +msgid "Move item up" +msgstr "Pomeri na gore" + +#. MENU_ITEM_MOVE_DWN +#, fuzzy +msgid "Move item down" +msgstr "Pomeri na dole" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Skeniranje" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Primam %s podatke" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Sliku preneti" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Sliku rotirati" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Sliku ogledati" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Sliku kompresovati" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Podatke konvertovati" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Sliku zapamtiti" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Sliku kopirati" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Skaliraj sliku" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Sliku odflekavati" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Zamagljavam sliku" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Startaj skeniranje " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Prekini skeniranje " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Pregled " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Prekini pregled " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Vrednost, za koju se povećava brojač fajla posle skeniranja" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Traži slike po nazivima fajla" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Naziv fajla za skeniranu sliku" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Način zapisa; odgovarajući nastavak se automatski dodaje na naziv fajla" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Unesi ime projekta za faks" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Unesi novo ime za stranu sa faksom" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Unesi telefonski broj ili adresu prijemnika" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Unesi ime projekta za E-poštu" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Unesi novo ime za sliku u E-pošti" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Unesi email adresu" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Unesi temu od E-pošte" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Unesi novo ime za opseg konfiguracija" + +#. DESC_PRESET_AREA_ADD +#, fuzzy +msgid "Enter name for new preset area" +msgstr "Unesi novo ime za opseg konfiguracija" + +#. DESC_MEDIUM_RENAME +#, fuzzy +msgid "Enter new name for medium definition" +msgstr "Preimenuj definiciju" + +#. DESC_MEDIUM_ADD +#, fuzzy +msgid "Enter name for new medium definition" +msgstr "Preimenuj definiciju" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Izaberi štampač" + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Izaberi rezoluciju skeniranja" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Izaberi rezoluciju skeniranja u smeru x" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Izaberi rezoluciju skeniranja u smeru y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Izaberi faktor uveli" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Izaberi faktor uveli u smeru x" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Izaberi faktor uveličavanja u smeru y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Izaberite broj kopija" + +#. DESC_NEGATIVE +#, fuzzy +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativ: invertiraj boje za skeniranje negativa " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Izaberi vrednost gama" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Izaberi vrednost gama za crvenu boju" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Izaberi vrednost gama za zelenu boju" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Izaberi vrednost gama za plavu boju" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Izaberi osvetljenje" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Izaberi osvetljenje za crvenu boju" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Izaberi osvetljenje za zelenu boju" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Izaberi osvetljenje za plavu boju" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Izaberi kontrast" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Izaberi kontrast za crvenu boju" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Izaberi kontrast za zelenu boju" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Izaberi kontrast za plavu boju" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Izaberi prag šuma" + +#. DESC_RGB_DEFAULT +#, fuzzy +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"Podrazumevane vrednosti za RGB: Namesti poboljšane vrednosti za crvenu, " +"zelenu i plavu na standardne vrednosti :\n" +" gama = 1.0\n" +" svetlost = 0\n" +" kontrast = 0" + +#. DESC_ENH_AUTO +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Autopodešavanje vrednosti gama, osvetljenja i kontrasta " + +#. DESC_ENH_DEFAULT +#, fuzzy +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Postavi standardne vrednosti za poboljšanje :\n" +"gama = 1.0\n" +"osvetljenje = 0\n" +"kontrast = 0" + +#. DESC_ENH_RESTORE +#, fuzzy +msgid "Restore enhancement values from preferences " +msgstr "Obnovi vrednosti za poboljšanje slike iz podešavanja " + +#. DESC_ENH_STORE +#, fuzzy +msgid "Store active enhancement values to preferences " +msgstr "Zapamti aktivne vrednosti za poboljšanje slike u podešavanja " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Prikaz histograma svetlosti/grao " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Prikaz histograma crvene boje " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Prikaz histograma zelene boje " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Prikaz histograma plave boje " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Prikaz histograma sa linijama umesto piksela " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Prikaz logaritma od broja piksela " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Izaberi definiciju za menjanje" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Ime definicije" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Unesi komandu, koja se izvodi pri kopiranju (na primer \"lpr -\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Unesi opciju za broj kopija" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "Rezolucija, u kojoj se crno/bele slike štampaju i pamte u postscriptu" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "Rezolucija, u kojoj se sive slike štampaju i pamte u postscriptu" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "Rezolucija, u kojoj se slike u boji štampaju i pamte u postscriptu" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Širina površine za štampanje" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Visina površine za štampanje" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Razmak od levog ruba papira do početka površine za štampanje" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Razmak od donjeg ruba papira do početka površine za štampanje" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Dodatna vrednost gama pri fotokopiranju" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Dodatna vrednost gama za crvenu boju pri fotokopiranju" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Dodatna vrednost gama za zelenu boju pri fotokopiranju" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Dodatna vrednost gama za plavu boju pri fotokopiranju" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Put do privremenog direktorijuma" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Pretraži privremeni direktorijum" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Kvalitet slike u procentima, ako je slika zapamćena kao JPEG ili TIFF sa " +"JPEG kompresijom" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Kompresija ako je slika zapamćena kao PNG" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Najkraća dužina brojača u nazivu fajla" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Vrsta kompresije ako se 16-bitn-a slika pamti kao TIFF" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Vrsta kompresije ako se 8-bitn-a slika pamti kao TIFF" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Vrsta kompresije ako se crno/bela slika pamti kao TIFF" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Pamti odgovarajuće konfiguracije uređaja u podrazumevanoj fajli pri " +"napuštanju Xsane-a" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Upozori pre prepisivanja postojeće fajle" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Ako je brojač naziva fajle automatski povećan, postojeći brojevi se " +"automatski preskaču" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Ako skener šalje sliku sa 16 bit-a u boji pamti sliku sa 8 bit-a u boji" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Širina papira pri štampanju postcript fajli" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Visina papira pri štampanju postscript fajli" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Odmak slike od levog ruba papira pri štampanju postscript fajli" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Odmak slike od donjeg ruba papira pri štampanju postscript fajli" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "Upotrebi fiksiranu ili promenljivu glavnu stranu" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Onemogući pregled gama, ako se Xsane upotrebljava kao uložak za Gimp" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Upotrebi svoju paletu boja za pregled ako se koristi dubina ekrana od 8 bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Vrednost, sa kojom se pomnožava izračunata rezolucija pregleda" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Odredi vrednost gama pri pregledu slike" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "Odredi vrednost gama za crvenu boju pri pregledu slike" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "Odredi vrednost gama za zelenu boju pri pregledu slike" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Odredi vrednost gama za plavu boju pri pregledu slike" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Definišite način, kako Xsane određuje prag šuma" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Selektiraj sivi način skeniranja, Taj način se upotrebljava za crno/bele " +"slike ako je transformacija iz sive u crno/belu omogućena" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Donja vrednost praga šuma u %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Gornja vrednost praga šuma u %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "Umnožavač, koji prag šuma skenera i programa Xsane usklađuje" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "Odmak, koji prag šuma skenera i programa Xsane usklađuje" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Odredi izvor skeniranja za automatsko dodavanje dokumenata. Ako je taj izvor " +"izabran onda Xsane skenira do obaveštenja \"out of paper\" ili dogreške." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "Veličina kvadrata, koji se koristi da uskladi boju za funkciju pipete." + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "Dajte komandu, sa kojom se prikazuju pomoćni fajlovi HTML!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "" +"Prilagodi vrednost gama pri upotrebi dugmeta za auto poboljšavanje slike" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Izaberi površinu za skeniranje posle završetka pregleda" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Uradi korekciju boje posle završetka pregleda" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Dajte komandu koja je potrebna za slanje faksa" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Opcija sa kojom sa određuje telefonski broj prijemnika" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Opcija sa kojom sa određuje slanje postscript fajlova" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Opcija sa kojom sa određuje vertikalna rezolucija od 98 lpi" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Opcija sa kojom sa određuje vertikalna rezolucija od 196 lpi" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Komanda za prikazivanje faksa" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Šalji faks u visokoj rezoluciji po osi y (196 lpi umesto 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "IP adresa ili ime domena SMTP servera" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "port na kojem SMTP server treba da bude povezan" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "unesite vašu e-poštansku adresu" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "unesite e-poštansku adresu za odgovore na ovu adresu" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Autentifikaciju POP3 servera isvršiti pre slanja e-pošte" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "IP adresa ili ime domena POP3 servera" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "port na kojem POP3 server treba da bude povezan" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "korisničko ime za POP3 server" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "lozinka za POP3 server" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Komanda za prikaz slike iz e-pošte" + +#. DESC_HTML_MAIL +#, fuzzy +msgid "Mail is sent in html mode, place image with: " +msgstr "e-pošta je poslata u html modusu, slike su prikazane direktno" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Komanda za startanje vašeg OCR programa" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Opcija od OCR programa koja definiše ulazni fajl" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Opcija od OCR programa koja definiše izlazni fajl" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" + +#. DESC_OCR_OUTFD_OPT +#, fuzzy +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "Opcija od OCR programa koja definiše izlazni fajl" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "čitati" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "pisati" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "izvesti" + +#. DESC_ADD_BATCH +#, fuzzy +msgid "Add selection for batch scan" +msgstr "Dodaj izbor u listu" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Izberi belu tačku" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Izberi sivu tačku" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Izberi crnu tačku" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Upotrebi celu površinu skeniranja" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Smanji za 20% " + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Uvećavaj u izabrano područje" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Odbaci zadnje uvećavanje" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Izaberi vidnu površinu" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Automatska selekcija površine skeniranja" + +#. DESC_AUTORAISE_SCANAREA +#, fuzzy +msgid "Autoraise scanarea" +msgstr "Automatska selekcija površine skeniranja" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Obriši pregled slike" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Rotiraj pregled i skeniraj" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Optical Character Recongnition" + +#. DESC_VIEWER_UNDO +#, fuzzy +msgid "Undo last change" +msgstr "Odbaci zadnje uvećavanje" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Kopiraj sliku" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Rotiraj sliku za 90 stepeni" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Rotiraj sliku za 180 stepeni" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Rotiraj sliku za 270 stepeni" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Ogledaj sliku u vertikalnoj osi" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Ogledaj sliku u horizontalnoj osi" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Uveličaj sliku" + +#. DESC_STORE_MEDIUM +#, fuzzy +msgid "Store medium" +msgstr "Izaberi izvor medijuma" + +#. DESC_DELETE_MEDIUM +#, fuzzy +msgid "Delete active medium" +msgstr "Izbriši sliku" + +#. DESC_SCALE_FACTOR +#, fuzzy +msgid "Scale factor" +msgstr "Odredi X stepen povećavanja:" + +#. DESC_X_SCALE_FACTOR +#, fuzzy +msgid "X-Scale factor" +msgstr "Odredi X stepen povećavanja:" + +#. DESC_Y_SCALE_FACTOR +#, fuzzy +msgid "Y-Scale factor" +msgstr "Odredi Y stepen povećavanja:" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "" + +#. DESC_BATCH_LIST_EMPTY +#, fuzzy +msgid "Empty batch list" +msgstr "Saveti za skeniranje" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "" + +#. DESC_BATCH_RENAME +#, fuzzy +msgid "Rename area" +msgstr "Preimenuj stranu" + +#. DESC_BATCH_ADD +#, fuzzy +msgid "Add selected preview area to batch list" +msgstr "Dodaj izbor u listu" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Neuspelo učitavanje korisničkog direktorijuma:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Neuspelo menjanje radnog direktorijuma do" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Naziv fajla je predugačak" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Ne mogu da napravim privremeni fajl" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Greška pri promeni opcije" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Greška pri čitanju opcije" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Nisam mogao da odredim broj opcija" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Greška pri otvaranju uređaja" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "Nijedan uređaj nije dostupan" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Greška pri čitanju:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Greška pri pamćenju:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Nepodržana dubina bita" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP ne može podržati dubinu od %d bit-a u boji" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Nepoznat naziv fajla za pamćenje" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Greška pri otvaranju" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Ne mogu napraviti sigurnosnu fajlu (možda je veza koja postoji):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Greška pri otvaranju cevovoda za štampanje" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Greška pri izvršenju komande za štampanje" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Greška pri startanju skenera:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Greška pri čitanju parametara:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Izlazni format nija dan" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "Ponestalo je memorije" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "" +"Backend-i šalju više podatako o slici, nego što je definisano u parametrima" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF javlja grešku" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG javlja grešku" + +#. ERR_LIBJPEG +#, fuzzy +msgid "LIBJPEG reports error" +msgstr "LIBPNG javlja grešku" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "nopoznata vrsta" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "nepoznata nametnuta vrsta" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Greška pri izvršenju prikazivača dokumentacije:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Greška pri izvršenju prikazivača faksova:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Greška pri izvršenju komande za faks:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Greška pri izvršenju prikazivača e-pošte:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Greška pri izvršenju komande za OCR:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "neočekivan format okvira" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "Nisam mogao rezoluciju definisati" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Fajla sa lozinkama (%s) je nesigurna, koristi dozvole x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "greška" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Glavna verzije sane ne odgovara!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "XSane glavna verzija =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "backend glavna verzija =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAM JE OBUSTAVLJEN ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Greška pri dodeljivanju memorije za sliku" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Pregled ne nepodržava dubinu bita" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Nedostaje podržavanje za GIMP" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Ne mogu da napravim privremeni fajl za pregled" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Ne mogu da napravim naziv fajla za fajlove za pregled" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Ne mogu napraviti faks projekat" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Brojač naziva fajla je prekoračio opseg" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "upozorenje: opcija nema dozvoljenu vrednost" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Vi pokušavate da startate Xsane kao ROOT, \n" +"to je vrlo OPASNO!\n" +"\n" +"Ne šaljite nikakav report greške ako vi\n" +"imate bilo koji problem koristeći Xsane kao root\n" +"Upozoreni ste, morate se sami snaći!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Greška" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Upozorenje" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Obaveštenje" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Greška pri pravljenju fajla:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Greška pri učitavanju podešavanja uređaja:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "nije fajl sa podatcimo o device-rc" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Greška pri izvršenju pretraživača!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Greška pri slanju faksa: prijemnik nije dat" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "bila je napravljena za uređaj" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "upotrebljavaće se za uređaj" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "to može praviti probleme!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Ima %d nezapamćenih slika" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Fajl %s već postoji" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Fajl %s ne postoji" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Fajl %s nije postcript" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Nepodržani %d- bitni izlazni format %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "Slika prikazivača nije zapamćena" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Upotreba:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPCIJA]... [UREĐAJ]" + +#. TEXT_HELP +#, fuzzy +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Startaj grafički korisnički interfejs (GUI) da dobiješ pristup do SANE " +"(Scanner Access Now Easy) uređaja.\n" +"\n" +"Format [UREĐAJ] je ime backend-a: u obliku uređaja (n.pr. umax:/dev/" +"scanner)\n" +"[OPCIJA]... može biti kombinacija sledećih stavki:\n" +" -h, --help pokaži ovaj pomoćni i tekst\n" +" -v, --version daj informacije o verziji\n" +" -l, --license daj ifnormacije o licenci\n" +"\n" +" -d, --device-settings fajl učitaj podešavanja uređaja iz fajla (bez " +"nastavka \".drc\")\n" +"\n" +" -s, --save startaj u modusu za upisivanje\n" +" -V, --viewer startaj u modusu za prikazivanje\n" +" -c, --copy startaj u modusu za kopiranje\n" +" -f, --fax startaj u modusu za slanje faksa\n" +" -m, --mail startaj u modusu za e-poštu\n" +" -n, --no-mode-selection onemogući izbor modusa\n" +"\n" +" -F, --Fixed glavni prozor je stalne veličine (prepiši " +"podešavanja)\n" +" -R, --Resizeable glavni prozor je promenljiv (prepiši " +"podešavanja)\n" +"\n" +" -p, --print-filenames prikaži nazive fajla napravljene od XSane-a\n" +" -N, --force-filename name koristi naziv kao naziv fajla i onemogući " +"korisniku izbor naziva fajla\n" +"\n" +" --display X11-display prebaci izlaz na X11-prikaz\n" +" --no-xshm ne koristi slike koje se dele sa više " +"korisnika\n" +" --sync zahtevaj sihronu vezu sa X11 serverom" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Grafički posrednik do SANE intefejsa" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Ta funkcija omogućava dostup do skenera i drugih uređaja za dobijanje slika " +"pomoću SANE-a (Sccanner Access Now Easy) interfejsa." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Izbor uređaja..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/File/Acquire/XSane:" + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Izbor uređaja..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "cela strana" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "uspravno A3" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "vodoravno A3" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "uspravno A4" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "vodoravno A4" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "uspravno A5" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "vodoravno A5" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13 cm x 18 cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18 cm x 13 cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10 cm x 15 cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10 cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9 cm x 13 cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13 cm x 9 cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "uspravno legal" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "vodoravno legal" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "uspravno letter" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "vodoravno letter" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +#, fuzzy +msgid "Full color range" +msgstr "pun opseg" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Dia" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Standardni negativ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa negativ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +#, fuzzy +msgid "Agfa negative XRG 200-4" +msgstr "Agfa negativ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +#, fuzzy +msgid "Agfa negative HDC 100" +msgstr "Agfa negativ" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Fuji negativ" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Kodak negativ" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Konica negativ" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +#, fuzzy +msgid "Konica negative VX 100" +msgstr "Konica negativ" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "" + +#. TEXT_MAIL_STATUS_NOT_CREATED +#, fuzzy +msgid "Mail project not created" +msgstr "čitati" + +#. TEXT_MAIL_STATUS_CREATED +#, fuzzy +msgid "Mail project created" +msgstr "čitati" + +#. TEXT_MAIL_STATUS_CHANGED +#, fuzzy +msgid "Mail project changed" +msgstr "Automatsko biranje površine skeniranja" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +#, fuzzy +msgid "Error reading mailproject" +msgstr "Unesi ime projekta za E-poštu" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +#, fuzzy +msgid "From entry not accepted" +msgstr "čitati" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +#, fuzzy +msgid "Receiver entry not accepted" +msgstr "čitati" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "" + +#. TEXT_FAX_STATUS_NOT_CREATED +#, fuzzy +msgid "Fax project not created" +msgstr "čitati" + +#. TEXT_FAX_STATUS_CREATED +#, fuzzy +msgid "Fax project created" +msgstr "čitati" + +#. TEXT_FAX_STATUS_CHANGED +#, fuzzy +msgid "Fax project changed" +msgstr "Automatsko biranje površine skeniranja" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "ravni skener" + +msgid "frame grabber" +msgstr "okvirni snimač" + +msgid "handheld scanner" +msgstr "ručni skener" + +msgid "still camera" +msgstr "fotoaparat" + +msgid "video camera" +msgstr "videokamera" + +msgid "virtual device" +msgstr "virtualni uređaj" + +msgid "Success" +msgstr "Uspešno" + +msgid "Operation not supported" +msgstr "Operacija nije podržana" + +msgid "Operation was cancelled" +msgstr "Operacija je bila prekinuta" + +msgid "Device busy" +msgstr "Uređaj je zauzet" + +msgid "Invalid argument" +msgstr "Pogrešan argument" + +msgid "End of file reached" +msgstr "Dostignut je kraj fajla" + +msgid "Document feeder jammed" +msgstr "Zastoj u magazinu dokumenata" + +msgid "Document feeder out of documents" +msgstr "Magazin dokumenta je prazan" + +msgid "Scanner cover is open" +msgstr "Kućište skenera je otvoreno" + +msgid "Error during device I/O" +msgstr "I/O greška na uređaju" + +msgid "Out of memory" +msgstr "Nedostatak memorije" + +msgid "Access to resource has been denied" +msgstr "Dostup do resursa nije dozvoljen" diff --git a/po/UTF-8/sv.gmo b/po/UTF-8/sv.gmo new file mode 100644 index 0000000..463d845 Binary files /dev/null and b/po/UTF-8/sv.gmo differ diff --git a/po/UTF-8/sv.po b/po/UTF-8/sv.po new file mode 100644 index 0000000..2159dd7 --- /dev/null +++ b/po/UTF-8/sv.po @@ -0,0 +1,2818 @@ +# Swedish translation for XSane. +# Copyright (C) 1999-2003 Johan Bengtsson +# Johan Bengtsson +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.92\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2003-08-03 14:12+01:00\n" +"Last-Translator: Johan Bengtsson \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "se" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Om" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Om översättningen" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "auktorisering" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - licensen" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Licensavtal för slutanvändare" + +#. WINDOW_INFO +msgid "info" +msgstr "info" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "ladda massinläsningslista" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "spara massinläsningslista" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "massinläsning" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "byt namn på massinläsningsområde" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "faxprojekt" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "byt namn på faxsida" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "infoga ps-fil i fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "brevprojekt" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "byt namn på brevbild" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "infoga fil i brev" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "byt namn på det förinställda området" + +#. WINDOW_PRESET_AREA_ADD +#, fuzzy +msgid "add preset area" +msgstr "byt namn på det förinställda området" + +#. WINDOW_MEDIUM_RENAME +#, fuzzy +msgid "rename medium" +msgstr "Lagra medium" + +#. WINDOW_MEDIUM_ADD +#, fuzzy +msgid "add new medium" +msgstr "Lagra medium" + +#. WINDOW_SETUP +msgid "setup" +msgstr "inställningar" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogram" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gammakurva" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Standardinställningar" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Avancerade inställningar" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "Enhetsval" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Förhandsgranskning" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Visare" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Visare: välj utmatningsfilnamn" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Välj utmatingsfilnamn för OCR textfil" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "till filnamn" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "sane enhetsinställningar" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "hämta enhetsinställningar" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "ändra arbetskatalog" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "välj temporär katalog" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Skala bild" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Damma av bild" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Sudda till bild" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Lagra mediedefinition" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Inga enheter tillgängliga" + +#. MENU_FILE +msgid "File" +msgstr "Arkiv" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Inställningar" + +#. MENU_VIEW +msgid "View" +msgstr "Visa" + +#. MENU_WINDOW +msgid "Window" +msgstr "" + +#. MENU_HELP +msgid "Help" +msgstr "Hjälp" + +#. MENU_EDIT +msgid "Edit" +msgstr "" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filter" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Om XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Info" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Avsluta" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Spara bild" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - spara som text" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Klona" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Skala" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Stäng" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Damma av" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Sudda till" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "" + +#. MENU_ITEM_ROTATE180 +#, fuzzy +msgid "Rotate 180" +msgstr "Rotera bild 180 grader" + +#. MENU_ITEM_ROTATE270 +#, fuzzy +msgid "Rotate 270" +msgstr "Rotera bild 270 grader" + +#. MENU_ITEM_MIRROR_X +#, fuzzy +msgid "Mirror |" +msgstr "fel" + +#. MENU_ITEM_MIRROR_Y +#, fuzzy +msgid "Mirror -" +msgstr "fel" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Obearbetad bild" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Bearbetad bild" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Läs in" + +#. BUTTON_OK +msgid "Ok" +msgstr "Ok" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Acceptera" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Accepterar inte" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Tillämpa" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Avbryt" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Reducera" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Fortsätt på egen risk" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Bläddra" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Skriv över" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Läs in batch lista" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Läs in det markerade området" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Ta bort sida" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Visa sida" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Byt namn på sida" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Ta bort bild" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Visa bild" + +#. BUTTON_IMAGE_EDIT +#, fuzzy +msgid "Edit image" +msgstr "Bearbetad bild" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Byt namn på bild" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Infoga fil" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Skapa projekt" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Skicka projekt" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Ta bort projekt" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Lägg till skrivare" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Ta bort skrivare" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Hämta förhandsgranskning" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Avbryt förhandsgranskning" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Ta bort bild" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Ta bort alla bilder" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Avsluta inte" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Bind skala" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Högkvalitetsläge" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTML brev" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Spara inställningar när programmet avslutas" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Överskriftsvarning" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Hoppa över existerande filnamn" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Spara 16bits pnm i ascii format" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Reducera 16 bits bild till 8 bitar" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Fixerad storlek på huvudfönster" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Koppla bort förhandsgranskningsgamma" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Använd egen färgpalett" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Automatisk gammainställning" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Förval av inläsningsyta" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Autokorrigera färger" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "POP3 autentisering" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Använd GUI statuslinje" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "Letar efter enheter..." + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Tillgängliga enheter:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "XSane-inställningar" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "XSane-läge" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Steg" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Typ" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Bildläsare och drivrutin:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Tillverkare:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Modell:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Typ:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Enhet:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Laddad drivrutin:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Sane version:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Senaste värden:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gamma korrektion av:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "bildläsare" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "mjukvara (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "ingen" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Gammainmatningsdjup:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Gammautmatningsdjup:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Bildläsarens utmatningsdjup:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "XSane utmatningsformat:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8 bits utmatningsformat:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16 bits utmatningsformat:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp stöder inte 16 bits färgdjup. \n" +"Vill du reducera till 8 bits färgdjup?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"16 bits färgdjup stöds inte för detta utmatnings format.\n" +"Vill du reducera till 8 bits färgdjup?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Tillstånd krävs för" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Lösenordstransfer är säker" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Drivrutin kräver lösenord i klartext" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Användarnamn:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Lösenord:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Ogiltiga parametrar." + +#. TEXT_VERSION +msgid "version:" +msgstr "version:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "paket" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "med GIMP-support" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "utan GIMP-support" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "kompilerad med GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "kompilerad med GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "okänd" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane distribueras under och omfattas av GNU General Public License\n" +"så som den är publicerad av Free Software Foundation; version 2 eller (om du " +"vill) \n" +"någon senare version\n" +"\n" +"Detta program distribueras med förhoppningen att det skall komma till nytta, " +"men\n" +"UTAN NÅGON GARANTI; utan ens någon underförstådd garanti för dess\n" +"HANDELSBARHETET eller DUGLIGHET FÖR NÅGOT SÄRSKILT ÄNDAMÅL.\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane distribueras under och omfattas av GNU General Public License\n" +"så som den är publicerad av Free Software Foundation; version 2 eller (om du " +"vill)\n" +"någon senare version\n" +"\n" +"Detta program distribueras med förhoppningen att det skall komma till nytta, " +"men\n" +"UTAN NÅGON GARANTI; utan ens någon underförstådd garanti för dess\n" +"HANDELSBARHETET eller DUGLIGHET FÖR NÅGOT SÄRSKILT ÄNDAMÅL.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Epost:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Hemsida:" + +#. TEXT_FILE +msgid "File:" +msgstr "Fil:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Översättning:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"Svensk översättning\n" +"av Johan Bengtsson\n" +"E-post: jb@goteborg.bostream.se\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Inlästa sidor: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Epost text:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Bilagor:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Projekt status:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Namn på medium:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Storlek %d x %d pixlar, %d bit/färg, %d färger, %1.0f dpi x %1.0f dpi, %1.1f " +"%s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Avdammningsradie:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Suddradie:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(inget namn)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Områdesnamn:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Scaninställning:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Överst till vänster:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Storlek:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Upplösing:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bit-djup:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "som markerat" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Välj skrivare:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Namn:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Kommando:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Flagga för kopienummer:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Upplösning i grafikläge (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Upplösning i svartvit läge (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Upplösning i färgläge (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Bredd" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Höjd" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Vänster marginal" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Marginal från botten" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Skrivarens gammavärde:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Skrivargamma röd:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Skrivargamma grön:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Skrivargamma blå:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Temporär katalog" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Rättigheter för bildfil" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Rättigheter för katalog" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "JPEG-bildkvalitet" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "PNG bildkompression" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Filnamnsräknarens längd" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "TIFF 16 bit bildkompression" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "TIFF 8 bit bildkompression" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "TIFF lineart-bildkompression" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Visa omfång som:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Översampling vid förhandsgranskning:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Förhandsgranskningsgamma:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Förhandsgranskningsgamma röd:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Förhandsgranskningsgamma grön:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Förhandsgranskningsgamma blå:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Inställning av tröskelvärde:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Automatisk Dokument Matar Modus:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Pipettstorlek vid förhandsgranskning" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Tröskelvärdes minimum:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Tröskelvärdes maximum:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Tröskelvärdes multiplikator:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Tröskelvärdes offset:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Namn på scanläge för svartvit" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Hjälpfilsvisare (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Flagga för mottagare:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Flagga för postscriptsfil:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Flagga för normalläge:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Flagga för högkvalitetsläge:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Sätt standardinställningar för:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Visare (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTP server" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTP port" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Från:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Svara till:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3 server:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3 port:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "POP3 användare:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "POP3 lösenord:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Visare (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "OCR Kommando:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Inmatningsfilsalternativ:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Utmatningsfilsalternativ:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Använd GUI statuslinje:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUI utmating-fd alternativ:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Status nyckelord:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "användare" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "grupp" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "alla" + +msgid "new media" +msgstr "" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Spara" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Bild" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Kopiera" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Faxa" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Post" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Visa" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Bearbetning" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Epost" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Visa ballonghjälp" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Visa förhandsgranskning" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Visa histogram" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Visa gammavärdeskurva" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Visa massinläsning" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Visa standardinställningar" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Visa avancerade inställningar" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Inställningar" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Längdenhet" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "millimeter" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimeter" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "tum" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Uppdateringspolicy" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "kontinuerlig" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "diskontinuerlig" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "fördröjd" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Visa upplösningslista" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Rotera postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Ändra mediedefinition" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Spara enhetsinställningar" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Hämta enhetsinställningar" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Byt katalog" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Visa EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Visa licens (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "XSane doc" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Drivrutin doc" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Tillgängliga drivrutiner" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Bildinläsningstips" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problem?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "inaktiv" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "ingen kompression" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "CCITT 1D Huffmankompression" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "CCITT Grupp 3 faxkompression" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "CCITT Grupp 4 faxkompression" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "JPEG DCT kompression" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "packbits" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Linje (Skala)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Linje (Rullningslist)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Vred" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Skala och Vred" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Rullningslist och Vred" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Standardinställningar (grafik)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "XSane huvudfönster (grafik)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "XSane huvudfönster (svartvit->grafik)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(ingen)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "filändelse" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Lägg till utvalt område i listan" + +#. MENU_ITEM_MEDIUM_ADD +#, fuzzy +msgid "Add medium definition" +msgstr "Ändra mediedefinition" + +#. MENU_ITEM_RENAME +#, fuzzy +msgid "Rename item" +msgstr "Byt namn på bild" + +#. MENU_ITEM_DELETE +#, fuzzy +msgid "Delete item" +msgstr "Ta bort skrivare" + +#. MENU_ITEM_MOVE_UP +#, fuzzy +msgid "Move item up" +msgstr "Flytta upp" + +#. MENU_ITEM_MOVE_DWN +#, fuzzy +msgid "Move item down" +msgstr "Flytta ner" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Läser in" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Tar emot %s data" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "För över bild" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Roterar bild" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Speglar bild" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Packar bild" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Konverterar data...." + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Sparar bild" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Klonar bild" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Skalar bild" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Damma av bild" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Sudda till bild" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR pågår" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Starta inläsning " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Avbryt inläsning " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Hämta in förhandsgranskning " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Avbryt förhandsgranskning " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"spara-, visa-, fotokopia-, faxa- eller posta-" +"" +msgstr "Välj skrivardefinition " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Ställ in bildläsarupplösning" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Ställ in bildläsarupplösning x inriktning" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Ställ in bildläsarupplösning" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Ställ in zoomfaktor" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Ställ in zoomfaktor för x riktning" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Ställ in zoomfaktor för y riktning" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Ställ in antal kopior" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativ: Invertera färger vid inläsning av negativ " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Ställ in gammavärde" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Ställ in gammavärde för den röda komponenten" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Ställ in gammavärde för den gröna komponenten" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Ställ in gammavärde för den blåa komponenten" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Ställ in ljusstyrka" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Ställ in ljusstyrka för den röda komponenten" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Ställ in ljusstyrka för den gröna komponenten" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Ställ in ljusstyrka för den blåa komponenten" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Ställ in kontrast" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Ställ in kontrast för den röda komponenten" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Ställ in kontrast för den gröna komponenten" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Ställ in kontrast för den blåa komponenten" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Ställ in tröskelvärde" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGB standardvärde: Sätt bearbetningvärdena för rött, grönt och blått till " +"standardvärden: :\n" +" gamma = 1.0\n" +" ljus = 0\n" +" kontrast = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Autojustera gamma, ljus och kontrast " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Ställ in standarvärden för bearbetning :\n" +"gamma = 1.0\n" +"ljus = 0\n" +"kontrast = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Återställ korrigeringsvärden " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Spara de aktiva korrigeringsvärdena " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Visa histogram för intensitet/gråvärde " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Visa histogram för den röda komponenten " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Visa histogram för den gröna komponenten " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Visa histogram för den blåa komponenten " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Visa histogram med linjer istället för pixlar " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Visa pixelantal som logaritm " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Välj inställning som skall ändras" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Definiera ett namn för den här inställningen" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Ange ett kommando att exekveras i kopierings läge (m.a.o. \"lpr -\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Skriv in flagga för kopienummer" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Upplösning med vilken grafiska bilder skrivs ut och sparas i postscript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Upplösning med vilken svartvita bilder skrivs ut och sparas i postscript" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "Upplösning med vilken färgbilder skrivs ut och sparas i postscript" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Utskriftsbara områdets bredd" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Utskriftsbara områdets höjd" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "" +"Marginal från den vänstra sidan av pappret till det utskrivbara området" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Marginal från botten av pappret till det utskrivbara området" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Extra gammavärde för fotokopiering" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Extra gammavärde för den röda komponenten vid fotokopiering" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Extra gammavärde för den gröna komponeneten vid fotokopiering" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Extra gammavärde för den blåa komponeneten vid fotokopiering" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Sökväg till temporärkatalogen" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Bläddra efter temporär katalog" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Kvalitet i procent om bilden sparas som jpeg eller tiff med jpeg-kompression" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Kompression om bilden sparas som png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Minimum längd för räknaren i filnamn" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Kompressionstyp om 16-bits bild sparas som tiff" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Kompressionstyp om 8-bits bild sparas som tiff" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Kompressionstyp om grafisk bild sparas som tiff" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "Spara enhetsberoende inställningar i standardfilen när xsane avslutas" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Varna innan en befintlig fil skrivs över" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Om filnamnsräknaren automatiskt uppdateras, så hoppas använda nummer över" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"När en 16bits bild skall sparas i pnm format använd då asciii format " +"istället för ett binärt format. Det binära formatet är ett nytt format som " +"inte stöds av alla program. Ascii formatet stöds av fler program men " +"producerar väldigt stora filer!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "Spara bild med 8/bits färg om bildläsare skickar bild med 16 bits/färg" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Pappersbredd för postscript filer" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Pappershöjd för postscript filer" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Marginal från den vänstra sidan av pappret till det utskrivbara området för " +"postscriptfiler" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Marginal från botten av pappret till det utskrivbara området för " +"postscriptfiler" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Använd en fixerad storlek för huvudfönstret, eller ett rullbart fönster med " +"variabel storlek" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "" +"Koppla bort förhandsgranskningsgamma när XSane körs som gimp insticksprogram" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Använd egna färginställningar för förhandsgranskning om visningsläget är 8bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Välj hur ett omfång visas" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "" +"Värde som den kalkylerade förhandsgranskningsupplösningen multipliceras med" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Ställ in gammakorrigeringsvärde för förhandsgranskningsbild" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Ställ in gammakorrigeringsvärde för den röda komponenten i " +"förhandsgranskningsbilden" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Ställ in gammakorrigeringsvärde för den gröna komponenten i " +"förhandsgranskningsbilden" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "" +"Ställ in gammakorrigeringsvärde för den blåa komponenten i " +"förhandsgranskningsbilden" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Tala om hur XSane skall hantera tröskelvärdesinställningen" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Välj svartvit inläsningsläge. Detta läge används för förhandsgranskning i " +"grafikläge när överföring från svartvit till grafik är inkopplat" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Bildläsarens minimala tröskelnivå i %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Bildläsarens maximala tröskelnivå i %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplikator som synkroniserar tröskelomfången från bildläsaren och XSane" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "Offset som synkroniserar tröskelomfången från bildläsaren och XSane" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Välj inläsningskälla för Automatisk Dokument Matare. Om denna\n" +"inläsningskälla är vald läser XSane in framtill \"out of paper\" eller " +"felmeddelande." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"Storlek på fyrkanten som används för att få fram pipettfunktionens " +"standarvärde" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Skriv in det kommando som köras för att visa hjälpfiler, det måste vara ett " +"program som kan visa htmlfiler!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Ändra gammavärde när autoexponeringsknappen används" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Välj inläsningsområde efter förhandsgranskningen är klar" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Gör färgkorrigering efter förhansgranskingen är klar" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Kommando som skall köras i fax läge" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Flagga för att specificera mottagare" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Flagga för att specificera postscript filer följande" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Flagga för att specificera normalläge (låg upplösning)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Flagga för att ställa in högkvalitetsläge (hög upplösning)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Kommando som körs för att visa ett fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Skicka fax med hög vertikal upplösning (196 lpi istället för 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "SMTP serverns IP adress eller domän" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "port som kopplar upp mot SMTP server" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "skriv in din epost adress" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "skriv in epost adress för besvarad epost" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Autentiserna mot POP3 server innan post skickas" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "POP3 serverns IP adress eller domän" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "port som kopplar upp mot POP3 server" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "användarnamn för POP3 server" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "lösenord för POP3 server" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Kommando som körs för att visa en brevbild" + +#. DESC_HTML_MAIL +#, fuzzy +msgid "Mail is sent in html mode, place image with: " +msgstr "Post sänds i htmlläge, bilder visas direkt" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Skriv in kommando som startar ocrprogram" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Skriv in den flagga som definierar inmatingsfilen för ocrprogrammet" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Skriv in den flagga som definierar utmatingsfilen för ocrprogrammet" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Definiera om ocrprogrammet stöder gui statuslinje" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "Skriv in ocrprogrammets flagga för utmatingsfildeskriptor i GUI läge" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Definiera Nyckelord som används för att markera statusinformation" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "läs" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "skriv" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "exekvera" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Lägg till utvalt område i listan för massinläsning" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Välj vitpunkt" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Välj gråpunkt" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Välj svartpunkt" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Använd hela inläsningsområdet" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Zooma ut 20%" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Klicka där du vill zooma" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Zooma in det markerade området" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Ångra senaste zoomningen" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Markera det synliga området" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Automatisk val av inläsningsyta" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Höj inläsningsyta automatiskt" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Ta bort förhandsgransknings bildcache" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Rotera förhandsgranskning och inläsning" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Synliga proportioner av markering" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Definiera bildens position för utskrift" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Optisk Tecken Avläsning" + +#. DESC_VIEWER_UNDO +#, fuzzy +msgid "Undo last change" +msgstr "Ångra senaste zoomningen" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Klona bild" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Rotera bild 90 grader" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Rotera bild 180 grader" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Rotera bild 270 grader" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Spegla bild vid vertikal axel" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Spegla bild vid horisontell axel" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Zooma bild" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Lagra medium" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Ta bort aktivt medium" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Skalnings fakor" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "X-skale fakor" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Y-Skale faktor" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Skala bild till bredd [i pixlar]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Skala bild till höjd [i pixlar]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Tom massinläsningslista" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Spara massinläsningslista" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Ladda massinläsningslista" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Byt namn på område" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Lägg till utvalt område till massinläsningslistan" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Ta bort det makerade området fråm massinläsningslistan" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Aktiverar automatläge" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Kunde inte hitta hemkatalogen:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Kunde inte ändra arbetskatalog till" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Filnamnet är för långt" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Kunde inte skapa temporär fil" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Kunde inte sätta värdet för flaggan" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Kunde inte erhålla värdet för flaggan" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Fel när värdet för flaggan skulle erhållas" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Kunde inte öppna enhet" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "inga enheter tillgängliga" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Fel vid inläsning:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Fel under spararande:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Kan inte hantera bilddjup" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP kan inte hantera bilddjup med %d bits/färg" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Kan inte spara i det här filformatet" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Kunde inte öppna" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Kunde inte skapa en säker fil (kanske en länk existerar):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Kunde inte öppna rör för att köra skrivarkommando" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Kunde inte köra skrivarkommando:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Kunde inte starta bildläsare:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Kunde inte erhålla parametrar:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Inget utmatningsformat angivet" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "slut på minne" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Drivrutin skickar mer bilddata än den definierade i sina parametrar" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF rapporterar fel" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG rapporterar fel" + +#. ERR_LIBJPEG +#, fuzzy +msgid "LIBJPEG reports error" +msgstr "LIBPNG rapporterar fel" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "okänd typ" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "unknown constraint type" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Kunde inte starta dokumentvisare" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Kunde inte starta faxvisare:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Kunde inte exekvera faxkommando:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Kunde inte starta brevbildsvisare:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Kunde inte exekvera ocrkommando:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "fel frameformat" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "kunde inte sätta upplösning" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Lösenordsfil (%s) har säkerhetsproblem, använd rättighet x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "fel" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Save huvudversionsnummer stämmer inte!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "XSane huvudversion =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "drivrutin huvudversion =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "***PROGRAMMET AVSLUTAT***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Kunde inte allokera bild minne:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Förhandsgranskning kan inte hantera bit-djup" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Stöd för GIMP saknas" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Kunde inte skapa temporär förhandsgranskningsfil" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Kunde inte skapa filnamn för förhandsgranskningsfiler" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Kunde inte skapa faxprojekt" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Filnamnsräknaren är överbelastad" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "varning: alternativet har ingen värdebegränsning" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Du kan försöka köra XSane som root, men det är FARLIGT!\n" +"\n" +"Skicka inte in några bugrapporter om du\n" +"har några problem medan du kör XSane som root:\n" +"DU FÅR KLARA DIG SJÄLV!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Fel" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Varning" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Information" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Barnprocess fel" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Kunde inte skapa fil:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Fel under hämtning av enhetsinställningar:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "är inte en device-rc-fil !!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Kunde inte starta Netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Skicka fax: ingen mottagare angiven" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "har skapats för enheten" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "du vill använda den för enhet" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "detta kan orsaka problem!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Det finns %d osparade bilder" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Fil %s existerar redan" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Fil %s existerar inte" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Fil %s är inte en postskriptfil" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "%d-bit utmatningsformat som inte stöds: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "visarbild sparas inte" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Användning:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[FLAGGA]... [ENHET]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Startar grafiskt användargränssnitt till SANE (Scanner Access Now Easy) " +"enheter.\n" +"\n" +"Formatet för [ENHET] är drivrutinsnamn:enhetsfil (m.a.o. umax:/dev/" +"scanner). \n" +"[FLAGGA] ... kan vara en kombination av följande flaggor:\n" +"-h, --help visa detta hjälpmeddelande och avsluta\n" +"-v, --version visa versionsinformation\n" +"-l, --licens visa licensinfomation\n" +"\n" +"-d, --device-settings file hämta enhetsinställningar från en fil (utan \"." +"drc\")\n" +"\n" +" -V, --viewer starta med visarläge aktivt (standard)\n" +" -s, --save starta med sparläge aktivt\n" +"-c, --copy starta med kopiatorläge aktivt\n" +"-f, --fax starta med faxläge aktivt\n" +" -m, --mail starta med postläge aktivt\n" +"-n, --no-mode-selection visa inte meny för XSane lägesval\n" +"\n" +"-F, --Fixed fast storlek på huvudfönster (skriv över " +"preferensvärde)\n" +"-R, --Resizeable justerbart fönster med rullningslist (skriv " +"över preferensvärde)\n" +"\n" +" -p, --print-filenames skriv ut filnamn skapade av XSane\n" +" -N, --force-filename name sätt filnamn och ignorera filnamn som " +"användaren väljer\n" +"--display X11-display omdirigera utmatning till X11-display\n" +"--no-xshm använd inte delat minne\n" +"--sync kalla på en synkron förbindelse med X11 servern" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Grafiskt interface för SANE bildläsarprogram" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Den här funktionen ger tillgång till bildläsare och andra inläsningsenheter " +"genom SANE (Scanner Access Now Easy) gränssnittet." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Enhets dialog..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/File/Acquire/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Enhets dialog..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Möjliga orsaker:\n" +"1) Det finns ingen enhet som stöds av SANE\n" +"2) De kompatibla enheter som finns är upptagna\n" +"3) Rättigheterna för enhetsfilen låter dig inte använda den - försök som " +"root\n" +"4) Drivrutinen laddas inte av SANE (man sane-dll)\n" +"5) Drivrutinen är inte korrekt konfigurerad (man sane-\"backendname\")\n" +"6) Möjligen kan mer än en SANE version vara installerad" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "full storlek" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 portr." + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 landsk." + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 portr." + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 landsk." + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 portr." + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 landsk." + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal portr." + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal landsk." + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "letter portr." + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "letter landsk." + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Fullt färgomfång" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Linje" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Standard negativ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa negativ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Agfa negativ XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Agfa negativ HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Fuji negativ" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Kodak negativ" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Konica negativ" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Konica negativ VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Rossmann negativ HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +#, fuzzy +msgid "Mail project not created" +msgstr "läs" + +#. TEXT_MAIL_STATUS_CREATED +#, fuzzy +msgid "Mail project created" +msgstr "läs" + +#. TEXT_MAIL_STATUS_CHANGED +#, fuzzy +msgid "Mail project changed" +msgstr "Förval av inläsningsyta" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +#, fuzzy +msgid "Error reading mailproject" +msgstr "Skriv in namn för brevprojekt" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +#, fuzzy +msgid "From entry not accepted" +msgstr "läs" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +#, fuzzy +msgid "Receiver entry not accepted" +msgstr "läs" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "" + +#. TEXT_FAX_STATUS_NOT_CREATED +#, fuzzy +msgid "Fax project not created" +msgstr "läs" + +#. TEXT_FAX_STATUS_CREATED +#, fuzzy +msgid "Fax project created" +msgstr "läs" + +#. TEXT_FAX_STATUS_CHANGED +#, fuzzy +msgid "Fax project changed" +msgstr "Förval av inläsningsyta" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "flatbäddsbildläsare" + +msgid "frame grabber" +msgstr "frame grabber" + +msgid "handheld scanner" +msgstr "handhållen bildläsare" + +msgid "still camera" +msgstr "stillbildskamera" + +msgid "video camera" +msgstr "videokamera" + +msgid "virtual device" +msgstr "virtuell enhet" + +msgid "Success" +msgstr "Operationen lyckades" + +msgid "Operation not supported" +msgstr "Denna operation stöds inte" + +msgid "Operation was cancelled" +msgstr "Operationen inställd" + +msgid "Device busy" +msgstr "Enheten upptagen" + +msgid "Invalid argument" +msgstr "Felaktigt argument" + +msgid "End of file reached" +msgstr "Slutet på filen är nått" + +msgid "Document feeder jammed" +msgstr "Dokumentmataren har hängt sig" + +msgid "Document feeder out of documents" +msgstr "Dokumentmataren har slut på dokument" + +msgid "Scanner cover is open" +msgstr "Bildläsarlocket är öppet" + +msgid "Error during device I/O" +msgstr "Fel under enhets I/O" + +msgid "Out of memory" +msgstr "Slut på minne" + +msgid "Access to resource has been denied" +msgstr "Tillgång till resurs nekas" diff --git a/po/UTF-8/tr.gmo b/po/UTF-8/tr.gmo new file mode 100644 index 0000000..04ba602 Binary files /dev/null and b/po/UTF-8/tr.gmo differ diff --git a/po/UTF-8/tr.po b/po/UTF-8/tr.po new file mode 100644 index 0000000..50c7beb --- /dev/null +++ b/po/UTF-8/tr.po @@ -0,0 +1,2799 @@ +# translation of tr.po to Turkish +# Turkish Translation for XSane +# TOGAN MUFTUOGLU , 2000. +# Togan Muftuoglu , 2004 +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-26 11:08+0200\n" +"Last-Translator: Togan Muftuoglu \n" +"Language-Team: Turkish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.0.1\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "tr" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "Klonu" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Hakkında" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Tercüme hakkında" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "Otorizasyon" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - lisans" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Son Kullanıcı Lisans Anlaşması" + +#. WINDOW_INFO +msgid "info" +msgstr "bilgi" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "sıralı listeyi yükle" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "sıralı listeyi sakla" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "sıralı tarama" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "Alanı yeniden isimlendir" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "fax projesi" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "fax sayfasını yeniden isimlendir" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "ps-dosyasını faxa yerleştirin" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "posta projesi" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "posta resmini yeniden isimlendir" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "dosyayı postaya yerleştirin" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "Önceden belirlenmiş alanı yeniden isimlendir" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "Önceden belirlenmiş alan ekle" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Saklama ortamının ismini değiştir" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "Yeni saklama ortamı ekle" + +#. WINDOW_SETUP +msgid "setup" +msgstr "ayarlar" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogram" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gamma eğrisi" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Standart seçenekler" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Gelişmiş seçenekler" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "aygıt seçimi" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Önizleme" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Gösterici" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Gösterici: çıktı dosya adını seçiniz" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "OCR metin çıktı dosya adını seçiniz" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "çıktı dosya adını seçiniz" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "aygıt ayarlarını sakla" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "aygıt ayarlarını yükle" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "çalışma dizinini değiştir" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "geçici dizini seçin" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Resmi ölçülendir" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Resmi beneksizleştir" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Resmi bulanıklaştır" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Ortam tanımını sakla" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Hiçbir aygıt mevcut değil" + +#. MENU_FILE +msgid "File" +msgstr "Dosya" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Ayarlar" + +#. MENU_VIEW +msgid "View" +msgstr "İzleme" + +#. MENU_WINDOW +msgid "Window" +msgstr "Pencere" + +#. MENU_HELP +msgid "Help" +msgstr "Yardım" + +#. MENU_EDIT +msgid "Edit" +msgstr "Düzelt" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtreler" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometri" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Xsane hakkında" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Bilgi" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Çık" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Resmi kaydet" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - metin olarak sakla" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Klonla" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Boyutlandırma" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Kapat" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Geri al" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Beneksizleştirme" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Bulanıklaştırma" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Döndür 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Döndür 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Döndür 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Ayna" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Ayna-" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Ham resim" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Gelişmiş resim" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Tara" + +#. BUTTON_OK +msgid "Ok" +msgstr "Tamam" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Kabul et" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Reddet" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Uygula" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Vazgeç" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Azalt" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Kendi riskiniz altında devam edin" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Gözat" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Üzerine yaz" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Sıralı listeyi tara" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Seçilen alanı tara" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Sayfayı sil" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Sayfayı göster" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Sayfayı yeniden isimlendir" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Resmi sil" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Resmi göster" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Resmi düzelt" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Resmi yeniden isimlendir" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Dosya koy" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Proje yarat" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Projeyi gönder" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Projeyi sil" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Yazıcı ekle" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Yazıcı sil" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Önizleme iste" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Önizlemeyi iptal et" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Resmi sil" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Tüm resimleri sil" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Kapatma" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Boyutları tut" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Fine modu" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTML e-posta" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Aygıt tercihlerini sakla ve çık" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Üzerine yazma uyarısı" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Varolan dosya isimlerini atla" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "16bit pnm'yi ascii formatında sakla" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "16 bit resmi 8 bite indirge" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Ana pencere boyutu sabitlendi" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Gimp önizleme gamması pasif kılındı" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Özel renk tablosu kullan" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Gamma otomatik düzenlensin" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Tarama alanını önceden seç" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Renkleri otomatik düzelt" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "POP3 otorizasyon" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "GUI ilerleme çubuğunu kullan" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "aygıtları arıyor" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Varolan aygıtlar" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Xsane seçenekleri" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Xsane modu" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Sayaç" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Tip" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Tarayıcı ve sürücü:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Üretici:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Tip:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Aygıt:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Yüklenen sürücü:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Sane sürümü:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Son değerler:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gamma düzeltmesi:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "tarayıcı" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "yazılım (Xsane)" + +#. TEXT_NONE +msgid "none" +msgstr "hiçbiri" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Gamma giriş derinliği" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Gamma çıkış derinliği" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Tarayıcı çıktı derinliği" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Xsane çıktı formatları: " + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8 bit çıktı formatları:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16 bit formatları:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp 16 bit/renk derinliğini desteklemiyor.\n" +"Derinliği 8bit/renk haline getirmek istermisiniz ?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Bu çıktı formatı için 16 bit/renk derinliği desteklenmiyor\n" +"Derinliği 8 bit/renk olarak değiştirmek istermisiniz ?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Otorizayon gerekli :" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Şifre yollanması güvenli " + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Sürücü düz-metin şifre istiyor" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Kullanıcı adı:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Şifre:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Geçersiz parametreler" + +#. TEXT_VERSION +msgid "version:" +msgstr "sürüm:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "paket" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "GIMP desteği ile" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "GIMP desteği olmadan" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "GTK- ile derlenmiştir" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "GIMP- ile derlenmiştir" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "bilinmiyor" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane, Free Software Foundation GNU Genel Kamu Lisansı, \n" +"lisansın 2. sürümüne göre veya (sizin tercihiniz olarak)daha sonraki bir \n" +"bir sürümü, altında dağıtılmaktadır.\n" +"\n" +"Bu program faydalı olacağı umuduyla dağıtılmaktadır, ama\n" +"HİÇBİR GARANTİ İÇERMEZ; hatta HERHANGİ BİR AMACA \n" +"UYGUNLUĞU VEYA ÜRÜNLEŞTİRİLMESİNİ bile.\n" +"Eğer program hatalı çıkarsa, gerekli tüm servislerin, tamirlerin veya \n" +"düzeltmelerin maliyetini kabullenirsiniz. Bu programı kullanmak için \n" +"aşağıdaki \"GARANTİ YOK\" anlaşmasını okuyup, anlamak ve kabul etmek \n" +"durumundasınız. \n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane, Free Software Foundation GNU Genel Kamu Lisansı, \n" +"lisansın 2. sürümüne göre veya (sizin tercihiniz olarak)daha sonraki bir \n" +"bir sürümü, altında dağıtılmaktadır.\n" +"\n" +"Bu program faydalı olacağı umuduyla dağıtılmaktadır, ama\n" +"HİÇBİR GARANTİ İÇERMEZ; hatta HERHANGİ BİR AMACA \n" +"UYGUNLUĞU VEYA ÜRÜNLEŞTİRİLMESİNİ bile.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Eposta:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Web adresi" + +#. TEXT_FILE +msgid "File:" +msgstr "Dosya" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Tercüme:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"Türkçe'ye çevrim\n" +"Togan Müftüoğlu\n" +"E-posta: toganm@yahoo.com\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0:0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Taranan sayfalar: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Eposta metni" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Ekler" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Proje durumu" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Postalanacak resim dosya tipi:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Ortam ismi" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Boyut %d x %d piksel, %d bit/color, %d renkler, %1.0f dpi x %1.0f dpi, %1.1f " +"%s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Beneksizleştirme yarıçapı" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Bulanıklaştırma yarıçapı" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(adsız)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Alan adı:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Tarama modu" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Sol üst" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Boyut" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Çözünürlük:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bit derinliği" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "seçildiği gibi" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Yazıcı seçimi:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Adı:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Komut:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Kopyalanacak sayı seçeneği:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Lineart çözünürlük (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Grayscale çözünürlük (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Renkli çözünürlük (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "En " + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Yükseklik" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Sol boşluk " + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Alt boşluk " + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Yazıcı gamma değeri" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Yazıcı kırmızı gamma: " + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Yazıcı mavi gamma:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Yazıcı mavi gamma:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Geçici dizin" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Resim-dosya izinleri" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Dizin izinleri" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "JPEG resim kalitesi" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "PNG resim sıkıştırması" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Dosya adı sayac uzunluğu" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "TIFF 16 bit resim sıkıştırması" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "TIFF 8 bit resim sıkıştırması" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "TIFF lineart resim sıkıştırması" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Aralığı gösterme şekli:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Önizleme örnekleme:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Önizleme gamma:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Önizleme kırmızı gamma:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Önizleme yeşil gamma:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Önizleme mavi gamma" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Threshold seçeneği" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Otomatik Doküman Besleyici modu" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Önizleme pipette aralığı:" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Threshold minimum:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Threshold maksimum:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Threshold çarpanı:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Threshold boşluğu:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Grayscale tarama modu komutu:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Yardım dosyası göstericisi (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Alıcı seçeneği:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Postscript dosya seçeneği" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Normal mod seçeneği" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Hassas mod seçeneği" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Program öntanımlılarını belirle:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "İzleyici (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTP sunucu" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTP portu" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Kimden" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Yanıt Adresi" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3 Sunucu" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3 Portu" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "POP3 kullanıcı:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "POP3 Şifre:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Gösterici (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "OCR Komutu:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Giren dosya seçeneği" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Çıktı dosya seçeneği" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "GUI ilerme çubuğunu kullan" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUI çıktı seçeneği:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "İlerleme anahtar kelimesi" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "kullanıcı" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "grup" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "hepsi" + +msgid "new media" +msgstr "Yeni medya" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Kaydet" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Resim" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Kopyala" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Fax" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "E-posta:" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Göster" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Geliştirme " + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "E-posta:" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "İpuçlarını göster" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Önizlemeyi göster" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Histogramı göster" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Gamma eğrisini göster" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Sıralı taramayı göster" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Standart seçenekleri göster" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Gelişmiş özellikleri göster" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Ayarlar" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Uzunluk birimi" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milimetre" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "santimetre" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "inç" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Güncelleme yöntemi" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "sürekli" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "süreksiz" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "gecikmeli" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Çözünürlük listesini göster" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Postscripti döndür" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Ortam tanımını düzelt" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Aygıt ayarlarını sakla " + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Aygıt ayarlarını yükle" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Dizin değiştir" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "EULA'yı göster" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Lisansı (GPL) göster" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Xsane dökümanı" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Sürücü dokümanı" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "varolan sürücüler" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Tarama ipuçları" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problemler ?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "pasif" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "sıkıştırma yok" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "CCITT 1D Huffman sıkıştırması" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "CCITT Grup 3 Faks sıkıştırması" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "CCITT Grup 4 Faks sıkıştırması" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "JPEG DCT sıkıştırması" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "bitleri paketle" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Ölçek Çubuğu" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Kaydırma Çubuğu" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Çevirme düğmesi" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Ölçekleme ve Çevirme düğmesi" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Kaydırma çubuğu ve Çevirme düğmesi" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Standart seçenekleri penceresi (lineart)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "XSane ana pencere (lineart)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Xsane ana pencere (grayscale->lineart)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(hiçbiri)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "dosya son takısı" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Seçileni listeye ekle" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Ortam tanımı ekle" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Yeniden isimlendir" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Sil" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Yukarı taşı" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Aşağı taşı" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "tarıyor" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "%s data alıyor" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Resmi aktarıyor" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Resmi döndürüyor" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Resmin ayna görüntüsünü oluştur" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Resmi sıkıştırıyor" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Resim dönüştürülüyor " + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Resim saklanıyor" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Resim çoğaltılıyor" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Resim boyutlandırılıyor" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Resmi beneksizleştir" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Resmi bulanıklaştır" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR çalışmakta" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Taramayı başlat " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Taramayı iptal et " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Öntarama al " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Önizlemeyi iptal et " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"sakla-, izle-, fotokopi-, fax- veyamail-" +"" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Kaynak ortam tipini seçin. \n" +"Yeniden isimlendirmek, sıralamak veya silmek için, içeril menüsünü ( sağ " +"fare tuşu) kullanın \n" +"Ortam yaratmak için, tercihler menüsünde ortam tanımı düzeltme seçeneğini " +"etkin kılın. " + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Taramadan sonra dosyaadısayacına eklenen değer" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "resim dosyası ara" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Taranan resim için ad" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Resim formatının tipi, uygun olan dosya soneki otomatik olarak dosyaya " +"eklenir" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "faks projesinin adını girin" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Faks sayfası için ad girin" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Alıcının telefon numrasını veya adresini girin" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "E-Posta projesinin adını girin" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "E-Posta resmi için yeni isimgirin" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "E-posta adresi girin" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "E-Posta konusu girin" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Resim ekleri için dosya tipini seçin" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Öncden belirlenen alan için yeni isim gir" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Önceden belirlenen yeni alan için isim gir" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Ortam tanımı için yeni isim gir" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Ortam tanımı için isim gir" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Yazıcı tanımını seçin " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Tarama çözünürlüğünü ayarla" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "X yönü için tarama çözünürlüğünü ayarla" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Y yönü için taramna çözünürlüğünü ayarla" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Zum çarpanını ayarla" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "X yönü için Zum çarpanını ayarla" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Y yönü için zum çarpanını ayarla" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Kopya sayısını belirle" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negatif: negatifleri taramak için renkleri ters çevir" + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Gamma değerini belirle" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Kırmızı bileşenlerin gamma değerini belirle" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Yeşil bileşenlerin gamma değerini belirle" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "mavi bileşenlerin gamma değerini belirle" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Parlaklık ayarı" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Kırmızı bileşen için parlaklık ayarı" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Yeşil bileşen için parlaklık ayarı" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Mavi bileşen için parlaklık ayarı" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Kontrastı ayarla" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Kırmızı bileşen için kontrastı belirle" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Yeşil bileşen için kontrastı belirle" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Mavi bileşen için kontrastı belirle" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Threshold ayarı" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGB Öntanımı: kırmızı,yeşil ve mavi için geliştirme değerlerini öntanıma " +"ayarla değerler:\n" +" gamma =1.0\n" +" parlaklık =0\n" +" kontrast =0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "" +"Seçilen alana bağlı olarak gamma, ışık ve kontrastı otomatik ayarla" + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Gelişmiş değerleri ayarla:\n" +"gamma =1.0\n" +"parlaklık =0\n" +"kontrast =0n" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Tercihlerden geliştirilmiş değerleri geri yükle " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Etkin geliştirilmiş değerleri tercihlere yükle " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Yoğunluk/gri histogramını göster" + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Kırmızı bileşenin histogramını göster" + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Yeşil bileşenin histogramını göster" + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Mavi bileşenin histogramını göster" + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Histogramı, pikseller yerine çizgilerle göster" + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Piksel sayısının logaritmasını göster" + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Değiştirilecek tanımı seçin" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Bu tanımın seçimi için bir isim belirleyin" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Kopyalama modunda çalıştırılacak komutu girin (örn. \"lpr \")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Kopya sayıları seçeneğini girin" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Lineart resimlerin yazdırılması ve postscript de saklanması için çözünürlük" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Grayscale resimlerin yazdırılması ve postscript de saklanması için çözünürlük" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Renkli resimlerin yazdırılması ve postscript de saklanması için çözünürlük" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Basılacak alanın genişliği" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Basılacak alanın yüksekliği" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Kağıdın sol boşluğundan basılacak alan " + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Kağıdın alt boşluğundan basılacak alan " + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Fotokopi için ilave gamma değeri" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Fotokopi için kırmızı bileşenin ilave gamma değeri" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Fotokopi için yeşil bileşenin ilave gamma değeri" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Fotokopi için mavi bileşenin ilave gamma değeri" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Geçici dizin yolu" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Geçici dizine göz at" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Eğer jpeg veya jpeg sıkıştırmalı tiff olarak saklanacaksa, resmin yüzde " +"olarak kalitesi" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Eğer resim png olarak saklanırsa sıkıştırma" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Dosya adı sayacının mimum uzunluğu" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Eğer 16 bit resim tiff olarak saklanacaksa sıkıştırma tipi" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Eğer 8 bit resim tiff olarak saklanacaksa sıkıştırma tipi" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Eğer lineart resim tiff olarak saklanacaksa sıkıştırma tipi" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "Xsane'den çıkarken öntanımlı dosyadaki aygıt bağımlı tercihleri sakla" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Varolan dosyanın üzerine yazarken uyar" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Eğer dosya adı sayacı otomatik olarak artırılıyorsa, kullanılan rakamlar " +"atlanır" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"16 bitlik resim pnm formatında saklanacağı zaman binary formatı yerine ascii " +"formatını kullanın. Binary formatı henüz tüm programlar tarafından " +"kullanılmayan yeni bir formattır. Ascii formatı daha fazla program " +"tarafından kullanılmasına karşın oldukça büyük dosyalar üretir." + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Eğer tarayıcı resmi 16 bit/renk olarak yollarsa, resmi 8 bit/renk olarak " +"sakla" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Postscript dosyalar için kağıt eni " + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Postscript dosyalar için kağıt boyu " + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Postsrcipt dosyalar için kullanılabilen alana kağıdın sol boşluk arası" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Postsrcipt dosyalar için kullanılabilen alana kağıdın alt boşluk arası" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Sabit ana pencere veya yeniden boyutlandırılabilir scrolled ana pencere " +"kullan" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Xsane gimp plugini olarak çalıştırılırsa önizleme gammasını iptal et" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Eğer ekran derinliği 8 bpp ise öngösterim için kişisel renk tablosunu kullan" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Aralığın nasıl gösterileceğini seçin" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Hesaplanmış önizleme çözünürlüğünün çarpıldığı değer " + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Öngösterim resmi için gamma düzeltme değerini ayarla" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Öngösterim resminin kırmızı bileşeni için gamma düzeltme değerini ayarla" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "Öngösterim resminin yeşil bileşeni için gamma düzeltme değerini ayarla" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Öngösterim resminin mavi bileşeni için gamma düzeltme değerini ayarla" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Xsane'nin threshold seçeneğini nasıl kullanacağını belirleyin" + +# f,uzzy +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Grayscaleden lineart'a dönüşümlü önzizleme için Grayscale modunun adını girin" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Tarayıcının minimum threshold seviyesi %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Tarayıcının maksimum threshold seviyesi %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Xsane threshold aralığı ile tarayıcı threshold aralığını aynı yapacak çarpan" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Xsane threshold aralığı ile tarayıcı threshold aralığını aynı yapacak rakam" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Otomatik Döküman besyleyici için tarama kaynağını belirleyiniz. Eğer tarama " +"kaynağı seçilirse, Xsane hata veya \"kağıt kalmadı\" mesajına kadar " +"tarayacaktır" + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "Pipette fonksiyonu için ortalama renkte kullanılan karenin boyutları" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"yardım dosyalarını göstermek için çalıştırılacak komutu girin, html-" +"göstericisi olmalıdır!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "otomatik geliştirme tuşuna basılınca gamma değerini değiştir" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Önizleme taraması tamamlandıktan sonra tarama aranını seç" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Önizleme taraması bittikten sonra renk düzeltmesini yap" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Faks modunda çalıştırılacak komutu yazın" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Alıcıyı belirlemek için seçeğeni girin" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Postsript dosyalara eklenecek belirleme seçeneğini girin" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Normal modu (düşük çözünürlük) belirleyecek seçeneği girin" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Hassas modu (yüksek çözünürlük) belirleyecek seçeneği girin" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Faksı görmek için çalıştırılacak komutu yazın" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Faksı yüksek dikey çözünürlükle (98 lpi yerine 196 lpi ile)gönder" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "SMTP sunucusunun IP adresi veya Alan Adı" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "SMTP Sunucusuna bağlanacak port" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "E-Posta adresinizi yazın" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "Yanıtlama Adresini girin " + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "E-posta yollamadan önce POP3 sunucusunda otorizayon yap" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "POP3 Sunucusunun IP adresini veya Alan Adını yazın" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "POP3 sunusunda bağlanılacak port" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "POP3 sunucusundaki kullanıcı adı" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "POP3 sunucusu için şifre" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "E-posta resmini görmek için çalıştırılacak komutu yazın" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "E-Posta HTML olarak yollandı, resmi yerleştirmek için :" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "OCR prograrımın başlatmak için komutu girin" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Çıktı dosyası için ocr programının seçeneğini belirleyin" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Çıktı dosyası için ocr programının seçeneğini belirleyin" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" +"OCR programının gui ilerleme çubuğunu destekleyip desteklemediğini tanımlayın" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Çıktı dosyası tanımı için ocr programının seçeneğini GUI konumunda belirleyin" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"İlerleme bilgisini belirlemek için kullanılan Anahtar kelimeyi tanımlayın" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "okuma" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "yazma" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "çalıştırma" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Seçileni tarama listesine ekle" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Beyaz nokta seç" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Gri nokta seç" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Siyah nokta seç" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Tüm tarama alanını kullan" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "% 20 zumla" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Zumlanacak noktaya tıklayın" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Seçilen alana zum yap" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Son zumu geri al" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Görülen alanı belirleyin" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Tarama alanını otomatik seç" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Tarama alanını otomatik olarak öne çıkar" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Önizleme resim kaşesini sil" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Öntanımlı alan: \n" +"Yeni alan eklemek veya varolan alanı düzeltmek için içerik menüsünü (sağ " +"fare tuşu) kullanın." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Döndürmek önizlemek ve taramak" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Seçimin görünüm oranı:" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Basım için resim pozisyonunu tanımla" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Optik karakter okuyucu" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Son değişikliği geri al" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Resmi çoğalt" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Resmi 90 derece döndür" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Resmi 180 derece döndür" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Resmi 270 derece döndür" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Düşey eksenlerde resmi ters görüntüle (ayna etkisi)" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Yatay eksenlerde resmi ters görüntüle (ayna etkisi)" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Resmi büyüt" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Saklama ortamı" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Aktif ortamı silin" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Ölçek çarpanı" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "X ölçek çarpanı" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Y ölçek çarpanı" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Resmin enini boyutlandır [piksel olarak]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Resmin yüksekliğini boyutlandır [piksel olarak]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Tarama listesini sil" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Tarama listesini sakla" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Tarama listesini yükle" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Alanı yeniden isimlendir" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Seçilen önizleme alanını listeye ekle" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Seçilen önizleme alanını listeden sil" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Otomatik modu ethin kılar" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Ev dizinini belirlemede hata:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Çalışma dizinini değiştirmede hata" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Dosya adı çok uzun" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Geçici dosya yaratılamadı" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Seçeneğin değerini ayarlamada hata" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Seçeneğin değerini elde etmede hata" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Seçenek sayısını elde etmede hata" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Aygıtı açmada hata" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "Hiçbir aygıt mevcut değil" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Okuma esnasında hata:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Saklama esnasında hata" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Derinliği kullanamaz" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP %d bit /renk derinliği kullanamaz" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Saklamak için bilinmeyen format" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Açmada hata" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Güvenli dosya yaratılamadı (belki bağ mevcut değil)" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "yazıcı komutunu çalıştırmak için pipe açmada hata" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "yazıcı komutunu çalıştırmada hata:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Tarayıcıyı başlatmada hata:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "parametreleri almada hata:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Çıktı formatı belirtilmedi" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "yetersiz hafıza" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "" +"Tarayıcı sürücüsü parametrelerde belirtilenden daha fazla resim datası " +"gönderiyor" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF hata veriyor" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG hata veriyor" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG hata veriyor" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "bilinmeyen tip" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "bilinmeyen sıkıştırma tipi" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Seçeneğin ismi boş (NULL)" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Bu arkaplan aygıt hatası. Lütfen yazarı aygıt hakkında bilgilendiriniz" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Dokümantasyon göstericisini çalıştıramadı:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Faks göstericisini çalıştıramadı:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "faks komutunu çalıştıramadı:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "E-posta göstericisini çalıştıramadı:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "ocr komutunu çalıştıramadı:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "kötü kare formatı" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "çözünürlüğü ayarlayamadı" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Şifre dosyası (%s) güvenli değil, x00 izinlerin kullanın\n" + +#. ERR_ERROR +msgid "error" +msgstr "hata" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Sane sürüm rakamı tutmuyor !" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Xsane sürüm =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "sürücü ana versiyon =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAM SONLANDIRILDI***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Resim hafızası kullanmada hata:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Önizleme bit derinliğini kullanamaz" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "GIMP desteği kayıp" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Geçici önizleme dosyaları yaratılamadı" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Önizleme dosyaları için dosya isimleri yaratılamadı" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Fax projesi yaratılamadı" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Dosya adı sayacı karıştı" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "uyarı: seçeneğin değeri belirtilmemiş" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Xsane'ni ROOT olarak çalıştırmak istiyorsunuz, bu TEHLİKELİDİR!\n" +"\n" +"Root olarak xsane'i kullanırken olacak hataları \n" +"lütfen hata raporu olarak yollamayın\n" +"TEK BAŞINASINIZ!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Hata" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Uyarı" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Bilgi" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Ast süreç hatası" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Dosya yaratmada hata:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Aygıt ayarlarını yüklemede hata" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "aygıt-rc-dosyası değil !!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "netscape çalıştırılamadı!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Faks gönder: alıcı tanımlanmadı" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "aygıt için yaratılmıştır" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "aygıt için kullanmak istiyorsunuz" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "bu bazı sorunlar yaratabilir!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Saklanmamış %d resim var" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "%s dosyası zaten var" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "%s dosyası yok" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Dosya %s postscript dosyası değil" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Desteklenmeyen %d-bit çıktı formatı:%s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "İzleme resmi saklanamadı" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Kullanım:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[SEÇENEK]...[AYGIT]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"SANE (Scanner Access Now Easy) aygıtlarına ulaşmak için grafik kullanıcı " +"arayüzünü başlat.\n" +"\n" +"Kullanım şekli [AYGIT] sürücü:aygıtdosyası (örn. umax:/dev/scanner).\n" +"[SEÇENEK]... aşağıdakilerin kombinasyonu olabilir:\n" +" -h, --help yardım mesajını göster ve sonlandır\n" +" -v, --version sürüm bilgisini göster\n" +"-l , --licence ·················· lisans bilgisini göster\n" +"\n" +" -d, --device-settings file aygıt ayarlarını dosyadan yükle (\".drc\" " +"olmadan)\n" +"\n" +" -V, --viewer izleme modu aktif olarak başla (ön tanımlı)\n" +" -s, --save saklama modu aktif olarak başla\n" +" -c, --copy kopyalama modu aktif olarak başla\n" +" -f, --fax faks modu aktif olarak başla\n" +" -m, --mail e-posta modu aktif olarak başla\n" +" -n, --no-mode-selection xsane mod seçimi menüsünü pasif kıl\n" +"\n" +"-, --Fixed sabit ana pencere boyutu (tercihler değerinin " +"yerine geçer)\n" +" -R, --Resizeable yeniden boyutlanadırılabilir, kayan pencere " +"(tercihler değerinin yerine geçer)\n" +"\n" +"-p, --print-filenames ············ Xsane tarafından yaratılan resim " +"dosyalarını bas\n" +"-N, --force-filename name dosyaadını kulllan ve kullanıcı dosyaad seçimi " +"iptal et\n" +" --display X11-display çıktıyı X11-ekranına yönlendir\n" +" --no-xshm paylaşılan hafıza resimleri kullanma\n" +" --sync X11 sunucu ile senkronize bağlantı iste" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Sane arabirimine Ön yüz" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Bu fonksiyon tarayıcılara ve diğer resim yakalama aygıtlarınaSANE (Scanner " +"Access Now Easy) arabirimi ile ulaşmayı sağlar." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/Dosya/yakala/Xsane: Aygıt Diyalogu..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/Dosya/Yakala/Xsane:" + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/XTns/Xsane/Aygıt diyalog " + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Olası nedenler: \n" +"1)SANE tarafından desteklenen aygıt yok \n" +"2)Desteklenen aygıtlar meşgul \n" +"3)Aygıt dosyası için erişim izniniz yok, root olarak deneyin \n" +"4)Sürücü SANE tarafından yüklenmemiş (man sane-dll)\n" +"5)Sürücü doğru ayarlanmamış (man sane-\"sürücüadı\")\n" +"6)Birden fazla SANE sürümü yüklenmiş olabilir" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "tam boyut" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 dikey" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 yatay" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 dikey" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 yatay" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 dikey" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 yatay" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "yasal dikey." + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "yasal yatay" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "mektup dikey" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "mektup yatay" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Tüm renk aralığı" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Diapozitif" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Standart negatif" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa negatif" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Agfa negatif XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Agfa negatif HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Fuji negatif" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Kodak negatif" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Konica negatif" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Konica negatif VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Rossmann negatif HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "E-Posta projesi yaratılmadı" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "E-Posta projesi yaratıldı" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "E-Posta projesi değişti" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "E-Posta projesini okumada hata" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "POP3 bağlantısı kurulamadı" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "POP3 login hatalı" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "SMTP bağlantısı yapılamadı" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Gönderen girdisi kabul edilmedi" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Alıcı girdisi kabul edilmedi" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Posta bilgisi kabul edilmedi" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Posta gönderiliyor" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Posta gönderildi" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Faks projesi yaratılamadı" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Faks projesi yaratıldı" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Faks projesi değiştirildi" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Faks kuyruğa alınıyor" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Faks kuyrukta" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "flatbed tarayıcı" + +msgid "frame grabber" +msgstr "kare yakalayıcı" + +msgid "handheld scanner" +msgstr "el tarayıcısı" + +msgid "still camera" +msgstr "fotograf makinesi " + +msgid "video camera" +msgstr "video kamera" + +msgid "virtual device" +msgstr "Sanal aygıt" + +msgid "Success" +msgstr "Başarı" + +msgid "Operation not supported" +msgstr "İşlem desteklenmiyor" + +msgid "Operation was cancelled" +msgstr "İşlem iptal edildi" + +msgid "Device busy" +msgstr "Aygıt meşgul" + +msgid "Invalid argument" +msgstr "Geçersiz argüman" + +msgid "End of file reached" +msgstr "Dosya sonuna ulaşıldı" + +msgid "Document feeder jammed" +msgstr "Doküman yükleyici sıkıştı" + +msgid "Document feeder out of documents" +msgstr "Doküman yükleyici dokümansız" + +msgid "Scanner cover is open" +msgstr "Tarayıcı kapağı açık" + +msgid "Error during device I/O" +msgstr "Aygıt I/O hatası" + +msgid "Out of memory" +msgstr "Yetersiz hafıza" + +msgid "Access to resource has been denied" +msgstr "Kaynağa erişim reddedildi" diff --git a/po/UTF-8/vi.gmo b/po/UTF-8/vi.gmo new file mode 100644 index 0000000..aedb3e1 Binary files /dev/null and b/po/UTF-8/vi.gmo differ diff --git a/po/UTF-8/vi.po b/po/UTF-8/vi.po new file mode 100644 index 0000000..98e211f --- /dev/null +++ b/po/UTF-8/vi.po @@ -0,0 +1,2835 @@ +# Vietnamese Translation for XSane Catalog. +# Copyright (C) Trinh Minh Thanh , 2002-2003. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-26 23:33+0700\n" +"Last-Translator: Trinh Minh Thanh \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +# Please translate this to the correct directory name (eg. german=>de) +# XSANE_LANGUAGE_DIR +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "vi" + +# XSANE_COPYRIGHT_SIGN +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +# can be translated with \251 +# FILENAME_PREFIX_CLONE_OF +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "bản sao của" + +# WINDOW_ABOUT_XSANE +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Giới thiệu" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Giới thiệu dịch thuật" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "Chấp thuận giấy phép" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - giấy phép" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Chấp thuận giấy phép của người dùng (EULA)" + +#. WINDOW_INFO +msgid "info" +msgstr "thông tin" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "nạp danh sách batch" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "lưu danh sách batch" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "quét batch" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "đổi tên vùng batch" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "dự án fax" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "đổi tên trang fax" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "chèn tập tin ps vào fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "dự án thư" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "đổi tên ảnh thư" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "chèn tập tin vào thư" + +# WINDOW_PRESET_AREA_RENAME +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "đổi tên vùng định trước" + +# WINDOW_PRESET_AREA_ADD +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "thêm vùng định trước" + +# WINDOW_MEDIUM_RENAME +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "đổi tên phương tiện" + +# WINDOW_MEDIUM_ADD +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "thêm phương tiện mới" + +#. WINDOW_SETUP +msgid "setup" +msgstr "thiết lập" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Bảng kê" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Đường cong gamma" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Tùy chọn chuẩn" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Tùy chọn nâng cao" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "chọn thiết bị" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Xem trước" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Trình xem" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Trình xem: chọn tên tập tin đầu ra" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Chọn tên tập tin đầu ra cho tập tin văn bản OCR" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "chọn tên tập tin đầu ra" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "lưu thiết lập thiết bị" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "nạp thiết lập thiết bị" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "thay đổi thư mục làm việc" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "chọn thư mục tạm thời" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Cân chỉnh ảnh" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Xóa vết đốm ảnh" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Làm mờ ảnh" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Lưu trữ định nghĩa phương tiện" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Hiện không có thiết bị" + +#. MENU_FILE +msgid "File" +msgstr "Tệp" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Sở thích" + +#. MENU_VIEW +msgid "View" +msgstr "Xem" + +# MENU_WINDOW +#. MENU_WINDOW +msgid "Window" +msgstr "Cửa sổ" + +#. MENU_HELP +msgid "Help" +msgstr "Trợ giúp" + +# MENU_EDIT +#. MENU_EDIT +msgid "Edit" +msgstr "Hiệu chỉnh" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Trình lọc" + +# MENU_GEOMETRY +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Hình học" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Giới thiệu XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Thông tin" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Thoát" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Lưu ảnh" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - lưu theo văn bản" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Sao chép" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Cân chỉnh" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Đóng" + +# MENU_ITEM_UNDO +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Hoàn tác" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Xóa vết đốm" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Làm mờ" + +# MENU_ITEM_ROTATE90 +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Xoay 90" + +# MENU_ITEM_ROTATE180 +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Xoay 180" + +# MENU_ITEM_ROTATE270 +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Xoay 270" + +# MENU_ITEM_MIRROR_X +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Phản chiếu |" + +# MENU_ITEM_MIRROR_Y +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Phản chiếu -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Ảnh thô" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Ảnh cải thiện" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Quét" + +#. BUTTON_OK +msgid "Ok" +msgstr "OK" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Đồng ý" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Không đồng ý" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Áp dụng" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Bỏ qua" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Giảm" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Tiếp tục với rủi ro" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Duyệt" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Ghi đè" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Quét danh sách batch" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Quét vùng chọn" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Xóa trang" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Hiển thị trang" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Đổi tên trang" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Xóa ảnh" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Hiển thị ảnh" + +# BUTTON_IMAGE_EDIT +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Hiệu chỉnh ảnh" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Đổi tên ảnh" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Chèn tập tin" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Tạo dự án" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Gửi dự án" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Xóa dự án" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Thêm máy in" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Xóa máy in" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Quét xem trước" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Thôi xem trước" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Bỏ ảnh" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Bỏ mọi ảnh" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Không đóng" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Giới hạn cân chỉnh" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Chế độ tinh xảo" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "Thư dạng html" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Lưu các sở thích thiết bị và thoát ra" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Cảnh báo việc ghi đè" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Nhảy qua các tên tập tin hiện có" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Lưu 16bit pnm theo định dạng ascii" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Giảm ảnh 16 bit xuống 8 bit" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Kích cỡ cửa sổ chính không đổi" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Tắt gamma xem trước của GIMP" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Dùng bản đồ màu riêng" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Tự động cải thiện gamma" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Chọn trước vùng quét" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Tự động hiệu chỉnh màu" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "Chứng thực POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Dùng pipe tiến trình đồ họa" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "đang rà tìm thiết bị" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Thiết bị hiện có:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Tùy chọn XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Chế độ XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "bước" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Loại" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Máy quét và backend:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Nhà SX:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Loại:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Thiết bị:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Backend đã nạp:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Phiên bản SANE:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Giá trị hiện thời:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Hiệu chỉnh gamma bởi:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "máy quét" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "phần mềm (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "không" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Độ sâu đầu vào gamma:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Độ sâu đầu ra gamma:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Độ sâu đầu ra máy quét:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Định dạng đầu ra của XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "Định dạng đầu ra 8 bit:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "Định dạng đầu ra 16 bit:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp không hỗ trợ độ sâu màu 16 bit.\n" +"Có muốn hạ xuống 8 bit không ?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Không hỗ trợ độ sâu màu 16 bit cho định dạng đầu ra này.\n" +"Có muốn hạ xuống 8 bit không ?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Yêu cầu chấp thuận giấy phép cho" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Việc truyền mật khẩu được bảo mật" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Backend yêu cầu mật khẩu dạng văn bản đơn thuần" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Tên người dùng:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Mật khẩu:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Tham số không hợp lệ." + +#. TEXT_VERSION +msgid "version:" +msgstr "phiên bản:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "gói tin" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "có hỗ trợ của GIMP" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "không có hỗ trợ của GIMP" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "được biên dịch với GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "được biên dịch với GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "không xác định" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane được phân phối dưới các điều khoản của GNU/GPL do\n" +"Tổ Chức Phần Mềm Tự Do phát hành kể từ phiên bản 2 trở đi.\n" +"\n" +"Chương trình này được phân phối với hy vọng là nó hữu ích cho bạn\n" +"nhưng không kèm theo bảo đảm nào, thậm chí không có ý là sẽ\n" +"đảm bảo cho việc thương mại hay cho một mục đích đặc biệt nào.\n" +"Chương chình không tránh khỏi có thiếu sót, bạn có thể tốn kém với\n" +"mọi dịch vụ cần thiết, sửa chữa hay hiệu chỉnh. Để dùng chương trình,\n" +"bạn cần đọc để hiểu và chấp thuận cam kết \"KHÔNG ĐẢM BẢO\" sau.\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane được phân phối dưới các điều khoản của GNU/GPL do\n" +"Tổ Chức Phần Mềm Tự Do phát hành kể từ phiên bản 2 trở đi.\n" +"\n" +"Chương trình này được phân phối với hy vọng là nó hữu ích cho bạn\n" +"nhưng không kèm theo bảo đảm nào, thậm chí không có ý là sẽ\n" +"đảm bảo cho việc thương mại hay cho một mục đích đặc biệt nào.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Thư:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Trang chủ:" + +#. TEXT_FILE +msgid "File:" +msgstr "Tập tin:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Dịch thuật:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"Dịch sang tiếng Việt bởi:\n" +"Trịnh Minh Thanh\n" +"Email: tmthanh@yahoo.com\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Trang đã quét: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Văn bản email:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Đính kèm:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Tình trạng dự án:" + +# TEXT_MAIL_FILETYPE +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Loại tập tin đính kèm:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Tên phương tiện:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Kích cỡ %d x %d pixel, %d bit/màu, %d màu, %1.0f dpi x %1.0f dpi, %1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Xóa vết lốm đốm theo bán kính:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Làm mờ theo bán kính:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(không tên)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Tên vùng:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Chế độ quét:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Đỉnh trái:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Kích thước:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Độ phân giải:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Độ sâu bit:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "như đã chọn" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Chọn máy in:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Tên:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Lệnh:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Đặt số bản sao:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Độ phân giải lineart (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Độ phân giải cân bằng xám (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Độ phân giải màu (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Rộng" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Cao" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Offset trái" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Offset đáy" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Giá trị gamma máy in:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Đỏ gamma máy in:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Xanh lá cây gamma máy in:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Xanh da trời gamma máy in:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Thư mục tạm" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Quyền hạn cho tập tin ảnh" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Quyền hạn cho thư mục" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Chất lượng ảnh JPEG" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Nén ảnh PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Độ dài bộ đếm tên tập tin" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Nén ảnh 16 bit TIFF" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Nén ảnh 8 bit TIFF" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Nén ảnh lineart TIFF" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Hiển thị khoảng theo:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Quá mẫu chuẩn Xem Trước:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Gamma Xem Trước:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Đỏ gamma Xem Trước:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Xanh lá cây gamma Xem Trước:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Xanh da trời gamma Xem Trước:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Tùy chọn ngưỡng:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Bộ Khay Nạp Tài Liệu Tự Động:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Xem trước khoảng pipette" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Ngưỡng tối thiểu:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Ngưỡng tối đa:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Ngưỡng bộ nhân:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Ngưỡng offset:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Tên chế độ quét cân bằng xám:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Trình xem tập tin trợ giúp (html):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Tùy chọn người nhận:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Tùy chọn Postscriptfile:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Tùy chọn chế độ bình thường:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Tùy chọn chế độ tinh xảo:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Đặt mặc định chương trình cho:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Trình xem (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "Máy chủ SMTP:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "Cổng SMTP:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Từ:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Trả lời:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "Máy chủ POP3:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "Cổng POP3:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "Người dùng POP3:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "Mật khẩu POP3:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Trình xem (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Lệnh OCR:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Tùy chọn tập tin đầu vào:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Tùy chọn tập tin đầu ra:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Dùng pipe tiến trình đồ họa:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Tùy chọn output-fd đồ họa:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Từ khóa tiến trình:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "người dùng" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "nhóm" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "toàn bộ" + +msgid "new media" +msgstr "phương tiện mới" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Lưu" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Ảnh" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Sao chép" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Fax" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Thư" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Hiển thị" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Cải thiện" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Email" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Hiển thị mẹo sử dụng" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Hiển thị Xem Trước" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Hiển thị bảng kê" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Hiển thị đường cong gamma" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Hiển thị quét batch" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Hiển thị tùy chọn chuẩn" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Hiển thị tùy chọn nâng cao" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Thiết lập" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Đơn vị dài" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "millimeter" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimeter" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "inche" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Chính sách cập nhật" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "liên tục" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "không liên tục" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "Để trễ" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Hiển thị danh sách độ phân giải" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Xoay postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Biên soạn định nghĩa phương tiện" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Lưu thiết lập thiết bị" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Nạp thiết lập thiết bị" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Đổi thư mục" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Hiển thị EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Hiển thị giấy phép (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Tài liệu XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Tài liệu backend" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Backend hiện có" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Mẹo quét" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Trục trặc?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "bất hoạt" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "không nén" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "Nén CCITT 1D Huffman" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Nén CCITT Group 3 Fax" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Nén CCITT Group 4 Fax" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Nén JPEG DCT" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "gói các bit" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Con trượt (Cân chỉnh)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Con trượt (Thanh cuộn)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Nút xoay" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Nút Xoay và Cân chỉnh" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Thanh cuộn và Nút xoay" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Cửa sổ tùy chọn chuẩn (lineart)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Cửa sổ chính XSane (lineart)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Cửa sổ chính XSane (grayscale->lineart)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(không)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "theo phần mở rộng" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Thêm việc chọn vào danh sách" + +# MENU_ITEM_MEDIUM_ADD +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Bổ sung định nghĩa phương tiện" + +# MENU_ITEM_RENAME +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Đổi tên mục" + +# MENU_ITEM_DELETE +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Xóa mục" + +# MENU_ITEM_MOVE_UP +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Chuyển mục lên" + +# MENU_ITEM_MOVE_DWN +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Chuyển mục xuống" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Đang quét" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Đang nhận dữ liệu %s" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Đang truyền ảnh" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Đang xoay ảnh" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Đang phản chiếu ảnh" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Đang đóng gói ảnh" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Đang chuyển đổi ảnh" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Đang lưu ảnh" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Đang sao ảnh" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Đang cân chỉnh ảnh" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Đang xóa lốm đốm ảnh" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Đang làm mờ ảnh" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Đang chạy OCR" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Bắt đầu quét " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Thôi quét " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Quét để Xem Trước " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Thôi quét Xem Trước " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"lưu-, xem-, photocopy-, fax- hay thư-" + +# DESC_XSANE_MEDIUM +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Chọn loại phương tiện nguồn.\n" +"Để đổi tên, yêu cầu lại hoặc xóa một mục, hãy dùng menu ngữ cảnh (nút phải " +"chuột).\n" +"Để tạo phương tiện, hãy bật tùy chọn định nghĩa phương tiện trong menu Tùy " +"Thích." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Giá trị được thêm vào bộ đếm tên tập tin sau khi quét" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Duyệt tên tập tin ảnh" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Tên tập tin cho ảnh đã quét" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Loại định dạng ảnh, phần mở rộng thích hợp của tên tập tin được tự động thêm " +"vào tên tập tin" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Nhập tên cho dự án Fax" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Nhập tên mới cho trang Fax" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Nhập số điện thoại hay địa chỉ người nhận" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Nhập tên dự án thư" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Nhập tên mới cho ảnh trong thư" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Nhập địa chỉ thư" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Nhập chủ đề thư" + +# DESC_MAIL_FILETYPE +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Chọn loại tập tin cho ảnh đính kèm" + +# DESC_PRESET_AREA_RENAME +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Nhập tên mới cho vùng định trước" + +# DESC_PRESET_AREA_ADD +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Nhập tên cho vùng định trước mới" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Nhập tên mới cho định nghĩa phương tiện" + +# DESC_MEDIUM_ADD +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Nhập tên cho định nghĩa phương tiện mới" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Chọn định nghĩa máy in " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Đặt độ phân giải khi quét" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Đặt độ phân giải cho trục X" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Đặt độ phân giải cho trục Y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Đặt zoomfactor" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Đặt zoomfactor cho trục X" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Đặt zoomfactor cho trục Y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Đặt số lượng bản sao" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Âm bản: đảo màu để quét âm bản " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Đặt giá trị gamma" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Đặt giá trị gamma cho thành phần màu đỏ" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Đặt giá trị gamma cho thành phần màu xanh lá cây" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Đặt giá trị gamma cho thành phần màu xanh da trời" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Đặt độ sáng" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Đặt độ sáng cho thành phần màu đỏ" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Đặt độ sáng cho thành phần màu xanh lá cây" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Đặt độ sáng cho thành phần màu xanh da trời" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Đặt độ tương phản" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Đặt độ tương phản cho thành phần màu đỏ" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Đặt độ tương phản cho thành phần màu xanh lá cây" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Đặt độ tương phản cho thành phần màu xanh da trời" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Đặt ngưỡng" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"Mặc định RGB: Đặt các giá trị cải thiện cho màu đỏ, xanh lá cây và xanh da " +"trời thành giá trị mặc định :\n" +" gamma = 1.0\n" +" độ sáng = 0\n" +" độ tương phản = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Tự động hiệu chỉnh gamma, độ sáng và độ tương phản " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Đặt giá trị cải thiện mặc định :\n" +"gamma = 1.0\n" +"độ sáng = 0\n" +"độ tương phản = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Khôi phục các giá trị cải thiện từ các tùy thích " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Lưu trữ các giá trị cải thiện hoạt động vào Tùy thích " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Hiển thị bảng kê cường độ/màu xám " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Hiển thị bảng kê của thành phần màu đỏ " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Hiển thị bảng kê của thành phần màu xanh lá cây " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Hiển thị bảng kê của thành phần màu xanh da trời " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Chế độ hiển thị: hiển thị bảng kê theo dòng thay vì pixel " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Hiển thị logarithm của pixelcount " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Chọn định nghĩa để thay đổi" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Đặt tên cho việc chọn định nghĩa này" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Nhập lệnh thực thi trong chế độ sao chép (VD: \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Nhập số lượng bản sao" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "Độ phân giải để in và lưu ảnh lineart theo dạng postscript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "Độ phân giải để in và lưu ảnh cân bằng xám theo dạng postscript" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "Độ phân giải để in và lưu ảnh màu theo dạng postscript" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Chiều rộng vùng in được" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Chiều cao vùng in được" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Offset trái từ mép giấy đến vùng in được" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Offset đáy từ mép giấy đến vùng in được" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Giá trị gamma thêm cho photocopy" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Giá trị gamma thêm cho thành phần màu đỏ cho photocopy" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Giá trị gamma thêm cho thành phần màu xanh lá cây cho photocopy" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Giá trị gamma thêm cho thành phần màu xanh da trời cho photocopy" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Đường dẫn tới thư mục tạm" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Duyệt tìm thư mục tạm" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Chất lượng theo phần trăm nếu ảnh được lưu là jpeg hay tiff với kiểu nén jpeg" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Nén nếu ảnh được lưu dạng png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Độ dài tối thiểu của bộ đếm trong tên tập tin" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Kiểu nén nếu ảnh 16 bit được lưu là tiff" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Kiểu nén nếu ảnh 8 bit được lưu là tiff" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Kiểu nén nếu ảnh lineart được lưu là tiff" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Lưu các tùy thích phụ thuộc thiết bị vào tập tin mặc định khi thoát khỏi " +"XSane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Cảnh báo trước khi ghi đè tập tin hiện có" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "Nếu bộ đếm tên tập tin được tăng tự động, bỏ qua các số đã dùng" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Khi lưu ảnh 16 bit theo định dạng pnm thì sau đó dùng định dạng ascii thay " +"cho định dạng nhị phân. Định dạng nhị phân là định dạng mới không được các " +"chương trình hỗ trợ. Định dạng ascii được nhiều chương trình hỗ trợ nhưng " +"lại tạo các tập tin ảnh lớn !!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "Nếu máy quét gửi ảnh 16 bit/màu thì lưu thành 8 bit/màu" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Bề ngang của trang cho tập tin postscript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Chiều cao của trang cho tập tin postscript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Lề trái offset từ mép giấy đến vùng sử dụng cho tập tin postscript" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Đáy offset từ mép giấy đến vùng sử dụng cho tập tin postscript" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Dùng cỡ cửa sổ chính cố định hoặc cửa sổ chính cuộn được và có thể đổi cỡ" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Tắt Xem trước gamma khi chạy XSane làm plugin của GIMP" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "Dùng bản đồ màu cho xem trước nếu độ sâu hiển thị là 8 bit" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Chọn cách hiển thị một chuỗi" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Giá trị để độ phân giải xem trước đã tính toán được nhân lên" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Đặt giá trị hiệu chỉnh gamma cho ảnh xem trước" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "Đặt giá trị hiệu chỉnh gamma cho thành phần màu đỏ của ảnh xem trước" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Đặt giá trị hiệu chỉnh gamma cho thành phần màu xanh lá cây của ảnh xem trước" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "" +"Đặt giá trị hiệu chỉnh gamma cho thành phần màu xanh da trời của ảnh xem " +"trước" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Định nghĩa cách để XSane xử lý tùy chọn ngưỡng" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Chọn chế độ quét cân bằng xám, dùng để quét xem trước lineart khi cho phép " +"chuyển dạng từ cân bằng xám thành lineart" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Mức ngưỡng tối thiểu của máy quét theo %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Mức ngưỡng tối đa của máy quét theo %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "Bộ nhân để tạo khoảng ngưỡng của XSane và máy quét là như nhau" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "Offset để tạo khoảng ngưỡng của XSane và máy quét là như nhau" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Chọn nguồn quét cho khay nạp tài liệu tự động. Nếu nguồn quét này được XSane " +"chọn quét đến khi \"Hết giấy\" hay khi gặp lỗi." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "Cạnh hình vuông được dùng để dung hòa màu cho hàm pipette" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Nhập lệnh thực thi để hiển thị tập tin trợ giúp, phải là trình xem html!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Thay đổi giá trị gamma khi nhấn nút tự động cải thiện" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Chọn vùng quét sau khi kết thúc việc quét xem trước" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Hiệu chỉnh màu sau khi kết thúc việc quét xem trước" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Nhập lệnh thực thi trong chế độ Fax" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Nhập tùy chọn để chỉ ra người nhận" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Nhập tùy chọn để định ra tập tin postscript sau đây" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Nhập tùy chọn để định ra chế độ bình thường (độ phân giải thấp)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Nhập tùy chọn để định ra chế độ tinh xảo (độ phân giải cao)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Nhập lệnh thực thi để xem Fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Gửi Fax có độ phân giải dọc cao (196 lpi thay vì 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "Địa chỉ IP hay tên miền của máy chủ SMTP" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "cổng nối tới máy chủ SMTP" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "nhập địa chỉ email của bạn" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "nhập địa chỉ email cho các email được trả lời" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Chứng thực tại máy chủ POP3 trước khi gửi thư" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "Địa chỉ IP hay tên miền của máy chủ POP3" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "cổng nối tới máy chủ POP3" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "tên người dùng cho máy chủ POP3" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "mật khẩu cho máy chủ POP3" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Nhập lệnh được thực thi để xem ảnh trong thư" + +# DESC_HTML_MAIL +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "Thư gửi theo phương thức HTML, thay ảnh bằng: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "nhập lệnh chạy chương trình OCR" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Nhập tùy chọn của chương trình OCR để định ra tập tin đầu vào" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Nhập tùy chọn của chương trình OCR để định ra tập tin đầu ra" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Định nghĩa nếu chương trình OCR hỗ trợ pipe tiến trình đồ họa" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Nhập tùy chọn của chương trình OCR để định ra output filedescripor trong chế " +"độ đồ họa" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Định ra từ khóa dùng để đánh dấu thông tin tiến trình" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "đọc" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "ghi" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "thực thi" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Thêm phần chọn cho quét batch" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Lấy điểm trắng" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Lấy điểm xám" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Lấy điểm đen" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Dùng toàn bộ vùng quét" + +# DESC_ZOOM_OUT +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Thu nhỏ 20%" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Nhấp chuột tại vị trí để phóng " + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Phóng to vùng chọn" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Thôi việc phóng vừa rồi" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Chọn vùng hiển thị" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Tự động chọn vùng quét" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Tự động nâng vùng quét" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Xóa cache ảnh xem trước" + +# DESC_PRESET_AREA +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Vùng định trước:\n" +"Để thêm vùng mới hay hiệu chỉnh vùng hiện có, hãy dùng menu ngữ cảnh (nút " +"phải chuột)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Xoay ảnh xem trước và quét" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Tỷ lệ cạnh của vùng chọn" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Định ra vị trí ảnh để in" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Nhận Dạng Ký Tự Quang (OCR)" + +# DESC_VIEWER_UNDO +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Thôi việc thay đổi vừa rồi" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Sao ảnh" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Xoay ảnh 90 độ" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Xoay ảnh 180 độ" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Xoay ảnh 270 độ" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Phản chiếu ảnh qua trục dọc" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Phản chiếu ảnh qua trục ngang" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Phóng ảnh" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Thiết bị lưu trữ" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Xóa phương tiện hoạt động" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Tác nhân cân chỉnh" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Tác nhân cân chỉnh X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Tác nhân cân chỉnh Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Cân chỉnh ảnh theo chiều ngang [theo pixel]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Cân chỉnh ảnh theo chiều cao [theo pixel]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Xóa nội dung danh sách batch" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Lưu danh sách batch" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Nạp danh sách batch" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Đổi tên vùng" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Thêm vùng xem trước được chọn vào danh sách batch" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Xóa vùng được chọn khỏi danh sách batch" + +# DESC_AUTOMATIC +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Bật chế độ tự động" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Không xác định được thư mục home:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Không đổi được thư mục hoạt động thành" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Tên tập tin quá dài" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Không tạo được tập tin tạm thời" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Không đặt được giá trị tùy chọn" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Không đạt tới được giá trị tùy chọn" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Lỗi khi đạt tới số tùy chọn" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Không mở được thiết bị" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "không có thiết bị" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Lỗi khi đọc:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Lỗi khi lưu:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Không thể xử lý độ sâu" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP không thể xử lý độ sâu %d bit/màu" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Không xác định được định dạng tập tin để lưu" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Không mở được" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Không thể tạo tập tin bảo mật (có thể một liên kết đang tồn tại):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Không mở được pipe để thực thi lệnh máy in" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Không thực thi được lệnh máy in:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Không chạy được máy quét:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Không nhận được tham số:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Không có định dạng đầu ra" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "hết bộ nhớ" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Backend gửi nhiều dữ liệu ảnh hơn chỉ định trong tham số" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF báo có lỗi" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG báo có lỗi" + +# ERR_LIBJPEG +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG báo lỗi" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "loại không xác định" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "Kiểu tự chủ không xác định" + +# ERR_OPTION_NAME_NULL +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Tùy chọn có tên trống (null)." + +# ERR_BACKEND_BUG +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Đây là lỗi của backend. Hãy thông báo cho tác giả biết!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Không thực thi được trình xem tài liệu:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Không thực thi được trình xem Fax:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Không thực thi được lệnh Fax:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Không thực thi được trình xem ảnh trong thư:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Không thực thi được lệnh OCR:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "định dạng khung hỏng" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "không thể đặt độ phân giải" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Tập tin mật khẩu (%s) không bảo mật, hãy dùng quyền hạn x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "lỗi" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Không khớp số phiên bản chính của SANE!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "phiên bản chính XSane =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "phiên bản chính backend =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** HỦY BỎ CHƯƠNG TRÌNH ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Không cấp phát bộ nhớ được cho ảnh:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Xem trước không thể xử lý độ sâu bit" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Thiếu hỗ trợ GIMP" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Không thể tạo tập tin xem trước tạm thời" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Không thể tạo tên cho tập tin xem trước" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Không thể tạo dự án fax" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Chạy dưới bộ đếm tên tập tin" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "cảnh báo: tùy chọn không có tính tự chủ giá trị" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Bạn chạy XSane bằng ROOT, việc này rất NGUY HIỂM!\n" +"\n" +"Không gửi bất kỳ báo lỗi nào nếu có khi chạy bằng root:\n" +"Bạn bị bỏ mặc !" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Lỗi" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Cảnh báo" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Thông tin" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Lỗi tiến trình con" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Không tạo được tập tin:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Lỗi khi nạp thiết lập của thiết bị:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "không phải device-rc-file !!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Không thực thi được Netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Gửi fax: chưa chỉ định người nhận" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "đã được tạo ra cho thiết bị" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "bạn muốn dùng nó cho thiết bị" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "Việc này có thể gây trục trặc!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Có %d ảnh chưa được lưu" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Tập tin %s tồn tại rồi" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Tập tin %s không tồn tại" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Tập tin %s không phải dạng postscript" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Không hỗ trợ định dạng đầu ra %d-bit: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "Ảnh ở trình xem không được lưu" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Cách dùng:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[TÙY CHỌN]... [THIẾT BỊ]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Khởi chạy giao diện đồ họa để truy cập thiết bị SANE (Scanner Access Now " +"Easy)\n" +"\n" +"Định dạng [Thiết Bị] là tên backend: tập tin thiết bị (VD: umax:/dev/" +"scanner).\n" +"[Tùy Chọn]... có thể là phức hợp của các mục sau đây:\n" +" -h, --help hiển thị thông điệp trợ giúp và thoát ra\n" +" -v, --version in lên màn hình thông tin về phiên bản\n" +" -l, --license in ra màn hình thông tin về giấy phép\n" +"\n" +" -d, --device-settings file nạp thiết lập thiết bị từ tập tin (không có \"." +"drc\")\n" +"\n" +" -V, --viewer chạy kèm hoạt động chế độ của trình xem (mặc " +"định)\n" +" -s, --save chạy kèm hoạt động của chế dộ lưu\n" +" -c, --copy chạy kèm hoạt động của chế độ sao chép\n" +" -f, --fax chạy kèm hoạt động của chế độ fax\n" +" -m, --mail chạy kèm hoạt động của chế độ thư\n" +" -n, --no-mode-selection Tắt menu cho việc chọn chế độ của XSane\n" +"\n" +" -F, --Fixed cố định cỡ cửa sổ chính (ghi đè giá trị tùy " +"thích)\n" +" -R, --Resizeable đổi cỡ và cuộn cửa sổ chính (ghi đè giá trị " +"tùy thích)\n" +"\n" +" -p, --print-filenames in tên tập tin ảnh do XSane tạo ra\n" +" -N, --force-filename name ép buộc tên tập tin và tắt việc chọn tên tập " +"tin của người dùng\n" +"\n" +" --display X11-display đổi hướng đầu ra tới X11-display\n" +" --no-xshm không dùng ảnh bộ nh chia sẻ\n" +" --sync yêu cầu kết nối đồng bộ với máy chủ X11" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Front-end tới giao diện SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Chức năng này cho phép truy cập máy quét và các thiết bị thu ảnh thông qua " +"giao diện của SANE (Scanner Access Now Easy)." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/Tập tin/Nhận từ/XSane: Thoại thiết bị..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/Tập tin/Nhận từ/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Thoại thiết bị..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Có thể là những nguyên nhân sau:\n" +"1) Thật sự là không có thiết bị nào được SANE hỗ trợ.\n" +"2) Thiết bị được hỗ trợ đang bận\n" +"3) Quyền hạn cho tập tin thiết bị không cho phép bạn chạy - hãy thử bằng " +"root\n" +"4) SANE không nạp backend (man sane-dll)\n" +"5) Chưa cấu hình đúng backend (man sane-\"backendname\")\n" +"6) Có khả năng là có hơn một phiên bản của SANE đã được cài đặt" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "To hết cỡ" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 dọc" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 ngang" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 dọc" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 ngang" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 dọc" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 ngang" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "Giấy chuẩn dọc" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "Giấy chuẩn ngang" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "Giấy thư dọc" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "Giấy thư ngang" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Dải màu đầy đủ" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Slide" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Âm bản chuẩn" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Âm bản Agfa" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Âm bản Agfa XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Âm bản Agfa HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Âm bản Fuji" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Âm bản Kodak" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Âm bản Konica" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Âm bản Konica VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Âm bản Rossmann HR 100" + +# TEXT_MAIL_STATUS_NOT_CREATED +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Mail project chưa tạo" + +# TEXT_MAIL_STATUS_CREATED +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Mail project được tạo" + +# TEXT_MAIL_STATUS_CHANGED +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Mail project đã đổi" + +# TEXT_MAIL_STATUS_ERR_READ_PROJECT +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Lỗi đọc mailproject" + +# TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "Không kết nối POP3 được" + +# TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Không đăng nhập POP3 được" + +# TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "Không kết nối SMTP được" + +# TEXT_MAIL_STATUS_SMTP_ERR_FROM +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Không chấp nhận mục Từ" + +# TEXT_MAIL_STATUS_SMTP_ERR_RCPT +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Không chấp nhận mục người nhận" + +# TEXT_MAIL_STATUS_SMTP_ERR_DATA +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Không chấp nhận dữ liệu thư" + +# TEXT_MAIL_STATUS_SENDING +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Gửi thư" + +# TEXT_MAIL_STATUS_SENT +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Thư đã được gửi" + +# TEXT_FAX_STATUS_NOT_CREATED +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Chưa tạo Fax project" + +# TEXT_FAX_STATUS_CREATED +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Fax project đã tạo" + +# TEXT_FAX_STATUS_CHANGED +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Fax project đã thay đổi" + +# TEXT_FAX_STATUS_QUEUEING_FAX +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Xếp hàng fax" + +# TEXT_FAX_STATUS_FAX_QUEUED +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax được xếp hàng" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "Máy quét để bàn" + +msgid "frame grabber" +msgstr "Trình thu khung ảnh" + +msgid "handheld scanner" +msgstr "Máy quét cầm tay" + +msgid "still camera" +msgstr "camera tĩnh" + +msgid "video camera" +msgstr "video camera" + +msgid "virtual device" +msgstr "thiết bị ảo" + +msgid "Success" +msgstr "Thành công" + +msgid "Operation not supported" +msgstr "Hoạt động không được hỗ trợ" + +msgid "Operation was cancelled" +msgstr "Hoạt động đã bị bỏ qua" + +msgid "Device busy" +msgstr "Thiết bị đang bận" + +msgid "Invalid argument" +msgstr "Đối số không hợp lệ" + +msgid "End of file reached" +msgstr "Đến cuối tập tin" + +msgid "Document feeder jammed" +msgstr "Khay cấp tài liệu bị kẹt" + +msgid "Document feeder out of documents" +msgstr "Khay cấp tài liệu không chứa tài liệu" + +msgid "Scanner cover is open" +msgstr "Nắp máy quét đang mở" + +msgid "Error during device I/O" +msgstr "Lỗi I/O thiết bị" + +msgid "Out of memory" +msgstr "Hết bộ nhớ" + +msgid "Access to resource has been denied" +msgstr "Truy cập đến nguồn bị từ chối" diff --git a/po/UTF-8/zh.gmo b/po/UTF-8/zh.gmo new file mode 100644 index 0000000..a1f7e3e Binary files /dev/null and b/po/UTF-8/zh.gmo differ diff --git a/po/UTF-8/zh.po b/po/UTF-8/zh.po new file mode 100644 index 0000000..d28afb6 --- /dev/null +++ b/po/UTF-8/zh.po @@ -0,0 +1,2708 @@ +# chines translation for xsane +# Copyright (C) 2003 +# leolarrel +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.90\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2003-03-27 12:00+0100\n" +"Last-Translator: leolarrel Wang \n" +"Language-Team: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 16bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "zh_TW" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "有關" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "關於翻譯" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "授權" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "終端使用者條約" + +#. WINDOW_INFO +msgid "info" +msgstr "資訊" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "載入批次列表" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "儲存批次列表" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "批次掃描" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "更名批次區" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "傳真專案" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "更名傳真專案" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "插入ps檔案到傳真" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "電子郵件專案" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "更名電子郵件專案" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "插入檔案到電子郵件" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "更名預設區" + +#. WINDOW_PRESET_AREA_ADD +#, fuzzy +msgid "add preset area" +msgstr "更名預設區" + +#. WINDOW_MEDIUM_RENAME +#, fuzzy +msgid "rename medium" +msgstr "更名電子郵件專案" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "" + +#. WINDOW_SETUP +msgid "setup" +msgstr "設定" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "矩形圖" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gamma 曲線" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "基本選項" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "進階選項" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "裝置選擇" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "預覽" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "檢視器" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "檢視器:選擇輸出檔名" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "為OCR文字檔選擇輸出檔名" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "選擇輸出檔名" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "儲存裝置選項" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "載入裝置選項" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "更改工作目錄" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "選擇暫存目錄" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "調整影像" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "模糊影像" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "儲存環境設定" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "沒有裝置可以使用" + +#. MENU_FILE +msgid "File" +msgstr "檔案" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "偏好設定" + +#. MENU_VIEW +msgid "View" +msgstr "檢視" + +#. MENU_WINDOW +msgid "Window" +msgstr "" + +#. MENU_HELP +msgid "Help" +msgstr "幫助" + +#. MENU_EDIT +msgid "Edit" +msgstr "" + +#. MENU_FILTERS +msgid "Filters" +msgstr "過濾器" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "有關Xsane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "資訊" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "離開" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "儲存影像" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - 存成文字檔" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "複製" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "調整" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "關閉" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "模糊" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "" + +#. MENU_ITEM_ROTATE180 +#, fuzzy +msgid "Rotate 180" +msgstr "翻轉影像180度" + +#. MENU_ITEM_ROTATE270 +#, fuzzy +msgid "Rotate 270" +msgstr "翻轉影像270度" + +#. MENU_ITEM_MIRROR_X +#, fuzzy +msgid "Mirror |" +msgstr "錯誤" + +#. MENU_ITEM_MIRROR_Y +#, fuzzy +msgid "Mirror -" +msgstr "錯誤" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "實際影像" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "增強影像" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "掃描" + +#. BUTTON_OK +msgid "Ok" +msgstr "OK" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "接受" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "不接受" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "套用" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "取消" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "還原" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "繼續你自己的冒險" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "瀏覽" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "覆寫" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "掃描批次列表" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "掃描選擇的區域" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "刪除頁" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "顯示頁" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "更名頁" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "刪除影像" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "顯示影像" + +#. BUTTON_IMAGE_EDIT +#, fuzzy +msgid "Edit image" +msgstr "增強影像" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "更名影像" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "插入檔案" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "建立專案" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "傳送專案" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "刪除專案" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "增加列表機" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "刪除列表機" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "獲得預覽" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "刪除預覽" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "拋棄預覽" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "拋棄所有影像" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "不要關閉" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTML郵件" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "離開時儲存裝置偏好設定" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "覆寫警告" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "省略已存在的檔案" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "儲存16位元pnm在ascii格式" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "簡化16位元影像到8位元" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "主視窗大小固定" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "取消gimp預覽gamma" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "使用先前的colormap" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "自動增強gamma" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "預先選擇掃描區" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "自動修正顏色" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "裝置掃描中" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "可用的裝置有:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "XSane 選項" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "XSane 模式" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "步驟" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "型態" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "掃描器和後端驅動程式:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "提供者:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "樣式:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "型態:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "裝置:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "載入的後端驅動程式:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Sane版本:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "最近的值:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gamma校正由:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "掃描器" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "軟體(XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "無" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Gamma輸入深度" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Gamma輸出深度" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "掃描器輸出深度" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "XSane輸出格式" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8位元輸出格式" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16位元輸出格式" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp 不支援 16位元/色彩 深度\n" +"你想要簡化成8 位元/色彩 深度嗎?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"輸出格式不支援16位元/色彩 深度\n" +"你想要簡化成8 位元/色彩 深度嗎?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "密碼發送是安全的" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "後端驅動程式需要純文字密碼" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "使用者名稱" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "密碼" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "無效的參數" + +#. TEXT_VERSION +msgid "version:" +msgstr "版本" + +#. TEXT_PACKAGE +msgid "package" +msgstr "包裝" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "有GIMP支援" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "沒有GIMP支援" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "未知的" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "電子郵件" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "首頁" + +#. TEXT_FILE +msgid "File:" +msgstr "檔案" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "翻譯" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"翻譯: 王耀仲\n" +"如有任何翻譯的問題,或者您有更貼切的翻法,請由下列 e-mail 聯絡\n" +"leolarrel@yahoo.com.tw\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "掃描的頁面" + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "郵件的內容" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "附件" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "專案狀態" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "環境名稱" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"大小 %d x %d 像素, %d bit/color, %d 色, %1.0f dpi x %1.0f dpi, %1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "模糊半徑" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "區域名稱" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "掃描模式" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "左上角" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "大小" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "解析度" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "位元深度" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "列表機選擇" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "名稱" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "命令" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "色彩解析度 (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "寬" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "高" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "左邊差距" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "下邊差距" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "列表機gamma值" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "列表機 紅色gamma" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "列表機 綠色gamma" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "列表機 藍色gamma" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "暫存目錄" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "影像檔案權限" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "目錄權限" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "JPEG影像品質" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "PNG影像壓縮" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "檔名計數長度" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "TIFF 16 位元影像壓縮" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "TIFF 8 位元影像壓縮" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "顯示範圍在" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "預覽gamma" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "預覽 紅色gamma" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "預覽 綠色gamma" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "預覽 藍色gamma" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "預覽吸取範圍" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "最小臨界" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "最大臨界" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "臨界差距" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "灰接調整掃描模式的名稱" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "救助檔檢視器(HTML)" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "接收選項" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Postscript檔案選項" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "正常模式選項" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "檢視器(Postscript)" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTP伺服器" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "從" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "回覆到" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "檢視器(png)" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "OCR 命令" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "輸入檔選項" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "輸出檔選項" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "使用者" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "群組" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "所有" + +msgid "new media" +msgstr "" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "儲存" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "影像" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "複製" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "傳真" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "電子郵件" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "顯示" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "增強" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "電子郵件" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "顯示快速提示" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "顯示預覽" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "顯示矩形圖" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "顯示gamma曲線" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "顯示批次掃描" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "顯示基本選項" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "顯示進階選項" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "設定" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "長度單位" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "公厘" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "公分" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "英吋" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "更新政策" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "繼續" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "不繼續" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "延遲" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "顯示解析度列表" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +#, fuzzy +msgid "Edit medium definition" +msgstr "儲存環境設定" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "儲存裝置設定" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "載入裝置設定" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "更改目錄" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "可用的後端驅動程式" + +#. MENU_ITEM_SCANTIPS +#, fuzzy +msgid "Scantips" +msgstr "掃描" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "問題?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "不壓縮" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "滑棒(Scale)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "滑棒(Scrollbar)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "無" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "增加選擇到列表" + +#. MENU_ITEM_MEDIUM_ADD +#, fuzzy +msgid "Add medium definition" +msgstr "儲存環境設定" + +#. MENU_ITEM_RENAME +#, fuzzy +msgid "Rename item" +msgstr "更名影像" + +#. MENU_ITEM_DELETE +#, fuzzy +msgid "Delete item" +msgstr "刪除列表機" + +#. MENU_ITEM_MOVE_UP +#, fuzzy +msgid "Move item up" +msgstr "往上移動" + +#. MENU_ITEM_MOVE_DWN +#, fuzzy +msgid "Move item down" +msgstr "往下移動" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "掃描中" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "接收%s資料" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "傳輸影像中" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "轉動影像" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "映射影像" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "打包影像" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "儲存影像" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "複製影像" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "調整影像" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "模糊影像" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "開始掃描" + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "取消掃描" + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "獲得預覽影像" + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "取消預覽影像" + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "影像檔案瀏覽" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "掃瞄過的影像的檔案名稱" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "輸入傳真專案的名稱" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "輸入傳真專案的新名稱" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "輸入接收的電話號碼或位址" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "輸入郵件專案的名稱" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "輸入郵件專案的新名稱" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "輸入郵件位址" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "輸入郵件的標題" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "輸入預設區的新名稱" + +#. DESC_PRESET_AREA_ADD +#, fuzzy +msgid "Enter name for new preset area" +msgstr "輸入預設區的新名稱" + +#. DESC_MEDIUM_RENAME +#, fuzzy +msgid "Enter new name for medium definition" +msgstr "儲存環境設定" + +#. DESC_MEDIUM_ADD +#, fuzzy +msgid "Enter name for new medium definition" +msgstr "儲存環境設定" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "" + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "設定掃描解析度" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "" + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "設定Gamma值" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "設定紅色成分的Gamma值" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "設定綠色成分的Gamma值" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "設定藍色成分的Gamma值" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "設定亮度" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "設定紅色成份的亮度值" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "設定綠色成份的亮度值" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "設定藍色成份的亮度值" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "設定反差" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "設定紅色成分的反差" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "設定綠色成分的反差" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "設定藍色成分的反差" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" + +#. DESC_ENH_AUTO +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast " +msgstr "自動調整gamma,亮度和反差" + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "" + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "" + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "" + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "" + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "" + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "" + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "顯示模式:用線取代點來顯示矩形圖" + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "" + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "為選擇的定義定義一個名稱" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "輸入在複製模式下將被執行的命令(e.g. \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "列印區寬度" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "列印區高度" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "從頁的邊緣到列印區的左差距" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "從頁的邊緣到列印區的下差距" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "暫存目錄的路徑" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "暫存目錄瀏覽" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "如果存成png檔的話,就壓縮" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "覆寫一個已經存在的檔案之前要警告" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "使用固定主視窗大小,或者滑動,更改主視窗大小" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "取消預覽gamma當XSane跑在gimp plugin 時" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "假如顯示8bpp深度時,使用一個自己的colormap" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "選擇一個區域如何被顯示" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "為預覽影像設定gamma校正值" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "為預覽影像的紅色成分設定gamma校正值" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "為預覽影像的綠色成分設定gamma校正值" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "為預覽影像的藍色成分設定gamma校正值" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "輸入顯示救助檔時要被執行的命令,必須是一個html檢視器" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "更改gamma值如果自動增強按鈕被按下時" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "預覽掃描後選擇掃描區已經完成了" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "預覽掃描後作顏色校正已經完成了" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "輸入在傳真模式下被執行的命令" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "輸入選項給指定的接收器" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "輸入檢視傳真時要執行的命令" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "輸入當檢視一個郵件影像時要執行的命令" + +#. DESC_HTML_MAIL +#, fuzzy +msgid "Mail is sent in html mode, place image with: " +msgstr "郵件以HTML傳送,影像直接顯示" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "輸入開始OCR程式要執行的指令" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "輸入OCR程式的選項給定義的輸入檔" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "輸入OCR程式的選項給定義的輸出檔" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "讀取" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "寫入" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "執行" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "為批次掃描增加選擇" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "使用全部掃描區" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "選擇顯示區" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "自動選掃描區" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "自動更改掃描區大小" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "刪除預覽影像快取" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "翻轉預覽和掃描" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "複製影像" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "翻轉影像90度" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "翻轉影像180度" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "翻轉影像270度" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "伸縮影像" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "刪除活動的環境" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "空的批次列表" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "儲存批次列表" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "載入批次列表" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "更名區域" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "增加選擇的預覽區域到批次列表" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "從批次列表刪除選擇的區域" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "無法決定Home目錄" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "不能去更改工作目錄到" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "檔名太長" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "不能建立暫存檔" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "不能去設定選項的值" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "開啟裝置失敗" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "沒有裝置可以使用" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "讀取時錯誤" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "儲存時錯誤" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "無法取得深度" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP不能取得深度 %d bits/color" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "儲存成未知的檔案格式" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "開啟失敗" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "不能建立安全檔(可能連結已經存在)" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "不能開啟管線為了執行列印命令" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "不能執行列印命令" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "不能開始掃描器" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "拿不到參數" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "沒有得到輸出格式" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "記憶體不足" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "未知的型態" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "不能執行文件檢視器" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "不能執行傳真檢視器" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "不能執行傳真命令" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "不能執行郵件影像檢視器" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "不能執行ocr命令" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "爛的框架格式" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "不能選擇解析度" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "密碼檔(%s)不安全,使用x00權限\n" + +#. ERR_ERROR +msgid "error" +msgstr "錯誤" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "不能去配置影像記憶體" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "預覽不能取得位元深度" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "GIMP支援遺失" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "不能建立暫存預覽檔" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "不能建立預覽檔的檔名" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "不能建立傳真專案" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "錯誤" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "警告" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "資訊" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "子行程錯誤" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "不能建立檔案:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "載入裝置設定時錯誤" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "不是一個裝置rc file" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "不能執行netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "傳送傳真: 沒有定義接收者" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "有 %d 未儲存的檔案" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "檔案 %s 已經存在" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "檔案 %s 不存在" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "%s 不是一個postscript 檔" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "不支援 %d -bit 輸出格式: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "檢視器影像沒有儲存" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "使用:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "" + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "" + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "" + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "完全大小" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "全色範圍" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "幻燈片" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "基本負片" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "" + +#. TEXT_MAIL_STATUS_NOT_CREATED +#, fuzzy +msgid "Mail project not created" +msgstr "讀取" + +#. TEXT_MAIL_STATUS_CREATED +#, fuzzy +msgid "Mail project created" +msgstr "讀取" + +#. TEXT_MAIL_STATUS_CHANGED +#, fuzzy +msgid "Mail project changed" +msgstr "預先選擇掃描區" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +#, fuzzy +msgid "Error reading mailproject" +msgstr "輸入郵件專案的名稱" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +#, fuzzy +msgid "From entry not accepted" +msgstr "讀取" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +#, fuzzy +msgid "Receiver entry not accepted" +msgstr "讀取" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "" + +#. TEXT_FAX_STATUS_NOT_CREATED +#, fuzzy +msgid "Fax project not created" +msgstr "讀取" + +#. TEXT_FAX_STATUS_CREATED +#, fuzzy +msgid "Fax project created" +msgstr "讀取" + +#. TEXT_FAX_STATUS_CHANGED +#, fuzzy +msgid "Fax project changed" +msgstr "預先選擇掃描區" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "平台掃描器" + +msgid "frame grabber" +msgstr "" + +msgid "handheld scanner" +msgstr "手持式掃描器" + +msgid "still camera" +msgstr "" + +msgid "video camera" +msgstr "" + +msgid "virtual device" +msgstr "虛擬裝置" + +msgid "Success" +msgstr "完成" + +msgid "Operation not supported" +msgstr "平台未支援" + +msgid "Operation was cancelled" +msgstr "平台已經取消" + +msgid "Device busy" +msgstr "裝置忙碌" + +msgid "Invalid argument" +msgstr "無效的參數" + +msgid "End of file reached" +msgstr "" + +msgid "Document feeder jammed" +msgstr "" + +msgid "Document feeder out of documents" +msgstr "" + +msgid "Scanner cover is open" +msgstr "" + +msgid "Error during device I/O" +msgstr "裝置I/O時錯誤" + +msgid "Out of memory" +msgstr "記憶體不足" + +msgid "Access to resource has been denied" +msgstr "" diff --git a/po/cs.gmo b/po/cs.gmo index 598b172..dd514d2 100644 Binary files a/po/cs.gmo and b/po/cs.gmo differ diff --git a/po/cs.po b/po/cs.po index 6a3a3fc..739b941 100644 --- a/po/cs.po +++ b/po/cs.po @@ -1,12 +1,12 @@ # Czech translation for XSane. -# Copyright (C) 2002 Free Software Foundation, Inc. -# Stanislav Brabec , 2000-2002. +# Copyright (C) 2004 Free Software Foundation, Inc. +# Stanislav Brabec , 2000-2004. # msgid "" msgstr "" -"Project-Id-Version: XSANE 0.84\n" -"POT-Creation-Date: 2002-01-22 23:34+0100\n" -"PO-Revision-Date: 2002-01-14 18:03+0100\n" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-21 20:16+0200\n" "Last-Translator: Stanislav Brabec \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" @@ -23,6 +23,10 @@ msgid "(c)" msgstr "(c)" #. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "kopie-" + #. WINDOW_ABOUT_XSANE msgid "About" msgstr "O programu" @@ -35,18 +39,34 @@ msgstr "O p msgid "authorization" msgstr "autorizace" -#. WINDOW_LICENSE -msgid "license" -msgstr "licence" +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "Licence GPL" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Licenn smlouva pro koncovho uivatele" #. WINDOW_INFO msgid "info" msgstr "informace" +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "nast seznam dvek" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "zapsat seznam dvek" + #. WINDOW_BATCH_SCAN msgid "batch scan" msgstr "dvkov skenovn" +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "pejmenovat dvkovou oblast" + #. WINDOW_FAX_PROJECT msgid "fax project" msgstr "faxov projekt" @@ -75,6 +95,18 @@ msgstr "vlo msgid "rename preset area" msgstr "pejmenovat pedvolenou oblast" +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "pidat pedvolenou oblast" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "pejmenovat mdium" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "pidat nov mdium" + #. WINDOW_SETUP msgid "setup" msgstr "nastaven" @@ -151,6 +183,10 @@ msgstr "Rozost msgid "Store medium definition" msgstr "Uloit definici mdia" +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Nejsou k dispozici dn zazen" + #. MENU_FILE msgid "File" msgstr "Soubor" @@ -163,14 +199,26 @@ msgstr "Nastaven msgid "View" msgstr "Pohled" +#. MENU_WINDOW +msgid "Window" +msgstr "Okno" + #. MENU_HELP msgid "Help" msgstr "Npovda" +#. MENU_EDIT +msgid "Edit" +msgstr "pravy" + #. MENU_FILTERS msgid "Filters" msgstr "Filtry" +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometrie" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "O XSane" @@ -187,9 +235,9 @@ msgstr "Konec" msgid "Save image" msgstr "Zpis obrzku" -#. MENU_ITEM_CLOSE -msgid "Close" -msgstr "Zavt" +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - zapsat text" #. MENU_ITEM_CLONE msgid "Clone" @@ -199,6 +247,14 @@ msgstr "Duplikovat" msgid "Scale" msgstr "Zmna velikosti" +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Zavt" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Vrtit" + #. MENU_ITEM_DESPECKLE msgid "Despeckle" msgstr "Vyistit" @@ -207,6 +263,26 @@ msgstr "Vy msgid "Blur" msgstr "Rozosten" +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Rotace90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rotace180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rotace270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Zrcadlen |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Zrcadlen -" + #. FRAME_RAW_IMAGE msgid "Raw image" msgstr "Pvodn obrzek" @@ -215,9 +291,9 @@ msgstr "P msgid "Enhanced image" msgstr "Zpracovan obrzek" -#. BUTTON_START -msgid "Start" -msgstr "Start" +#. BUTTON_SCAN +msgid "Scan" +msgstr "Skenovat" #. BUTTON_OK msgid "Ok" @@ -255,9 +331,13 @@ msgstr "Proch msgid "Overwrite" msgstr "Pepsat" -#. BUTTON_ADD_AREA -msgid "Add area" -msgstr "Pidat oblast" +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Seznam skenovacch dvek" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Zvolen oblast skenovn" #. BUTTON_PAGE_DELETE msgid "Delete page" @@ -279,6 +359,10 @@ msgstr "Smazat obr msgid "Show image" msgstr "Ukzat obrzek" +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Editovat obrzek" + #. BUTTON_IMAGE_RENAME msgid "Rename image" msgstr "Pejmenovat obrzek" @@ -351,6 +435,10 @@ msgstr "Varov msgid "Skip existing filenames" msgstr "Peskoit existujc jmna soubor" +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Zapsat jako 16bitov pnm v ascii formtu" + #. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT msgid "Reduce 16 bit image to 8 bit" msgstr "Redukovat 16bitov obrzek na 8bitov" @@ -383,6 +471,10 @@ msgstr "Automatick msgid "POP3 authentification" msgstr "Authentifikace POP3" +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Pout GUI rouru prbhu" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "prochzej se zazen" @@ -547,6 +639,32 @@ msgstr "kompilov msgid "unknown" msgstr "neznm" +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"Program XSane je iiteln v souladu s Obecnou veejnou licenc GNU\n" +"publikovanou Free Software Foundation; bu licenc verze 2 nebo\n" +"(dle va volby) jakoukoliv novj.\n" +"\n" +"Tento program je en v nadji, e bude uiten, avak\n" +"BEZ JAKKOLI ZRUKY; neposkytuj se ani odvozen zruky\n" +"PRODEJNOSTI anebo VHODNOSTI PRO URIT EL.\n" +"Me se ukzat, e je program nefunkn, pak berete na sebe\n" +"veker nklady na servis, opravu i korekci. Ped pouitm tohoto\n" +"programu muste pest, pochopit a pijmout nsledujc ujednn\n" +"\"DN ZRUKY\".\n" + #. TEXT_GPL msgid "" "XSane is distributed under the terms of the GNU General Public License\n" @@ -614,6 +732,10 @@ msgstr "P msgid "Project status:" msgstr "Stav projektu:" +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Typ souboru obrzku v pot:" + #. TEXT_MEDIUM_DEFINITION_NAME msgid "Medium Name:" msgstr "Nzev mdia:" @@ -626,14 +748,6 @@ msgstr "" "Velikost v pixelech: %d %d, bit/barvu: %d, barev: %d, %1.0f dpi %1.0f " "dpi, %1.1f %s" -#. TEXT_X_SCALE_FACTOR -msgid "X-Scale factor:" -msgstr "Faktoru zmny velikosti X:" - -#. TEXT_Y_SCALE_FACTOR -msgid "Y-Scale factor:" -msgstr "Faktoru zmny velikosti Y:" - #. TEXT_DESPECKLE_RADIUS msgid "Despeckle radius:" msgstr "Polomr pro vyistn:" @@ -642,6 +756,38 @@ msgstr "Polom msgid "Blur radius:" msgstr "Polomr rozosten:" +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(beze jmna)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Jmno oblasti:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Reim skenovn:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Horn lev:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Velikost:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Rozlien:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bitov hloubka:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "jako vybran" + #. TEXT_SETUP_PRINTER_SEL msgid "Printer selection:" msgstr "Vbr tiskrny:" @@ -738,6 +884,10 @@ msgstr "Komprese 8bitov msgid "TIFF lineart image compression" msgstr "Komprese TIFF rov grafiky" +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Zobrazit rozsah jako:" + #. TEXT_SETUP_PREVIEW_OVERSAMPLING msgid "Preview oversampling:" msgstr "Pevzorkovn nhledu:" @@ -810,6 +960,10 @@ msgstr "Volby norm msgid "Fine mode option:" msgstr "Volby reimu vysokho rozlien:" +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Nastavit implicitn program pro:" + #. TEXT_SETUP_FAX_VIEWER msgid "Viewer (Postscript):" msgstr "Prohle (Postscript):" @@ -862,6 +1016,18 @@ msgstr "Volba pro vstupn msgid "Outputfile option:" msgstr "Volba pro vstupn soubor:" +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Pout GUI rouru prbhu:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Volba pro GUI volbu vstupu:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Kl pro prbh:" + #. TEXT_SETUP_PERMISSION_USER msgid "user" msgstr "uivatel" @@ -874,6 +1040,9 @@ msgstr "skupina" msgid "all" msgstr "vichni" +msgid "new media" +msgstr "nov mdium" + #. NOTEBOOK_SAVING_OPTIONS msgid "Save" msgstr "Zpis" @@ -926,6 +1095,10 @@ msgstr "Zobrazovat histogram" msgid "Show gamma curve" msgstr "Zobrazit gama kivku" +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Zobrazit dvkov skenovn" + #. MENU_ITEM_SHOW_STANDARDOPTIONS msgid "Show standard options" msgstr "Zobrazovat standardn volby" @@ -978,6 +1151,10 @@ msgstr "Zobrazovat seznam rozli msgid "Rotate postscript" msgstr "Rotovat postscript" +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Upravit definici mdia" + #. MENU_ITEM_SAVE_DEVICE_SETTINGS msgid "Save device settings" msgstr "Zapsat nastaven zazen" @@ -990,9 +1167,13 @@ msgstr "Na msgid "Change directory" msgstr "Zmnit adres" -#. MENU_ITEM_XSANE_LICENSE -msgid "License" -msgstr "Licence" +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Zobrazit EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Zobrazit licenci (GPL)" #. MENU_ITEM_XSANE_DOC msgid "XSane doc" @@ -1042,6 +1223,26 @@ msgstr "Komprese JPEG DCT" msgid "pack bits" msgstr "bitov pakovn" +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Posuvnk (kla)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Posuvnk (rolovn)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Cyklick tlatko" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "kla a cyklick tlatko" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Rolovn a cyklick tlatko" + #. MENU_ITEM_LINEART_MODE_STANDARD msgid "Standard options window (lineart)" msgstr "Okno standardnch voleb (rov grafika)" @@ -1066,21 +1267,25 @@ msgstr "P msgid "Add selection to list" msgstr "Pidat vbr do seznamu" -#. MENU_ITEM_PRESET_AREA_RENAME -msgid "Rename definiton" -msgstr "Pejmenovat definici" +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Pidat definici mdia" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Pejmenovat poloku" -#. MENU_ITEM_PRESET_AREA_DELETE -msgid "Delete definition" -msgstr "Smazat definici" +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Smazat poloku" -#. MENU_OTEM_PRESET_AREA_MOVE_UP -msgid "Move up" -msgstr "Pesun v" +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Pesunout poloku v" -#. MENU_OTEM_PRESET_AREA_MOVE_DWN -msgid "Move down" -msgstr "Pesun n" +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Pesunout poloku n" #. PROGRESS_SCANNING msgid "Scanning" @@ -1131,6 +1336,10 @@ msgstr "Obr msgid "Bluring image" msgstr "Obrzek se rozostuje" +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Probh OCR" + #. DESC_SCAN_START msgid "Start scan " msgstr "Zahjit skenovn " @@ -1149,15 +1358,24 @@ msgstr "Zru #. DESC_XSANE_MODE msgid "" -"save-, view-, photocopy-, fax- or " -"mail-" +"save-, view-, photocopy-, fax- or mail-" msgstr "" "uloit-, zobrazit-, fotokopie-, fax- nebo " "pota-" #. DESC_XSANE_MEDIUM -msgid "Select source medium type" -msgstr "Zvolte typ zdrojovho mdia" +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Zvolte typ zdrojovho mdia.\n" +"K pejmenovn, zmn poad nebo smazn poloky pouijte kontextov menu " +"(prav tlatko myi).\n" +"K vytvoen mdia povolte volbu pravy definice mdia v menu nastaven." #. DESC_FILENAME_COUNTER_STEP msgid "Value that is added to filenamecounter after scan" @@ -1206,10 +1424,26 @@ msgstr "Zadejte e-mailovou adresu" msgid "Enter subject of email" msgstr "Zadejte pedmt zprvy" -#. DESC_PRESET_AREA_NAME +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Zvolte typ souboru pro obrzkov plohy" + +#. DESC_PRESET_AREA_RENAME msgid "Enter new name for preset area" msgstr "Zadejte nov jmno pro pedvolenou oblast" +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Zadejte nov jmno pro novou pedvolenou oblast" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Zadejte nov jmno pro definici mdia" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Zadejte nov jmno pro novou definici mdia" + #. DESC_PRINTER_SELECT msgid "Select printerdefinition " msgstr "Volba definice tiskrny " @@ -1243,8 +1477,8 @@ msgid "Set number of copies" msgstr "Nastaven potu kopi" #. DESC_NEGATIVE -msgid "Negative: Invert colors for scanning negatives " -msgstr "Negativ: Invertuje barvy pro skenovn negativ " +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativ: Invertuje barvy pro skenovn negativ " #. DESC_GAMMA msgid "Set gamma value" @@ -1301,40 +1535,40 @@ msgstr "Nastaven #. DESC_RGB_DEFAULT msgid "" "RGB default: Set enhancement values for red, green and blue to default " -"values :\n" +"values :\n" " gamma = 1.0\n" " brightness = 0\n" " contrast = 0" msgstr "" "Implicitn RGB: Nastaven implicitnch hodnot pro zpracovn erven, zelen " -"a modr :\n" +"a modr :\n" " gama = 1.0\n" " jas = 0\n" " kontrast = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast " -msgstr "Automatick nastaven gamy, jasu a kontrastu " +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Automatick nastaven gamy, jasu a kontrastu " #. DESC_ENH_DEFAULT msgid "" -"Set default enhancement values :\n" +"Set default enhancement values :\n" "gamma = 1.0\n" "brightness = 0\n" "contrast = 0" msgstr "" -"Nastaven implicitnch hodnot zpracovn :\n" +"Nastaven implicitnch hodnot zpracovn :\n" "gama = 1.0\n" "jas = 0\n" "kontrast = 0" #. DESC_ENH_RESTORE -msgid "Restore enhancement values from preferences " -msgstr "Obnoven hodnot zpracovn zpedvoleb " +msgid "Restore enhancement values from preferences " +msgstr "Obnoven hodnot zpracovn zpedvoleb " #. DESC_ENH_STORE -msgid "Store active enhancement values to preferences " -msgstr "Uloen aktivnch hodnot zpracovn do pedvoleb " +msgid "Store active enhancement values to preferences " +msgstr "Uloen aktivnch hodnot zpracovn do pedvoleb " #. DESC_HIST_INTENSITY msgid "Show histogram of intensity/gray " @@ -1478,6 +1712,18 @@ msgid "" msgstr "" "Je-li ta soubor automaticky zvtovn, pouit sla jsou peskoena" +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Pokud m bt 16bitov obrzek zapsn ve formtu pnm, potom pouijte ascii " +"formt namsto binrnho. Bunrn formt je nov a nepodporuj ho vechny " +"programy. Ascii formt podporuje vce program, ale produkuje obrovsk " +"soubory!!!" + #. DESC_REDUCE_16BIT_TO_8BIT msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" msgstr "" @@ -1520,6 +1766,10 @@ msgstr "Zak msgid "Use an own colormap for preview if display depth is 8 bpp" msgstr "Pouit vlastn barevn mapy nhledu, je-li obrazov hloubka 8" +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Zvolte, jak je rozsah zobrazovn" + #. DESC_PREVIEW_OVERSAMPLING msgid "Value with that the calculated preview resolution is multiplied" msgstr "Hodnota, kterou se nsob rozlien nhledu" @@ -1674,8 +1924,8 @@ msgid "Enter command to be executed to view a mail image" msgstr "Zadn pkazu, kter m bt vyvoln pi zobrazen obrzku vmailu" #. DESC_HTML_MAIL -msgid "Mail is sent in html mode, images are displayed directly" -msgstr "Mail je posln vreimu html, obrzky jsou zobrazovny pmo" +msgid "Mail is sent in html mode, place image with: " +msgstr "Mail je posln vreimu html, umstte obrzky pomoc: " #. DESC_OCR_COMMAND msgid "Enter command to start ocr program" @@ -1689,6 +1939,20 @@ msgstr "Zadejte volbu ocr programu pro zad msgid "Enter option of the ocr program to define output file" msgstr "Zadejte volbu ocr programu pro zadn vstupnho souboru" +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" +"Zadejte, zda OCR program podporuje rouru pro grafick znzornn prbhu" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "Zadejte, zda OCR program podporuje grafickou volbu souboru" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Zadejte kl, kter je pouit koznaen informace o prbhu" + #. DESC_PERMISSION_READ msgid "read" msgstr "ten" @@ -1701,6 +1965,10 @@ msgstr "z msgid "execute" msgstr "sputn" +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Pidat vbr pro dvkov skenovn" + #. DESC_PIPETTE_WHITE msgid "Pick white point" msgstr "Nast blho bodu" @@ -1723,6 +1991,10 @@ msgid "Zoom 20% out" msgstr "Vzdlen o20%" #. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Zvten poklepnutm na pozici" + +#. DESC_ZOOM_AREA msgid "Zoom into selected area" msgstr "Piblen zvolenou oblast" @@ -1738,43 +2010,65 @@ msgstr "Volba viditeln msgid "Autoselect scanarea" msgstr "Automatick vbr skenovac plochy" +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Automatick zvten skenovac plochy" + #. DESC_DELETE_IMAGES msgid "Delete preview image cache" msgstr "Smazat pam nhledu" #. DESC_PRESET_AREA -msgid "Preset area" -msgstr "Pedvolen oblast" +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Pedvolen oblast:\n" +"K pidn nov oblasti nebo k prav existujc oblasti pouijte kontextov " +"menu (prav tlatko myi)." #. DESC_ROTATION msgid "Rotate preview and scan" msgstr "Rotace nhledu a skenovn" +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Pomr stran vbru" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Definovat pozici obrzku pro tisk" + #. DESC_VIEWER_OCR msgid "Optical Character Recognition" msgstr "Optick rozpoznvn znak" +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Vrcen posledn zmny" + #. DESC_VIEWER_CLONE msgid "Clone image" msgstr "Duplikovat obrzek" -#. DESC_VIEWER_ROTATE90 +#. DESC_ROTATE90 msgid "Rotate image 90 degree" msgstr "Rotovat obrzek o90 stup" -#. DESC_VIEWER_ROTATE180 +#. DESC_ROTATE180 msgid "Rotate image 180 degree" msgstr "Rotovat obrzek o180 stup" -#. DESC_VIEWER_ROTATE270 +#. DESC_ROTATE270 msgid "Rotate image 270 degree" msgstr "Rotovat obrzek o270 stup" -#. DESC_VIEWER_MIRROR_X +#. DESC_MIRROR_X msgid "Mirror image at vertical axis" msgstr "Zrcadlit obrzek kolem svisl osy" -#. DESC_VIEWER_MIRROR_Y +#. DESC_MIRROR_Y msgid "Mirror image at horizontal axis" msgstr "Zrcadlit obrzek kolem vodorovn osy" @@ -1790,6 +2084,54 @@ msgstr "Ulo msgid "Delete active medium" msgstr "Smazat aktivn mdium" +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Faktoru zmny velikosti" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Faktoru zmny velikosti X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Faktoru zmny velikosti Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Zmenit velikost obrzku na ku [vpixelech]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Zmenit velikost obrzku na vku [vpixelech]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Przdn seznam dvek" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Zapsat seznam dvek" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Nast seznam dvek" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Pejmenovat oblast" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Pidat vybranou nhledovou oblast do seznamu dvek" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Pidat vybranou oblast ze seznamu dvek" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Zapne automatick reim" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Selhalo uren domovskho adrese:" @@ -1891,6 +2233,10 @@ msgstr "LIBTIFF hl msgid "LIBPNG reports error" msgstr "LIBPNG hls chybu" +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG hls chybu" + #. ERR_UNKNOWN_TYPE msgid "unknown type" msgstr "neznm typ" @@ -1899,6 +2245,14 @@ msgstr "nezn msgid "unknown constraint type" msgstr "neznm poadovan typ" +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Volba m przdn jmno (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Toto je chyba ovladae zazen. Prosm informujte autora ovladae!" + #. ERR_FAILED_EXEC_DOC_VIEWER msgid "Failed to execute documentation viewer:" msgstr "Sputn prohlee dokumentace selhalo" @@ -2010,6 +2364,10 @@ msgstr "Varov msgid "Information" msgstr "Informace" +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Chyba procesu potomka" + #. ERR_FAILED_CREATE_FILE msgid "Failed to create file:" msgstr "Vytvoen souboru selhalo" @@ -2080,7 +2438,6 @@ msgid "[OPTION]... [DEVICE]" msgstr "[VOLBA]... [ZAZEN]" #. TEXT_HELP -#, fuzzy msgid "" "Start up graphical user interface to access SANE (Scanner Access Now Easy) " "devices.\n" @@ -2091,8 +2448,8 @@ msgid "" " -v, --version print version information\n" " -l, --license print license information\n" "\n" -" -d, --device-settings file load device settings from file (without " -"\".drc\")\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" "\n" " -V, --viewer start with viewer-mode active (default)\n" " -s, --save start with save-mode active\n" @@ -2101,8 +2458,6 @@ msgid "" " -m, --mail start with mail-mode active\n" " -n, --no-mode-selection disable menu for XSane mode selection\n" "\n" -" -M, --Medium-calibration enable medium calibration mode\n" -"\n" " -F, --Fixed fixed main window size (overwrite preferences " "value)\n" " -R, --Resizeable resizable, scrolled main window (overwrite " @@ -2117,21 +2472,21 @@ msgid "" " --sync request a synchronous connection with the X11 " "server" msgstr "" -"Sputn grafickho rozhran pro pstup k SANE zazenm.\n" -"(SANE = Scanner Access Now Easy - pstup ke skeneru je nyn snadn)\n" +"Sputn grafickho rozhran pro pstup k SANE zazenm\n" +"(SANE = Scanner Access Now Easy - pstup ke skeneru je nyn snadn).\n" "\n" -"Formt [ZAZEN] je jmno_ovladae:jmno_zazen (nap. " -"umax:/dev/scanner).\n" +"Formt [ZAZEN] je jmno_ovladae:jmno_zazen (nap. umax:/dev/" +"scanner).\n" "[VOLBA]... me bt kombinac nsledujcch poloek:\n" " -h, --help vype tuto npovdu a skon\n" " -v, --version vype oznaen verze\n" " -l, --license vype informace o licenci\n" "\n" -" -d, --device-settings soubor nate nastaven zazen ze souboru (bez " -"\".drc\")\n" +" -d, --device-settings soubor nate nastaven zazen ze souboru (bez \"." +"drc\")\n" "\n" -" -s, --save spust se v reimu zpisu\n" " -V, --viewer spust se v reimu prohlee (implicitn)\n" +" -s, --save spust se v reimu zpisu\n" " -c, --copy spust se v reimu koprovn\n" " -f, --fax spust se v reimu faxovn\n" " -m, --mail spust se v reimu poty\n" @@ -2142,7 +2497,8 @@ msgstr "" " -R, --Resizeable pouije hlavn okno sposuvnky a promnnou " "velikost\n" " (pepe hodnotu pedvolby)\n" -" -p, --print-filenames vype jmna soubor s vytvoenmi obrzky\n" +"\n" +" -p, --print-filenames vype jmna soubor vytvoen XSane\n" " -N, --force-filename name vnut jmno souboru a vypne volbu jmna " "souboru\n" "\n" @@ -2181,6 +2537,25 @@ msgstr "/Xtns/XSane/Dialog za msgid "/Xtns/XSane/" msgstr "/Xtns/XSane/" +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Mon dvody:\n" +"1) Opravdu zde nen dn zazen, kter je podporovn SANE\n" +"2) Podporovan zazen jsou obsazen\n" +"3) Prva k zazenm nedovoluj pouit - zkuste jako superuivatel\n" +"4) Ovlada nen nataen do SANE (man sane-dll)\n" +"5) Ovlada nen sprvn nakonfigurovan (man sane-\"jmno_ovladae\")\n" +"6) Mon je nainstalovno vce verz SANE" + #. strings that are used in structures, so it is not allowed to use _()/gettext() here #. gettext_noop does mark these texts but does not change the string #. MENU_ITEM_SURFACE_FULL_SIZE @@ -2251,9 +2626,9 @@ msgstr "letter stoj." msgid "letter land." msgstr "letter le." -#. MENU_ITEM_MEDIUM_FULL_RANGE -msgid "Full range" -msgstr "Pln rozsah" +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Pln rozsah barev" #. MENU_ITEM_MEDIUM_SLIDE msgid "Slide" @@ -2295,6 +2670,74 @@ msgstr "Konica negativn msgid "Rossmann negative HR 100" msgstr "Rossmann negativn HR 100" +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Potovn projekt nebyl vytvoen" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Potovn projekt byl vytvoen" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Potovn projekt byl zmnn" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Chyba pi ten potovnho projektu" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "POP3 spojen selhalo" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "POP3 pihlen selhalo" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "SMTP spojen selhalo" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Poloka Od byla odmtnuta" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Zadn pjemce bylo odmtnuto" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Data zprvy byla odmtnuta" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Zprva se posl" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Zprva byla odeslna" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Faxov projekt nebyl vytvoen" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Faxov projekt byl vytvoen" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Faxov projekt byl zmnn" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Fax se pidv do fronty" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax je ve front" + #. Sane backend messages msgid "flatbed scanner" msgstr "plon skener" @@ -2349,32 +2792,3 @@ msgstr "Nedostatek pam msgid "Access to resource has been denied" msgstr "Pstup ke zdroji byl odmtnut" - -#~ msgid "" -#~ "Use XSane for: SCANning- photoCOPYing- FAXing-" -#~ msgstr "" -#~ "XSane slou pro: SKENovn- KOProvn- FAXovn-" - -#~ msgid "Width of paper for postscript" -#~ msgstr "ka papru pro postscript" - -#~ msgid "Height of paper for postscript" -#~ msgstr "Vka papru pro postscript" - -#~ msgid "Left offset for postscript" -#~ msgstr "Lev posun pro postscript" - -#~ msgid "Bottom offset for postscript" -#~ msgstr "Spodn posun pro postscript" - -#~ msgid "Copy options" -#~ msgstr "Volby koprovn" - -#~ msgid "Saving options" -#~ msgstr "Volby zpisu" - -#~ msgid "Fax options" -#~ msgstr "Volby faxu" - -#~ msgid "Reduce scan area" -#~ msgstr "Redukce skenovac plochy" diff --git a/po/da.gmo b/po/da.gmo new file mode 100644 index 0000000..d6c4a5d Binary files /dev/null and b/po/da.gmo differ diff --git a/po/da.po b/po/da.po new file mode 100644 index 0000000..cef1ae1 --- /dev/null +++ b/po/da.po @@ -0,0 +1,2803 @@ +# translation of da.po to Dansk +# Dansk oversættelse af XSane. +# Copyright (C) 2002 Mogens Jæger +# Mogens Jaeger , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-21 19:48+0200\n" +"Last-Translator: Mogens Jaeger \n" +"Language-Team: Dansk \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3.1\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "da" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "klon-af-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Om" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Om oversættelse" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "autorisation" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - licensen" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Slut bruger licens aftale" + +#. WINDOW_INFO +msgid "info" +msgstr "information" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "hent batch liste" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "gem batch liste" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "batch skan" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "omdøb batch område" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "fax projekt" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "omdøb fax side" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "indsæt ps-fil i fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "mail projekt" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "omdøb mail billede" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "indsæt fil i mail" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "omdøb forvalgt område" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "tilføj forvalgt område" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "omdøb medium" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "tilføj nyt medium" + +#. WINDOW_SETUP +msgid "setup" +msgstr "opsætning" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogram" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gamma kurve" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Standard indstillinger" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Avancerede indstillinger" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "valg af enhed" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Forhåndsvisning" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Viser" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Viser: vælg uddata filnavn" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Vælg uddata filnavn for tekstgenkendelsesfil" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "vælg uddata filnavn" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "gem enheds indstillinger" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "indlæs enheds indstillinger" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "skift arbejds bibliotek" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "vælg midlertidigt bibliotek" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Skaler billede" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Fjern kornstøj fra billede" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Slør billede" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Gem medie definition" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Ingen enheder til rådighed" + +#. MENU_FILE +msgid "File" +msgstr "Fil" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Indstillinger" + +#. MENU_VIEW +msgid "View" +msgstr "Vis" + +#. MENU_WINDOW +msgid "Window" +msgstr "Vindue" + +#. MENU_HELP +msgid "Help" +msgstr "Hjælp" + +#. MENU_EDIT +msgid "Edit" +msgstr "Ret" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtre" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometri" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Om XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Information" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Afslut" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Gem billede" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr " Tekstgenkendelse - gem som tekst" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Klon" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Skaler" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Luk" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Fortryd" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Fjern kornstøj" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Slør" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Roter 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Roter 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Roter 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Spejl |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Spejl -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Oprindeligt billede" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Forbedret billede" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Skan" + +#. BUTTON_OK +msgid "Ok" +msgstr "Ok" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Accepter" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Afvis" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Anvend" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Afbryd" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Reducer" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Fortsæt på egen risiko" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Gennemsøg" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Overskriv" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Skan batch liste" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Skan valgt område" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Slet side" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Vis side" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Omdøb side" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Slet billede" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Vis billede" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Ret billede" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Omdøb billede" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Indsæt fil" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Dan projekt" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Send projekt" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Slet projekt" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Tilføj printer" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Slet printer" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Rekvirer forhåndsvisning" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Afbryd forhåndsvisning" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Kasser billede" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Kasser alle billeder" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Undlad at lukke" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Fasthold skalering" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Fin tilstand" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTML-mail" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Gem enheds indstillinger ved afslutning" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Overskriv advarsel" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Drop eksisterende filnavne" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Gem 16 bit pnm i ascii format" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Reducer 16 bit billede til 8 bit" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Hoved vindues størrelse er fast" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Deaktiver gimp forhåndsvisnings gamma" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Brug egen farvemappe" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Automatisk optimering af gamma" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Forvælg skannings område" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Auto optimer farver" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "POP3 godkendelse" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Brug GUI fremskridts rør" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "Skanner efter enheder" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Enheder til rådighed:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "XSane indstillinger" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "XSane tilstand" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Skridt" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Type" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Skanner og bagende:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Fremstillet af:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Type:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Enhed:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Anvendt bagende:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Version af Sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Nuværende værdier:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gammakorrektion med:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "skanner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "software (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "ingen" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Gamma inddata bitdybde:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Gamma uddata bitdybde:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Scanner uddata bitdybde:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "XSane uddata formater:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8 bit uddata formater:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16 bit uddata formater:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp understøtter ikke 16 bit/farve.\n" +"Ønsker du at reducere til 8 bit/farve?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"16 bit/farve er ikke understøttet for dette uddata format.\n" +"Ønsker du at reducere til 8 bit/farve?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Autorisation er nødvendig for" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Password overførsel er sikker" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Bagende fordrer almindeligt tekst password" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Brugernavn:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Password:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Ugyldig parameter." + +#. TEXT_VERSION +msgid "version:" +msgstr "version:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "pakke" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "med GIMP understøttelse" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "uden GIMP understøttelse" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "oversat med GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "oversat med GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "ukendt" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane bliver distributeret under betingelserne i GNU General Public License\n" +"som publiceret af the Free Software Foundation; enten version 2 af " +"licensen,\n" +"eller (efter eget ønske) enhver senere version.\n" +"\n" +"Dette program er distribueret i det håb at det kan være nyttigt, men\n" +"UDEN ENHVER FORM FOR GARANTI, endda uden den underforståede\n" +"garanti for SALGBARHED, eller EGNETHED FOR ET BESTEMT FORMÅL\n" +"Skulle programmet vise sig at være defekt, overtager du udgiften til al\n" +"nødvendig service, reparation og korrektion. For at bruge dette program\n" +"skal du læse, forstå og acceptere den følgende\n" +"\"INGEN GARANTI\" aftale.\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane bliver distributeret under betingelserne i GNU General Public License\n" +"som publiceret af the Free Software Foundation; enten version 2 af " +"licensen,\n" +"eller (efter eget ønske) enhver senere version.\n" +"\n" +"Dette program er distribueret i det håb at det kan være nyttigt, men\n" +"UDEN ENHVER FORM FOR GARANTI, endda uden den underforståede\n" +"garanti for SALGBARHED, eller EGNETHED FOR ET BESTEMT FORMÅL\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Email:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Hjemmeside:" + +#. TEXT_FILE +msgid "File:" +msgstr "Fil:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Oversættelse:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"ikke oversat original engelsk tekst\n" +"af Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Skannede sider: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Email tekst:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Vedhæftninger:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Projekt status:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Mail billede filtype:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Medium navn:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Størrelse %d x %d pixel, %d bit/farve, %d farver, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Fjern kornstøj radius:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Slørings radius" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(intet navn)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Område navn:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Skanner tilstand:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Øverst venstre:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Størrelse:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Opløsning:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bit dybde:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "som valgt" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Printer valg:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Navn:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Kommando:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Kopi nummer indstilling:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Stregtegning opløsning (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Gråskala opløsning (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Farve opløsning (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Bredde" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Højde" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Venstre margen" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Bund margen" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Printers gamma værdi:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Printers gamma værdi i rød:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Printers gamma værdi i grøn:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Printers gamma værdi i blå:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Midlertidigt bibliotek" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Billed fil rettigheder" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Biblioteks rettigheder" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "JPEG billed kvalitet" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "PNG billed kompression" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Filnavn tæller længde" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "TIFF 16 bit billede kompression" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "TIFF 8 bit billede kompression" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "TIFF stregtegning billede kompression" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Vis område som:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Forhåndsvisning oversampling:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Forhåndsvisning gamma:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Forhåndsvisning gamma rød:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Forhåndsvisning gamma grøn:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Forhåndsvisning gamma blå:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Grænseværdi indstilling:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Automatisk dokument fødnings tilstand:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Forhåndsvisning pipette område" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Grænseværdi minimum:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Grænseværdi maksimum:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Grænseværdi faktor:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Grænseværdi forskydning:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Navn på gråskala skanner tilstand:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Hjælpefil viser (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Indstillinger for modtagernummer:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Indstillinger for Postscriptfiler:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Indstillinger for normal tilstand:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Indstillinger for fin tilstand:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Sæt program standardværdier for:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Viser (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTP server:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTP port:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Fra:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Svar til:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3 server:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3 port:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "POP3 bruger:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "POP3 password:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Viser (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Tekstgenkendelse kommando:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Inddatafil indstillinger:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Uddatafil indstillinger:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Brug GUI fremskridts rør" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUI uddata fd indstillinger:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Fremskridts nøgleord:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "bruger" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "gruppe" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "alle" + +msgid "new media" +msgstr "nyt medie" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Gem" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Billede" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Kopi" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Fax" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Mail" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "Tekstgenkendelse" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Skærm" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Forbedring" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Email" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Vis værktøjstips" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Vis forhåndsvisning" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Vis histogram" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Vis gamma kurve" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Vis batch skan" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Vis standard indstillinger" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Vis avancerede indstillinger" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Opsætning" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Længde enhed" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "millimeter" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimeter" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "tommer" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Opdaterings politik" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "kontinuerlig" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "afbrudt" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "forsinket" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Vis liste med opløsninger" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Roter postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Ret medie definition" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Gem enheds indstillinger" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Indlæs enheds indstillinger" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Skift bibliotek" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Vis slutbruger aftale" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Vis licens (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "XSane vejledning" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Bagende vejledning" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Bagender til rådighed" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Skanning tips" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problemer?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "Ikke aktiv" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "ingen kompression" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "CCITT 1D Huffman kompression" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "CCITT gruppe 3 Fax kompression" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "CCITT gruppe 4 Fac kompression" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "JPEG DCT kompression" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "pakkede bits" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Skyder instilling (skala)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Skyder indstilling (rullebjælke)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Drejeknap" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Skala og drejeknap" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Rullebjælke og drejeknap" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Standard instillings vindue (stregtegning)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "XSane hoved vindue (stregtegning)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "XSane hoved vindue (gråskala > stregtegning)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(ingen)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "efter fil-endelse" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Tilføj valgt område til liste" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Tilføj medie definition" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Omdøb punkt" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Slet punkt" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Flyt punkt op" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Flyt punkt ned" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Skanning" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Modtager %s data" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Overfører billede" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Roterer billede" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Spejlvender billede" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Pakker billede" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Konverterer billede" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Gemmer billede" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Kloner billede" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Skalerer billede" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Fjerner kornstøj i billede" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Slører billede" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Tekstgenkendelse" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Start skanning " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Afbryd skanning " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Rekvirer forhåndsvisnings skan " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Afbryd skan forhåndsvisning " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"gem-, vis-, fotokopier-, fax- eller mail-" +"" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Vælg kilde medie type.\n" +"For at omdøbe, omarrangere eller slette en indføring bruges genvejsmenuen " +"(højre musetaste).\n" +"For at danne et nyt medie, aktiver indstillingen ret medie definition i " +"indstillings menuen." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Værdi der bliver lagt til filtælleren efter skanning" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Søg efter billed filnavn" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Filnavn til skannet billede" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Type af billed format, den passende filendelse bliver automatisk tilføjet " +"filnavnet." + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Angiv navn på fax projekt" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Angiv nyt navn for fax side" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Angiv modtager telefon nummer eller adresse" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Angiv navn på mail projekt" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Angiv nyt navn på mail billede" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Angiv email adresse" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Angiv subjekt for email" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Vælg filtype for billed vedhæftninger" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Angiv nyt navn på forvalgt område" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Angiv navn på nyt forvalgt område" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Angiv nyt navn på medie definition" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Angiv navn på ny medie definition" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Vælg printerdefinition " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Sæt skanner opløsning" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Sæt skanner opløsning for x-retning" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Sæt skanner opløsning for y-retning" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Sæt zoom faktor" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Sæt zomm faktor for x-retning" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Sæt zomm faktor for y-retning" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Sæt antal kopier" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativer: Omvend farver for skannet negativ " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Sæt gamma værdi" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Sæt gamma værdi for rød farvedel" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Sæt gamma værdi for grøn farvedel" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Sæt gamma værdi for blå farvedel" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Sæt værdi for lyshed" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Sæt værdi for lyshed i rød farvedel" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Sæt værdi for lyshed i grøn farvedel" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Sæt værdi for lyshed i blå farvedel" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Sæt værdi for kontrast" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Sæt værdi for kontrast i rød farvedel" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Sæt værdi for kontrast i grøn farvedel" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Sæt værdi for kontrast i blå farvedel" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Sæt grænseværdi" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGB standard: Sæt optimerings værdier for rød, grøn og blå til standard " +"værdier :\n" +" gamma = 1.0\n" +" lyshed = 0\n" +" kontrast = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Autojuster gamma, lyshed og kontrast " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Sæt standard optimerings værdier :\n" +"gamma = 1.0\n" +"lyshed = 0\n" +"kontrast = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Genskab optimerings værdier fra indstillinger " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Gem aktive optimerings værdier i indstillinger " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Vis histogram for intensitet/grå " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Vis histogram for rød farvedel " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Vis histogram for grøn farvedel " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Vis histogram for blå farvedel " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Vis histogram med linier i stedet for med pixels " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Brug logaritmisk visning af pixeltælling " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Vælg definition der skal ændres" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Angiv et navn til den valgte definition" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "" +"Angiv hvilken kommando der skal udføres i kopi tilstand (f.eks. \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Angiv værdi for antal kopier" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Opløsning ved hvilken stregtegnings billeder bliver printet og gemt i " +"postscript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "Opløsning for printning og gemning i postscript for gråskala billeder" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "Opløsning for printning og gemning i postscript for farve billeder" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Bredde af printbart område" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Højde af printbart område" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Venstre margen fra kant af papir, til det printbare område" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Bund margen fra kant af papir, til det printbare område" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Supplerende gamma værdi for fotokopiering" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Supplerende gamma værdi for fotokopiering, rød farvedel" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Supplerende gamma værdi for fotokopiering, grøn farvedel" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Supplerende gamma værdi for fotokopiering, blå farvedel" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Sti til midlertidigt bibliotek" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Find sti til midlertidigt bibliotek" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Kvalitet i procent, hvis billede gemmes som jpeg eller som tiff med jpeg " +"kompression" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Kompression hvis billedet gemmes som png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Minimum længde af tæller i filnavn" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Kompressions type, hvis 16 bit billede gemmes i tiff format" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Kompressions type hvis 8 bit gemmes i tiff format" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Kompressions type når stregtegnings billeder gemmes i TIFF" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "Gem enheds afhængige værdier i standardfil, ved afslutning af XSane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Advar før overskrivning af eksisterende fil" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "Hvis filnavn tæller øges automatisk, bliver brugte numre forbigået" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Hvis et 16-bit billede skal gemmes i pnm format, bruges ascii format i " +"stedet for binær format. Det binære format er et nyt format, der ikke " +"understøttes af alle programmer. Ascii formatet er understøttet af flere " +"programmer, men det producerer ret store filer!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Hvis skanner sender billede med 16 bit/farve gemmes billedet med 8 bit/farve" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Bredde af papir for postscript filer" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Højde af papir for postscript filer" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Venstre margen fra papirkant til printbart område for postscript filer" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Bund margen fra papirkant til printbart område for postscript filer" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Brug fast hoved vindues størrelse eller rullet, foranderlig hoved vindues " +"størrelse" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Deaktiver forhåndsvisnings gamma, når XSane kører som et GIMP plugin" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Brug en egen farvemappe for forhåndsvisning, hvis display dybde er 8 bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Vælg hvordan et område vises" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "" +"Værdi, med hvilken den beregnede forhåndsvisnings opløsning er multipliceret" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Sæt gamma korrektions værdi for forhåndsvisnings billede" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "Sæt gamma korrektions værdi for forhåndsvisnings billede, rød farvedel" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Sæt gamma korrektions værdi for forhåndsvisnings billede, grøn farvedel" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Sæt gamma korrektions værdi for forhåndsvisnings billede, blå farvedel" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Definer den måde, hvorpå XSane skal behandle grænseværdi indstillingen" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Vælg gråskala skannings tilstand. Denne skannings tilstand bruges til " +"stregtegnings forhåndsvisning når transformation fra gråskala til " +"stregtegning er valgt." + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Skannerens minimums grænseværdi niveau i %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Skannerens maximums grænseværdi niveau i %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplikator, der bringer XSane's og skannerens grænseværdi område i " +"overensstemmelse med hinanden" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Forskydning, der bringer XSane's og skannerens grænseværdi område i " +"overensstemmelse med hinanden" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Vælg skanner kilde til automatisk dokumentføder. Hvis denne skanner kilde er " +"valgt, fortsætter XSane indtil \"out of paper\" eller ved fejl." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"Dimension af det kvadrat, der skal bruges til gennemsnits farve med pipette " +"funktionen" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Komando der skal udføres, for at vise hjælpefiler - skal være en html viser!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Skift gammaværdi, når autoforbedrings knappen trykkes" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Vælg skan område, når forhåndsvisning er gennemført" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Udfør farvekorrektion, når forhåndsvisning er gennemført" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Komando der skal udføres i fax tilstand" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Indstilling der angiver modtager telefon nummer" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "" +"Angiv indstilling, der markerer at efterfølgende fil er i postscript format" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Angiv værdi til indstilling af en lodret opløsning på 98 lpi" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Angiv værdi til indstilling af en lodret opløsning på 196 lpi" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Komando der skal udføres, for at vise en fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Send fax med høj lodret opløsning (196 lpi i stedet for 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "IP adresse eller domain navn på SMTP server" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "port til forbindelse til SMTP server" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "Angiv din email adresse" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "Angiv email adresse til svar emails" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Godkendelse af POP3 server, før mail sendes" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "IP adresse eller domain navn på POP3 server" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "port til forbindelse til POP3 server" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "brugernavn til POP3 server" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "password til POP3 server" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Komando der skal udføres, for at vise mail billeder" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "Mail er sendt i HTML tilstand, placer billede med: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Indtast komando for at starte tekstgenkendelses program" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "" +"Indtast indstillinger for tekstgenkendelses program for at definere inddata " +"fil" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "" +"Indtast indstillinger for tekstgenkendelses program for at definere uddata " +"fil" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Angiv om tekstgenkendelses programmet understøtter GUI fremskridts rør" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Angiv indstilling for tekstgenkendelses programmet, til definering af uddata " +"filbeskrivelse i GUI tilstand" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Definer nøgleord der skal bruges til at markere fremskridts angivelse" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "læs" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "skriv" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "udfør" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Tilføj område til batch skan" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Vælg hvidt punkt" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Vælg gråt punkt" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Vælg sort punkt" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Brug fuldt skanområde" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Zoom 20% ud" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Klik i det ønskede zoom område" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Zoom ind i det valgte område" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Fortryd sidste zoom" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Vælg synligt område" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Autovælg skan område" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Auto udvid skanområde" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Slet forhåndsvisnings cache" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Forvalgt område:\n" +"For at tilføje et nyt område, eller rette et eksisterende område bruges " +"genvejsmenuen (højre musetaste)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Roter forhåndsvisning og skanning" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Forholdet mellem bredde/højde af valgt område" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Definer billed position for printning" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Tekst genkendelse" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Fortryd sidste ændring" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Klon billede" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Roter billede 90 grader" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Roter billede 180 grader" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Roter billede 270 grader" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Spejlvend billede om lodret akse" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Spejlvend billede om vandret akse" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Zoom billede" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Gem medium" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Slet aktivt medium" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Skalerings faktor" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Skalerings faktor X-retning" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Skalerings faktor Y-retning" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Skaler billede til bredde [i pixler]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Skaler billede til højde [i pixler]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Tøm batch liste" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Gem batch liste" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Hent batch liste" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Omdøb område" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Tilføj valgt forhåndsvisnings område til batch liste" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Slet valgt forhåndsvisnings område fra batch liste" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Tænder for automatisk tilstand" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Kunne ikke bestemme hjem bibliotek:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Kunne ikke skifte arbejds bibliotek til" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Filnavn for langt" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Kunne ikke skabe midlertidig fil" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Kunne ikke sætte værdien af indstillingen" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Kunne ikke læse værdien af indstillingen" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Kunne ikke bestemme antallet af indstillinger" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Kunne ikke åbne enhed" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "Ingen enheder til rådighed" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Fejl under læsning:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Fejl under skrivning:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Ikke understøttet bit-dybde" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP understøtter ikke %d bit/farve dybde" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Ukendt filformat til gemning" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Kunne ikke åbne" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Kunne ikke danne sikker fil (måske eksisterer der et link):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Kunne ikke åbne rør til udførelse af printkommando" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Kunne ikke udføre printkommando:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Kunne ikke starte skanner:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Kunne ikke få fat i parametre:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Intet uddata format angivet" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "ikke mere ram" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Bagende sender flere billeddata, end defineret i parametrene" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF melder fejl" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG melder fejl" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG melder fejl" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "ukendt type" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "ukendt forpligtende type" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Indstilling har tomt navn (NULL)" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Dette er en bagende fejl. Underret forfatteren af bagenden!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Kunne ikke udføre dokument viser" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Kunne ikke udføre fax viser:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Kunne ikke udføre fax kommando:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Kunne ikke udføre mail billede viser:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Kunne ikke udføre tekstgenkendelses kommando:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "forkert frame-format" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "kunne ikke vælge opløsning" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Password fil (%s) er usikker, brug rettighed x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "fejl" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Sane hovedversionsnummer uoverensstemmelse!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "XSane hovedversionsnummer =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "bagende hovedversionsnummer =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAM AFBRUDT ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Kunne ikke allokere billed ram:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Forhåndsvisning kan ikke håndtere bitdybde" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "GIMP understøttelse mangler" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Kunne ikke danne midlertidig forhåndsvisnings filer" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Kunne ikke danne filnavne til forhåndsvisnings filer" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Kunne ikke danne fax-projekt" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Filnavn tæller 'underrun'" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "advarsel: indstillingen har ingen forpligtende værdi" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Du prøver at køre XSane som ROOT, det ER meget farligt!\n" +"\n" +"Du skal ikke sende bug-reporter hvis du\n" +"har problemer, når du kører XSane som root:\n" +"DU ER HELT ALENE!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Fejl" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Advarsel" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Information" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "barneproces-fejl" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Kunne ikke danne fil:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Fejl under hentning af enheds indstillinger:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "er ikke en enheds indstillings fil!!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Kunne ikke køre Netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Send fax: ingen modtager anført" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "er blevet dannet for enheden" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "bliver brugt for enheden" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "dette kan skabe problemer!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Der er %d ikke gemte billeder" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Filen %s eksisterer allerede" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Fil %s eksisterer ikke" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Fil %s er ikke en postscript fil" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Ikke understøttet %d-bit uddata format: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "viser billede er ikke gemt" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Brug:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[INDSTILLING]... [ENHED]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Starter grafisk bruger interface til SANE (Scanner Access Now Easy) " +"enheder.\n" +"\n" +"Formatet af [ENHED] er bagendenavn:enhedsfil (f.eks. umax:/dev/scanner).\n" +"[INDSTILLING]... Kan være en kombination af de følgende punkter:\n" +" -h, --hjælp vis denne hjælpe meddelelse og afslut\n" +" -v, --version print version information\n" +" -l, --licens print licens information\n" +"\n" +" -d, --device-settings file hent enheds indstillinger fra fil (uden \".drc" +"\")\n" +"\n" +" -V, --viewer start med viser-tilstand aktiveret (default)\n" +" -s, --save start med gem-tilstand aktiveret\n" +" -c, --copy start med kopi-tilstand aktiveret\n" +" -f, --fax start med fax-tilstand aktiveret\n" +" -m, --mail start med mail-tilstand aktiveret\n" +" -n, --no-mode-selection deaktiver menu for XSane tilstand markering\n" +"\n" +" -F, --Fixed fast hovedvindues størrelse (overskriv " +"præference værdier)\n" +" -R, --Resizeable foranderligt hovedvindues størrelse (overskriv " +"præference værdier)\n" +"\n" +" -p, --print-filenames print billedfilnavne dannet af XSane\n" +" -N, --force-filename name tving filenavne og deaktiver bruger filenavne " +"valg\n" +"\n" +" --display X11-display omdirriger uddata til X11-display\n" +" --no-xshm brug ingen delt ram billeder\n" +" --sync kræver en synkron forbindelse til X11 server" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Forende til SANE grænseflade" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Denne funktion giver adgang til skannere og andre billedhentnings enheder " +"gennem SANE (Scanner Access Now Easy) grænseflade." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Enheds dialog..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/File/Acquire/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Enheds dialog..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Mulige grunde:\n" +"1) Der er virkelig ingen enheder der er understøttet af SANE\n" +"2) Understøttede enheder er optagede\n" +"3) Enheds filens rettigheder tillader dig ikke at bruge den - prøv som root\n" +"4) Bagenden er ikke indlæst af SANE (man sane-dll)\n" +"5) Bagenden er ikke konfigureret korrekt (man sane-\"bagendenavn\")\n" +"6) Måske er der mere end en version af SANE installeret" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "fuld størrelse" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 portræt" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 tværformat" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 portræt" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 tværformat" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 portræt" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 tværformat" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal portræt" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal tværformat" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "letter portræt" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "letter tværformat" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Fuldt farve område" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Film" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Standard negativ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa negativ" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Agfa negativ XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Agfa negativ HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Fuji negativ" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Kodak negativ" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Konica negativ" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Konica negativ VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Rossmann negativ HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Mail projekt ikke oprettet" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Mail projekt oprettet" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Mail projekt ændret" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Fejl ved læsning af mail projekt" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "POP3 tilslutning lykkedes ikke" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "POP3 logind lykkedes ikke" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "SMTP tilslutning lykkedes ikke" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Fra indtastningen ikke accepteret" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Modtager indtastningen ikke accepteret" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Mail data ikke accepteret" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Sender mail" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Mail er blevet sendt" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Fax projekt ikke oprettet" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Fax projekt oprettet" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Fax projekt ændret" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Fax sættes i kø" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax er sat i kø" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "Flatbed skanner" + +msgid "frame grabber" +msgstr "frame grabber" + +msgid "handheld scanner" +msgstr "Håndholdt skanner" + +msgid "still camera" +msgstr "Kamera" + +msgid "video camera" +msgstr "Video kamera" + +msgid "virtual device" +msgstr "Virtuel enhed" + +msgid "Success" +msgstr "Succes" + +msgid "Operation not supported" +msgstr "Handling ikke understøttet" + +msgid "Operation was cancelled" +msgstr "Handling afbrudt" + +msgid "Device busy" +msgstr "Enhed optaget" + +msgid "Invalid argument" +msgstr "Ugyldigt argument" + +msgid "End of file reached" +msgstr "Slutning af fil nået" + +msgid "Document feeder jammed" +msgstr "Dokument føder blokeret" + +msgid "Document feeder out of documents" +msgstr "Dokument føder tom for dokumenter" + +msgid "Scanner cover is open" +msgstr "Skanner låg er åbent" + +msgid "Error during device I/O" +msgstr "Fejl under enheds I/O" + +msgid "Out of memory" +msgstr "Ikke mere ram" + +msgid "Access to resource has been denied" +msgstr "Adgang til ressource nægtet" diff --git a/po/de.gmo b/po/de.gmo index de6e627..4121c0c 100644 Binary files a/po/de.gmo and b/po/de.gmo differ diff --git a/po/de.po b/po/de.po index 48f91f7..6166b5e 100644 --- a/po/de.po +++ b/po/de.po @@ -4,8 +4,8 @@ # msgid "" msgstr "" -"Project-Id-Version: XSANE 0.84\n" -"POT-Creation-Date: 2002-01-22 23:34+0100\n" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" "PO-Revision-Date: 2000-01-21 15:51+01:00\n" "Last-Translator: Oliver Rauch \n" "Language-Team: German \n" @@ -23,6 +23,10 @@ msgid "(c)" msgstr "" #. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "Duplikat-von-" + #. WINDOW_ABOUT_XSANE msgid "About" msgstr "ber" @@ -35,18 +39,34 @@ msgstr " msgid "authorization" msgstr "Autorisation" -#. WINDOW_LICENSE -msgid "license" -msgstr "Lizenz" +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - die Lizenz" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Endbenutzervereinbarung (EULA)" #. WINDOW_INFO msgid "info" msgstr "Informationen" +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "Stapelliste laden" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "Stapelliste speichern" + #. WINDOW_BATCH_SCAN msgid "batch scan" msgstr "Stapel Scan" +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "Stapelscan Bereich umbenennen" + #. WINDOW_FAX_PROJECT msgid "fax project" msgstr "Faxprojekt" @@ -75,6 +95,18 @@ msgstr "Bild in E-Mail einf msgid "rename preset area" msgstr "Bereichsvoreinstellung umbenennen" +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "Bereichsvoreinstellung hinzufgen" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Medium umbenennen" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "Medium hinzufgen" + #. WINDOW_SETUP msgid "setup" msgstr "Konfiguration" @@ -129,7 +161,7 @@ msgstr "Lade Ger #. WINDOW_CHANGE_WORKING_DIR msgid "change working directory" -msgstr "Temporres Verzeichnis wechseln" +msgstr "Arbeitsverzeichnis wechseln" #. WINDOW_TMP_PATH msgid "select temporary directory" @@ -151,6 +183,10 @@ msgstr "Bild weichzeichnen" msgid "Store medium definition" msgstr "Mediumdefinition speichern" +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Keine Gerte erreichbar" + #. MENU_FILE msgid "File" msgstr "Datei" @@ -163,14 +199,26 @@ msgstr "Einstellungen" msgid "View" msgstr "Ansicht" +#. MENU_WINDOW +msgid "Window" +msgstr "Fenster" + #. MENU_HELP msgid "Help" msgstr "Hilfe" +#. MENU_EDIT +msgid "Edit" +msgstr "Bearbeiten" + #. MENU_FILTERS msgid "Filters" msgstr "Filter" +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometrie" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "ber XSane" @@ -187,9 +235,9 @@ msgstr "Beenden" msgid "Save image" msgstr "Bild speichern" -#. MENU_ITEM_CLOSE -msgid "Close" -msgstr "Schlieen" +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - als Text speichern" #. MENU_ITEM_CLONE msgid "Clone" @@ -199,6 +247,14 @@ msgstr "Klonen" msgid "Scale" msgstr "Skalieren" +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Schlieen" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Rckgngig" + #. MENU_ITEM_DESPECKLE msgid "Despeckle" msgstr "Entflecken" @@ -207,6 +263,26 @@ msgstr "Entflecken" msgid "Blur" msgstr "Weichzeichnen" +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Drehen 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Drehen 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Drehen 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Spiegeln |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Spiegeln -" + #. FRAME_RAW_IMAGE msgid "Raw image" msgstr "Rohbild" @@ -215,9 +291,9 @@ msgstr "Rohbild" msgid "Enhanced image" msgstr "Verbessertes Bild" -#. BUTTON_START -msgid "Start" -msgstr "Start" +#. BUTTON_SCAN +msgid "Scan" +msgstr "Scannen" #. BUTTON_OK msgid "Ok" @@ -255,9 +331,13 @@ msgstr "Durchsuchen" msgid "Overwrite" msgstr "berschreiben" -#. BUTTON_ADD_AREA -msgid "Add area" -msgstr "Bereich hinzufgen" +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Stapelliste scannen" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Auswahl scannen" #. BUTTON_PAGE_DELETE msgid "Delete page" @@ -279,6 +359,10 @@ msgstr "Bild l msgid "Show image" msgstr "Bild anzeigen" +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Bild ndern" + #. BUTTON_IMAGE_RENAME msgid "Rename image" msgstr "Bild umbenennen" @@ -351,6 +435,10 @@ msgstr " msgid "Skip existing filenames" msgstr "Existierende Dateinamen berspringen" +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Speichere 16bit pnm im ASCII-Format" + #. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT msgid "Reduce 16 bit image to 8 bit" msgstr "Reduziere 16 Bit Bild auf 8 Bit" @@ -383,6 +471,10 @@ msgstr "Automatische Farbkorrektur" msgid "POP3 authentification" msgstr "POP3 Authentifizierung" +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Benutze GUI Fortschritts Pipe" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Suche nach Gerten" @@ -547,6 +639,33 @@ msgstr " msgid "unknown" msgstr "unbekannt" +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane wird unter den Bedingungen der GNU General Public Licence, wie\n" +"von der Free Software Foundation verffentlicht, herausgegeben, entweder\n" +"Version 2 der Lizenz, oder (wenn Sie wnschen) jeder spteren Version.\n" +"\n" +"Die Verffentlichung dieses Programms erfolgt in der Hoffnung, dass es\n" +"Ihnen von Nutzen sein wird, aber OHNE JEDE GEWHRLEISTUNG\n" +"- sogar ohne die implizite Gewhrleistung der MARKTREIFE oder der\n" +"EIGNUNG FR EINEN BESTIMMTEN ZWECK. Sollte das Programm einen\n" +"Schaden verursachen, dann tragen Sie - der Benutzer - die Kosten\n" +"fr alle notwendigen Dienstleistungen, Reparaturen oder Korrekturen.\n" +"Um dieses Programm zu benutzen, haben Sie die folgende Vereinbarung\n" +"ber den Haftungsausschlu zu lesen, zu verstehen und zu akzeptieren.\n" + #. TEXT_GPL msgid "" "XSane is distributed under the terms of the GNU General Public License\n" @@ -561,10 +680,10 @@ msgstr "" "von der Free Software Foundation verffentlicht, herausgegeben, entweder\n" "Version 2 der Lizenz, oder (wenn Sie wnschen) jeder spteren Version.\n" "\n" -"Die Verffentlichung dieses Programms erfolgt in der Hoffnung, da es Ihnen\n" -"von Nutzen sein wird, aber OHNE JEDE GEWHRLEISTUNG - sogar ohne die " -"implizite\n" -"Gewhrleistung der MARKTREIFE oder der EIGNUNG FR EINEN BESTIMMTEN ZWECK.\n" +"Die Verffentlichung dieses Programms erfolgt in der Hoffnung, dass es\n" +"Ihnen von Nutzen sein wird, aber OHNE JEDE GEWHRLEISTUNG\n" +"- sogar ohne die implizite Gewhrleistung der MARKTREIFE oder der\n" +"EIGNUNG FR EINEN BESTIMMTEN ZWECK.\n" #. TEXT_EMAIL msgid "Email:" @@ -616,25 +735,21 @@ msgstr "Anhang:" msgid "Project status:" msgstr "Projekt Status:" +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "" + #. TEXT_MEDIUM_DEFINITION_NAME msgid "Medium Name:" -msgstr "" +msgstr "Medium Name:" #. TEXT_VIEWER_IMAGE_INFO #, c-format msgid "" "Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" msgstr "" -"Gre %d x %d Punkte, %d Bit/Farbe, %d Farben, %1.0f dpi x %1.0f dpi, %1.1f " -"%s" - -#. TEXT_X_SCALE_FACTOR -msgid "X-Scale factor:" -msgstr "Vergrerungsfaktor X:" - -#. TEXT_Y_SCALE_FACTOR -msgid "Y-Scale factor:" -msgstr "Vergrerungsfaktor Y:" +"Gre %d x %d Punkte, %d Bit/Farbe, %d Farben, %1.0f dpi x %1.0f dpi, %1.1f %" +"s" #. TEXT_DESPECKLE_RADIUS msgid "Despeckle radius:" @@ -644,6 +759,38 @@ msgstr "Entflecken Radius:" msgid "Blur radius:" msgstr "Weichzeichnen Radius:" +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(kein Name)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Bereichsname:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Scanmodus:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Oben links:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Gre:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Auflsung:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bittiefe:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "wie ausgewhlt" + #. TEXT_SETUP_PRINTER_SEL msgid "Printer selection:" msgstr "Druckerauswahl:" @@ -740,6 +887,10 @@ msgstr "TIFF 8 bit Bildkompression" msgid "TIFF lineart image compression" msgstr "TIFF lineart Bildkompression" +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Zeige Bereich als:" + #. TEXT_SETUP_PREVIEW_OVERSAMPLING msgid "Preview oversampling:" msgstr "Vorschau Oversampling:" @@ -812,6 +963,10 @@ msgstr "Option f msgid "Fine mode option:" msgstr "Option fr Feinmodus:" +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Setze Standardwerte fr folgendes Programm" + #. TEXT_SETUP_FAX_VIEWER msgid "Viewer (Postscript):" msgstr "Betrachter (Postscript):" @@ -864,6 +1019,18 @@ msgstr "Option f msgid "Outputfile option:" msgstr "Option fr Ausgabedatei:" +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Benutze GUI Fortschritts-Pipe" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUI Ausgabe-fd Option:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Fortschritts-Schluesselwort:" + #. TEXT_SETUP_PERMISSION_USER msgid "user" msgstr "Benutzer" @@ -876,6 +1043,9 @@ msgstr "Gruppe" msgid "all" msgstr "Alle" +msgid "new media" +msgstr "" + #. NOTEBOOK_SAVING_OPTIONS msgid "Save" msgstr "Speichern" @@ -898,7 +1068,7 @@ msgstr "E-Mail" #. NOTEBOOK_OCR_OPTIONS msgid "OCR" -msgstr "" +msgstr "Texterkennung" #. NOTEBOOK_DISPLAY_OPTIONS msgid "Display" @@ -928,6 +1098,10 @@ msgstr "Zeige Histogramm" msgid "Show gamma curve" msgstr "Zeige Gammakurve" +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Zeige Stapelliste" + #. MENU_ITEM_SHOW_STANDARDOPTIONS msgid "Show standard options" msgstr "Zeige Standardoptionen" @@ -980,6 +1154,10 @@ msgstr "Zeige Aufl msgid "Rotate postscript" msgstr "Drehe Postscript" +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Mediumdefinition ndern" + #. MENU_ITEM_SAVE_DEVICE_SETTINGS msgid "Save device settings" msgstr "Speichere Gerteeinstellungen" @@ -992,9 +1170,13 @@ msgstr "Lade Ger msgid "Change directory" msgstr "Arbeitsverzeichnis ndern" -#. MENU_ITEM_XSANE_LICENSE -msgid "License" -msgstr "Lizenz" +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Zeige Endbenutzervereinbarung" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Zeige Lizenz (GPL)" #. MENU_ITEM_XSANE_DOC msgid "XSane doc" @@ -1044,6 +1226,26 @@ msgstr "JPEG DCT Kompression" msgid "pack bits" msgstr "gepackte Bits" +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Schieber (Scale)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Schieber (Scrollbalken)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Drehknopf" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Scale und Drehknopf" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Scrollbalken und Drehknopf" + #. MENU_ITEM_LINEART_MODE_STANDARD msgid "Standard options window (lineart)" msgstr "Standard Optionen Fenster (b/w)" @@ -1066,23 +1268,27 @@ msgstr "nach Erw" #. MENU_ITEM_PRESET_AREA_ADD_SEL msgid "Add selection to list" -msgstr "Auswahl zur Liste hinzufuegen" +msgstr "Auswahl zur Liste hinzufgen" -#. MENU_ITEM_PRESET_AREA_RENAME -msgid "Rename definiton" -msgstr "Definition umbenennen" +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Mediumdefinition hinzufgen" -#. MENU_ITEM_PRESET_AREA_DELETE -msgid "Delete definition" -msgstr "Definition lschen" +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Eintrag umbenennen" -#. MENU_OTEM_PRESET_AREA_MOVE_UP -msgid "Move up" -msgstr "Nach oben schieben" +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Eintrag lschen" -#. MENU_OTEM_PRESET_AREA_MOVE_DWN -msgid "Move down" -msgstr "Nach unten schieben" +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Eintrag nach oben schieben" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Eintrag nach unten schieben" #. PROGRESS_SCANNING msgid "Scanning" @@ -1133,6 +1339,10 @@ msgstr "Flecken entfernen" msgid "Bluring image" msgstr "Bild weichzeichnen" +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Texterkennung" + #. DESC_SCAN_START msgid "Start scan " msgstr "Scan starten " @@ -1151,15 +1361,25 @@ msgstr "Vorschauscan abbrechen " #. DESC_XSANE_MODE msgid "" -"save-, view-, photocopy-, fax- or " -"mail-" +"save-, view-, photocopy-, fax- or mail-" msgstr "" "speichern-, betrachten-, kopieren-, faxen- " "oder mailen-" #. DESC_XSANE_MEDIUM -msgid "Select source medium type" -msgstr "Type des Quellmediums auswhlen" +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Quellmedium auswhlen.\n" +"Zum Umbennenn, Umsortieren oder Lschen eines Eintrags das Kontextmen " +"benutzen (rechter Mausknopf).\n" +"Um ein neues Medium zu erzeugen, Option Medium ndern im Einstellungsmen " +"aktivieren." #. DESC_FILENAME_COUNTER_STEP msgid "Value that is added to filenamecounter after scan" @@ -1191,7 +1411,7 @@ msgstr "Name der Faxseite eingeben" #. DESC_FAXRECEIVER msgid "Enter receiver phone number or address" -msgstr "Telephonnummer des Empfngers eingeben" +msgstr "Telefonnummer des Empfngers eingeben" #. DESC_MAILPROJECT msgid "Enter name of mail project" @@ -1209,10 +1429,26 @@ msgstr "EMail Adresse eingeben" msgid "Enter subject of email" msgstr "Betreff eingeben" -#. DESC_PRESET_AREA_NAME +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "" + +#. DESC_PRESET_AREA_RENAME msgid "Enter new name for preset area" msgstr "Name der Gebietsvoreinstellung eingeben" +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Namen fr Gebietsvoreinstellung eingeben" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Namen fr Mediendefinition eingeben" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Namen fr Mediendefinition eingeben" + #. DESC_PRINTER_SELECT msgid "Select printerdefinition " msgstr "Whle Druckerdefinition " @@ -1246,8 +1482,8 @@ msgid "Set number of copies" msgstr "Bestimmt die Anzahl der Kopien" #. DESC_NEGATIVE -msgid "Negative: Invert colors for scanning negatives " -msgstr "Negativ: Invertiere Farben, zum Scannen von Negativen " +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativ: Invertiere Farben, zum Scannen von Negativen " #. DESC_GAMMA msgid "Set gamma value" @@ -1304,40 +1540,40 @@ msgstr "Schwellwert setzen" #. DESC_RGB_DEFAULT msgid "" "RGB default: Set enhancement values for red, green and blue to default " -"values :\n" +"values :\n" " gamma = 1.0\n" " brightness = 0\n" " contrast = 0" msgstr "" "RGB Standard: Setzt Farbverbesserungswerte fr rot, grn und blau auf " -"Standardwerte :\n" +"Standardwerte :\n" "Gamma = 1.0\n" "Helligkeit = 0\n" "Kontrast = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast " -msgstr "Automatische Einstellung von Gamma, Helligkeit und Kontrast " +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Automatische Einstellung von Gamma, Helligkeit und Kontrast " #. DESC_ENH_DEFAULT msgid "" -"Set default enhancement values :\n" +"Set default enhancement values :\n" "gamma = 1.0\n" "brightness = 0\n" "contrast = 0" msgstr "" -"Setze Standardwerte fr Farbverbesserung :\n" +"Setze Standardwerte fr Farbverbesserung :\n" "Gamma = 1.0\n" "Helligkeit = 0\n" "Kontrast = 0" #. DESC_ENH_RESTORE -msgid "Restore enhancement values from preferences " -msgstr "Lade Farbverbesserungswerte aus Einstellungen >shift-r>" +msgid "Restore enhancement values from preferences " +msgstr "Lade Farbverbesserungswerte aus Einstellungen " #. DESC_ENH_STORE -msgid "Store active enhancement values to preferences " -msgstr "Speichere Farbverbesserungswerte in Einstellungen " +msgid "Store active enhancement values to preferences " +msgstr "Speichere Farbverbesserungswerte in Einstellungen " #. DESC_HIST_INTENSITY msgid "Show histogram of intensity/gray " @@ -1384,20 +1620,20 @@ msgstr "Option, mit der die Anzahl der Kopien angegeben wird" msgid "" "Resolution with which lineart images are printed and saved in postscript" msgstr "" -"Auflsung, mit der Lineart-Bilder gedrucht und im Postscriptformat " +"Auflsung, mit der Lineart-Bilder gedruckt und im Postscriptformat " "gespeichert werden" #. DESC_PRINTER_GRAYSCALE_RESOLUTION msgid "" "Resolution with which grayscale images are printed and saved in postscript" msgstr "" -"Auflsung, mit der Graustufen-Bilder gedrucht und im Postscriptformat " +"Auflsung, mit der Graustufen-Bilder gedruckt und im Postscriptformat " "gespeichert werden" #. DESC_PRINTER_COLOR_RESOLUTION msgid "Resolution with which color images are printed and saved in postscript" msgstr "" -"Auflsung, mit der Farb-Bilder gedrucht und im Postscriptformat gespeichert " +"Auflsung, mit der Farb-Bilder gedruckt und im Postscriptformat gespeichert " "werden" #. DESC_PRINTER_WIDTH @@ -1453,7 +1689,7 @@ msgstr "Kompression wenn Bild im PNG-Format gespeichert wird" #. DESC_FILENAME_COUNTER_LEN msgid "Minimum length of counter in filename" -msgstr "Minimale Laenge des Zaehlers im Dateinamen" +msgstr "Minimale Lnge des Zhlers im Dateinamen" #. DESC_TIFF_COMPRESSION_16 msgid "Compression type if 16 bit image is saved as tiff" @@ -1484,11 +1720,23 @@ msgstr "" "Wenn der Dateinamenzhler automatisch erhht wird, werden benutzte " "Dateinummern bersprungen" +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Speicher 16 Bit PNM-Bilder im ASCII Format anstatt im Binr Format. Das " +"Binr Format ist ein neues Format, das nicht von allen Programmen " +"untersttzt wird. Das ASCII Format wird von mehr Programmen untersttzt, " +"aber die Dateien werden sehr gro!!!" + #. DESC_REDUCE_16BIT_TO_8BIT msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" msgstr "" -"Wenn der Scanner das Bild mit 16 Bits/Farbe liefert wird das Bild mit 8 " -"Bits/Farbe gespeichert" +"Wenn der Scanner das Bild mit 16 Bits/Farbe liefert wird das Bild mit 8 Bits/" +"Farbe gespeichert" #. DESC_PSFILE_WIDTH msgid "Width of paper for postscript files" @@ -1520,7 +1768,7 @@ msgstr "Verwende feste oder ver #. DESC_DISABLE_GIMP_PREVIEW_GAMMA msgid "Disable preview gamma when XSane runs as gimp plugin" -msgstr "" +msgstr "Preview Gamma deaktivieren wenn XSane als Gimp-Plugin gestartet wird" #. DESC_PREVIEW_COLORMAP msgid "Use an own colormap for preview if display depth is 8 bpp" @@ -1528,6 +1776,10 @@ msgstr "" "Benutze eigene Farbpalette fr Vorschaubild, wenn die Bildschirmfarbtiefe 8 " "Bit betrgt" +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Bestimmen Sie, wie die Auswahle eines Bereichs dargestellt wird" + #. DESC_PREVIEW_OVERSAMPLING msgid "Value with that the calculated preview resolution is multiplied" msgstr "Wert, mit dem die berechnete Vorschauauflsung multipliziert wird" @@ -1557,9 +1809,9 @@ msgid "" "Select grayscale scanmode. This scanmode is used for lineart preview scan " "when transformation from grayscale to lineart is enabled" msgstr "" -"Name des Graustufen-Scanmodus auswhlen. Dieser Scanmodus wird beim " -"Schwarz-Weiss Vorschauscan verwendet, wenn Umwandlung von Graustufen in " -"Schwarz/Wei aktiviert ist." +"Name des Graustufen-Scanmodus auswhlen. Dieser Scanmodus wird beim Schwarz-" +"Weiss Vorschauscan verwendet, wenn Umwandlung von Graustufen in Schwarz/Wei " +"aktiviert ist." #. DESC_PREVIEW_THRESHOLD_MIN #, no-c-format @@ -1597,15 +1849,15 @@ msgstr "" #. DESC_PREVIEW_PIPETTE_RANGE msgid "dimension of square that is used to average color for pipette function" msgstr "" -"Gre des Quadrats, das zum Mitteln der Farbe fr die Pipette Funkiton " +"Gre des Quadrats, das zum Mitteln der Farbe fr die Pipette Funktion " "benutzt wird" #. DESC_DOC_VIEWER msgid "" "Enter command to be executed to display helpfiles, must be a html-viewer!" msgstr "" -"Befehl, der ausgefhrt werden soll, um Hilfedateien anzuzeigen, mu ein " -"HTML-Betrachter sein!" +"Befehl, der ausgefhrt werden soll, um Hilfedateien anzuzeigen, mu ein HTML-" +"Betrachter sein!" #. DESC_AUTOENHANCE_GAMMA msgid "Change gamma value when autoenhancement button is pressed" @@ -1671,11 +1923,11 @@ msgstr "Geben Sie die E-Mail Adresse f #. DESC_POP3_AUTHENTIFICATION msgid "Authentificate at POP3 server before sending mail" msgstr "" -"Authehtifizierung ber POP3 Server durchfhren bevor mail gesendet wird" +"Authentifizierung ber POP3 Server durchfhren bevor mail gesendet wird" #. DESC_POP3_SERVER msgid "IP Address or Domain name of POP3 server" -msgstr "IP ADresse oder Domain Name des POP3 Servers" +msgstr "IP Adresse oder Domain Name des POP3 Servers" #. DESC_POP3_PORT msgid "port to connect to POP3 server" @@ -1694,20 +1946,38 @@ msgid "Enter command to be executed to view a mail image" msgstr "Befehl, der ausgefhrt werden soll, um Mail-Bilder anzuzeigen" #. DESC_HTML_MAIL -msgid "Mail is sent in html mode, images are displayed directly" -msgstr "E-Mail wird im hmtl Modus gesandt" +msgid "Mail is sent in html mode, place image with: " +msgstr "E-Mail wird im hmtl Modus gesandt, Bild placieren mit: " #. DESC_OCR_COMMAND msgid "Enter command to start ocr program" -msgstr "" +msgstr "OCR Befehl eingeben" #. DESC_OCR_INPUTFILE_OPT msgid "Enter option of the ocr program to define input file" -msgstr "" +msgstr "Eingabe-Datei-Option fr OCR Programm eingeben" #. DESC_OCR_OUTPUTFILE_OPT msgid "Enter option of the ocr program to define output file" +msgstr "Ausgabe-Datei-Option fr OCR Programm eingeben" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" +"Definieren Sie, ob das OCR Programm eine GUI-Fortschritts-Pipe untersttzt" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Geben Sie die Option des OCR Programms ein, mit der der Ausgabefildeskriptor " +"im GUI Mode bergeben wird" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" msgstr "" +"Definieren Sie das Schlsselwort, das benutzt wird, um Fortschritssangaben " +"zu kennzeichenen" #. DESC_PERMISSION_READ msgid "read" @@ -1721,6 +1991,10 @@ msgstr "schreiben" msgid "execute" msgstr "ausfhren" +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Auswahl zur Stapelliste hinzufgen" + #. DESC_PIPETTE_WHITE msgid "Pick white point" msgstr "Whle weien Punkt" @@ -1743,6 +2017,10 @@ msgid "Zoom 20% out" msgstr "Zoomt um 20% heraus" #. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "In gewnschten Bereich zum Zoomen klicken" + +#. DESC_ZOOM_AREA msgid "Zoom into selected area" msgstr "Zoomt in den gewhlten Bereich hinein" @@ -1758,43 +2036,65 @@ msgstr "Sichtbaren Bereich ausw msgid "Autoselect scanarea" msgstr "Scanbereich automatisch whlen" +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Scanbereich automatisch aufziehen" + #. DESC_DELETE_IMAGES msgid "Delete preview image cache" -msgstr "Vorschau Speicher loeschen" +msgstr "Vorschau Speicher lschen" #. DESC_PRESET_AREA -msgid "Preset area" -msgstr "Bereichsvoreinstellung" +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Bereichsvoreinstellung:\n" +"Um einen neuen Bereich hinzuzufgen oder exisitierende Voreinstellungen zu " +"ndern verwenden Sie das Kontextmen (rechter Mausknopf)." #. DESC_ROTATION msgid "Rotate preview and scan" msgstr "Drehe Vorschau und Scan" +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Seitenverhltnis der Auswahl" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Bildposition beim Drucken definieren" + #. DESC_VIEWER_OCR msgid "Optical Character Recognition" -msgstr "" +msgstr "Optische Zeichenerkennung (OCR)" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Letzte nderung rckgngig machen" #. DESC_VIEWER_CLONE msgid "Clone image" msgstr "Bild clonen" -#. DESC_VIEWER_ROTATE90 +#. DESC_ROTATE90 msgid "Rotate image 90 degree" msgstr "Drehe Bild um 90 Grad" -#. DESC_VIEWER_ROTATE180 +#. DESC_ROTATE180 msgid "Rotate image 180 degree" msgstr "Drehe Bild um 180 Grad" -#. DESC_VIEWER_ROTATE270 +#. DESC_ROTATE270 msgid "Rotate image 270 degree" msgstr "Drehe Bild um 270 Grad" -#. DESC_VIEWER_MIRROR_X +#. DESC_MIRROR_X msgid "Mirror image at vertical axis" msgstr "Bild an vertikaler Achse spiegeln" -#. DESC_VIEWER_MIRROR_Y +#. DESC_MIRROR_Y msgid "Mirror image at horizontal axis" msgstr "Bild an horizontaler Achse spiegeln" @@ -1810,6 +2110,54 @@ msgstr "Medium speichern" msgid "Delete active medium" msgstr "Medium lschen" +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Vergrerungsfaktor" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Vergrerungsfaktor X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Vergrerungsfaktor Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Bild auf Breite [in Pixeln] skalieren" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Bild auf Hhe [in Pixeln] skalieren" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Stapelliste leeren" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Stapelliste speichern" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Stapelliste laden" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Bereich umbenennen" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Vorschau-Auswahl zur Stapelliste hinzufgen" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Ausgewhlten Bereich aus Stapelliste lschen" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Schaltet automatische Einstellung ein" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Konnte Heimatverzeichnis nicht bestimmen" @@ -1912,6 +2260,10 @@ msgstr "LIBTIFF meldet Fehler" msgid "LIBPNG reports error" msgstr "LIBPNG meldet Fehler" +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG meldet Fehler" + #. ERR_UNKNOWN_TYPE msgid "unknown type" msgstr "unbekannter Typ" @@ -1920,6 +2272,15 @@ msgstr "unbekannter Typ" msgid "unknown constraint type" msgstr "unbekannter verpflichtender Typ" +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Option hat leeren Namen (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" +"Das ist ein Backend-Fehler. Bitte informieren Sie den Autor des Backends!" + #. ERR_FAILED_EXEC_DOC_VIEWER msgid "Failed to execute documentation viewer:" msgstr "Konnte Hilfedateibetrachter nicht ausfhren:" @@ -2032,6 +2393,10 @@ msgstr "Warnung" msgid "Information" msgstr "Information" +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Kindprozess-Fehler" + #. ERR_FAILED_CREATE_FILE msgid "Failed to create file:" msgstr "Fehler beim Erstellen der Datei:" @@ -2112,8 +2477,8 @@ msgid "" " -v, --version print version information\n" " -l, --license print license information\n" "\n" -" -d, --device-settings file load device settings from file (without " -"\".drc\")\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" "\n" " -V, --viewer start with viewer-mode active (default)\n" " -s, --save start with save-mode active\n" @@ -2122,8 +2487,6 @@ msgid "" " -m, --mail start with mail-mode active\n" " -n, --no-mode-selection disable menu for XSane mode selection\n" "\n" -" -M, --Medium-calibration enable medium calibration mode\n" -"\n" " -F, --Fixed fixed main window size (overwrite preferences " "value)\n" " -R, --Resizeable resizable, scrolled main window (overwrite " @@ -2140,8 +2503,8 @@ msgid "" msgstr "" "Startet graphisches Benutzerinterface fr SANE (Scanner Access Now Easy)\n" "\n" -"Das Fromat von [GERT] ist Backendname:Gertedatei (z.B. umax:/dev/scanner)\n" -"[OPTION]... kann eine Kombination aus den folgenden Bezeichnern sein:\n" +"Das Format von [GERT] ist Backendname:Gertedatei (z.B. umax:/dev/scanner)\n" +"[OPTION]... kann eine Kombination aus den folgenden Elementen sein:\n" " -h, --help zeigt diesen Hilfetext\n" " -v, --version gibt Versionsinformationen aus\n" " -l, --license gibt Lizenzinformationen aus\n" @@ -2155,8 +2518,6 @@ msgstr "" " -m, --mail starte im E-Mailmodus\n" " -n, --no-mode-selection deaktiviere Modusauswahl\n" "\n" -" -M, --Medium-calibration aktiviere Medium Kalibrierungs Modus\n" -"\n" " -F, --Fixed Hauptfenstergre ist fest\n" " -R, --Resizeable Hauptfenstergre ist vernderbar\n" "\n" @@ -2164,7 +2525,7 @@ msgstr "" " -N, --force-filename name benutze name als Dateinamen,\n" " deaktiviere Auswahl fr Dateinamen\n" "\n" -" --display X11-display lenkt X-Ausgabe auf X11-display um\n" +" --display X11-display lenkt X-Ausgabe auf X11-Display um\n" " --no-xshm keine shared memory Bilder benutzen\n" " --sync fordert synchrone Verbindung zum X-Server an" @@ -2198,6 +2559,26 @@ msgstr "/Xtns/XSane/Ger msgid "/Xtns/XSane/" msgstr "/Xtns/XSane/" +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Mgliche Grnde:\n" +"1) Es ist wirklich kein von SANE untersttzes Gert vorhanden\n" +"2) Untersttzte Gerte sind belegt\n" +"3) Die Rechte fr die Gertedatei erlauben Ihnen keinen Zugriff - Versuchen " +"Sie es als root\n" +"4) Das Backend wurde von SANE nicht geladen (man sane-dll)\n" +"5) Das Backend wurde nicht richtig konfiguriert (man sane-\"backendname\")\n" +"6) Mglicherweise sind mehrere SANE Versionen installiert" + #. strings that are used in structures, so it is not allowed to use _()/gettext() here #. gettext_noop does mark these texts but does not change the string #. MENU_ITEM_SURFACE_FULL_SIZE @@ -2230,27 +2611,27 @@ msgstr "DIN A5 quer" #. MENU_ITEM_SURFACE_13cmx18cm msgid "13cm x 18cm" -msgstr "" +msgstr "13cm x 18cm" #. MENU_ITEM_SURFACE_18cmx13cm msgid "18cm x 13cm" -msgstr "" +msgstr "18cm x 13cm" #. MENU_ITEM_SURFACE_10cmx15cm msgid "10cm x 15cm" -msgstr "" +msgstr "10cm x 15cm" #. MENU_ITEM_SURFACE_15cmx10cm msgid "15cm x 10cm" -msgstr "" +msgstr "15cm x 10cm" #. MENU_ITEM_SURFACE_9cmx13cm msgid "9cm x 13cm" -msgstr "" +msgstr "9cm x 13cm" #. MENU_ITEM_SURFACE_13cmx9cm msgid "13cm x 9cm" -msgstr "" +msgstr "13cm x 9cm" #. MENU_ITEM_SURFACE_legal_P msgid "legal port." @@ -2268,9 +2649,9 @@ msgstr "letter hoch" msgid "letter land." msgstr "letter quer" -#. MENU_ITEM_MEDIUM_FULL_RANGE -msgid "Full range" -msgstr "Voller Bereich" +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Voller Farbumfang" #. MENU_ITEM_MEDIUM_SLIDE msgid "Slide" @@ -2312,6 +2693,74 @@ msgstr "Konica Negativ VX 100" msgid "Rossmann negative HR 100" msgstr "Rossmann Negativ HR 100" +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Mail-Projekt nicht erstellt" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Mail-Projekt erstellt" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Mail-Projekt gendert" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Fehler beim Lesen des Mailprojekts" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "POP3 Verbindung fehlgeschlagen" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "POP3 Login fehlgeschlagen" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "SMTP Verbindung fehlgeschlagen" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Absender Eintrag nicht akzeptiert" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Empfnger Eintrag nicht akzeptiert" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Mail Daten nicht akzeptiert" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Mail wird gesendet" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Mail wurde gesendet" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Fax-Projekt nicht erstellt" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Fax-Projekt erstellt" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Fax-Projekt gendert" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Fax zum Senden einreihen" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax ist zum Senden eingereiht" + #. Sane backend messages msgid "flatbed scanner" msgstr "Flachbettscanner" @@ -2353,7 +2802,7 @@ msgid "Document feeder jammed" msgstr "Dokumenteneinzug blockiert" msgid "Document feeder out of documents" -msgstr "Documenteneinzug ohne Papier" +msgstr "Dokumenteneinzug ohne Papier" msgid "Scanner cover is open" msgstr "Scannerdeckel ist offen" @@ -2366,6 +2815,3 @@ msgstr "Kein Speicher" msgid "Access to resource has been denied" msgstr "Zugang zum Gert wurde verweigert" - -#~ msgid "Store Medium definition" -#~ msgstr "Mediendefinition speichern" diff --git a/po/es.gmo b/po/es.gmo index 1ca5b1b..d7012d3 100644 Binary files a/po/es.gmo and b/po/es.gmo differ diff --git a/po/es.po b/po/es.po index ef998fd..aead4e3 100644 --- a/po/es.po +++ b/po/es.po @@ -1,18 +1,20 @@ +# translation of es.po to Castellano # XSane Spanish .po file -# Copyright (C) 2001 Free Software Foundation, Inc. -# Gustavo D. Vranjes , 2001 +# Copyright (C) 2001,2002, 2004 Free Software Foundation, Inc. +# Gustavo D. Vranjes , 2001,2002, 2004. +# Gustavo D. Vranjes , 2002. # msgid "" msgstr "" -"Project-Id-Version: XSane-0.84\n" -"POT-Creation-Date: 2002-01-22 23:34+0100\n" -"PO-Revision-Date: 2002-01-14 22:56GMT\n" -"Last-Translator: Gustavo D. Vranjes \n" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-22 19:15GMT\n" +"Last-Translator: Gustavo D. Vranjes \n" "Language-Team: Castellano \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 0.9.5\n" +"X-Generator: KBabel 1.9\n" #. Please translate this to the correct directory name (eg. german=>de) #. XSANE_LANGUAGE_DIR @@ -24,6 +26,10 @@ msgid "(c)" msgstr "(c)" #. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "clon-de-" + #. WINDOW_ABOUT_XSANE msgid "About" msgstr "Acerca..." @@ -36,18 +42,34 @@ msgstr "Acerca de la traducci msgid "authorization" msgstr "autorizacin" -#. WINDOW_LICENSE -msgid "license" -msgstr "licencia" +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - la licencia" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Acuerdo de Licencia para Usuario Final" #. WINDOW_INFO msgid "info" msgstr "informacin" +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "cargar lista de proceso por lotes" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "guardar lista de proceso por lotes" + #. WINDOW_BATCH_SCAN msgid "batch scan" msgstr "Escaneo por lotes" +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "renombrar area de proceso por lotes" + #. WINDOW_FAX_PROJECT msgid "fax project" msgstr "proyecto de fax" @@ -76,6 +98,18 @@ msgstr "insertar archivo dentro de correo electr msgid "rename preset area" msgstr "renombrar area de preset" +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "agregar area de preset" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "renombrar medio" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "agregar medio nuevo" + #. WINDOW_SETUP msgid "setup" msgstr "configuracin" @@ -152,6 +186,10 @@ msgstr "Desenfocar imagen" msgid "Store medium definition" msgstr "Guardar definicin de medio" +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "No hay dispositivos obtenibles" + #. MENU_FILE msgid "File" msgstr "Archivo" @@ -164,14 +202,26 @@ msgstr "Preferencias" msgid "View" msgstr "Ver" +#. MENU_WINDOW +msgid "Window" +msgstr "Ventana" + #. MENU_HELP msgid "Help" msgstr "Ayuda" +#. MENU_EDIT +msgid "Edit" +msgstr "Editar" + #. MENU_FILTERS msgid "Filters" msgstr "Filtros" +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometra" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Acerca de XSane..." @@ -188,9 +238,9 @@ msgstr "Salir" msgid "Save image" msgstr "Guardar imagen" -#. MENU_ITEM_CLOSE -msgid "Close" -msgstr "Cerrar" +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - guardar como texto" #. MENU_ITEM_CLONE msgid "Clone" @@ -200,6 +250,14 @@ msgstr "Duplicar" msgid "Scale" msgstr "Redimensionar" +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Cerrar" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Deshacer" + #. MENU_ITEM_DESPECKLE msgid "Despeckle" msgstr "Desparasitar " @@ -208,6 +266,26 @@ msgstr "Desparasitar " msgid "Blur" msgstr "Desenfoque" +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Rotar imagen 90 grados" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rotar imagen 180 grados" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rotar imagen 270 grados" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Espejo |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Espejo -" + #. FRAME_RAW_IMAGE msgid "Raw image" msgstr "Imagen Cruda" @@ -216,9 +294,9 @@ msgstr "Imagen Cruda" msgid "Enhanced image" msgstr "Imagen mejorada" -#. BUTTON_START -msgid "Start" -msgstr "Comenzar" +#. BUTTON_SCAN +msgid "Scan" +msgstr "Escanear" #. BUTTON_OK msgid "Ok" @@ -256,9 +334,13 @@ msgstr "Explorar" msgid "Overwrite" msgstr "Sobreescribir" -#. BUTTON_ADD_AREA -msgid "Add area" -msgstr "Aadir area" +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Lista de escaneo por lotes" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Escanear rea seleccionada" #. BUTTON_PAGE_DELETE msgid "Delete page" @@ -280,6 +362,10 @@ msgstr "Borrar imagen" msgid "Show image" msgstr "Mostrar imagen" +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Editar imagen" + #. BUTTON_IMAGE_RENAME msgid "Rename image" msgstr "Renombrar imagen" @@ -329,7 +415,6 @@ msgid "Do not close" msgstr "No cerrar" #. BUTTON_SCALE_BIND -#, fuzzy msgid "Bind scale" msgstr "Atar escala" @@ -353,6 +438,10 @@ msgstr "Advertencia de sobreescritura" msgid "Skip existing filenames" msgstr "Omitir nombres de archivos existentes" +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Guardar 16bit pnm en formato ascii" + #. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT msgid "Reduce 16 bit image to 8 bit" msgstr "Reducir imagen de 16 bits a imagen de 8 bits" @@ -385,6 +474,10 @@ msgstr "Autocorregir colores" msgid "POP3 authentification" msgstr "Autentificacin POP3" +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Usar progreso de tubera GUI " + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Escaneando dispositivos" @@ -550,6 +643,33 @@ msgstr "compilado con GIMP-" msgid "unknown" msgstr "desconocido" +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane se distribuye bajo los trminos de la Licencia Pblica General GNU\n" +"tal como se la publica por la Free Software Foundation; cualquier versin \n" +"2 de la Licencia, or (a su opcin) cualquier versin posterior\n" +"\n" +"ste programa se distribuye con el deseo que pueda ser til, pero\n" +"SIN NINGUNA GARANTA; an sin la garanta implcita de\n" +"MERCANTILISMO o AJUSTE PARA ALGN PROPSITO PARTICULAR\n" +"Sea el caso de probarse defecto del programa, usted asumir el costo de " +"toda\n" +"reparacin, servicio correccin necesarios. Para usar ste programa usted\n" +"tiene que leer, entender y aceptar el siguiente\n" +"acuerdo de \"NO GARANTA\".\n" + #. TEXT_GPL msgid "" "XSane is distributed under the terms of the GNU General Public License\n" @@ -596,7 +716,7 @@ msgid "" msgstr "" "texto traducido al castellano\n" "por Gustavo D. Vranjes\n" -"Correo electrnico gvranjes@abaconet.com.ar\n" +"Correo electrnico gvranjes@SoftHome.net\n" #. TEXT_INFO_BOX msgid "0x0: 0KB" @@ -618,8 +738,11 @@ msgstr "Adjuntos:" msgid "Project status:" msgstr "Estado del proyecto:" +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Tipo de archivo de imagen de correo electrnico" + #. TEXT_MEDIUM_DEFINITION_NAME -#, fuzzy msgid "Medium Name:" msgstr "Nombre del medio:" @@ -631,14 +754,6 @@ msgstr "" "Tamao %d x %d pixel, %d bit/color, %d colores, %1.0f dpi x %1.0f ppp, %1.1f " "%s" -#. TEXT_X_SCALE_FACTOR -msgid "X-Scale factor:" -msgstr "Factor de Escala-X:" - -#. TEXT_Y_SCALE_FACTOR -msgid "Y-Scale factor:" -msgstr "Factor de Escala Y:" - #. TEXT_DESPECKLE_RADIUS msgid "Despeckle radius:" msgstr "Radio de desparasitado" @@ -647,6 +762,38 @@ msgstr "Radio de desparasitado" msgid "Blur radius:" msgstr "Radio de desenfoque de imagen:" +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(sin nombre)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Nombre de area:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Modo de escaneo:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Izquierda arriba:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Tamao:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Resolucin:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Profundidad de bit:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "como se seleccion" + #. TEXT_SETUP_PRINTER_SEL msgid "Printer selection:" msgstr "Seleccin de impresora:" @@ -743,6 +890,10 @@ msgstr "Compresi msgid "TIFF lineart image compression" msgstr "Compresin de imagen TIFF de lnea de arte" +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Mostrar range as:" + #. TEXT_SETUP_PREVIEW_OVERSAMPLING msgid "Preview oversampling:" msgstr "Sobremuestra de vista previa:" @@ -815,6 +966,10 @@ msgstr "Opci msgid "Fine mode option:" msgstr "Opcin en modo fino:" +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Establecer por defecto para:" + #. TEXT_SETUP_FAX_VIEWER msgid "Viewer (Postscript):" msgstr "Visor (Postscript):" @@ -867,6 +1022,18 @@ msgstr "Opci msgid "Outputfile option:" msgstr "Opcin del archivo de salida:" +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Usar tubera de progreso GUI:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Opcin de salida-fd GUI:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Clave de progreso:" + #. TEXT_SETUP_PERMISSION_USER msgid "user" msgstr "usuario" @@ -879,6 +1046,9 @@ msgstr "grupo" msgid "all" msgstr "todo" +msgid "new media" +msgstr "medio nuevo" + #. NOTEBOOK_SAVING_OPTIONS msgid "Save" msgstr "Guarda imagen" @@ -931,6 +1101,10 @@ msgstr "Mostrar histograma" msgid "Show gamma curve" msgstr "Mostrar curva de gamma" +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Mostrar escaneo por lotes" + #. MENU_ITEM_SHOW_STANDARDOPTIONS msgid "Show standard options" msgstr "Mostrar opciones estndard" @@ -983,6 +1157,10 @@ msgstr "Mostrar lista de resoluciones" msgid "Rotate postscript" msgstr "Rotar postscript" +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Editar definicin de medio" + #. MENU_ITEM_SAVE_DEVICE_SETTINGS msgid "Save device settings" msgstr "Guardar configuracin de dispositivo" @@ -995,9 +1173,13 @@ msgstr "Cargar configuraci msgid "Change directory" msgstr "Cambiar directorio" -#. MENU_ITEM_XSANE_LICENSE -msgid "License" -msgstr "Licencia" +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Mostrar EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Mostrar licencia (GPL)" #. MENU_ITEM_XSANE_DOC msgid "XSane doc" @@ -1047,6 +1229,26 @@ msgstr "Compresi msgid "pack bits" msgstr "paquetes de bits" +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Diapositiva (Escala)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Deslizador (Barra de scroll)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Botn de spin" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Escala y botn de spin" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Barra de scroll y botn de spin" + #. MENU_ITEM_LINEART_MODE_STANDARD msgid "Standard options window (lineart)" msgstr "Ventana de opciones estndar (lnea de arte)" @@ -1071,21 +1273,25 @@ msgstr "por extensi msgid "Add selection to list" msgstr "Aadir seleccin a la lista" -#. MENU_ITEM_PRESET_AREA_RENAME -msgid "Rename definiton" -msgstr "Renombrar definicin" +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Agragar definicin de medio" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Renombrar item" -#. MENU_ITEM_PRESET_AREA_DELETE -msgid "Delete definition" -msgstr "Borrar definicin" +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Borrar item" -#. MENU_OTEM_PRESET_AREA_MOVE_UP -msgid "Move up" -msgstr "Mover arriba" +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Mover item arriba" -#. MENU_OTEM_PRESET_AREA_MOVE_DWN -msgid "Move down" -msgstr "Mover abajo" +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Mover item abajo" #. PROGRESS_SCANNING msgid "Scanning" @@ -1136,6 +1342,10 @@ msgstr "Desparasitando imagen" msgid "Bluring image" msgstr "Desenfocando imagen" +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR en progreso" + #. DESC_SCAN_START msgid "Start scan " msgstr "Comenzar escaneo " @@ -1154,15 +1364,25 @@ msgstr "Cancelar vista previa del escaneo " #. DESC_XSANE_MODE msgid "" -"save-, view-, photocopy-, fax- or " -"mail-" +"save-, view-, photocopy-, fax- or mail-" msgstr "" -"guardar-, ver-, fotocopia-, fax- " -"mail-" +"guardar-, ver-, fotocopia-, fax- correo " +"electrnico-" #. DESC_XSANE_MEDIUM -msgid "Select source medium type" -msgstr "Seleccionar tipo de fuente de negativo" +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Elegir tipo de medio fuente. \n" +"Para renombrar, reordenar o borrar una entrada use el menu de contexto " +"(botn derecho del ratn). \n" +"Para crear un 'medio' habilitar la opcin 'editar definicin de medio'en el " +"men de preferencias." #. DESC_FILENAME_COUNTER_STEP msgid "Value that is added to filenamecounter after scan" @@ -1182,8 +1402,8 @@ msgid "" "Type of image format, the suitable filename extension is automatically added " "to the filename" msgstr "" -"Tipo de formato de imagen, la extensin adecuada se agregar automticamente " -" al nombre de archivo" +"Tipo de formato de imagen, la extensin adecuada se agregar " +"automticamente al nombre de archivo" #. DESC_FAXPROJECT msgid "Enter name of fax project" @@ -1213,10 +1433,26 @@ msgstr "Ingresar direcci msgid "Enter subject of email" msgstr "Ingresar asunto de correo electrnico" -#. DESC_PRESET_AREA_NAME +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Seleccionar tipo de archivo para imagen adjunta" + +#. DESC_PRESET_AREA_RENAME msgid "Enter new name for preset area" msgstr "Ingresar nuevo nombre para el rea de preset" +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Ingresar nuevo nombre para el rea de preset" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Ingresar nuevo nombre para definicin de medio" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Ingresar nuevo nombre para definicin de medio" + #. DESC_PRINTER_SELECT msgid "Select printerdefinition " msgstr "Seleccionar definicin de impresora " @@ -1250,8 +1486,8 @@ msgid "Set number of copies" msgstr "Establecer nmero de copias" #. DESC_NEGATIVE -msgid "Negative: Invert colors for scanning negatives " -msgstr "Negativos: Invertir colores para escanear negativos " +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativos: Invertir colores para escanear negativos " #. DESC_GAMMA msgid "Set gamma value" @@ -1308,40 +1544,40 @@ msgstr "Establecer umbral" #. DESC_RGB_DEFAULT msgid "" "RGB default: Set enhancement values for red, green and blue to default " -"values :\n" +"values :\n" " gamma = 1.0\n" " brightness = 0\n" " contrast = 0" msgstr "" "RGB por omisin: Establecer valores de mejora para rojo, verde y azul a " -"valores por omisin :\n" +"valores por omisin :\n" "gamma = 1.0\n" "brillo = 0\n" "contraste = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast " -msgstr "Autoajustar gamma, brillo y contraste " +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Autoajustar gamma, brillo y contraste " #. DESC_ENH_DEFAULT msgid "" -"Set default enhancement values :\n" +"Set default enhancement values :\n" "gamma = 1.0\n" "brightness = 0\n" "contrast = 0" msgstr "" -"Establecer valores de mejora por omisin :\n" +"Establecer valores de mejora por omisin :\n" "gamma = 1.0\n" "brillo = 0\n" "contraste = 0" #. DESC_ENH_RESTORE -msgid "Restore enhancement values from preferences " -msgstr "Restaurar valores de mejora desde preferencias " +msgid "Restore enhancement values from preferences " +msgstr "Restaurar valores de mejora desde preferencias " #. DESC_ENH_STORE -msgid "Store active enhancement values to preferences " -msgstr "Guardar valores de mejora activos a preferencias " +msgid "Store active enhancement values to preferences " +msgstr "Guardar valores de mejora activos a preferencias " #. DESC_HIST_INTENSITY msgid "Show histogram of intensity/gray " @@ -1489,11 +1725,24 @@ msgstr "" "Si el contador de nombre archivo se incrementa automticamente, los nmeros " "presentes son salteados" +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Cuando una imagen de 16 bits deba guardarse en formato pnm use el formato " +"ascii en vez del formato binario. El formato binario es un formato nuevo que " +"no est soportado por todos los programas. El formato ascii est " +"soportado por la mayora de los programas pero produce archivos realmente " +"enormes!!!" + #. DESC_REDUCE_16BIT_TO_8BIT msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" msgstr "" -"Si el escner enva imgenes de 16 bits/color guardar imgenes con 8 " -"bits/color" +"Si el escner enva imgenes de 16 bits/color guardar imgenes con 8 bits/" +"color" #. DESC_PSFILE_WIDTH msgid "Width of paper for postscript files" @@ -1535,6 +1784,10 @@ msgid "Use an own colormap for preview if display depth is 8 bpp" msgstr "" "Usar un mapa de colores propio si la profundidad de la pantalla es 8 bpp" +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Seleccionar cmo se muestra un rango" + #. DESC_PREVIEW_OVERSAMPLING msgid "Value with that the calculated preview resolution is multiplied" msgstr "Valor con el que la resolucin de la vista previa es multiplicado" @@ -1707,10 +1960,9 @@ msgstr "" "Ingrese comando a ser ejecutado para ver una imagen de correo electrnico" #. DESC_HTML_MAIL -msgid "Mail is sent in html mode, images are displayed directly" +msgid "Mail is sent in html mode, place image with: " msgstr "" -"El correo electrnico se enva en modo html, las imgenes se muestran " -"directamente" +"El correo electrnico se enva en modo html, coloque la imagen con: " #. DESC_OCR_COMMAND msgid "Enter command to start ocr program" @@ -1725,6 +1977,21 @@ msgstr "" msgid "Enter option of the ocr program to define output file" msgstr "ngresar opcin para el programa de OCR para definir archivo de salida" +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Definir si el programa de ocr soporta tubera de proceso GUI" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Ingresar opcin para el programa de ocr para definir descriptor de archivo " +"de salida en modo GUI" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Palabra clave que se usa para indicar informacin de progreso" + #. DESC_PERMISSION_READ msgid "read" msgstr "leer" @@ -1737,6 +2004,10 @@ msgstr "escribir" msgid "execute" msgstr "ejecutar" +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Aadir seleccin para escaneo por lotes" + #. DESC_PIPETTE_WHITE msgid "Pick white point" msgstr "Tomar punto blanco" @@ -1759,6 +2030,10 @@ msgid "Zoom 20% out" msgstr "Ampliar 20%" #. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Hacer click en la posicin para hacer zoom a" + +#. DESC_ZOOM_AREA msgid "Zoom into selected area" msgstr "Ampliar dentro del rea seleccionada" @@ -1774,43 +2049,65 @@ msgstr "Seleccionar area visible" msgid "Autoselect scanarea" msgstr "Autoseleccionar rea de escaneado" +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Autoseleccionar rea de escaneado" + #. DESC_DELETE_IMAGES msgid "Delete preview image cache" msgstr "Borrar cache de imagen de previsualizacin" #. DESC_PRESET_AREA -msgid "Preset area" -msgstr "rea de preset" +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"rea de preset:\n" +"Para agregar una nueva rea o editar una existente usar el men de contexto " +"(botn derecho del ratn)." #. DESC_ROTATION msgid "Rotate preview and scan" msgstr "Rotar previsualizacin y escanear" +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Relacin de aspecto de seleccin" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Definir posicin de imagen para imprimir" + #. DESC_VIEWER_OCR msgid "Optical Character Recognition" msgstr "Reconocimiento ptico de Caracteres" +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Deshacer el ltimo cambio" + #. DESC_VIEWER_CLONE msgid "Clone image" msgstr "Clonar imagen" -#. DESC_VIEWER_ROTATE90 +#. DESC_ROTATE90 msgid "Rotate image 90 degree" msgstr "Rotar imagen 90 grados" -#. DESC_VIEWER_ROTATE180 +#. DESC_ROTATE180 msgid "Rotate image 180 degree" msgstr "Rotar imagen 180 grados" -#. DESC_VIEWER_ROTATE270 +#. DESC_ROTATE270 msgid "Rotate image 270 degree" msgstr "Rotar imagen 270 grados" -#. DESC_VIEWER_MIRROR_X +#. DESC_MIRROR_X msgid "Mirror image at vertical axis" msgstr "Espejar imagen sobre el eje vertical" -#. DESC_VIEWER_MIRROR_Y +#. DESC_MIRROR_Y msgid "Mirror image at horizontal axis" msgstr "Espejar imagen sobre el eje horizontal" @@ -1826,6 +2123,54 @@ msgstr "Guardar medio" msgid "Delete active medium" msgstr "Borrar medio activo" +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Factor de escala" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Factor de Escala-X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Factor de Escala Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Escalar imagen a ancho [en pixels]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Escalar imagen a alto [en pixels]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Vaciar lista de proceso por lotes" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Guardar lista de proceso por lotes" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Cargar lista de proceso por lotes" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Renombrar area" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Aadir vista previa seleccionada a la lista de proceso por lotes" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Borrar area seleccionada de la lista de proceso por lotes" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Enciende modo automtico" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Fall al determinar el directorio home:" @@ -1928,6 +2273,10 @@ msgstr "LIBTIFF reporta un error" msgid "LIBPNG reports error" msgstr "LIBPNG reporta un error" +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPE G reporta un error" + #. ERR_UNKNOWN_TYPE msgid "unknown type" msgstr "tipo desconocido" @@ -1936,6 +2285,14 @@ msgstr "tipo desconocido" msgid "unknown constraint type" msgstr "Tipo de restriccin desconocida" +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "La opcin tiene nombre vaco (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "ste es un error del backend. Favor de informar al autor del backend!" + #. ERR_FAILED_EXEC_DOC_VIEWER msgid "Failed to execute documentation viewer:" msgstr "Fall al ejecutar visor de documentacin:" @@ -2048,6 +2405,10 @@ msgstr "Aviso" msgid "Information" msgstr "Informacin" +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Error de proceso hijo" + #. ERR_FAILED_CREATE_FILE msgid "Failed to create file:" msgstr "Fall al crear archivo:" @@ -2118,7 +2479,6 @@ msgid "[OPTION]... [DEVICE]" msgstr "[OPCIN]... [DISPOSITIVO]" #. TEXT_HELP -#, fuzzy msgid "" "Start up graphical user interface to access SANE (Scanner Access Now Easy) " "devices.\n" @@ -2129,8 +2489,8 @@ msgid "" " -v, --version print version information\n" " -l, --license print license information\n" "\n" -" -d, --device-settings file load device settings from file (without " -"\".drc\")\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" "\n" " -V, --viewer start with viewer-mode active (default)\n" " -s, --save start with save-mode active\n" @@ -2139,8 +2499,6 @@ msgid "" " -m, --mail start with mail-mode active\n" " -n, --no-mode-selection disable menu for XSane mode selection\n" "\n" -" -M, --Medium-calibration enable medium calibration mode\n" -"\n" " -F, --Fixed fixed main window size (overwrite preferences " "value)\n" " -R, --Resizeable resizable, scrolled main window (overwrite " @@ -2155,40 +2513,43 @@ msgid "" " --sync request a synchronous connection with the X11 " "server" msgstr "" -"Ejecutar interfaz grfica para acceder a dispositivos SANE[(A)cceso a " -"e(S)cner (N)ahora (E)fcil)\n" +"Inicio de interfaz grfica de usuario para acceder a dispositivos SANE [\n" +"(A)cceso a e(S)cner (N)ahora (E)fcil]\n" "\n" -"El formato de [DISPOSITIVO] es nombre:archivo_de_dispositivo de backend " -"(e.g. umax:/dev/scanner).\n" -"[OPCIN]... puede ser una combinacin de los siguientes items:\n" +"El formato de [DISPOSITIVO] es nombre_de_backend:archivo_de_dispositivo\n" +"(p/ej. umax:/dev/scanner).\n" +"[OPCIN]... puede ser una combinacin de los siguientes tems:\n" " -h, --help mostrar ste mensaje de ayuda y salir\n" " -v, --version imprimir informacin de la versin\n" " -l, --license imprimir informacin de la licencia\n" "\n" -" -d, --device-settings arch. cargar opciones de dispositivo desde archivo " -"(sin \".drc\")\n" +" -d, --device-settings file cargar opciones de dispositivo desde archivo\n" +" (sin \".drc\")\n" "\n" +" -V, --viewer comenzar con viewer-mode activo (por defecto)\n" " -s, --save comenzar con save-mode activo\n" -" -V, --viewer comenzar con viewer-mode activo\n" " -c, --copy comenzar con copy-mode activo\n" " -f, --fax comenzar con fax-mode activo\n" " -m, --mail comenzar con mail-mode activo\n" -" -n, --no-mode-selection no habilitar menu para XSane mode selection\n" +" -n, --no-mode-selection no habilitar menu para seleccin del modo " +"XSAne\n" "\n" -" -F, --Fixed tamao de ventana principal fijo (sobreescribe " -"el valor de preferencias)\n" -" -R, --Resizeable ventana principal redimensionable, con scroll " -"(sobreescribe el valor de preferencias)\n" +" -M, --Medium-calibration habilitar modo de calibracin medio\n" "\n" -" -p, --print-filenames imprimir nombres de archivos de imgenes " -"creadas por XSane\n" -" -N, --force-filename nombre forzar nombre de archivo y no habilitar el de " -"la seleccin de usuario \n" +" -F, --Fixed tamao de ventana principal fijo\n" +" (sobreescribe el valor de preferencias)\n" +" -R, --Resizeable ventana principal redimensionable, con scroll\n" +" (sobreescribe el valor de preferencias)\n" "\n" -" --display pantalla-X11 redireccionar salida a la pantalla de X11\n" +" -p, --print-filenames imprimir nombres de archivos de imgenes\n" +" creadas por XSane\n" +" -N, --force-filename name forzar nombre de archivo y no habilitar el de\n" +" la seleccin del usuario \n" +"\n" +" --display X11-display redireccionar salida a la pantalla de X11\n" " --no-xshm no usar imgenes en memoria compartida\n" -" --sync requerir una conexin sincrnica con el " -"servidor X11" +" --sync requerir una conexin sincrnica con " +"el servidor X11" #. strings for gimp plugin #. XSANE_GIMP_INSTALL_BLURB @@ -2201,8 +2562,8 @@ msgid "" "devices through the SANE (Scanner Access Now Easy) interface." msgstr "" "sta funcin proporciona acceso a escneres y otros dispositivos de " -"adquisicin de imgenes a travs de la interfaz SANE[(A)cceso a e(S)cner " -"(N)ahora (E)fcil)" +"adquisicin de imgenes a travs de la interfaz SANE[(A)cceso a e(S)cner (N)" +"ahora (E)fcil)" #. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" #. XSANE_GIMP_MENU_DIALOG @@ -2221,6 +2582,25 @@ msgstr "/Xtns/XSane: Ventana de di msgid "/Xtns/XSane/" msgstr "/Xtns/XSane/" +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Razones posibles:\n" +"1) No hay un dispositivo soportado por SANE\n" +"2) Los dispositivos soportados estn ocupados\n" +"3) Los permisos para el dispositivo no le permiten usarlo. Pruebe como root\n" +"4) El backend no est cargado por SANE (man sane-dll)\n" +"5) El backend no est configurado correctamente (man sane-\"backendname\")\n" +"6) Posiblemente haya ms de una versin de SANE instalada" + #. strings that are used in structures, so it is not allowed to use _()/gettext() here #. gettext_noop does mark these texts but does not change the string #. MENU_ITEM_SURFACE_FULL_SIZE @@ -2291,9 +2671,9 @@ msgstr "carta vert." msgid "letter land." msgstr "carta horiz." -#. MENU_ITEM_MEDIUM_FULL_RANGE -msgid "Full range" -msgstr "Rango completo" +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Rango de color completo" #. MENU_ITEM_MEDIUM_SLIDE msgid "Slide" @@ -2335,6 +2715,74 @@ msgstr "Negativo Konica VX 100" msgid "Rossmann negative HR 100" msgstr "Negativo Rossmann HR 100" +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Proyecto de correo electrnico no creado" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Proyecto de correo electrnico creado" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Proyecto de correo electrnico cambiado" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Error leyendo el proyecto de correo electrnico" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "Fall la conexin POP3" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Fall el login POP3" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "Fall la conexin SMTP" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Datos de entrada no aceptados" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Entrada del receptor no aceptada" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Datos de correo electrnico no aceptados" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Eviando correo electrnico" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "El correo electrnico se envi" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Proyecto de fax no creado" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Proyecto de fax creado" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Proyecto de fax cambiado" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Poniendo el fax en la cola de envo" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "el fax est en la cola de envo" + #. Sane backend messages msgid "flatbed scanner" msgstr "escner flatbed" diff --git a/po/fr.gmo b/po/fr.gmo index f1f6936..6e567aa 100644 Binary files a/po/fr.gmo and b/po/fr.gmo differ diff --git a/po/fr.po b/po/fr.po index bab1b03..03bca52 100644 --- a/po/fr.po +++ b/po/fr.po @@ -4,8 +4,8 @@ # msgid "" msgstr "" -"Project-Id-Version: XSANE 0.84\n" -"POT-Creation-Date: 2002-01-22 23:34+0100\n" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" "PO-Revision-Date: 2000-02-09 21:00+01:00\n" "Last-Translator: Laurent Grawet \n" "Language-Team: French \n" @@ -23,6 +23,10 @@ msgid "(c)" msgstr "" #. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "clone-de-" + #. WINDOW_ABOUT_XSANE msgid "About" msgstr "A propos" @@ -35,18 +39,34 @@ msgstr "Concernant la traduction" msgid "authorization" msgstr "Autorisation" -#. WINDOW_LICENSE -msgid "license" -msgstr "Licence" +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - La Licence" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Contrat d'utilisateur" #. WINDOW_INFO msgid "info" msgstr "Info" +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "Charger la liste" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "Sauver la liste" + #. WINDOW_BATCH_SCAN msgid "batch scan" msgstr "Numrisation par lots" +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "Renommer l'aire de numrisation" + #. WINDOW_FAX_PROJECT msgid "fax project" msgstr "Projet fax" @@ -75,6 +95,18 @@ msgstr "Ins msgid "rename preset area" msgstr "Renommer l'aire de prslection" +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "Ajouter une aire de prslection" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Renomer le support" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "Ajouter un nouveau support" + #. WINDOW_SETUP msgid "setup" msgstr "Configuration" @@ -151,6 +183,10 @@ msgstr "Adoucir l'image" msgid "Store medium definition" msgstr "Enregister la dfinition du support" +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Aucun priphrique disponible" + #. MENU_FILE msgid "File" msgstr "Fichier" @@ -163,14 +199,26 @@ msgstr "Pr msgid "View" msgstr "Afficher" +#. MENU_WINDOW +msgid "Window" +msgstr "Fentre" + #. MENU_HELP msgid "Help" msgstr "Aide" +#. MENU_EDIT +msgid "Edit" +msgstr "Edition" + #. MENU_FILTERS msgid "Filters" msgstr "Filtres" +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Gomtrie" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "A propos de XSane" @@ -187,9 +235,9 @@ msgstr "Quitter" msgid "Save image" msgstr "Sauver l'image" -#. MENU_ITEM_CLOSE -msgid "Close" -msgstr "Fermer" +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - Sauver au format texte" #. MENU_ITEM_CLONE msgid "Clone" @@ -199,6 +247,14 @@ msgstr "Cloner" msgid "Scale" msgstr "Redimensioner" +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Fermer" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Annuler" + #. MENU_ITEM_DESPECKLE msgid "Despeckle" msgstr "Dparasitage" @@ -207,6 +263,26 @@ msgstr "D msgid "Blur" msgstr "Flou" +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Rotation 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rotation 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rotation 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Mirroir |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Mirroir -" + #. FRAME_RAW_IMAGE msgid "Raw image" msgstr "Image brute" @@ -215,9 +291,9 @@ msgstr "Image brute" msgid "Enhanced image" msgstr "Image amliore" -#. BUTTON_START -msgid "Start" -msgstr "Dpart" +#. BUTTON_SCAN +msgid "Scan" +msgstr "Numriser" #. BUTTON_OK msgid "Ok" @@ -255,9 +331,13 @@ msgstr "Parcourir" msgid "Overwrite" msgstr "Ecraser" -#. BUTTON_ADD_AREA -msgid "Add area" -msgstr "Ajouter une aire" +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Numriser la liste" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Numriser l'aire slectionne" #. BUTTON_PAGE_DELETE msgid "Delete page" @@ -279,6 +359,10 @@ msgstr "Effacer l'image" msgid "Show image" msgstr "Afficher l'image" +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Editer l'image" + #. BUTTON_IMAGE_RENAME msgid "Rename image" msgstr "Renommer l'image" @@ -351,6 +435,10 @@ msgstr "Avertissement en cas d' msgid "Skip existing filenames" msgstr "Sauter les noms de fichiers existants" +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Sauver l'image pnm 16 bit en format ascii" + #. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT msgid "Reduce 16 bit image to 8 bit" msgstr "Rduire une image 16 bit en 8 bit" @@ -383,6 +471,10 @@ msgstr "Correction automatique des couleurs" msgid "POP3 authentification" msgstr "Authentification POP3" +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Utilise le \"pipe\" de progression GUI" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Recherche de priphriques..." @@ -547,6 +639,33 @@ msgstr "compil msgid "unknown" msgstr "inconnu" +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane est distribu selon les termes de la GNU \"General Public License\"\n" +"comme publie par la FSF \"Free Software Foundation\" ; soit la version 2\n" +"de la Licence, ou ( votre choix) toute version ultrieure.\n" +"\n" +"Ce programme est distribu car potentiellement utile, mais SANS AUCUNNE\n" +"GARANTIE, sans mme les garanties de COMMERCIALISATION ou d'ADAPTATION\n" +"DANS UN BUT SPECIFIQUE\n" +"Dans le cas ou le programme se rvelerait dfectueux, vous vous engagez \n" +"assumer le cot de tous les services, rparations ou corrections " +"ncessaires.\n" +"Pour utiliser ce programme, vous devez avoir lu, compris et accept les\n" +"termes \"SANS GARANTIE\" de ce contrat.\n" + #. TEXT_GPL msgid "" "XSane is distributed under the terms of the GNU General Public License\n" @@ -615,6 +734,10 @@ msgstr "Pi msgid "Project status:" msgstr "Statut du projet:" +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Type d'image pour l'e-mail" + #. TEXT_MEDIUM_DEFINITION_NAME msgid "Medium Name:" msgstr "Nom du support:" @@ -624,16 +747,8 @@ msgstr "Nom du support:" msgid "" "Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" msgstr "" -"Taille %d x %d points, %d bit/couleur, %d couleurs, %1.0f dpi x %1.0f dpi, " -"%1.1f %s" - -#. TEXT_X_SCALE_FACTOR -msgid "X-Scale factor:" -msgstr "Change le facteur d'chelle horizontal" - -#. TEXT_Y_SCALE_FACTOR -msgid "Y-Scale factor:" -msgstr "Change le facteur d'chelle vertical" +"Taille %d x %d points, %d bit/couleur, %d couleurs, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" #. TEXT_DESPECKLE_RADIUS msgid "Despeckle radius:" @@ -643,6 +758,38 @@ msgstr "Niveau de d msgid "Blur radius:" msgstr "Niveau de flou:" +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(sans nom)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Nom de l'aire:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Mode de numrisation:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Suprieur gauche:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Taille:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Rsolution:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Nombre de bits:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "comme slectionn" + #. TEXT_SETUP_PRINTER_SEL msgid "Printer selection:" msgstr "Slection de l'imprimante:" @@ -739,6 +886,10 @@ msgstr "Compression des images TIFF 8 bit" msgid "TIFF lineart image compression" msgstr "Compression des images TIFF mode trait" +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Afficher la plage comme:" + #. TEXT_SETUP_PREVIEW_OVERSAMPLING msgid "Preview oversampling:" msgstr "Surchantillonage de prvisualisation:" @@ -811,6 +962,10 @@ msgstr "Option du mode normal:" msgid "Fine mode option:" msgstr "Option du mode fin:" +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Options par dfaut pour:" + #. TEXT_SETUP_FAX_VIEWER msgid "Viewer (Postscript):" msgstr "Visionneuse (PostScript):" @@ -863,6 +1018,18 @@ msgstr "Option de fichier d'entr msgid "Outputfile option:" msgstr "Option de fichier de sortie:" +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Utilise le \"pipe\" de progression GUI:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Option GUI output-fd:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Message de progression:" + #. TEXT_SETUP_PERMISSION_USER msgid "user" msgstr "utilisateur" @@ -875,6 +1042,9 @@ msgstr "groupe" msgid "all" msgstr "tous" +msgid "new media" +msgstr "nouveau support" + #. NOTEBOOK_SAVING_OPTIONS msgid "Save" msgstr "Enregistrer" @@ -913,27 +1083,31 @@ msgstr "e-mail" #. MENU_ITEM_SHOW_TOOLTIPS msgid "Show tooltips" -msgstr "Affichage des bulles d'aide" +msgstr "Bulles d'aide" #. MENU_ITEM_SHOW_PREVIEW msgid "Show preview" -msgstr "Afficher l'aperu" +msgstr "Aperu" #. MENU_ITEM_SHOW_HISTOGRAM msgid "Show histogram" -msgstr "Afficher l'histogramme" +msgstr "Histogramme" #. MENU_ITEM_SHOW_GAMMA msgid "Show gamma curve" -msgstr "Afficher la courbe gamma" +msgstr "Courbe gamma" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Numrisation par lots" #. MENU_ITEM_SHOW_STANDARDOPTIONS msgid "Show standard options" -msgstr "Afficher les options standard" +msgstr "Options standard" #. MENU_ITEM_SHOW_ADVANCEDOPTIONS msgid "Show advanced options" -msgstr "Afficher les options avances" +msgstr "Options avances" #. MENU_ITEM_SETUP msgid "Setup" @@ -979,6 +1153,10 @@ msgstr "Afficher la liste des r msgid "Rotate postscript" msgstr "Rotation PostScript" +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Editer la dfinition du support" + #. MENU_ITEM_SAVE_DEVICE_SETTINGS msgid "Save device settings" msgstr "Enregistrer les paramtres du priphrique" @@ -991,9 +1169,13 @@ msgstr "Charger les param msgid "Change directory" msgstr "Changer de rpertoire" -#. MENU_ITEM_XSANE_LICENSE -msgid "License" -msgstr "Licence" +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Afficher EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Afficher la licence (GPL)" #. MENU_ITEM_XSANE_DOC msgid "XSane doc" @@ -1043,6 +1225,26 @@ msgstr "Compression JPEG DCT" msgid "pack bits" msgstr "" +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Dia (Echelle)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Dia (Barre de dfilement)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Bouton de rotation" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Echelle et bouton de rotation" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Barre de dfilement et bouton de rotation" + #. MENU_ITEM_LINEART_MODE_STANDARD msgid "Standard options window (lineart)" msgstr "Fentre d'options standard (mode trait)" @@ -1067,21 +1269,25 @@ msgstr "par ext" msgid "Add selection to list" msgstr "Ajouter la slection la liste" -#. MENU_ITEM_PRESET_AREA_RENAME -msgid "Rename definiton" -msgstr "Renommer la dfinition" +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Nouveau support" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Renommer un objet" -#. MENU_ITEM_PRESET_AREA_DELETE -msgid "Delete definition" -msgstr "Effacer la dfinition" +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Effacer un objet" -#. MENU_OTEM_PRESET_AREA_MOVE_UP -msgid "Move up" -msgstr "Haut" +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Dplacer l'objet vers le haut" -#. MENU_OTEM_PRESET_AREA_MOVE_DWN -msgid "Move down" -msgstr "Bas" +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Dplacer l'objet vers le bas" #. PROGRESS_SCANNING msgid "Scanning" @@ -1132,6 +1338,10 @@ msgstr "D msgid "Bluring image" msgstr "Flou de l'image..." +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR en cours..." + #. DESC_SCAN_START msgid "Start scan " msgstr "Numriser " @@ -1150,15 +1360,25 @@ msgstr "Annuler l'aper #. DESC_XSANE_MODE msgid "" -"save-, view-, photocopy-, fax- or " -"mail-" +"save-, view-, photocopy-, fax- or mail-" msgstr "" "sauver-, visionner-, photocopier-, faxer- ou " "poster-" #. DESC_XSANE_MEDIUM -msgid "Select source medium type" -msgstr "Slectionne le type de media de la source" +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Choisissez le type de support utiliser.\n" +"Pour renommer, rarranger ou effacer une entre, utilisez le menu contextuel " +"(bouton droit de la souris).\n" +"Pour crer un support, activez l'option diter la dfinition du support dans " +"le menu prfrences." #. DESC_FILENAME_COUNTER_STEP msgid "Value that is added to filenamecounter after scan" @@ -1208,10 +1428,26 @@ msgstr "Entrez l'adresse e-mail" msgid "Enter subject of email" msgstr "Entrez le sujet de l'e-mail" -#. DESC_PRESET_AREA_NAME +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Slectionnez le type de fichier pour les attachements" + +#. DESC_PRESET_AREA_RENAME msgid "Enter new name for preset area" msgstr "Entrez un nom pour la prslection" +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Entrez un nom pour la prslection" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Entrez un nom pour la dfinition du support" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Entrez un nom pour la dfinition du support" + #. DESC_PRINTER_SELECT msgid "Select printerdefinition " msgstr "Slectionne l'imprimante " @@ -1245,9 +1481,9 @@ msgid "Set number of copies" msgstr "Entrez le nombre de copies" #. DESC_NEGATIVE -msgid "Negative: Invert colors for scanning negatives " +msgid "Negative: Invert colors for scanning negatives " msgstr "" -"Ngatif: Inverse les couleurs pour la numrisation de ngatifs " +"Ngatif: Inverse les couleurs pour la numrisation de ngatifs " #. DESC_GAMMA msgid "Set gamma value" @@ -1304,40 +1540,40 @@ msgstr "Change le seuil" #. DESC_RGB_DEFAULT msgid "" "RGB default: Set enhancement values for red, green and blue to default " -"values :\n" +"values :\n" " gamma = 1.0\n" " brightness = 0\n" " contrast = 0" msgstr "" "Dfaults RGB: Place les optimisations pour le rouge, vert et bleu leurs " -"valeurs par dfaut :\n" +"valeurs par dfaut :\n" " gamma = 1.0\n" " luminosit = 0\n" " contraste = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast " -msgstr "Ajuste automatiquement gamma, luminosit et contraste " +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Ajuste automatiquement gamma, luminosit et contraste " #. DESC_ENH_DEFAULT msgid "" -"Set default enhancement values :\n" +"Set default enhancement values :\n" "gamma = 1.0\n" "brightness = 0\n" "contrast = 0" msgstr "" -"Place les optimisations leurs valeurs par dfaut :\n" +"Place les optimisations leurs valeurs par dfaut :\n" " gamma = 1.0\n" " luminosit = 0\n" " contraste = 0" #. DESC_ENH_RESTORE -msgid "Restore enhancement values from preferences " -msgstr "Restaure les optimisations des prfrences " +msgid "Restore enhancement values from preferences " +msgstr "Restaure les optimisations des prfrences " #. DESC_ENH_STORE -msgid "Store active enhancement values to preferences " -msgstr "Enregistre les optimisations actives dans les prfrences " +msgid "Store active enhancement values to preferences " +msgstr "Enregistre les optimisations actives dans les prfrences " #. DESC_HIST_INTENSITY msgid "Show histogram of intensity/gray " @@ -1483,11 +1719,23 @@ msgstr "" "Si un compteur de noms de fichiers est utilis, les nombres dj utiliss " "sont vits" +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Quand une une image 16 bit doit tre sauve au format pnm, utilisez le " +"format ASCII au lieu du format binaire. Le format binaire est un nouveau " +"format qui n'est pas support par tous les programmes. Le format ASCII est " +"support par plus de programmes mais produit de trs gros fichiers !!!" + #. DESC_REDUCE_16BIT_TO_8BIT msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" msgstr "" -"Si le scanner envoie une image en 16 bits/couleur, sauver l'image en 8 " -"bits/couleur" +"Si le scanner envoie une image en 16 bits/couleur, sauver l'image en 8 bits/" +"couleur" #. DESC_PSFILE_WIDTH msgid "Width of paper for postscript files" @@ -1529,6 +1777,10 @@ msgstr "" "Utilise une palette de couleurs prive pour l'aperu si l'affichage est en " "mode 8bits" +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Slectionnez la manire dont la plage est affiche" + #. DESC_PREVIEW_OVERSAMPLING msgid "Value with that the calculated preview resolution is multiplied" msgstr "" @@ -1696,8 +1948,8 @@ msgid "Enter command to be executed to view a mail image" msgstr "Entrez la commande tre excute pour voir une image e-mail" #. DESC_HTML_MAIL -msgid "Mail is sent in html mode, images are displayed directly" -msgstr "Message envoy en mode html, les images sont affiches directement" +msgid "Mail is sent in html mode, place image with: " +msgstr "Message envoy en mode html, placer l'image avec: " #. DESC_OCR_COMMAND msgid "Enter command to start ocr program" @@ -1711,6 +1963,22 @@ msgstr "Entrez l'option du programme d'OCR pour d msgid "Enter option of the ocr program to define output file" msgstr "Entrez l'option du programme d'OCR pour dfinir un fichier de sortie" +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Dfinissez si le programme d'OCR supporte un pipe GUI de progression" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Entrez l'option du programme d'OCR pour dfinir un fichier descripteur de " +"sortie en mode GUI" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"Dfinissez un mot cl utiliser pour marquer l'information de progression" + #. DESC_PERMISSION_READ msgid "read" msgstr "lecture" @@ -1723,6 +1991,10 @@ msgstr " msgid "execute" msgstr "excution" +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Ajouter la slection pour la numrisation par lots" + #. DESC_PIPETTE_WHITE msgid "Pick white point" msgstr "Choisissez un point blanc" @@ -1745,6 +2017,10 @@ msgid "Zoom 20% out" msgstr "Zoom 20% en arrire" #. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Cliquez la posisiton dsire du zoom" + +#. DESC_ZOOM_AREA msgid "Zoom into selected area" msgstr "Zoom l'aire slectionne" @@ -1760,43 +2036,65 @@ msgstr "S msgid "Autoselect scanarea" msgstr "Slection automatique de l'aire de numrisation" +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Affichage automatique de l'aire de numrisation" + #. DESC_DELETE_IMAGES msgid "Delete preview image cache" msgstr "Effacer le cache de l'aperu" #. DESC_PRESET_AREA -msgid "Preset area" -msgstr "Aire de prslection" +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Aire de prslection: \n" +"Pour ajouter une nouvelle aire ou diter une aire existante, utilisez le " +"menu contextuel (bouton droit de la souris)." #. DESC_ROTATION msgid "Rotate preview and scan" msgstr "Pivote l'aperu et la numrisation" +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Proportions de la slection" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Dfinit la position de l'image pour l'impression" + #. DESC_VIEWER_OCR msgid "Optical Character Recognition" msgstr "Reconnaissance Optique de Caractres" +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Annule le dernier changement" + #. DESC_VIEWER_CLONE msgid "Clone image" msgstr "Cloner l'image" -#. DESC_VIEWER_ROTATE90 +#. DESC_ROTATE90 msgid "Rotate image 90 degree" msgstr "Rotation 90 de l'image" -#. DESC_VIEWER_ROTATE180 +#. DESC_ROTATE180 msgid "Rotate image 180 degree" msgstr "Rotation 180 de l'image" -#. DESC_VIEWER_ROTATE270 +#. DESC_ROTATE270 msgid "Rotate image 270 degree" msgstr "Rotation 270 de l'image" -#. DESC_VIEWER_MIRROR_X +#. DESC_MIRROR_X msgid "Mirror image at vertical axis" msgstr "Effet mirroir axe vertical" -#. DESC_VIEWER_MIRROR_Y +#. DESC_MIRROR_Y msgid "Mirror image at horizontal axis" msgstr "Effet mirroir axe horizontal" @@ -1812,6 +2110,54 @@ msgstr "Enregistre la d msgid "Delete active medium" msgstr "Efface la dfinition du support" +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Facteur d'chelle" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Facteur d'chelle horizontal" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Facteur d'chelle vertical" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Mettre l'image l'chelle de la largeur [en pixels]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Mettre l'image l'chelle de la hauteur [en pixels]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Vide la liste" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Sauve la liste" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Charge la liste" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Renomme l'aire" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Ajoute la slection de la prvisualisation la liste" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Supprime l'aire slectionne de la liste" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Actionne le mode automatique" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Impossible de dterminer le rpertoire personnel:" @@ -1914,6 +2260,10 @@ msgstr "LIBTIFF a report msgid "LIBPNG reports error" msgstr "LIBPNG a report une erreur" +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG a report une erreur" + #. ERR_UNKNOWN_TYPE msgid "unknown type" msgstr "type inconnu" @@ -1922,6 +2272,14 @@ msgstr "type inconnu" msgid "unknown constraint type" msgstr "type de restriction inconnu" +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "L'option a un nom vide (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Bug du backend. Veuillez informer l'auteur du backend !" + #. ERR_FAILED_EXEC_DOC_VIEWER msgid "Failed to execute documentation viewer:" msgstr "Erreur d'excution de la visionneuse de documentation" @@ -2035,6 +2393,10 @@ msgstr "Avertissement" msgid "Information" msgstr "Information" +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Erreur de processus enfant" + #. ERR_FAILED_CREATE_FILE msgid "Failed to create file:" msgstr "Erreur de cration de fichier" @@ -2105,7 +2467,6 @@ msgid "[OPTION]... [DEVICE]" msgstr "[OPTION]... [PERIPHERIQUE]" #. TEXT_HELP -#, fuzzy msgid "" "Start up graphical user interface to access SANE (Scanner Access Now Easy) " "devices.\n" @@ -2116,8 +2477,8 @@ msgid "" " -v, --version print version information\n" " -l, --license print license information\n" "\n" -" -d, --device-settings file load device settings from file (without " -"\".drc\")\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" "\n" " -V, --viewer start with viewer-mode active (default)\n" " -s, --save start with save-mode active\n" @@ -2126,8 +2487,6 @@ msgid "" " -m, --mail start with mail-mode active\n" " -n, --no-mode-selection disable menu for XSane mode selection\n" "\n" -" -M, --Medium-calibration enable medium calibration mode\n" -"\n" " -F, --Fixed fixed main window size (overwrite preferences " "value)\n" " -R, --Resizeable resizable, scrolled main window (overwrite " @@ -2163,6 +2522,8 @@ msgstr "" "-m, --mail start with mail-mode active\n" "-n, --no-mode-selection dsactive le menu de slection de mode\n" "\n" +"-M, --Medium-calibration active le mode de calibration de media\n" +"\n" "-F, --Fixed fixe la taille de la fentre principale (sans\n" " tenir compte des prfrences)\n" "-R, --Resizeable taille de la fentre principale variable (sans\n" @@ -2207,6 +2568,26 @@ msgstr "" msgid "/Xtns/XSane/" msgstr "" +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Raisons possibles:\n" +"1) Il n'y a aucun priphrique support par SANE\n" +"2) Les priphriques supports sont occups\n" +"3) Les permissions du fichier priphrique utiliser sont mal dfinies - " +"essayez en tant que root\n" +"4) Le backend n'est pas charg par SANE (man sane-dll)\n" +"5) Le backend n'est pas configur correctement (man sane-\"nom-du-backend\"\n" +"6) Il y a peut-tre plusieurs versions de SANE installes" + #. strings that are used in structures, so it is not allowed to use _()/gettext() here #. gettext_noop does mark these texts but does not change the string #. MENU_ITEM_SURFACE_FULL_SIZE @@ -2277,9 +2658,9 @@ msgstr "Letter portrait" msgid "letter land." msgstr "Letter paysage" -#. MENU_ITEM_MEDIUM_FULL_RANGE -msgid "Full range" -msgstr "Pleine chelle" +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Pleine chelle couleur" #. MENU_ITEM_MEDIUM_SLIDE msgid "Slide" @@ -2321,6 +2702,74 @@ msgstr "N msgid "Rossmann negative HR 100" msgstr "Ngatif Rossman HR 100" +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Projet d'e-mail non cr " + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Projet d'e-mail cr" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Projet d'e-mail modifi" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Erreur de lecture du projet d'e-mail" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "Echec de la connexion POP3" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Echec du login POP3" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "Echec de la connexion SMTP" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Champ from refus" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Champ destinataire refus" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Donnes d'e-mail refuses" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Envoi du message" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Message envoy" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Projet de fax non cr" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Projet de fax cr" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Projet de fax modifi" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Mise en queue du fax" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax en queue" + #. Sane backend messages msgid "flatbed scanner" msgstr "scanner plat" @@ -2375,11 +2824,3 @@ msgstr "D msgid "Access to resource has been denied" msgstr "Accs la ressource refus" - -#~ msgid "Store Medium definition" -#~ msgstr "Enregistrer la dfinition du support" - -#~ msgid "" -#~ "Use XSane for: SCANning- photoCOPYing- FAXing-" -#~ msgstr "" -#~ "Utilisez XSane pour : SCANNER , photoCOPIER , FAXER " diff --git a/po/hu.po b/po/hu.po new file mode 100644 index 0000000..7e63a03 --- /dev/null +++ b/po/hu.po @@ -0,0 +1,2628 @@ +# Hungarian translation of XSane. +# Aron Novak , 2004. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.93\n" +"POT-Creation-Date: 2004-05-08 23:55+0200\n" +"PO-Revision-Date: 2004-06-20 20:00+GMT\n" +"Last-Translator: Aron Novak \n" +"Language-Team: Hungarian\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "hu" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Nvjegy" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Fordts nvjegye" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "engedlyezs" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "A licensz - GPL" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Vgfelhasznli Licenszegyezmny" + +#. WINDOW_INFO +msgid "info" +msgstr "inf" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "ktegelt lista betltse" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "ktegelt lista mentse" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "ktegelt beolvass" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "ktegelt terlet tnevezse" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "faxterv" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "faxoldal tnevezse" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "ps fjl beszrsa a faxba" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "levlterv" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "kp tnevezse" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "fjl beszrsa a levlbe" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "kijells tnevezse" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "kijells trlse" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "kijells hozzadsa" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "rename medium" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "add new medium" + + +#. WINDOW_SETUP +msgid "setup" +msgstr "bellts" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Hisztogram" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gammagrbe" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "ltalnos belltsok" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Halad belltsok" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "eszkz kivlasztsa" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Elnzet" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Megjelents" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Megjelents: kimeneti fjlnv kivlasztsa" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "A kimeneti fjlnv vlasztsa az OCR szveghez" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "kimeneti fjlnv megadsa" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "eszkzbelltsok mentse" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "eszkzbelltsok betltse" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "munkaknyvtr vltsa" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "ideiglenes knyvtr megadsa" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Kp tmretezse" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Szemcszettsg cskkentse" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Kp elmossa" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Kzpmeghatrozs trolsa" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Nincs elrhet eszkz" + +#. MENU_FILE +msgid "File" +msgstr "Fjl" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Tulajdonsgok" + +#. MENU_VIEW +msgid "View" +msgstr "Nzet" + +#. MENU_HELP +msgid "Help" +msgstr "Sg" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Szrk" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Az XSane nvjegye" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Inf" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Kilps" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Kp mentse" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - ments szvegknt" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Kln" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "tmretezs" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Bezrs" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Szemcszettsg cskkentse" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Elmoss" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Nyers kp" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Javtott kp" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Beolvass" + +#. BUTTON_OK +msgid "Ok" +msgstr "Rendben" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Elfogads" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Elutasts" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "rvnyest" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Mgsem" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Cskkent" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Folytats sajt felelssgre" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Bngszs" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Fellrs" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Ktegelt lista beolvassa" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Kijellt terlet beolvassa" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Oldal trlse" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Oldal mutatsa" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Oldal tnevezse" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Kp trlse" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Kp mutatsa" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Kp tnevezse" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Fjl beillesztse" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Terv ltrehozsa" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Terv kldse" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Terv trlse" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Nyomtat hozzadsa" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Nyomtat trlse" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Elnzet krse" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Elnzet megszaktsa" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Kp elvetse" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "sszes kp elvetse" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Ne zrd be" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Nagyts rgztse" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Rszletes md" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTML levl" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Eszkzbelltsok mentse kilpskor" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Figyelmeztets fellrskor" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Ltez fjlnevek kihagysa" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "16bites pnm ascii mdban mentse" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "16 bites kp 8 bitess cskkentse" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "A fablak rgztett mret" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "A gimp elnzeti gamma tiltsa" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Egyni szntrkp hasznlata" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "A gamma nmkd javtsa" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Elre vlasztott beolvassi terlet" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Sznek automatikus javtsa" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "POP3 azonosts" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "A GUI folyamatcs hasznlata" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "eszkzk keresse" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Elrhet eszkzk:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "XSane belltsok" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "XSane md" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Lpskz" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Tpus" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Lapolvas s backend:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Szllt:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Modell::" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Tpus:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Eszkz:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Betlttt backend:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Sane vltozat:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Jelenlegi rtkek" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gamma korrekci:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "lapolvas" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "program (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "semmi" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Gamma bemeneti mlysg:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Gamma kimeneti mlysg:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Lapolvas kimeneti mlysg:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "XSane kimeneti formtumok:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8 bites kimeneti formtumok:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16 bites kimeneti formtumok:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"A Gimp nem tmogatja a 16 bites sznmlysget.\n" +"Szeretnd cskkenteni 8 bitesre?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"A 16 bites sznmlysg nem tmogatott ehhez a formtumhoz" +"Cskkentsk 8 bitesre?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Azonosts szksges" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Biztonsgos jelsztvitel" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "A backend sima szveges jelszt ignyel" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Felhasznli nv:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Jelsz:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "rvnytelen paramterek." + +#. TEXT_VERSION +msgid "version:" +msgstr "vltozat:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "csomag" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "GIMP tmogatssal" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "GIMP tmogats nlkl" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "GTK-val" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "GIMP-pel" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "ismeretlen" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"Az XSane-t Free Software Foundation A GNU General Public License\n" +"alatt terjeszti. Vagy akr a 2-es verzija a licensznek vagy brmelyik\n" +"ksbbi igny szeint\n" +"Ezt a programot abban a remnyben terjesztjk, hogy hasznos lesz, de\n" +"GARANCIA NLKL; mindenfle kzvetett garancia nlkl az\n" +"ELADHATSGRA vagy az ALKALMASSGRA bizonyos clokra.\n" +"Ha a program hibsnak bizonyul, te llod a kltsgt minden\n" +"szksges javtsnak, szervizelsnek vagy korrekcinak. Ahhoz hogy\n" +"hasznld ezt a programot, el kell olvasd, meg kell rtsed a kvetkez\n" +"NINCS GARANCIA egyezmnyt.\n" + + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"Az XSane-t Free Software Foundation A GNU General Public License\n" +"alatt terjeszti. Vagy akr a 2-es verzija a licensznek vagy brmelyik\n" +"ksbbi igny szeint\n" +"Ezt a programot abban a remnyben terjesztjk, hogy hasznos lesz, de\n" +"GARANCIA NLKL; mindenfle kzvetett garancia nlkl az\n" +"ELADHATSGRA vagy az ALKALMASSGRA bizonyos clokra.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Email:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Honlap:" + +#. TEXT_FILE +msgid "File:" +msgstr "Fjl:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Fordts:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"magyar fordts\n" +"Novk ron\n" +"Email: aaron@szentimre.hu\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Beolvasott oldalak:" + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "A levl szvege:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Mellkletek:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "A terv llapota:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Kzp neve:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Mret %d x %d kppont, %d bit/szn, %d szn, %1.0f dpi x %1.0f dpi, %1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Szemcszettsg sugara:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Elmoss sugara:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(nvtelen)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Terlet neve:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Beolvass mdja:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Jobb fls:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Mret:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Felbonts:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Sznmlysg" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "a kijells szerint" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Nyomtat vlasztsa:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Nv:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Parancs:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Msolatszm lehetsge:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Vonalas felbonts (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Szrkernyalatos felbonts (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Sznes felbonts (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Szlessg" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Magassg" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Jobb eltols" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Lenti eltols" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Nyomtat gamma rtke:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Nyomtat piros gammja:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Nyomtat zld gammja:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Nyomtat kk gammja:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Ideiglenes knyvtr" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Kpfjl jogosultsgai" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Knyvtr jogosultsgai" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "JPEG kpminsg" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "PNG tmrts mrtke" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Fjlnvszmll hossza" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "16 bites TIFF tmrtse" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "8 bites TIFF tmrtse" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Vonalas TIFF tmrtse" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Show range as:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Preview oversampling:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Elnzeti gamma:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Elnzet piros gammja:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Elnzet zld gammja:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Elnzet kk gammja:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Teltettsg lehetsge:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "nmkd Dokumentum Adagol(ADF) md:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Preview pipette range" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Teltettsg minimuma:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Teltettsg maximuma:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Teltettsg szorzja:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Teltettsg eltolsa:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Szrkernyalatos beolvass neve:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Sgfjl nzke (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Fogad belltsai:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Postscriptfjl belltsok:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Alap md belltsa:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Rszletes md belltsa:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Alaprtelmezett belltsok ehhez:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Nzke (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTP kiszolgl:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTP port:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Felad:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Vlaszcm:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3 kiszolgl:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3 port:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "POP3 felhasznl:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "POP3 jelsz:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Nzke (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "OCR parancs:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Bemeneti fjl belltsa:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Kimeneti fjl belltsa:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Use GUI progress pipe:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUI output-fd option:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Progress keyword:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "felhasznl" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "csoport" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "minden" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Ments" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Kp" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Msols" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Faxols" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Email" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "Szvegfelismers" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Megjelents" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Javts" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Email" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Gyorssg megjelentse" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Elnzet megjelentse" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Hisztogram megjelentse" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Gamma grbe megjelentse" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Ktegelt beolvass mutatsa" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Alapbelltsok mutatsa" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Halad belltsok mutatsa" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Belltsok" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Hosszegysg" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "millimter" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimter" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "inch" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Frisstsi md" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "folyamatos" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "nem folyamatos" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "ksleltetett" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Felbontsok mutatsa" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Postscript forgatsa" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Edit medium definition" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Eszkzbelltsok mentse" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Eszkzbelltsok betltse" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Knyvtrvlts" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "EULA mutatsa" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Licensz mutatsa (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "XSane doku" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Backend doku" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Elrhet backendek" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Beolvassi tancsok" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Gond van?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "inaktv" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "tmrts nlkl" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "CCITT 1D Huffman tmrts" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "CCITT Group 3 Fax tmrts" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "CCITT Group 4 Fax tmrts" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "JPEG DCT tmrts" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "bitek csomagolsa" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Csszka (Mretezs)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Csszka (grgetsv)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Forgat gomb" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Mretez s forgat gomb" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Grgetsv s forgat gomb" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Alapbelltsok ablak (vonalas)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "XSane fablak (vonalas)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "XSane fablak (szrkernyalatos->vonalas)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(semmi)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "kiterjeszts szerint" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Kijells a listhoz" + +#. MENU_ITEM_PRESET_AREA_RENAME +msgid "Rename definiton" +msgstr "Meghatrozs tnevezse" + +#. MENU_ITEM_PRESET_AREA_DELETE +msgid "Delete definition" +msgstr "Meghatrozs trlse" + +#. MENU_ITEM_PRESET_AREA_MOVE_UP +msgid "Move up" +msgstr "Felfele mozgat" + +#. MENU_ITEM_PRESET_AREA_MOVE_DWN +msgid "Move down" +msgstr "Lefele mozgat" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Beolvass" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "%s adatok fogadsa" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Kp tvitele" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Kp forgatsa" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Kp tkrzse" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Kp csomagolsa" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Kp talaktsa" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Kp mentse" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Cloning image" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Kp tmretezse" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Kp szemcstlentse" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Kp elmossa" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Szvegfelismers folyamatban" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Beolvass indtsa " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Beolvass megszaktsa " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Elnzeti kp beolvassa " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Elnzet beolvassnak megszaktsa " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"ments-, nzet-, fotmsolat-, fax-" +"vagy email-" + +#. DESC_XSANE_MEDIUM +msgid "Select source medium type\n" +msgstr "Forrs tpusa\n" + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "A fjlnvszmllhoz beolvass utn hozzadott szm" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Kp fjlnevnek bngszse" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "A beolvasott kp fjlneve" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"A kpformtum tpusa, a megfelel fjlkiterjeszts nmkden hozz" +"addik a fjlnvhez" +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Add meg a terv nevt" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Adj j nevet a faxoldalnak" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Add meg a fogad telefonjt vagy cmt" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Add meg a levlterv nevt" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Adj j nevet a kpnek" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Adj meg egy emailcmet" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Add meg a levl trgyt" + +#. DESC_PRESET_AREA_NAME +msgid "Enter new name for preset area" +msgstr "Adj j nevet a kijellsnek" + +#. DESC_MEDIUM_DEFINITION_NAME +msgid "Enter new name for medium definition" +msgstr "Enter new name for medium definition" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Vlaszd ki a nyomtatmeghatrozst " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "lltsd be a felbontst" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Add meg a vzszintes felbontst a beolvasshoz" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Add meg a fggleges felbontst a beolvasshoz" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Add meg a nagyts mrtket" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Add meg a nagyts vzszintes mrtkt" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Add meg a nagyts fggleges mrtkt" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Add meg a msolatok szmt" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negatv: Sznek felcserlse a negatvok beolvasshoz " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Gamma rtk megadsa" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Gamma rtk megadsa a piros sszetevhz" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Gamma rtk megadsa a zld sszetevhz" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Gamma rtk megadsa a kk sszetevhz" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Add meg a vilgossgot" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Vilgossg megadsa a piros sszetevhz" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Vilgossg megadsa a zld sszetevhz" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Vilgossg megadsa a kk sszetevhz" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Add meg a kontrasztot" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Kontraszt megadsa a piros sszetevhz" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Kontraszt megadsa a zld sszetevhz" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Kontraszt megadsa a kk sszetevhz" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Add meg a teltettsget" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGB alaprtelmezett: Add meg a fokozs rtkt a piroshoz, a zldhz, a kkhez" +"rtkek :\n" +" gamma = 1.0\n" +" vilgossg = 0\n" +" kontraszt = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "A gamma, vilgossg s kontraszt nmkd lltsa " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Alaprtelmezett javtsi rtkek :\n" +"gamma = 1.0\n" +"vilgossg = 0\n" +"kontraszt = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "A fokozsi rtkek visszalltsa a belltsokbl " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Mostani fokozsi rtkek trolsa a belltsokhoz " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Az intenzits/szrke hisztogram mutatsa " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Piros sszetev hisztogramjnak mutatsa " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Zld sszetev hisztogramjnak mutatsa " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Kk sszetev hisztogramjnak mutatsa " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Megjelentsi md: hisztogram vonalakkal kppontok helyett " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "A kppontszmll logaritmusnak mutatsa " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Meghatrozs megvltoztatsa" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Define a name for the selection of this definition" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Add meg a parancsot, ami msolskor vgrehajtdik ((pl.: \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Enter option for copy numbers" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"A vonalas kpek ekkora felbontsban lesznek nyomtatva s postscriptbe mentve" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"A szrke kpek ekkora felbontsban lesznek nyomtatva s postscriptbe mentve" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "A sznes kpek ekkora felbontsban lesznek nyomtatva s postscriptbe mentve" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "A nyomtathat terlet szlessge" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "A nyomtathat terlet magassga" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "A papr jobb szltl ekkora tvolsgra van a nyomtathat terlet" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "A papr als szltl ekkora tvolsgra van a nyomtathat terlet" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Plusz gamma rtk a fotmsolshoz" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Plusz piros gamma rtk a fotmsolshoz" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Plusz zld gamma rtk a fotmsolshoz" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Plusz kk gamma rtk a fotmsolshoz" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Az ideiglenes knyvtr elrsi tja" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Tallzs az ideiglenes knyvtrhoz" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"A minsg szzalkban megadva, ha a kp jpegben vagy jpeg tmrts tiffben van mentve" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "A tmrts, ha a kp pngben van mentve" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "A fjlnvben a szmll minimlis hossza" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "A tmrts mdja 16 bites tiff kp esetn" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "A tmrts mdja 8 bites tiff kp esetn" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "A tmrts mdja vonalas tiff kp esetn" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "Az eszkzfgg belltsokat kilpskor mentsk el az alaprtelmezett fjlba" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Figyelmeztets fjlfellrs esetn" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Ha a fjlnvszmll nmkden nvelt, akkor a mr hasznlt szmokat hagyja ki" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Amikor 16 bites pnm fjlt mentnk, akkor azt ascii formban mentse a " +"binris helyett. A binris formtum j, nem tmogatja minden program." +"Az ascii formtumot tbb program tmogatja, de azok risi" +"fjlok lesznek!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "Ha a lapolvas 12 bites kpet kdl, akkor 8 bitesbe mentse el" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "A papr szlessge postscript fjlokhoz" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "A papr magassga postscript fjlokhoz" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"A papr jobb szltl ennyire van a hasznlhat terlet postscript " +"fjloknl" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"A papr aljtl ennyire van a hasznlhat terlet postscript " +"fjloknl" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "Rgztett vagy grgethet/tmretezhet fablak hasznlata" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Elnzeti gamma tiltsa, amikor az XSane a gimpen bell fut" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "Sajt szntrkp hasznlata a 8 bites elnzetekhez" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Select how a range is displayed" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Value with that the calculated preview resolution is multiplied" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Gamma korrekcis rtk megadsa az elnzethez" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "Piros gamma korrekcis rtk megadsa az elnzethez" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "Zld gamma korrekcis rtk megadsa az elnzethez" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Piros gamma korrekcis rtk megadsa az elnzethez" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Hogyan kezelje az XSane a teltettsg belltst" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Szrkernyalatos beolvassi md. Ezt a vonalas elnzeti kpekhez hasznljk" +", amikor az talakts a szrkernyalatosrl a vonalasra engedlyezve van" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "A lapolvas minimlis teltettsgi szintje %-ban" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "A lapolvas maximlis teltettsgi szintje %-ban" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplier to make XSane threshold range and scanner threshold range the same" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Offset to make XSane threshold range and scanner threshold range the same" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Vlasszunk beolvassi forrst az automata adagolhoz. Ha a forrs" +"ki lett vlasztva, az Xsane a \"papr kifogyott\" zenetig beolvas" + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "dimension of square that is used to average color for pipette function" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Adjuk meg a parancsot, ami a sgfjlok megjelentshez kell. (html-nzke!)" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Gamma rtk vltoztatsa amikor az nmkd javts gombot hasznljuk" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Vlasszuk ki a beolvassi terletet miutn elkszlt az elnzet" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Ksztsen sznkorrekcit az elnzet elkszlte utn" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Adjuk meg a fax-parancsot" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Adjuk meg a fogad-fax egyni adatait" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Adjuk meg a postscript fjl egyni adatait" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Adjuk meg a norml md belltsait (alacsony felbonts)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Adjuk meg a finom md belltsait (nagy felbonts)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Adjuk meg a fax-nzke parancst" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Kldje a faxot nagyobb x-irny felbontssal(196 lpi a 98 lpi helyett)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "Az SMTP kiszolgl IP cme vagy domnneve" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "Az SMTP kiszolgl portja" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "adjuk meg az email cmnket" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "adjuk meg a vlaszcmet" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "POP3 azonosts szksges a levlklds eltt" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "A POP3 kiszolgl IP cme vagy domnneve" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "A POP3 kiszolgl portja" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "felhasznlnv a POP3 kiszolglhoz" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "jelsz a POP3 kiszolglhoz" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Adjuk meg a kpfjl megjelent program parancst" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, images are displayed directly" +msgstr "A levelet HTML mdban kldtk, a kpek beszrva lesznek" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Adjuk meg a szvegfelismer parancst" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Adjuk meg a szvegfelismer program belltst a bemeneti fjl megadshoz" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Adjuk meg a szvegfelismer program belltst a kimeneti fjl megadshoz" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Define if the ocr program supports gui progress pipe" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Enter option of the ocr program to define output filedescripor in GUI mode" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Define Keyword that is used to mark progress information" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "olvass" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "rs" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "vgrehajts" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Adjuk meg a kijellst ktegelt beolvasshoz" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Fehr pont megadsa" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Szrke pont megadsa" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Fekete pont megadsa" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Teljes beolvassi terlet" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Kicsinyt 20%-al" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Kattintsunk a nagytshoz" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Nagyts a kijellt terletre" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Utols nagyts visszavonsa" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Lthat terlet kijellse" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Beolvassi terlet nmkd meghatrozsa" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Beolvassi terlet nmkd nvelse" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Elnzeti kpmemria trlse" + +#. DESC_PRESET_AREA +msgid "Preset area" +msgstr "Kijellsi terlet" + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Elnzet forgatsa aztn beolvass" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Kijells arnya" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Kp helyzetnek megadsa nyomtatshoz" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Szvegfelismers" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Clone image" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Kp forgatsa 90 fokkal" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Kp forgatsa 180 fokkal" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Kp forgatsa 270 fokkal" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Kp tkrzse az x tengelyre" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Kp tkrzse az y tengelyre" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Kp nagytsa" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Store medium" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Delete active medium" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Nagyts mrtke" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "X-irny nagyts" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Y-irny nagyts" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Kp nagytsa adott szlessgre[kppontban]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Kp nagytsa adott magassgra[kppontban]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Ktegelt lista rtse" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Ktegelt lista mentse" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Ktegelt lista betltse" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Terlet tnevezse" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Kijellt terlet hozzadsa a ktegelt listhoz" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Kijellt terlet trlse a ktegelt listbl" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "nmkd md bekapcsolsa" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Sikertelen a home knyvtr megtallsa:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Nem sikerlt a knyvtrba vltani:" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "A fjlnv tl hossz" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Nem lehet ltrehozni az ideiglenes fjlt" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Nem lehet hozzrendelni az rtket a belltshoz" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Sikertelen az rtk kinyerse a belltsbl" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Error obtaining option count" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Nem lehet megnyitni az eszkzt" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "nincs elrhet eszkz" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Hiba olvass alatt:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Hiba ments alatt:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Nem lehet kezelni ezt a mlysget" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "A GIMP nem tudja kezelni a %d sznmlysget" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Ismeretlen fjlformtum mentshez" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Sikertelen megnyits" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Nem sikerlt biztonsgos fjlt ltrehozni:" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Nem sikerlt megnyitni a csvet a nyomtatparancsnak" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Nem sikerlt a nyomtatparancs vgrehajtsa:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Nem sikerlt beindtani a lapolvast:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Paramterek tvtele sikertelen:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Kimeneti formtum nincs megadva" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "elfogyott a memria" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "A backend tbb adatot kld, mint a paramterek alapjn kne" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "A LIBTIFF hibt jelez" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "A LIBPNG hibt jelez" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "A LIBJPEG hibt jelez" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "ismeretlen tpus" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "unknown constraint type" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Nem sikerlt a dokumentum megjelentse:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Nem sikerlt a fax megjelentse:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Nem sikerlt a faxparancs vgrehajtsa:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Nem sikerlt a kpnz elindtsa:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Nem sikerlt a szvegfelismer elindtsa:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "rossz keretformtum" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "a felbonts belltsa nem lehetsges" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "A %s jelszfjl nem biztonsgos, hasznljuk a x00 jogokat\n" + +#. ERR_ERROR +msgid "error" +msgstr "hiba" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "A Sane f vltozatszma nem egyezik!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Az XSane f vltozata =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "a backend f vltozata =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "***A PROGRAM LELLT***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Nem sikerlt kpmemrit szerezni:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Az elnzet nem tudja kezelni a sznmlysget" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "A GIMP tmogats hinyzik" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Ideiglenes elnzeti fjlok ltrehozsa meghisult" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Nem lehetett fjlnevet adni az elnzeti fjloknak" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Faxterv ltrehozsa meghisult" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Fjlnvszmll kirlt" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "warning: option has no value constraint" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Az XSane-t root-knt akartad futtatni. Ez VESZLYES!\n" +"\n" +"Ne kldj semmilyen hibajelentst ha\n" +"rootknt brmi gond van az XSane-nel:\n" +"EGYEDL MARADTL!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Hiba" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Figyelmeztets" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Informci" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Gyermekfolyamat hibja" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Fjl ltrehozsa meghisult:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Hiba az eszkzbelltsok betltse alatt:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "ez nem egy device-rc-fjl !!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "A netscape indtsa sikertelen!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Fax kldse: nincs fogad megadva" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "has been created for device" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "you want to use it for device" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "ez gondokat okozhat!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Van %d el nem mentett kp" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "A %s fjl mr ltezik" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "A %s fjl nem ltezik" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "A %s nem postscript fjl" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Nem tmogatott %d-bites kimeneti md: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "Megjelents kpe nincs mentve" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Hasznlat:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[BELLTS]...[ESZKZ]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Grafikus fellet indtsa a SANE (Scanner Access Now Easy) eszkzkhz" +"val hozzfrshez.\n" +"\n" +"Az [ESZKZ] formja: backendnv:eszkzfjl (pl.: umax:/dev/scanner).\n" +"A [BELLTS]... a kvetkezk varicija lehet:\n" +" -h, --help megjelenti ezt a szveget s kilp\n" +" -v, --version kirja a vltozat informcikat\n" +" -l, --license kirja a licensz-adatokat\n" +"\n" +" -d, --device-settings file eszkzadatok betltse fjlbl (\".drc" +"\" nlkl)\n" +"\n" +" -V, --viewer nzke-mdban indt (alaprtelmezett)\n" +" -s, --save ments-mdban indt\n" +" -c, --copy msols-mdban indt\n" +" -f, --fax fax-mdban indt\n" +" -m, --mail email-mdban indt\n" +" -n, --no-mode-selection XSane mdmenjnek letiltsa\n" +"\n" +" -F, --Fixed rgztett ablakmret (fellrja a belltst " +"is)\n" +" -R, --Resizeable mretezhet, grgethet fablak (fellrja a " +"belltst is)\n" +"\n" +" -p, --print-filenames XSane ltal ltrehozott kpfjl-nevek kirsa\n" +" -N, --force-filename nv fjlnv erltetse/felhasznl ltal vlasztott" +"fjlnv kihagysa\n" +"\n" +" --display X11-kperny kimenet tirnytsa az X11-kpernyre\n" +" --no-xshm nem hasznl osztott kpmemrit\n" +" --sync szinkronkapcsolat az X11 kiszolglval " +"" + + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Eltt a SANE fellethez" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Ez a funkci hozzfrst ad a lapolvaskhoz s egyb eszkzkhz" +"amik a SANE (Scanner Access Now Easy) felleten csatlakoznak." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Eszkz prbeszdablak..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/File/Acquire/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Eszkz prbeszdablak..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Lehetsges okok:\n" +"1) Tnyleg nincs SANE-megfelel eszkz\n" +"2) Az eszkz foglalt\n" +"3) A jogosultsgok miatt nem megy prbld meg rendszer-" +"gazdaknt\n" +"4) A backend nincs betltve a SANE-be (man sane-dll)\n" +"5) A backend nincs rendesen belltva (man sane-\"backendnv\")\n" +"6) Esetleg tbb SANE vltozat is teleptve van" + + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "teljes mret" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 ll" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 fekv" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 ll" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 fekv" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 ll" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 fekv" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal ll" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal fekv" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "levl ll" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "levl fekv" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Teljes sznmlyg" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Csszka" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Szabvny negatv" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa negatv" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "XRG 200-4-es AGFA negatv" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "HDC 100-es Agfa negatv" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Fuji negatv" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Kodak negatv" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Konica negatv" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "VX 100-as Konica negatv" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "HR 100-as Rossmann negatv" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "skgyas lapolvas" + +msgid "frame grabber" +msgstr "kpkockalop" + +msgid "handheld scanner" +msgstr "kzi lapolvas" + +msgid "still camera" +msgstr "fnykpezgp" + +msgid "video camera" +msgstr "videokamera" + +msgid "virtual device" +msgstr "virtulis eszkz" + +msgid "Success" +msgstr "Sikeres" + +msgid "Operation not supported" +msgstr "A mvelet nem tmogatott" + +msgid "Operation was cancelled" +msgstr "A mvelet megszaktva" + +msgid "Device busy" +msgstr "Az eszkz foglalt" + +msgid "Invalid argument" +msgstr "rvnytelen paramter" + +msgid "End of file reached" +msgstr "Fjlvge elrve" + +msgid "Document feeder jammed" +msgstr "Dokumentumadagol elakadt" + +msgid "Document feeder out of documents" +msgstr "Dokumentumadagol kifogyott" + +msgid "Scanner cover is open" +msgstr "A lapolvas fedele nyitva" + +msgid "Error during device I/O" +msgstr "Hiba az eszkz B/K alatt" + +msgid "Out of memory" +msgstr "Elfogyott a memria" + +msgid "Access to resource has been denied" +msgstr "A hozzfrs az erforrshoz megtagadva" diff --git a/po/it.gmo b/po/it.gmo index 1e9cda1..74dd736 100644 Binary files a/po/it.gmo and b/po/it.gmo differ diff --git a/po/it.po b/po/it.po index e624f3c..2306ce9 100644 --- a/po/it.po +++ b/po/it.po @@ -1,89 +1,119 @@ -# italian translation for XSane -# Copyright (C) 2000 Colorio Mauro -# Colorio Mauro +# translation of it.po to Italiana +# translation of xsane_it.po to Italiano +# Copyright (C) 2003, 2004 Free Software Foundation, Inc. +# Kostantino , 2004. +# Kostantino , 2004. # msgid "" msgstr "" -"Project-Id-Version: XSANE 0.84\n" -"POT-Creation-Date: 2002-01-22 23:34+0100\n" -"PO-Revision-Date: 2000-09-29 23:48+0100\n" -"Last-Translator: Colorio Mauro \n" -"Language-Team: Italian \n" +"Project-Id-Version: it\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-11-20 21:13+0100\n" +"Last-Translator: Kostantino \n" +"Language-Team: Italiana \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: ENCODING\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Main-Translator: Stefano Rivoir \n" +"X-Generator: KBabel 1.3.1\n" #. Please translate this to the correct directory name (eg. german=>de) #. XSANE_LANGUAGE_DIR msgid "language_dir" -msgstr "" +msgstr "Cartella_lingua" #. XSANE_COPYRIGHT_SIGN msgid "(c)" -msgstr "" +msgstr "(c) " #. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "Clone-di-" + #. WINDOW_ABOUT_XSANE msgid "About" -msgstr "Informazioni su" +msgstr "Riguardo a" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" -msgstr "Traduzioni:" +msgstr "Informazioni sulla traduzione" #. WINDOW_AUTHORIZE msgid "authorization" -msgstr "autorizzazione" +msgstr "Autorizzazione" -#. WINDOW_LICENSE -#, fuzzy -msgid "license" -msgstr "pollici" +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - la licenza" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Licenza Utente Finale (EULA)" #. WINDOW_INFO msgid "info" -msgstr "info" +msgstr "Informazioni" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "Carica la lista batch" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "Salva la lista batch" #. WINDOW_BATCH_SCAN msgid "batch scan" -msgstr "scan automatico" +msgstr "Scansione batch" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "Rinomina l'area batch" #. WINDOW_FAX_PROJECT msgid "fax project" -msgstr "progetto fax" +msgstr "Progetto fax" #. WINDOW_FAX_RENAME msgid "rename fax page" -msgstr "rinomina pagina fax" +msgstr "Rinomina la pagina fax" #. WINDOW_FAX_INSERT -#, fuzzy msgid "insert ps-file into fax" -msgstr "Inserire il nome del progetto fax" +msgstr "Inserisci un file PS nel fax" #. WINDOW_MAIL_PROJECT -#, fuzzy msgid "mail project" -msgstr "progetto fax" +msgstr "Progetto posta" #. WINDOW_MAIL_RENAME -#, fuzzy msgid "rename mail image" -msgstr "rinomina pagina fax" +msgstr "Rinomina l'immagine della posta" #. WINDOW_MAIL_INSERT -#, fuzzy msgid "insert file into mail" -msgstr "Inserire il nome del progetto fax" +msgstr "Inserisci un file nella posta" #. WINDOW_PRESET_AREA_RENAME -#, fuzzy msgid "rename preset area" -msgstr "rinomina pagina fax" +msgstr "Rinomina l'area predefinita" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "Aggiungi l'area predefinita" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Rinomina il supporto" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "Aggiungi un nuovo supporto" #. WINDOW_SETUP msgid "setup" -msgstr "setup" +msgstr "Impostazioni" #. WINDOW_HISTOGRAM msgid "Histogram" @@ -91,11 +121,11 @@ msgstr "Istogramma" #. WINDOW_GAMMA msgid "Gamma curve" -msgstr "Curva gamma" +msgstr "Curva della gamma" #. WINDOW_STANDARD_OPTIONS msgid "Standard options" -msgstr "Opzioni standard" +msgstr "Opzioni prestabilite" #. WINDOW_ADVANCED_OPTIONS msgid "Advanced options" @@ -103,150 +133,183 @@ msgstr "Opzioni avanzate" #. WINDOW_DEVICE_SELECTION msgid "device selection" -msgstr "selezione dispositivo" +msgstr "Selezione del dispositivo" #. WINDOW_PREVIEW msgid "Preview" msgstr "Anteprima" #. WINDOW_VIEWER -#, fuzzy msgid "Viewer" -msgstr "Visualizza" +msgstr "Visualizzatore" #. WINDOW_VIEWER_OUTPUT_FILENAME -#, fuzzy msgid "Viewer: select output filename" -msgstr "selezione nome file output" +msgstr "Visualizzatore: seleziona il nome del file prodotto" #. WINDOW_OCR_OUTPUT_FILENAME -#, fuzzy msgid "Select output filename for OCR text file" -msgstr "selezione nome file output" +msgstr "Seleziona il nome del file prodotto per il file di testo OCR" #. WINDOW_OUTPUT_FILENAME msgid "select output filename" -msgstr "selezione nome file output" +msgstr "Seleziona il nome del file prodotto" #. WINDOW_SAVE_SETTINGS msgid "save device settings" -msgstr "salva settaggi dispositivo" +msgstr "Salva le impostazioni del dispositivo" #. WINDOW_LOAD_SETTINGS msgid "load device settings" -msgstr "carica settaggi dispositivo" +msgstr "Carica le impostazioni del dispositivo" #. WINDOW_CHANGE_WORKING_DIR msgid "change working directory" -msgstr "cambia directory di lavoro" +msgstr "Cambia la cartella di lavoro" #. WINDOW_TMP_PATH msgid "select temporary directory" -msgstr "seleziona directory temporanea" +msgstr "Seleziona la cartella temporanea" #. WINDOW_SCALE -#, fuzzy msgid "Scale image" -msgstr "Immagine Raw" +msgstr "Ridimensiona l'immagine" #. WINDOW_DESPECKLE -#, fuzzy msgid "Despeckle image" -msgstr "Cancella progetto" +msgstr "Applica filtro mediano" #. WINDOW_BLUR -#, fuzzy msgid "Blur image" -msgstr "Cancella progetto" +msgstr "Sfoca l'immagine" #. WINDOW_STORE_MEDIUM -#, fuzzy msgid "Store medium definition" -msgstr "Selezionare la definizione da cambiare" +msgstr "Salva la definizione del supporto" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Non è disponibile alcun dispositivo" #. MENU_FILE msgid "File" -msgstr "File" +msgstr "File " #. MENU_PREFERENCES msgid "Preferences" -msgstr "Impostazioni" +msgstr "Preferenze" #. MENU_VIEW msgid "View" msgstr "Visualizza" +#. MENU_WINDOW +msgid "Window" +msgstr "Finestra" + #. MENU_HELP msgid "Help" msgstr "Aiuto" +#. MENU_EDIT +msgid "Edit" +msgstr "Modifica" + #. MENU_FILTERS -#, fuzzy msgid "Filters" -msgstr "File" +msgstr "Filtri" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometria" #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" -msgstr "Informazioni su XSane" +msgstr "Riguardo ad XSane" #. MENU_ITEM_INFO msgid "Info" -msgstr "Info" +msgstr "Informazioni" #. MENU_ITEM_QUIT msgid "Quit" msgstr "Esci" #. MENU_ITEM_SAVE_IMAGE -#, fuzzy msgid "Save image" -msgstr "Immagine Raw" +msgstr "Salva l'immagine" -#. MENU_ITEM_CLOSE -msgid "Close" -msgstr "Chiudi" +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - salva come testo" #. MENU_ITEM_CLONE -#, fuzzy msgid "Clone" -msgstr "Chiudi" +msgstr "Duplica" #. MENU_ITEM_SCALE -#, fuzzy msgid "Scale" -msgstr "Scanner" +msgstr "Ridimensiona" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Chiudi" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Annulla" #. MENU_ITEM_DESPECKLE msgid "Despeckle" -msgstr "" +msgstr "Filtro mediano" #. MENU_ITEM_BLUR msgid "Blur" -msgstr "" +msgstr "Sfoca" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Ruota di 90°" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Ruota di 180°" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Ruota di 270°" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Duplica |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Duplica -" #. FRAME_RAW_IMAGE msgid "Raw image" -msgstr "Immagine Raw" +msgstr "Immagine grezza" #. FRAME_ENHANCED_IMAGE msgid "Enhanced image" msgstr "Immagine accentuata" -#. BUTTON_START -msgid "Start" -msgstr "Avvio" +#. BUTTON_SCAN +msgid "Scan" +msgstr "Scansiona" #. BUTTON_OK msgid "Ok" -msgstr "Ok" +msgstr "Ok " #. BUTTON_ACCEPT msgid "Accept" -msgstr "" +msgstr "Accetta" #. BUTTON_NOT_ACCEPT msgid "Not accept" -msgstr "" +msgstr "Rifiuta" #. BUTTON_APPLY msgid "Apply" @@ -254,167 +317,171 @@ msgstr "Applica" #. BUTTON_CANCEL msgid "Cancel" -msgstr "Annulla" +msgstr "Cancella" #. BUTTON_REDUCE msgid "Reduce" -msgstr "" +msgstr "Riduci" #. BUTTON_CONT_AT_OWN_RISK msgid "Continue at your own risk" -msgstr "Continua a tuo rischio" +msgstr "Continua a tuo rischio e pericolo" #. BUTTON_BROWSE msgid "Browse" -msgstr "Naviga" +msgstr "Sfoglia" #. BUTTON_OVERWRITE msgid "Overwrite" -msgstr "Sovra scrivi" +msgstr "Sovrascrivi" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Scansiona la lista batch" -#. BUTTON_ADD_AREA -msgid "Add area" -msgstr "Aggiungi area" +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Scansiona l'area selezionata" #. BUTTON_PAGE_DELETE -#, fuzzy msgid "Delete page" -msgstr "Cancella progetto" +msgstr "Cancella la pagina" #. BUTTON_PAGE_SHOW -#, fuzzy msgid "Show page" -msgstr "Visualizza anteprima" +msgstr "Visualizza la pagina" #. BUTTON_PAGE_RENAME -#, fuzzy msgid "Rename page" -msgstr "rinomina pagina fax" +msgstr "Rinomina la pagina" #. BUTTON_IMAGE_DELETE -#, fuzzy msgid "Delete image" -msgstr "Cancella progetto" +msgstr "Cancella l'immagine" #. BUTTON_IMAGE_SHOW -#, fuzzy msgid "Show image" -msgstr "Visualizza anteprima" +msgstr "Visualizza l'immagine" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Modifica l'immagine" #. BUTTON_IMAGE_RENAME -#, fuzzy msgid "Rename image" -msgstr "rinomina pagina fax" +msgstr "Rinomina l'immagine" #. BUTTON_FILE_INSERT msgid "Insert file" -msgstr "" +msgstr "Inserisci un file" #. BUTTON_CREATE_PROJECT msgid "Create project" -msgstr "Crea progetto" +msgstr "Crea un progetto" #. BUTTON_SEND_PROJECT msgid "Send project" -msgstr "Invia progetto" +msgstr "Invia il progetto" #. BUTTON_DELETE_PROJECT msgid "Delete project" -msgstr "Cancella progetto" +msgstr "Cancella il progetto" #. BUTTON_ADD_PRINTER msgid "Add printer" -msgstr "Aggiungi stampante" +msgstr "Aggiungi una stampante" #. BUTTON_DELETE_PRINTER msgid "Delete printer" -msgstr "Cancella stampante" +msgstr "Cancella la stampante" #. BUTTON_PREVIEW_ACQUIRE -#, fuzzy msgid "Acquire preview" -msgstr "Acquisisci anterpima" +msgstr "Acquisisci un'anteprima" #. BUTTON_PREVIEW_CANCEL -#, fuzzy msgid "Cancel preview" -msgstr "Annulla anteprima" +msgstr "Cancella l'anteprima" #. BUTTON_DISCARD_IMAGE -#, fuzzy msgid "Discard image" -msgstr "Cancella progetto" +msgstr "Cancella un'immagine" #. BUTTON_DISCARD_ALL_IMAGES -#, fuzzy msgid "Discard all images" -msgstr "Cancella progetto" +msgstr "Cancella tutte le immagini" #. BUTTON_DO_NOT_CLOSE msgid "Do not close" -msgstr "" +msgstr "Non chiudere" #. BUTTON_SCALE_BIND msgid "Bind scale" -msgstr "" +msgstr "Blocca la scala" #. RADIO_BUTTON_FINE_MODE msgid "Fine mode" -msgstr "Modo fine" +msgstr "Modalità fine" #. RADIO_BUTTON_HTML_MAIL msgid "HTML mail" -msgstr "" +msgstr "Posta in HTML" #. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT msgid "Save device preferences at exit" -msgstr "" +msgstr "Salva le impostazioni del dispositivo all'uscita" #. RADIO_BUTTON_OVERWRITE_WARNING msgid "Overwrite warning" -msgstr "Attenzione sovrascrittura" +msgstr "Avvisa prima di sovrascrivere" #. RADIO_BUTTON_SKIP_EXISTING_NRS -#, fuzzy msgid "Skip existing filenames" -msgstr "Salta numeri esistenti" +msgstr "Salta i nomi dei file esistenti" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Salva in formato ASCII le immagini PNM a 16 bit" #. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT msgid "Reduce 16 bit image to 8 bit" -msgstr "" +msgstr "Riduci ad 8 bit l'immagine a 16 bit" #. RADIO_BUTTON_WINDOW_FIXED msgid "Main window size fixed" -msgstr "Grandezza finestra principale fissa" +msgstr "Finestra principale di dimensioni fisse" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA msgid "Disable gimp preview gamma" -msgstr "Disabilita l'anteprima gamma di GIMP" +msgstr "Disabilita la gamma sull'anteprima di GIMP" #. RADIO_BUTTON_PRIVATE_COLORMAP msgid "Use private colormap" -msgstr "Usa mappa colori privata" +msgstr "Usa una mappa di colori personale" #. RADIO_BUTTON_AUTOENHANCE_GAMMA msgid "Autoenhance gamma" -msgstr "Gamma auto accentuo" +msgstr "Miglioramento automatico della gamma" #. RADIO_BUTTON_PRESELECT_SCANAREA -#, fuzzy msgid "Preselect scanarea" -msgstr "Usa tutta l'area di scan" +msgstr "Preselezione dell'area di scansione" #. RADIO_BUTTON_AUTOCORRECT_COLORS msgid "Autocorrect colors" -msgstr "" +msgstr "Correzione automatica dei colori" #. RADIO_BUTTON_POP3_AUTHENTIFICATION msgid "POP3 authentification" -msgstr "" +msgstr "Autenticazione POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Utilizza la pipe di avanzamento della GUI" #. TEXT_SCANNING_DEVICES msgid "scanning for devices" -msgstr "ricerca dei dispositivi" +msgstr "Sto cercando i dispositivi..." #. TEXT_AVAILABLE_DEVICES msgid "Available devices:" @@ -422,21 +489,19 @@ msgstr "Dispositivi disponibili:" #. TEXT_XSANE_OPTIONS msgid "XSane options" -msgstr "Opzioni XSane" +msgstr "Opzioni di XSane" #. TEXT_XSANE_MODE msgid "XSane mode" -msgstr "Modo XSane" +msgstr "Modalità di XSane" #. TEXT_FILENAME_COUNTER_STEP -#, fuzzy msgid "Step" -msgstr "Imposta" +msgstr "Incremento" #. TEXT_FILETYPE -#, fuzzy msgid "Type" -msgstr "Tipo:" +msgstr "Tipo" #. TEXT_SCANNER_BACKEND msgid "Scanner and backend:" @@ -464,7 +529,7 @@ msgstr "Backend caricato:" #. TEXT_SANE_VERSION msgid "Sane version:" -msgstr "Versione Sane:" +msgstr "Versione di Sane:" #. TEXT_RECENT_VALUES msgid "Recent values:" @@ -472,80 +537,83 @@ msgstr "Valori recenti:" #. TEXT_GAMMA_CORR_BY msgid "Gamma correction by:" -msgstr "Gamma correction di:" +msgstr "Correzione della gamma mediante:" #. TEXT_SCANNER msgid "scanner" -msgstr "scanner" +msgstr "scanner " #. TEXT_SOFTWARE_XSANE -#, fuzzy msgid "software (XSane)" -msgstr "software (xsane)" +msgstr "software (XSane) " #. TEXT_NONE msgid "none" -msgstr "nessuno" +msgstr "niente" #. TEXT_GAMMA_INPUT_DEPTH msgid "Gamma input depth:" -msgstr "Profondit gamma input:" +msgstr "Profondità di ingresso della gamma:" #. TEXT_GAMMA_OUTPUT_DEPTH msgid "Gamma output depth:" -msgstr "Profondit gamma output:" +msgstr "Profondità d'uscita della gamma:" #. TEXT_SCANNER_OUTPUT_DEPTH msgid "Scanner output depth:" -msgstr "Profondit output scanner:" +msgstr "Profondità d'uscita dello scanner:" #. TEXT_OUTPUT_FORMATS msgid "XSane output formats:" -msgstr "Formato output XSane" +msgstr "Formati d'uscita di XSane:" #. TEXT_8BIT_FORMATS msgid "8 bit output formats:" -msgstr "Formati output 8 bit:" +msgstr "Formati d'uscita a 8 bit:" #. TEXT_16BIT_FORMATS msgid "16 bit output formats:" -msgstr "Formati output 16 bit:" +msgstr "Formati d'uscita a 16 bit:" #. TEXT_GIMP_REDUCE_16BIT_TO_8BIT msgid "" "Gimp does not support depth 16 bits/color.\n" "Do you want to reduce the depth to 8 bits/color?" msgstr "" +"GIMP non supporta la profondità di 16 bit/colore.\n" +"Vuoi ridurla a 8 bit/colore?" #. TEXT_REDUCE_16BIT_TO_8BIT msgid "" "Bit depth 16 bits/color is not supported for this output format.\n" "Do you want to reduce the depth to 8 bits/color?" msgstr "" +"La profondità di 16 bit/colore non è supportata per questo formato.\n" +"Vuoi ridurla a 8 bit/colore?" #. TEXT_AUTHORIZATION_REQ msgid "Authorization required for" -msgstr "Autorizzazione richiesta per" +msgstr "E' richiesta l' autorizzazione per" #. TEXT_AUTHORIZATION_SECURE msgid "Password transmission is secure" -msgstr "" +msgstr "La trasmissione della password è sicura" #. TEXT_AUTHORIZATION_INSECURE msgid "Backend requests plain-text password" -msgstr "" +msgstr "Il backend richiede una password in testo piano" #. TEXT_USERNAME msgid "Username :" -msgstr "Utente :" +msgstr "Utente:" #. TEXT_PASSWORD msgid "Password :" -msgstr "Password :" +msgstr "Password:" #. TEXT_INVALID_PARAMS msgid "Invalid parameters." -msgstr "Parametri invalidi." +msgstr "Parametri non validi." #. TEXT_VERSION msgid "version:" @@ -575,6 +643,32 @@ msgstr "compilato con GIMP-" msgid "unknown" msgstr "sconosciuto" +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane è distribuito secondo i termini della GNU General Public License\n" +"come pubblicato dalla Free Software Foundation, sia nella versione 2 della\n" +"Licenza, che (a vostra scelta) in una qualunque versione successiva.\n" +"\n" +"Questo programma è distribuito nella speranza che possa essere utile ma\n" +"SENZA NESSUNA GARANZIA; senza nemmeno l'implicita garanzia di\n" +"VENDIBILITA' o di UTILITA' PER UN SCOPO PARTICOLARE.\n" +"Se il programma si rivelasse difettoso vi assumete gli oneri di tutti\n" +"i servizi necessari, delle riparazioni o delle correzioni. Per usare \n" +"questo programma dovete aver letto, compreso e accettato il seguente\n" +"accordo di \"NESSUNA GARANZIA\".\n" + #. TEXT_GPL msgid "" "XSane is distributed under the terms of the GNU General Public License\n" @@ -585,23 +679,29 @@ msgid "" "WITHOUT ANY WARRANTY; without even the implied warranty of\n" "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" msgstr "" +"XSane è distribuito secondo i termini della GNU General Public License\n" +"come pubblicato dalla Free Software Foundation, sia nella versione 2 della\n" +"Licenza, che (a vostra scelta) in una qualunque versione successiva.\n" +"\n" +"Questo programma è distribuito nella speranza che possa essere utile, ma\n" +"SENZA NESSUNA GARANZIA; senza nemmeno l'implicita garanzia di\n" +"VENDIBILITA' o di UTILITA' PER UN SCOPO PARTICOLARE.\n" #. TEXT_EMAIL msgid "Email:" -msgstr "Email:" +msgstr "Posta elettronica:" #. TEXT_HOMEPAGE msgid "Homepage:" -msgstr "" +msgstr "Pagina principale:" #. TEXT_FILE msgid "File:" msgstr "File:" #. TEXT_TRANSLATION -#, fuzzy msgid "Translation:" -msgstr "Opzione soglia:" +msgstr "Traduzione: " #. Please translate this to something like #. translation to YOUR LANGUAGE\n @@ -613,61 +713,89 @@ msgid "" "by Oliver Rauch\n" "Email: Oliver.Rauch@rauch-domain.de\n" msgstr "" +"Testo originale inglese non tradottot\n" +"a cura di Oliver Rauch\n" +"Posta elettronica: Oliver.Rauch@rauch-domain.de\n" #. TEXT_INFO_BOX msgid "0x0: 0KB" -msgstr "0x0: 0KB" +msgstr "0x0: 0 KB " #. TEXT_ADF_PAGES_SCANNED -#, fuzzy msgid "Scanned pages: " -msgstr "Pagine scannerizzate:" +msgstr "Pagine scansite: " #. TEXT_MAIL_TEXT -#, fuzzy msgid "Email text:" -msgstr "Email:" +msgstr "Testo di posta elettronica:" #. TEXT_ATTACHMENTS msgid "Attachments:" -msgstr "" +msgstr "Allegati:" #. TEXT_MAIL_STATUS msgid "Project status:" -msgstr "" +msgstr "Stato del progetto:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Tipo di file dell'immagine di posta:" #. TEXT_MEDIUM_DEFINITION_NAME msgid "Medium Name:" -msgstr "" +msgstr "Nome del supporto:" #. TEXT_VIEWER_IMAGE_INFO #, c-format msgid "" "Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" msgstr "" - -#. TEXT_X_SCALE_FACTOR -#, fuzzy -msgid "X-Scale factor:" -msgstr "Impostare il fattore di zoom" - -#. TEXT_Y_SCALE_FACTOR -#, fuzzy -msgid "Y-Scale factor:" -msgstr "Impostare il fattore di zoom" +"Dimensione %d x %d pixel, %d bit/colore, %d colori, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" #. TEXT_DESPECKLE_RADIUS -#, fuzzy msgid "Despeckle radius:" -msgstr "Cancella progetto" +msgstr "Raggio del filtro mediano:" #. TEXT_BLUR_RADIUS msgid "Blur radius:" -msgstr "" +msgstr "Raggio di sfocatura:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(nessun nome)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Nome dell'area:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Modalità di scansione:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "In alto a sinistra:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Dimensione:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Risoluzione:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Profondità bit:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "come da selezione" #. TEXT_SETUP_PRINTER_SEL msgid "Printer selection:" -msgstr "Selezione stampante:" +msgstr "Selezione della stampante:" #. TEXT_SETUP_PRINTER_NAME msgid "Name:" @@ -679,125 +807,123 @@ msgstr "Comando:" #. TEXT_SETUP_COPY_NR_OPT msgid "Copy number option:" -msgstr "Opzione numero copia:" +msgstr "Opzione del numero di copie:" #. TEXT_SETUP_PRINTER_LINEART_RES msgid "Lineart resolution (dpi):" -msgstr "Risoluzione Lineart(dpi):" +msgstr "Risoluzione binaria (DPI):" #. TEXT_SETUP_PRINTER_GRAYSCALE_RES msgid "Grayscale resolution (dpi):" -msgstr "Risoluzione Scala di grigi(dpi):" +msgstr "Risoluzione in scala di grigi (DPI):" #. TEXT_SETUP_PRINTER_COLOR_RES msgid "Color resolution (dpi):" -msgstr "Risoluzione Colore(dpi):" +msgstr "Risoluzione del colore (DPI):" #. TEXT_SETUP_PRINTER_WIDTH -#, fuzzy msgid "Width" -msgstr "Larghezza [mm]:" +msgstr "Larghezza" #. TEXT_SETUP_PRINTER_HEIGHT -#, fuzzy msgid "Height" -msgstr "Altezza [mm]:" +msgstr "Altezza" #. TEXT_SETUP_PRINTER_LEFT -#, fuzzy msgid "Left offset" -msgstr "Margine sinistro [mm]:" +msgstr "Margine sinistro" #. TEXT_SETUP_PRINTER_BOTTOM -#, fuzzy msgid "Bottom offset" -msgstr "Margine inferiore [mm]:" +msgstr "Margine inferiore" #. TEXT_SETUP_PRINTER_GAMMA msgid "Printer gamma value:" -msgstr "Valore gamma stampante:" +msgstr "Valore della gamma della stampante:" #. TEXT_SETUP_PRINTER_GAMMA_RED msgid "Printer gamma red:" -msgstr "Gamma rosso stampante:" +msgstr "Rosso della gamma della stampante:" #. TEXT_SETUP_PRINTER_GAMMA_GREEN msgid "Printer gamma green:" -msgstr "Gamma verde stampante:" +msgstr "Verde della gamma della stampante:" #. TEXT_SETUP_PRINTER_GAMMA_BLUE msgid "Printer gamma blue:" -msgstr "Gamma blu stampante:" +msgstr "Blu della gamma della stampante:" #. TEXT_SETUP_TMP_PATH msgid "Temporary directory" -msgstr "Directory temporanea" +msgstr "Cartella temporanea" #. TEXT_SETUP_IMAGE_PERMISSION msgid "Image-file permissions" -msgstr "Permessi file-immagine" +msgstr "Permessi dei file immagine" #. TEXT_SETUP_DIR_PERMISSION msgid "Directory permissions" -msgstr "Permessi directory" +msgstr "Permessi della cartella" #. TEXT_SETUP_JPEG_QUALITY msgid "JPEG image quality" -msgstr "Qualit immagine JPEG" +msgstr "Qualità dell'immagine JPEG" #. TEXT_SETUP_PNG_COMPRESSION msgid "PNG image compression" -msgstr "Compressione immagine PNG" +msgstr "Compressione dell'immagine PNG" #. TEXT_SETUP_FILENAME_COUNTER_LEN -#, fuzzy msgid "Filename counter length" -msgstr "Contatore dei nome file troppo grande" +msgstr "Lunghezza del contatore dei nomi file" #. TEXT_SETUP_TIFF_COMPRESSION_16 msgid "TIFF 16 bit image compression" -msgstr "Compressione immagine TIFF a 16 bit" +msgstr "Compressione dell'immagine TIFF a 16 bit" #. TEXT_SETUP_TIFF_COMPRESSION_8 msgid "TIFF 8 bit image compression" -msgstr "Compressione immagine TIFF a 8 bit" +msgstr "Compressione dell'immagine TIFF a 8 bit" #. TEXT_SETUP_TIFF_COMPRESSION_1 msgid "TIFF lineart image compression" -msgstr "Compressione immagine TIFF lineart" +msgstr "Compressione dell'immagine TIFF binaria" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Visualizza l'intervallo come:" #. TEXT_SETUP_PREVIEW_OVERSAMPLING msgid "Preview oversampling:" -msgstr "Anteprima oversampling:" +msgstr "Sovracampionatura dell'anteprima:" #. TEXT_SETUP_PREVIEW_GAMMA msgid "Preview gamma:" -msgstr "Gamma anteprima:" +msgstr "Gamma dell'anteprima:" #. TEXT_SETUP_PREVIEW_GAMMA_RED msgid "Preview gamma red:" -msgstr "Gamma rosso anteprima:" +msgstr "Rosso della gamma dell'anteprima:" #. TEXT_SETUP_PREVIEW_GAMMA_GREEN msgid "Preview gamma green:" -msgstr "Gamma verde anteprima:" +msgstr "Verde della gamma dell'anteprima:" #. TEXT_SETUP_PREVIEW_GAMMA_BLUE msgid "Preview gamma blue:" -msgstr "Gamma blue anteprima:" +msgstr "Blu della gamma dell'anteprima:" #. TEXT_SETUP_LINEART_MODE msgid "Threshold option:" -msgstr "Opzione soglia:" +msgstr "Opzione della soglia:" #. TEXT_SETUP_ADF_MODE msgid "Automatic Document Feeder Modus:" -msgstr "" +msgstr "Modalità automatica dell'alimentatore dei fogli:" #. TEXT_SETUP_PREVIEW_PIPETTE_RANGE -#, fuzzy msgid "Preview pipette range" -msgstr "Anteprima oversampling:" +msgstr "Intervallo del contagocce in anteprima" #. TEXT_SETUP_THRESHOLD_MIN msgid "Threshold minimum:" @@ -809,19 +935,19 @@ msgstr "Soglia massima:" #. TEXT_SETUP_THRESHOLD_MUL msgid "Threshold multiplier:" -msgstr "Moltiplicatore soglia:" +msgstr "Moltiplicatore della soglia:" #. TEXT_SETUP_THRESHOLD_OFF msgid "Threshold offset:" -msgstr "Margine soglia:" +msgstr "Margine della soglia:" #. TEXT_SETUP_GRAYSCALE_SCANMODE msgid "Name of grayscale scanmode:" -msgstr "Nome scanmode scala di grigi" +msgstr "Nome della modalità di scansione della scala dei grigi:" #. TEXT_SETUP_HELPFILE_VIEWER msgid "Helpfile viewer (HTML):" -msgstr "Visualizzatore file di help (HTML):" +msgstr "Visualizzatore dei file di aiuto (HTML):" #. TEXT_SETUP_FAX_RECEIVER_OPTION msgid "Receiver option:" @@ -829,15 +955,19 @@ msgstr "Opzione ricevente:" #. TEXT_SETUP_FAX_POSTSCRIPT_OPT msgid "Postscriptfile option:" -msgstr "Opzione file postscript:" +msgstr "Opzione file Postscript:" #. TEXT_SETUP_FAX_NORMAL_MODE_OPT msgid "Normal mode option:" -msgstr "Opzione modo normale:" +msgstr "Opzione modalità normale:" #. TEXT_SETUP_FAX_FINE_MODE_OPT msgid "Fine mode option:" -msgstr "Opzioni modo fine:" +msgstr "Opzione modalità fine:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Imposta valori predefiniti per:" #. TEXT_SETUP_FAX_VIEWER msgid "Viewer (Postscript):" @@ -845,76 +975,86 @@ msgstr "Visualizzatore (Postscript):" #. TEXT_SETUP_SMTP_SERVER msgid "SMTP server:" -msgstr "" +msgstr "Server SMTP:" #. TEXT_SETUP_SMTP_PORT msgid "SMTP port:" -msgstr "" +msgstr "Porta SMTP:" #. TEXT_SETUP_MAIL_FROM msgid "From:" -msgstr "" +msgstr "Da:" #. TEXT_SETUP_MAIL_REPLY_TO msgid "Reply to:" -msgstr "" +msgstr "Rispondi a:" #. TEXT_SETUP_POP3_SERVER msgid "POP3 server:" -msgstr "" +msgstr "Server POP3:" #. TEXT_SETUP_POP3_PORT msgid "POP3 port:" -msgstr "" +msgstr "Porta del server POP3:" #. TEXT_SETUP_POP3_USER msgid "POP3 user:" -msgstr "" +msgstr "Utente POP3:" #. TEXT_SETUP_POP3_PASS -#, fuzzy msgid "POP3 password:" -msgstr "Password :" +msgstr "Password POP3:" #. TEXT_SETUP_MAIL_VIEWER -#, fuzzy msgid "Viewer (png):" -msgstr "Visualizzatore (Postscript):" +msgstr "Visualizzatore (PNG):" #. TEXT_SETUP_OCR_COMMAND -#, fuzzy msgid "OCR Command:" -msgstr "Comando:" +msgstr "Comando OCR:" #. TEXT_SETUP_OCR_INPUTFILE_OPT -#, fuzzy msgid "Inputfile option:" -msgstr "Opzione file postscript:" +msgstr "Opzione file d'ingresso:" #. TEXT_SETUP_OCR_OUTPUTFILE_OPT -#, fuzzy msgid "Outputfile option:" -msgstr "Opzione file postscript:" +msgstr "Opzione file d'uscita:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Utilizza la pipe di avanzamento della GUI:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Opzione della GUI output-fd:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Password di avanzamento:" #. TEXT_SETUP_PERMISSION_USER msgid "user" -msgstr "" +msgstr "utente" #. TEXT_SETUP_PERMISSION_GROUP msgid "group" -msgstr "" +msgstr "gruppo" #. TEXT_SETUP_PERMISSION_ALL msgid "all" -msgstr "" +msgstr "tutti" + +msgid "new media" +msgstr "nuovo supporto" #. NOTEBOOK_SAVING_OPTIONS msgid "Save" -msgstr "" +msgstr "Salva" #. NOTEBOOK_IMAGE_OPTIONS msgid "Image" -msgstr "" +msgstr "Immagine" #. NOTEBOOK_COPY_OPTIONS msgid "Copy" @@ -922,63 +1062,63 @@ msgstr "Copia" #. NOTEBOOK_FAX_OPTIONS msgid "Fax" -msgstr "Fax" +msgstr "Fax " #. NOTEBOOK_MAIL_OPTIONS -#, fuzzy msgid "Mail" -msgstr "Email:" +msgstr "Posta" #. NOTEBOOK_OCR_OPTIONS msgid "OCR" -msgstr "" +msgstr "OCR " #. NOTEBOOK_DISPLAY_OPTIONS -#, fuzzy msgid "Display" -msgstr "Opzioni display" +msgstr "Visualizzazione" #. NOTEBOOK_ENHANCE_OPTIONS -#, fuzzy msgid "Enhancement" -msgstr "Opzioni di accentuo" +msgstr "Miglioramento" #. MENU_ITEM_MAIL -#, fuzzy msgid "Email" -msgstr "Email:" +msgstr "Posta elettronica" #. MENU_ITEM_SHOW_TOOLTIPS msgid "Show tooltips" -msgstr "Visualizza suggerimenti" +msgstr "Mostra suggerimenti" #. MENU_ITEM_SHOW_PREVIEW msgid "Show preview" -msgstr "Visualizza anteprima" +msgstr "Mostra anteprima" #. MENU_ITEM_SHOW_HISTOGRAM msgid "Show histogram" -msgstr "Visulizza istogramma" +msgstr "Mostra istogramma" #. MENU_ITEM_SHOW_GAMMA msgid "Show gamma curve" -msgstr "Visualizza curva gamma" +msgstr "Mostra la curva gamma" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Mostra la scansione batch" #. MENU_ITEM_SHOW_STANDARDOPTIONS msgid "Show standard options" -msgstr "Visualizza opzioni standard" +msgstr "Mostra le opzioni standard" #. MENU_ITEM_SHOW_ADVANCEDOPTIONS msgid "Show advanced options" -msgstr "Visualizza opzioni avanzate" +msgstr "Mostra le opzioni avanzate" #. MENU_ITEM_SETUP msgid "Setup" -msgstr "Imposta" +msgstr "Impostazioni" #. MENU_ITEM_LENGTH_UNIT msgid "Length unit" -msgstr "Unit lunghezza" +msgstr "Unità di lunghezza" #. SUBMENU_ITEM_LENGTH_MILLIMETERS msgid "millimeters" @@ -994,53 +1134,59 @@ msgstr "pollici" #. MENU_ITEM_UPDATE_POLICY msgid "Update policy" -msgstr "Aggiorna politica" +msgstr "Modalità di aggiornamento" #. SUBMENU_ITEM_POLICY_CONTINUOUS msgid "continuous" -msgstr "continuo" +msgstr "continua" #. SUBMENU_ITEM_POLICY_DISCONTINU msgid "discontinuous" -msgstr "discontinuo" +msgstr "discontinua" #. SUBMENU_ITEM_POLICY_DELAYED msgid "delayed" -msgstr "ritardato" +msgstr "ritardata" #. MENU_ITEM_SHOW_RESOLUTIONLIST msgid "Show resolution list" -msgstr "Visualizza lista risoluzioni" +msgstr "Visualizza l'elenco delle risoluzioni" #. MENU_ITEM_PAGE_ROTATE msgid "Rotate postscript" -msgstr "Ruota postscript" +msgstr "Ruota Postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Salva la definizione del supporto" #. MENU_ITEM_SAVE_DEVICE_SETTINGS msgid "Save device settings" -msgstr "Salva settaggi dispositivo" +msgstr "Salva le impostazioni del dispositivo" #. MENU_ITEM_LOAD_DEVICE_SETTINGS msgid "Load device settings" -msgstr "Carica settaggi dispositivo" +msgstr "Carica le impostazioni del dispositivo" #. MENU_ITEM_CHANGE_WORKING_DIR msgid "Change directory" -msgstr "Cambia directory" +msgstr "Cambia cartella" -#. MENU_ITEM_XSANE_LICENSE -#, fuzzy -msgid "License" -msgstr "pollici" +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Visualizza EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Visualizza licenza (GPL)" #. MENU_ITEM_XSANE_DOC -#, fuzzy msgid "XSane doc" -msgstr "Documentazione Xsane" +msgstr "Documentazione di XSane" #. MENU_ITEM_BACKEND_DOC msgid "Backend doc" -msgstr "Documentazione Backendc" +msgstr "Documentazione dei backend" #. MENU_ITEM_AVAILABLE_BACKENDS msgid "Available backends" @@ -1048,7 +1194,7 @@ msgstr "Backend disponibili" #. MENU_ITEM_SCANTIPS msgid "Scantips" -msgstr "Scantips" +msgstr "Consigli sulla scansione" #. MENU_ITEM_PROBLEMS msgid "Problems?" @@ -1056,7 +1202,7 @@ msgstr "Problemi?" #. MENU_ITEM_COUNTER_LEN_INACTIVE msgid "inactive" -msgstr "" +msgstr "inattivo" #. MENU_ITEM_TIFF_COMP_NONE msgid "no compression" @@ -1064,65 +1210,87 @@ msgstr "nessuna compressione" #. MENU_ITEM_TIFF_COMP_CCITTRLE msgid "CCITT 1D Huffman compression" -msgstr "Compressione CCITT 1D Huffman" +msgstr "compressione CCITT 1D Huffman" #. MENU_ITEM_TIFF_COMP_CCITFAX3 msgid "CCITT Group 3 Fax compression" -msgstr "Compressione CCITT Group 3 Fax" +msgstr "compressione CCITT Group 3 Fax" #. MENU_ITEM_TIFF_COMP_CCITFAX4 msgid "CCITT Group 4 Fax compression" -msgstr "Compressione CCITT Group 4 Fax" +msgstr "compressione CCITT Group 4 Fax" #. MENU_ITEM_TIFF_COMP_JPEG msgid "JPEG DCT compression" -msgstr "Compressione JPEG DCT" +msgstr "compressione JPEG DCT" #. MENU_ITEM_TIFF_COMP_PACKBITS msgid "pack bits" -msgstr "compressione bit" +msgstr "comprimi i bit" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Slider (scala)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Slider (barra di scorrimento)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Pulsanti Spin" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Scala e Pulsanti Spin" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Barra di scorrimento e Pulsanti Spin" #. MENU_ITEM_LINEART_MODE_STANDARD msgid "Standard options window (lineart)" -msgstr "Finestra opzioni standard (lineart)" +msgstr "Finestra delle opzioni usuali (binaria)" #. MENU_ITEM_LINEART_MODE_XSANE msgid "XSane main window (lineart)" -msgstr "Xsane finestra principale (lineart)" +msgstr "Finestra principale di XSane (binaria)" #. MENU_ITEM_LINEART_MODE_GRAY msgid "XSane main window (grayscale->lineart)" -msgstr "Xsane finestra principale (scala di grigi->lineart)" +msgstr "Finestra principale di XSane (scala di grigi ---> binaria)" #. MENU_ITEM_SELECTION_NONE -#, fuzzy msgid "(none)" -msgstr "nessuno" +msgstr "(niente)" #. MENU_ITEM_FILETYPE_BY_EXT msgid "by ext" -msgstr "per est" +msgstr "per estensione" #. MENU_ITEM_PRESET_AREA_ADD_SEL msgid "Add selection to list" -msgstr "" +msgstr "Aggiungi la selezione alla lista" -#. MENU_ITEM_PRESET_AREA_RENAME -msgid "Rename definiton" -msgstr "" +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Aggiungi la definizione del supporto" -#. MENU_ITEM_PRESET_AREA_DELETE -#, fuzzy -msgid "Delete definition" -msgstr "Selezionare la definizione da cambiare" +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Rinomina l'oggetto" -#. MENU_OTEM_PRESET_AREA_MOVE_UP -msgid "Move up" -msgstr "" +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Cancella l'oggetto" -#. MENU_OTEM_PRESET_AREA_MOVE_DWN -msgid "Move down" -msgstr "" +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Sposta in su l'oggetto" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Sposta in giù l'oggetto" #. PROGRESS_SCANNING msgid "Scanning" @@ -1131,210 +1299,225 @@ msgstr "Acquisizione" #. PROGRESS_RECEIVING_FRAME_DATA #, c-format msgid "Receiving %s data" -msgstr "Ricezione %s dati" +msgstr "Sto ricevendo %s dati" #. PROGRESS_TRANSFERING_DATA -#, fuzzy msgid "Transfering image" -msgstr "Salvataggio immagine" +msgstr "Trasferimento dell'immagine" #. PROGRESS_ROTATING_DATA -#, fuzzy msgid "Rotating image" -msgstr "Salvataggio immagine" +msgstr "Rotazione dell'immagine" #. PROGRESS_MIRRORING_DATA -#, fuzzy msgid "Mirroring image" -msgstr "Salvataggio immagine" +msgstr "Ribaltamento dell'immagine" #. PROGRESS_PACKING_DATA -#, fuzzy msgid "Packing image" -msgstr "Salvataggio immagine" +msgstr "Compressione dell'immagine" #. PROGRESS_CONVERTING_DATA -#, fuzzy msgid "Converting image" -msgstr "Conversione dati" +msgstr "Conversione dell'immagine" #. PROGRESS_SAVING_DATA -#, fuzzy msgid "Saving image" -msgstr "Immagine Raw" +msgstr "Salvataggio dell'immagine" #. PROGRESS_CLONING_DATA -#, fuzzy msgid "Cloning image" -msgstr "Salvataggio immagine" +msgstr "Duplicazione dell'immagine" #. PROGRESS_SCALING_DATA -#, fuzzy msgid "Scaling image" -msgstr "Immagine Raw" +msgstr "Scalatura dell'immagine" #. PROGRESS_DESPECKLING_DATA -#, fuzzy msgid "Despeckling image" -msgstr "Cancella progetto" +msgstr "Applicazione del filtro mediano all'immagine" #. PROGRESS_BLURING_DATA -#, fuzzy msgid "Bluring image" -msgstr "Cancella progetto" +msgstr "Sfocatura dell'immagine" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR in corso" #. DESC_SCAN_START msgid "Start scan " -msgstr "" +msgstr "Avvia scansione " #. DESC_SCAN_CANCEL msgid "Cancel scan " -msgstr "" +msgstr "Annulla scansione " #. DESC_PREVIEW_ACQUIRE -#, fuzzy msgid "Acquire preview scan " -msgstr "Acquisisci anterpima" +msgstr "Acquisisci anteprima " #. DESC_PREVIEW_CANCEL -#, fuzzy msgid "Cancel preview scan " -msgstr "Annulla anteprima" +msgstr "Annulla anteprima " #. DESC_XSANE_MODE msgid "" -"save-, view-, photocopy-, fax- or " -"mail-" +"save-, view-, photocopy-, fax- or mail-" msgstr "" +"Salva , Visualizza , Fotocopia , Fax o " +"invia come Posta Elettronica " #. DESC_XSANE_MEDIUM -msgid "Select source medium type" -msgstr "" +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Seleziona il tipo di supporto sorgente.\n" +"Usa il menù contestuale (pulsante destro del mouse) per rinominare, " +"riordinare o cancellare una voce.\n" +"Per creare un nuovo supporto abilita l'opzione di modifica della definizione " +"di supporto, nel menù delle preferenze." #. DESC_FILENAME_COUNTER_STEP msgid "Value that is added to filenamecounter after scan" -msgstr "" +msgstr "Valore aggiunto al contatore dei nomi file dopo la scansione" #. DESC_BROWSE_FILENAME msgid "Browse for image filename" -msgstr "Navia per nome file immagine" +msgstr "Sfoglia per nome dell'immagine" #. DESC_FILENAME msgid "Filename for scanned image" -msgstr "Nome file per immagine acquisita" +msgstr "Nome del file per l'immagine acquisita" #. DESC_FILETYPE msgid "" "Type of image format, the suitable filename extension is automatically added " "to the filename" msgstr "" +"Tipo di formato dell'immagine: l'estensione corretta del file viene aggiunta " +"automaticamente" #. DESC_FAXPROJECT msgid "Enter name of fax project" -msgstr "Inserire il nome del progetto fax" +msgstr "Inserisci il nome del progetto fax" #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" -msgstr "Inserire il nuovo nome per la pagina del fax" +msgstr "Inserisci il nuovo nome per la pagina del fax" #. DESC_FAXRECEIVER msgid "Enter receiver phone number or address" -msgstr "Inserire il numero telefonico o l'indirizzo del ricevente" +msgstr "Inserisci il numero telefonico o l'indirizzo del ricevente" #. DESC_MAILPROJECT -#, fuzzy msgid "Enter name of mail project" -msgstr "Inserire il nome del progetto fax" +msgstr "Inserisci il nome del Progetto Posta" #. DESC_MAILIMAGENAME -#, fuzzy msgid "Enter new name for mail image" -msgstr "Inserire il nuovo nome per la pagina del fax" +msgstr "Inserisci il nuovo nome per l'immagine della posta elettronica" #. DESC_MAILRECEIVER msgid "Enter email address" -msgstr "" +msgstr "Inserisci l'indirizzo di posta elettronica" #. DESC_MAILSUBJECT msgid "Enter subject of email" -msgstr "" +msgstr "Inserisci l'argomento della posta elettronica" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Seleziona il tipo di file per le immagini allegate" -#. DESC_PRESET_AREA_NAME -#, fuzzy +#. DESC_PRESET_AREA_RENAME msgid "Enter new name for preset area" -msgstr "Inserire il nuovo nome per la pagina del fax" +msgstr "Inserisci il nuovo nome per l'area di preselezione" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Inserisci il nome per la nuova area di preselezione" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Inserisci il nuovo nome per la definizione del supporto" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Inserisci il nome per la nuova definizione del supporto" #. DESC_PRINTER_SELECT -#, fuzzy msgid "Select printerdefinition " -msgstr "Selezionare la definizione della stampante" +msgstr "Seleziona la definizione della stampante " #. DESC_RESOLUTION msgid "Set scan resolution" -msgstr "Impostare la risoluzione dello scanner" +msgstr "Imposta la risoluzione dello scanner" #. DESC_RESOLUTION_X msgid "Set scan resolution for x direction" -msgstr "Impostare la risoluzione per la coordinata X" +msgstr "Imposta la risoluzione per la coordinata X" #. DESC_RESOLUTION_Y msgid "Set scan resolution for y direction" -msgstr "Impostare la risoluzione per la coordinata Y" +msgstr "Imposta la risoluzione per la coordinata Y" #. DESC_ZOOM msgid "Set zoomfactor" -msgstr "Impostare il fattore di zoom" +msgstr "Imposta il fattore di zoom" #. DESC_ZOOM_X msgid "Set zoomfactor for x direction" -msgstr "Impostare il fattore di zoom per X" +msgstr "Imposta il fattore di zoom per la coordinata X" #. DESC_ZOOM_Y msgid "Set zoomfactor for y direction" -msgstr "Impostare il fattore di zoom per Y" +msgstr "Imposta il fattore di zoom per la coordinata Y" #. DESC_COPY_NUMBER msgid "Set number of copies" -msgstr "Impostare il numero di copie" +msgstr "Imposta il numero di copie" #. DESC_NEGATIVE -#, fuzzy -msgid "Negative: Invert colors for scanning negatives " -msgstr "" -"Negativo: Inverte i colori per i negativi\n" -"es. scambia bianco e nero" +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativo: inverte i colori per la scansione di negativi " #. DESC_GAMMA msgid "Set gamma value" -msgstr "Imposta valore gamma" +msgstr "Imposta il valore della gamma" #. DESC_GAMMA_R msgid "Set gamma value for red component" -msgstr "Imposta valore gamma per la componente rossa" +msgstr "Imposta il valore della gamma per la componente rossa" #. DESC_GAMMA_G msgid "Set gamma value for green component" -msgstr "Imposta valore gamma per la componente verde" +msgstr "Imposta il valore della gamma per la componente verde" #. DESC_GAMMA_B msgid "Set gamma value for blue component" -msgstr "Imposta valore gamma per la componente blu" +msgstr "Imposta il valore della gamma per la componente blu" #. DESC_BRIGHTNESS msgid "Set brightness" -msgstr "Imposta brillantezza" +msgstr "Imposta la luminosità" #. DESC_BRIGHTNESS_R msgid "Set brightness for red component" -msgstr "Imposta brillantezza per la componente rossa" +msgstr "Imposta la luminosità per la componente rossa" #. DESC_BRIGHTNESS_G msgid "Set brightness for green component" -msgstr "Imposta brillantezza per la componente verde" +msgstr "Imposta la luminosità per la componente verde" #. DESC_BRIGHTNESS_B msgid "Set brightness for blue component" -msgstr "Imposta brillantezza per la componente blu" +msgstr "Imposta la luminosità per la componente blu" #. DESC_CONTRAST msgid "Set contrast" @@ -1354,472 +1537,508 @@ msgstr "Imposta il contrasto per la componente blu" #. DESC_THRESHOLD msgid "Set threshold" -msgstr "Imposta soglia" +msgstr "Imposta la soglia" #. DESC_RGB_DEFAULT -#, fuzzy msgid "" "RGB default: Set enhancement values for red, green and blue to default " -"values :\n" +"values :\n" " gamma = 1.0\n" " brightness = 0\n" " contrast = 0" msgstr "" -"Default RGB: Imposta accentuo valori di rosso, verde e blu ai valori \n" -"di default:\n" +"Valori RGB prestabiliti: imposta i valori di miglioramento per il rosso, il " +"verde e il blu ai valori prestabiliti :\n" " gamma = 1.0\n" -" brillantezza = 0\n" +" luminosità = 0\n" " contrasto = 0" #. DESC_ENH_AUTO -#, fuzzy -msgid "Autoadjust gamma, brightness and contrast " +msgid "Autoadjust gamma, brightness and contrast " msgstr "" -"Autocalibro gamma, brillantezza e contrasto dipendente dall'area selezionata" +"Calibrazione automatica della gamma, della luminosità e del contrasto " #. DESC_ENH_DEFAULT -#, fuzzy msgid "" -"Set default enhancement values :\n" +"Set default enhancement values :\n" "gamma = 1.0\n" "brightness = 0\n" "contrast = 0" msgstr "" -"Imposta valori di accentuo automatico:\n" -"gamma = 1.0\n" -"brillantezza = 0\n" -"contrasto = 0" +"Imposta i valori di miglioramento prestabiliti :\n" +" gamma = 1.0\n" +" luminosità = 0\n" +" contrasto = 0" #. DESC_ENH_RESTORE -#, fuzzy -msgid "Restore enhancement values from preferences " -msgstr "Ripristina valori di accentuo dalle preferenze" +msgid "Restore enhancement values from preferences " +msgstr "Ripristina i valori di miglioramento dalle preferenze " #. DESC_ENH_STORE -#, fuzzy -msgid "Store active enhancement values to preferences " -msgstr "Salva i valori d'accentuo attivo nelle preferenze" +msgid "Store active enhancement values to preferences " +msgstr "Salva i valori attivi di miglioramento nelle preferenze " #. DESC_HIST_INTENSITY -#, fuzzy msgid "Show histogram of intensity/gray " -msgstr "Visualizza istogramma di intensit/grigio" +msgstr "Visualizza l'istogramma di intensità/grigio " #. DESC_HIST_RED -#, fuzzy msgid "Show histogram of red component " -msgstr "Visualizza istogramma per la componente rossa" +msgstr "Visualizza l'istogramma per la componente rossa " #. DESC_HIST_GREEN -#, fuzzy msgid "Show histogram of green component " -msgstr "Visualizza istogramma per la componente verde" +msgstr "Visualizza l'istogramma per la componente verde " #. DESC_HIST_BLUE -#, fuzzy msgid "Show histogram of blue component " -msgstr "Visualizza istogramma per la componente blu" +msgstr "Visualizza l'istogramma per la componente blu " #. DESC_HIST_PIXEL -#, fuzzy msgid "Display mode: show histogram with lines instead of pixels " -msgstr "Visualizza istogramma con linee invece di pixel" +msgstr "" +"Modalità di visualizzazione: visualizza l'istogramma per linee invece che " +"per pixel " #. DESC_HIST_LOG -#, fuzzy msgid "Show logarithm of pixelcount " -msgstr "Visualizza algoritmo di conteggio pixel" +msgstr "Visualizza il logaritmo del conteggio dei pixel " #. DESC_PRINTER_SETUP msgid "Select definition to change" -msgstr "Selezionare la definizione da cambiare" +msgstr "Seleziona la definizione da cambiare" #. DESC_PRINTER_NAME msgid "Define a name for the selection of this definition" -msgstr "Definire un nome per la selezione di questa definizione" +msgstr "Definisci un nome per la selezione di questa definizione" #. DESC_PRINTER_COMMAND -#, fuzzy msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" -msgstr "Inserire il comando da eseguire nel modo 'copia' (es. \"lpr -\")" +msgstr "Inserisci il comando da eseguire nel modo 'copia' (es. \"lpr\")" #. DESC_COPY_NUMBER_OPTION msgid "Enter option for copy numbers" -msgstr "Inserire l'opzione per il numero di copie" +msgstr "Inserisci l'opzione per il numero di copie" #. DESC_PRINTER_LINEART_RESOLUTION msgid "" "Resolution with which lineart images are printed and saved in postscript" msgstr "" -"Risoluzione con la quale le immagini vengono stampate e salvate in postscript" +"Risoluzione con la quale le immagini vengono stampate e salvate in formato " +"Postscript" #. DESC_PRINTER_GRAYSCALE_RESOLUTION msgid "" "Resolution with which grayscale images are printed and saved in postscript" msgstr "" -"Risoluzione con la quale le immagini in scala di grigi vengono stampate e " -"salvate in postscript" +"Risoluzione con la quale le immagini in scala di grigio vengono stampate e " +"salvate in formato Postscript" #. DESC_PRINTER_COLOR_RESOLUTION msgid "Resolution with which color images are printed and saved in postscript" msgstr "" "Risoluzione con la quale le immagini a colori vengono stampate e salvate in " -"postscript" +"formato Postscript" #. DESC_PRINTER_WIDTH -#, fuzzy msgid "Width of printable area" -msgstr "Larghezza dell'area di stampa in mm" +msgstr "Larghezza dell'area di stampa" #. DESC_PRINTER_HEIGHT -#, fuzzy msgid "Height of printable area" -msgstr "Altezza dell'area di stampa in mm" +msgstr "Altezza dell'area di stampa" #. DESC_PRINTER_LEFTOFFSET -#, fuzzy msgid "Left offset from the edge of the paper to the printable area" -msgstr "Margine sinistro dalla testa della pagina all'area di stampa in mm" +msgstr "Margine sinistro dal bordo del foglio all'area di stampa" #. DESC_PRINTER_BOTTOMOFFSET -#, fuzzy msgid "Bottom offset from the edge of the paper to the printable area" -msgstr "Margine inferiore dalla testa della pagina all'area di stampa in mm" +msgstr "Margine inferiore dal bordo pagina all'area di stampa" #. DESC_PRINTER_GAMMA msgid "Additional gamma value for photocopy" -msgstr "Valore gamma addizionale per fotocopia" +msgstr "Valore aggiuntivo della gamma per la fotocopia" #. DESC_PRINTER_GAMMA_RED msgid "Additional gamma value for red component for photocopy" -msgstr "Valore gamma addizionale della componente rossa per fotocopia" +msgstr "Valore aggiuntivo della gamma per la componente rossa per la fotocopia" #. DESC_PRINTER_GAMMA_GREEN msgid "Additional gamma value for green component for photocopy" -msgstr "Valore gamma addizionale della componente verde per fotocopia" +msgstr "Valore aggiuntivo della gamma per la componente verde per la fotocopia" #. DESC_PRINTER_GAMMA_BLUE msgid "Additional gamma value for blue component for photocopy" -msgstr "Valore gamma addizionale della componente blu per fotocopia" +msgstr "Valore aggiuntivo della gamma per la componente blu per la fotocopia" #. DESC_TMP_PATH msgid "Path to temp directory" -msgstr "Percorso directory temp" +msgstr "Percorso alla cartella temporanea" #. DESC_BUTTON_TMP_PATH_BROWSE msgid "Browse for temporary directory" -msgstr "Naviga directory temporanea" +msgstr "Cerca la cartella temporanea" #. DESC_JPEG_QUALITY msgid "" "Quality in percent if image is saved as jpeg or tiff with jpeg compression" msgstr "" -"Qualit in percentuale se l'immagine salvata come jpeg o tiff con " -"compressione jpeg" +"Qualità in percentuale se l'immagine è salvata come JPEG o TIFF con " +"compressione di tipo JPEG" #. DESC_PNG_COMPRESSION msgid "Compression if image is saved as png" -msgstr "Compressione se l'immagine viene salvata come png" +msgstr "Compressione se l'immagine viene salvata come PNG" #. DESC_FILENAME_COUNTER_LEN msgid "Minimum length of counter in filename" -msgstr "" +msgstr "Lunghezza minima del contatore nel nome file" #. DESC_TIFF_COMPRESSION_16 msgid "Compression type if 16 bit image is saved as tiff" -msgstr "Tipo di compressione se l'immagine a 16 bit viene salvata come tiff" +msgstr "Tipo di compressione se l'immagine a 16 bit viene salvata come TIFF" #. DESC_TIFF_COMPRESSION_8 msgid "Compression type if 8 bit image is saved as tiff" -msgstr "Tipo di compressione se l'immagine a 8 bit viene salvata come tiff" +msgstr "Tipo di compressione se l'immagine a 8 bit viene salvata come TIFF" #. DESC_TIFF_COMPRESSION_1 msgid "Compression type if lineart image is saved as tiff" -msgstr "Tipo compressione se l'immagine lineart viene salvata come tiff" +msgstr "Tipo compressione se l'immagine binaria viene salvata come TIFF" #. DESC_SAVE_DEVPREFS_AT_EXIT msgid "Save device dependant preferences in default file at exit of xsane" msgstr "" +"Salva le impostazioni del dispositivo nel file prestabilito all'uscita da " +"XSane" #. DESC_OVERWRITE_WARNING msgid "Warn before overwriting an existing file" -msgstr "Segnale prima di sovrascrivere un file esistente" +msgstr "Avvisa prima di sovrascrivere un file esistente" #. DESC_SKIP_EXISTING msgid "" "If filename counter is automatically increased, used numbers are skipped" msgstr "" -"Il contatore nomefile viene automaticamente incrementato, i numeri usati " -"vengono saltati" +"I numeri già usati vengono saltati se il contatore del nome file viene " +"incrementato automaticamente" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Usa il formato ASCII invece di quello binario quando un'immagine a 16 bit " +"viene salvata in formato PNM. Il formato binario è un nuovo formato non " +"supportato da tutti i programmi. Il formato ASCII è invece supportato da più " +"programmi ma produce file giganteschi!!!" #. DESC_REDUCE_16BIT_TO_8BIT msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" msgstr "" +"Salva l'immagine a 8 bit/colore se lo scanner invia immagini a 16 bit/colore" #. DESC_PSFILE_WIDTH -#, fuzzy msgid "Width of paper for postscript files" -msgstr "Larghezza della carta in mm per i file postscript" +msgstr "Larghezza della carta per i file di tipo Postscript" #. DESC_PSFILE_HEIGHT -#, fuzzy msgid "Height of paper for postscript files" -msgstr "Altezza della carta in mm per i file postscript" +msgstr "Altezza della carta per i file di tipo Postscript" #. DESC_PSFILE_LEFTOFFSET -#, fuzzy msgid "" "Left offset from the edge of the paper to the usable area for postscript " "files" msgstr "" -"Margine sinistro dalla testa della carta all'area utilizzabile in mm per\n" -"i file postscript" +"Margine sinistro dal bordo del foglio all'area utilizzabile per i file di " +"tipo Postscript" #. DESC_PSFILE_BOTTOMOFFSET -#, fuzzy msgid "" "Bottom offset from the edge of the paper to the usable area for postscript " "files" msgstr "" -"Margine inferiore dalla testa della carta all'area utilizzabile in mm per i " -"file postscript" +"Margine inferiore dal bordo del foglio all'area utilizzabile per i file di " +"tipo Postscript" #. DESC_MAIN_WINDOW_FIXED msgid "Use fixed main window size or scrolled, resizable main window" msgstr "" -"Utilizza una grandezza della finestra principale fissa, o scrollabile " -"ridimensionabile" +"Utilizza delle dimensioni fisse per la finestra principale anche quando è " +"scorribile o ridimensionabile" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA -#, fuzzy msgid "Disable preview gamma when XSane runs as gimp plugin" -msgstr "Disabilita l'anteprima gamma quando xsane gira come un plugin di gimp" +msgstr "" +"Disabilita l'anteprima della gamma quando XSane è eseguito come un plugin di " +"GIMP" #. DESC_PREVIEW_COLORMAP msgid "Use an own colormap for preview if display depth is 8 bpp" msgstr "" -"Usa una propria mappa dei colori per l'anteprima se la profondit del siplay " -" 8 bpp" +"Usa una mappa dei colori propria per l'anteprima se la profondità della " +"visualizzazione è di 8 bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Seleziona il modo in cui viene visualizzato un intervallo" #. DESC_PREVIEW_OVERSAMPLING msgid "Value with that the calculated preview resolution is multiplied" msgstr "" -"Valore per il quale viene moltiplicata la risoluzione calcolata per " -"l'anteprima" +"Valore per il quale viene moltiplicata la risoluzione calcolata " +"dell'anteprima" #. DESC_PREVIEW_GAMMA msgid "Set gamma correction value for preview image" -msgstr "Imposta il valore gamma correction per l'immagine di anteprima" +msgstr "" +"Imposta il valore di correzione della gamma per l'immagine in anteprima" #. DESC_PREVIEW_GAMMA_RED msgid "Set gamma correction value for red component of preview image" msgstr "" -"Imposta il valore gamma correction della componente rossa per l'immagine di " -"anteprima" +"Imposta il valore di correzione della gamma per la componente rossa " +"dell'immagine in anteprima" #. DESC_PREVIEW_GAMMA_GREEN msgid "Set gamma correction value for green component of preview image" msgstr "" -"Imposta il valore gamma correction della componente verde per l'immagine di " -"anteprima" +"Imposta il valore di correzione della gamma per la componente verde " +"dell'immagine in anteprima" #. DESC_PREVIEW_GAMMA_BLUE msgid "Set gamma correction value for blue component of preview image" msgstr "" -"Imposta il valore gamma correction della componente blu per l'immagine di " -"anteprima" +"Imposta il valore di correzione della gamma per la componente blu " +"dell'immagine in anteprima" #. DESC_LINEART_MODE -#, fuzzy msgid "Define the way XSane shall handle the threshold option" -msgstr "Definisce il modo in cui xsane deve gestire l'opzione soglia" +msgstr "Definisce il modo in cui XSane deve gestire l'opzione soglia" #. DESC_GRAYSCALE_SCANMODE -#, fuzzy msgid "" "Select grayscale scanmode. This scanmode is used for lineart preview scan " "when transformation from grayscale to lineart is enabled" msgstr "" -"Inserire il nome del modo scaladigrigi - per la trasformazione " -"dell'anteprima da scala di grigi a lineart" +"Seleziona una modalità di scansione in scala di grigi. Questa modalità è " +"utilizzata per scansioni d'anteprima tipo binaria quando è abilitata la " +"trasformazione da scala di grigi a binaria" #. DESC_PREVIEW_THRESHOLD_MIN #, no-c-format msgid "The scanner's minimum threshold level in %" -msgstr "La soglia di livello minima dello scanner in %" +msgstr "E' la soglia di livello minima dello scanner in percentuale" #. DESC_PREVIEW_THRESHOLD_MAX #, no-c-format msgid "The scanner's maximum threshold level in %" -msgstr "La soglia di livello massima dello scanner in %" +msgstr "E' la soglia di livello massima dello scanner in percentuale" #. DESC_PREVIEW_THRESHOLD_MUL -#, fuzzy msgid "" "Multiplier to make XSane threshold range and scanner threshold range the same" msgstr "" -"Moltiplicatore per eguagliare il range di soglia di xsabe con quello dello " -"scanner" +"Moltiplicatore per rendere uguali l'intervallo di soglia di XSane e quello " +"dello scanner" #. DESC_PREVIEW_THRESHOLD_OFF -#, fuzzy msgid "" "Offset to make XSane threshold range and scanner threshold range the same" -msgstr "Scarto per eguagliare il range di soglia dello scanner e di xsane" +msgstr "" +"Scarto per eguagliare l'intervallo di soglia dello scanner e quello di XSane" #. DESC_ADF_MODE msgid "" "Select scansource for Automatic Document feeder. If this scansource is " "selected XSane scans until \"out of paper\" or error." msgstr "" +"Seleziona l'alimentatore ADF. Se viene selezionato, XSane acquisisce fino a " +"\"Fine carta\" o ad un errore." #. DESC_PREVIEW_PIPETTE_RANGE msgid "dimension of square that is used to average color for pipette function" -msgstr "" +msgstr "E' la dimensione del quadrato usato per il colore medio del contagocce" #. DESC_DOC_VIEWER msgid "" "Enter command to be executed to display helpfiles, must be a html-viewer!" msgstr "" -"Inserire il comando per visualizzare i file di help, dev'essere un " -"visualizzatore di HTML" +"Inserisci il comando per visualizzare i file di aiuto: deve essere un " +"visualizzatore HTML!" #. DESC_AUTOENHANCE_GAMMA msgid "Change gamma value when autoenhancement button is pressed" msgstr "" -"Cambia il valore gamma quando viene premusto il bottone dell'auto accentuo " +"Cambia il valore della gamma quando viene premuto il pulsante del " +"miglioramento automatico" #. DESC_PRESELECT_SCANAREA msgid "Select scanarea after preview scan has finished" -msgstr "" +msgstr "Seleziona l'area di scansione dopo l'acquisizione dell'anteprima" #. DESC_AUTOCORRECT_COLORS msgid "Do color correction after preview scan has finished" -msgstr "" +msgstr "Applica la correzione dei colori dopo l'acquisizione dell'anteprima" #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" -msgstr "Inderire il comando da eseguire nel modo fax" +msgstr "Inserisci il comando da eseguire in modalità fax" #. DESC_FAX_RECEIVER_OPT msgid "Enter option to specify receiver" -msgstr "Inserire l'opzione per il ricevente specifico" +msgstr "Inserisci l'opzione per specificare il ricevente" #. DESC_FAX_POSTSCRIPT_OPT msgid "Enter option to specify postscript files following" -msgstr "Inserire l'opzione da specificare per i seguenti file postscript" +msgstr "" +"Inserisci l'opzione per specificare che seguono file di tipo Postscript" #. DESC_FAX_NORMAL_OPT msgid "Enter option to specify normal mode (low resolution)" -msgstr "Inserire l'opzione per specificare il modo normale (bassa risoluzione)" +msgstr "" +"Inserisci l'opzione per specificare la modalità normale (bassa risoluzione)" #. DESC_FAX_FINE_OPT msgid "Enter option to specify fine mode (high resolution)" -msgstr "Inserire l'opzione per specificare il modo fine (alta risoluzione)" +msgstr "" +"Inserisci l'opzione per specificare la modalità fine (alta risoluzione)" #. DESC_FAX_VIEWER msgid "Enter command to be executed to view a fax" -msgstr "Inserire il comando da eseguire per visualizzare un fax" +msgstr "Inserisci il comando da eseguire per visualizzare un fax" #. DESC_FAX_FINE_MODE msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" -msgstr "Utilizza un'alta risoluzione verticale (196 lpi invece di 98 lpi)" +msgstr "" +"Invia il fax con un'alta risoluzione verticale (196 lpi invece di 98 lpi)" #. DESC_SMTP_SERVER msgid "IP Address or Domain name of SMTP server" -msgstr "" +msgstr "Indirizzo IP o nome del dominio del server SMTP" #. DESC_SMTP_PORT msgid "port to connect to SMTP server" -msgstr "" +msgstr "Porta del server SMTP a cui connettersi" #. DESC_MAIL_FROM msgid "enter your email address" -msgstr "" +msgstr "Inserisci il tuo indirizzo di posta elettronica" #. DESC_MAIL_REPLY_TO msgid "enter email address for replied emails" -msgstr "" +msgstr "Inserisci l'indirizzo a cui inviare le risposte" #. DESC_POP3_AUTHENTIFICATION msgid "Authentificate at POP3 server before sending mail" -msgstr "" +msgstr "Autenticati sul server POP3 prima di inviare della posta elettronica" #. DESC_POP3_SERVER msgid "IP Address or Domain name of POP3 server" -msgstr "" +msgstr "Indirizzo IP o nome del dominio del server POP3" #. DESC_POP3_PORT msgid "port to connect to POP3 server" -msgstr "" +msgstr "Porta del server POP3 a cui connettersi" #. DESC_POP3_USER msgid "user name for POP3 server" -msgstr "" +msgstr "Nome utente per il server POP3" #. DESC_POP3_PASS msgid "password for POP3 server" -msgstr "" +msgstr "Password per il server POP3" #. DESC_MAIL_VIEWER -#, fuzzy msgid "Enter command to be executed to view a mail image" -msgstr "Inserire il comando da eseguire per visualizzare un fax" +msgstr "" +"Inserisci il comando da eseguire per visualizzare un'immagine via posta " +"elettronica" #. DESC_HTML_MAIL -msgid "Mail is sent in html mode, images are displayed directly" +msgid "Mail is sent in html mode, place image with: " msgstr "" +"La posta viene spedita in formato HTML, posiziona l'immagine con: " #. DESC_OCR_COMMAND msgid "Enter command to start ocr program" -msgstr "" +msgstr "Inserisci il comando per avviare il programma OCR" #. DESC_OCR_INPUTFILE_OPT msgid "Enter option of the ocr program to define input file" -msgstr "" +msgstr "Inserisci l'opzione del programma OCR per definire il file di ingresso" #. DESC_OCR_OUTPUTFILE_OPT msgid "Enter option of the ocr program to define output file" +msgstr "Inserisci l'opzione del programma OCR per definire il file d'uscita" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" +"Indica se il programma OCR supporta l'indicatore di avanzamento tramite pipe" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Inserisci l'opzione del programma OCR per definire il descrittore file " +"d'uscita in modalità GUI" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" msgstr "" +"Definisci la parola chiave utilizzata per segnalare l'informazione di " +"avanzamento" #. DESC_PERMISSION_READ msgid "read" -msgstr "" +msgstr "leggi" #. DESC_PERMISSION_WRITE -#, fuzzy msgid "write" -msgstr "Sovra scrivi" +msgstr "scrivi" #. DESC_PERMISSION_EXECUTE -#, fuzzy msgid "execute" -msgstr "Cancella" +msgstr "esegui" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Aggiungi la selezione per la scansione batch" #. DESC_PIPETTE_WHITE msgid "Pick white point" -msgstr "Prende un punto bianco" +msgstr "Preleva un punto bianco" #. DESC_PIPETTE_GRAY msgid "Pick gray point" -msgstr "Prende un punto grigio" +msgstr "Preleva un punto grigio" #. DESC_PIPETTE_BLACK msgid "Pick black point" -msgstr "Prende un punto nero" +msgstr "Preleva un punto nero" #. DESC_ZOOM_FULL msgid "Use full scanarea" -msgstr "Usa tutta l'area di scan" +msgstr "Usa tutta l'area di scansione" #. DESC_ZOOM_OUT #, no-c-format msgid "Zoom 20% out" -msgstr "Zoom -20%" +msgstr "Riduci l'ingrandimento del 20%" #. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Clicca sul punto su cui eseguire lo zoom" + +#. DESC_ZOOM_AREA msgid "Zoom into selected area" -msgstr "Ingrandisce nell'area selezionata" +msgstr "Ingrandisci l'area selezionata" #. DESC_ZOOM_UNDO msgid "Undo last zoom" @@ -1830,162 +2049,223 @@ msgid "Select visible area" msgstr "Seleziona l'area visibile" #. DESC_AUTOSELECT_SCANAREA -#, fuzzy msgid "Autoselect scanarea" -msgstr "Usa tutta l'area di scan" +msgstr "Seleziona automaticamente l'area di scansione" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Ingrandisci automaticamente l'area di scansione" #. DESC_DELETE_IMAGES -#, fuzzy msgid "Delete preview image cache" -msgstr "Preserva immagine anteprima" +msgstr "Cancella l'immagine in cache dell'anteprima" #. DESC_PRESET_AREA -#, fuzzy -msgid "Preset area" -msgstr "Usa tutta l'area di scan" +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Area preselezionata:\n" +"usa il menù contestuale (pulsante destro del mouse) per aggiungere una nuova " +"area o modificarne una già esistente." #. DESC_ROTATION msgid "Rotate preview and scan" -msgstr "" +msgstr "Ruota l'anteprima e scansiona" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Rapporto d'aspetto della selezione" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Imposta la posizione dell'immagine per la stampa" #. DESC_VIEWER_OCR msgid "Optical Character Recognition" -msgstr "" +msgstr "Riconoscimento Ottico di Caratteri (OCR)" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Annulla l'ultima modifica" #. DESC_VIEWER_CLONE -#, fuzzy msgid "Clone image" -msgstr "Cancella progetto" +msgstr "Duplica l'immagine" -#. DESC_VIEWER_ROTATE90 -#, fuzzy +#. DESC_ROTATE90 msgid "Rotate image 90 degree" -msgstr "Salvataggio immagine" +msgstr "Ruota l'immagine di 90 gradi" -#. DESC_VIEWER_ROTATE180 +#. DESC_ROTATE180 msgid "Rotate image 180 degree" -msgstr "" +msgstr "Ruota l'immagine di 180 gradi" -#. DESC_VIEWER_ROTATE270 +#. DESC_ROTATE270 msgid "Rotate image 270 degree" -msgstr "" +msgstr "Ruota l'immagine di 270 gradi" -#. DESC_VIEWER_MIRROR_X +#. DESC_MIRROR_X msgid "Mirror image at vertical axis" -msgstr "" +msgstr "Ribalta l'immagine sull'asse verticale" -#. DESC_VIEWER_MIRROR_Y +#. DESC_MIRROR_Y msgid "Mirror image at horizontal axis" -msgstr "" +msgstr "Ribalta l'immagine sull'asse orizzontale" #. DESC_VIEWER_ZOOM -#, fuzzy msgid "Zoom image" -msgstr "Visualizza anteprima" +msgstr "Ingrandisci l'immagine" #. DESC_STORE_MEDIUM -#, fuzzy msgid "Store medium" -msgstr "Selezionare la definizione da cambiare" +msgstr "Memorizza supporto" #. DESC_DELETE_MEDIUM -#, fuzzy msgid "Delete active medium" -msgstr "Selezionare la definizione da cambiare" +msgstr "Elimina il supporto attivo" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Imposta il fattore di scala" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Fattore per la scala X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Fattore per la scala Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Riscala l'immagine in larghezza (in pixel)" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Riscala l'immagine in altezza (in pixel)" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Svuota la lista batch" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Salva la lista batch" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Carica la lista batch" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Rinomina l'area" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Aggiungi l'area selezionata dell'anteprima alla lista batch" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Togli l'area selezionata dalla lista batch" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Attiva la modalità automatica" #. ERR_HOME_DIR msgid "Failed to determine home directory:" -msgstr "Impossibile determinare la home directory:" +msgstr "Non è possibile determinare la cartella home:" #. ERR_CHANGE_WORKING_DIR msgid "Failed to change working directory to" -msgstr "Impossibile cambiare la directory di lavoro a" +msgstr "Non è possibile cambiare la cartella di lavoro a" #. ERR_FILENAME_TOO_LONG msgid "Filename too long" -msgstr "Nome file troppo lungo" +msgstr "Il nome file è troppo lungo" #. ERR_CREATE_TEMP_FILE -#, fuzzy msgid "Could not create temporary file" -msgstr "Crea progetto" +msgstr "Non è possibile creare alcun file temporaneo" #. ERR_SET_OPTION msgid "Failed to set value of option" -msgstr "Impossibile impostare il valore dell'opzione" +msgstr "Non è possibile impostare il valore dell'opzione" #. ERR_GET_OPTION msgid "Failed to obtain value of option" -msgstr "Impossibile ottenere il valore dell'opzione" +msgstr "Non è possibile ottenere il valore dell'opzione" #. ERR_OPTION_COUNT msgid "Error obtaining option count" -msgstr "Errore nell'ottenere l'opzione conto" +msgstr "Si è verificato un errore nell'ottenere il conteggio delle opzioni" #. ERR_DEVICE_OPEN_FAILED msgid "Failed to open device" -msgstr "Impossibile aprire il dispositivo" +msgstr "Non è possibile aprire il dispositivo" #. ERR_NO_DEVICES msgid "no devices available" -msgstr "nessun dispositivo disponibile" +msgstr "Non è disponibile alcun dispositivo" #. ERR_DURING_READ msgid "Error during read:" -msgstr "Errore durante la lettura:" +msgstr "Si è verificato un errore durante la lettura:" #. ERR_DURING_SAVE msgid "Error during save:" -msgstr "Errore durante il salvataggio:" +msgstr "Si è verificato un errore durante il salvataggio:" #. ERR_BAD_DEPTH msgid "Can't handle depth" -msgstr "Impossibile gestire la profondit" +msgstr "Non è possibile gestire la profondità" #. ERR_GIMP_BAD_DEPTH -#, fuzzy, c-format +#, c-format msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP non pu gestire la profondit" +msgstr "GIMP non può gestire una profondità di %d bit/colore" #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" -msgstr "Formato di file per il salvataggio sconosciuto" +msgstr "Il formato del file per il salvataggio è sconosciuto" #. ERR_OPEN_FAILED msgid "Failed to open" -msgstr "Errore di apertura" +msgstr "Impossibile aprire il file" #. ERR_CREATE_SECURE_FILE msgid "Could not create secure file (may be a link does exist):" -msgstr "" +msgstr "Non è possibile creare un file sicuro (forse esiste un collegamento):" #. ERR_FAILED_PRINTER_PIPE msgid "Failed to open pipe for executing printercommand" -msgstr "Impossibile aprire la pipe per eseguire il comando di stampa" +msgstr "Non è possibile aprire la pipe per eseguire il comando di stampa" #. ERR_FAILED_EXEC_PRINTER_CMD msgid "Failed to execute printercommand:" -msgstr "Impossibile eseguire il comando di stampa" +msgstr "Non è possibile eseguire il comando di stampa:" #. ERR_FAILED_START_SCANNER msgid "Failed to start scanner:" -msgstr "Impossibile far partire lo scanner:" +msgstr "Non è possibile avviare lo scanner:" #. ERR_FAILED_GET_PARAMS msgid "Failed to get parameters:" -msgstr "Impossibile ottenere i parametri:" +msgstr "Non è possibile ottenere i parametri:" #. ERR_NO_OUTPUT_FORMAT msgid "No output format given" -msgstr "Nessun formato di output " +msgstr "Non è stato impostato alcun formato d'uscita" #. ERR_NO_MEM msgid "out of memory" -msgstr "memoria esaurita" +msgstr "la memoria è esaurita" #. ERR_TOO_MUCH_DATA msgid "Backend sends more image data than it defined in parameters" -msgstr "" +msgstr "Il backend invia più dati di quanti definiti nei parametri" #. ERR_LIBTIFF msgid "LIBTIFF reports error" @@ -1995,49 +2275,60 @@ msgstr "LIBTIFF ha riportato un errore" msgid "LIBPNG reports error" msgstr "LIBPNG ha riportato un errore" +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBPNG ha riportato un errore" + #. ERR_UNKNOWN_TYPE msgid "unknown type" msgstr "tipo sconosciuto" #. ERR_UNKNOWN_CONSTRAINT_TYPE msgid "unknown constraint type" -msgstr "tipo costante sconosciuto" +msgstr "vincolo di tipo sconosciuto" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "L'opzione ha un nome vuoto (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Questo è un baco nel backend. Per favore, informane il suo autore!" #. ERR_FAILED_EXEC_DOC_VIEWER msgid "Failed to execute documentation viewer:" -msgstr "Impossibile eseguire il visualizzatore della documentazione:" +msgstr "Non è possibile eseguire il visualizzatore della documentazione:" #. ERR_FAILED_EXEC_FAX_VIEWER msgid "Failed to execute fax viewer:" -msgstr "Impossibile eseguire il visualizzatore di fax:" +msgstr "Non è possibile eseguire il visualizzatore di fax:" #. ERR_FAILED_EXEC_FAX_CMD -#, fuzzy msgid "Failed to execute fax command:" -msgstr "Errore nell'esecuzione del comando fax:" +msgstr "Non è possibile eseguire il comando fax:" #. ERR_FAILED_EXEC_MAIL_VIEWER -#, fuzzy msgid "Failed to execute mail image viewer:" -msgstr "Impossibile eseguire il visualizzatore di fax:" +msgstr "" +"Non è possibile eseguire il visualizzatore dell'immagine via posta " +"elettronica:" #. ERR_FAILED_EXEC_OCR_CMD -#, fuzzy msgid "Failed to execute ocr command:" -msgstr "Errore nell'esecuzione del comando fax:" +msgstr "Non è possibile eseguire il comando OCR:" #. ERR_BAD_FRAME_FORMAT msgid "bad frame format" -msgstr "formato frame sbagliato" +msgstr "E' sbagliato il formato della cornice" #. ERR_FAILED_SET_RESOLUTION msgid "unable to set resolution" -msgstr "impossibile definire la risoluzione" +msgstr "Non è possibile impostare la risoluzione" #. ERR_PASSWORD_FILE_INSECURE #, c-format msgid "Password file (%s) is insecure, use permission x00\n" -msgstr "" +msgstr "Il file delle password (%s) non è sicuro, utilizza i permessi x00\n" #. ERR_ERROR msgid "error" @@ -2045,28 +2336,27 @@ msgstr "errore" #. ERR_MAJOR_VERSION_NR_CONFLICT msgid "Sane major version number mismatch!" -msgstr "Errore versione maggiore sane!" +msgstr "La versione di Sane non è compatibile!" #. ERR_XSANE_MAJOR_VERSION -#, fuzzy msgid "XSane major version =" -msgstr "Versione maggiore xsane =" +msgstr "Versione superiore di XSane =" #. ERR_BACKEND_MAJOR_VERSION msgid "backend major version =" -msgstr "Versione maggiore backend =" +msgstr "Versione superiore dei backend =" #. ERR_PROGRAM_ABORTED msgid "*** PROGRAM ABORTED ***" -msgstr "*** PROGRAMMA ABORTITO ***" +msgstr "*** PROGRAMMA ANNULLATO ***" #. ERR_FAILED_ALLOCATE_IMAGE msgid "Failed to allocate image memory:" -msgstr "Impossibile allocare la memoria per l'immagine:" +msgstr "Non è possibile allocare memoria per l'immagine:" #. ERR_PREVIEW_BAD_DEPTH msgid "Preview cannot handle bit depth" -msgstr "L'anteprima non pu gestire il bit profondit" +msgstr "L'anteprima non può gestire la profondità dei bit" #. ERR_GIMP_SUPPORT_MISSING msgid "GIMP support missing" @@ -2074,28 +2364,25 @@ msgstr "Manca il supporto per GIMP" #. ERR_CREATE_PREVIEW_FILE msgid "Could not create temporary preview files" -msgstr "" +msgstr "Non è possibile creare file temporanei per l'anteprima" #. ERR_CREATE_PREVIEW_FILENAME msgid "Could not create filenames for preview files" -msgstr "" +msgstr "Non è possibile creare i nomi dei file per l'anteprima" #. ERR_CREATE_FAX_PROJECT -#, fuzzy msgid "Could not create faxproject" -msgstr "Crea progetto" +msgstr "Non è possibile creare il progetto fax" #. WARN_COUNTER_UNDERRUN -#, fuzzy msgid "Filename counter underrun" -msgstr "Contatore dei nome file troppo grande" +msgstr "Si è verificato un errore nella creazione del contatore dei nome file" #. WARN_NO_VALUE_CONSTRAINT msgid "warning: option has no value constraint" -msgstr "attenzione: l'opzione non ha valori costanti" +msgstr "Attenzione: l'opzione non ha dei vincoli sul valore" #. WARN_XSANE_AS_ROOT -#, fuzzy msgid "" "You try to run XSane as ROOT, that really is DANGEROUS!\n" "\n" @@ -2103,10 +2390,11 @@ msgid "" "have any problem while running XSane as root:\n" "YOU ARE ALONE!" msgstr "" -"Si sta tentando di utilizzare xsane come ROOT, PERICOLOSO!\n" +"Stai cercando di utilizzare XSane come AMMINISTRATORE DI SISTEMA: è davvero " +"PERICOLOSO!\n" "\n" -"Non inviare messaggi di errore quando\n" -"si hanno problemi utilizzando xsane come root:\n" +"Non riportare alcun messaggio su eventuali bachi quando\n" +"riscontri problemi utilizzando XSane come amministratore di sistema:\n" "SEI STATO AVVISATO!" #. ERR_HEADER_ERROR @@ -2121,66 +2409,71 @@ msgstr "Attenzione" msgid "Information" msgstr "Informazione" +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Errore sul processo figlio" + #. ERR_FAILED_CREATE_FILE msgid "Failed to create file:" -msgstr "Impossibile creare il file:" +msgstr "Non è possibile creare il file:" #. ERR_LOAD_DEVICE_SETTINGS msgid "Error while loading device settings:" -msgstr "Errore caricando i settaggi del device:" +msgstr "" +"Si è verificato un errore sul caricamento delle impostazioni del dispositivo:" #. ERR_NO_DRC_FILE msgid "is not a device-rc-file !!!" -msgstr "non un file device-rc" +msgstr "non è un file device-rc!!!" #. ERR_NETSCAPE_EXECUTE_FAIL msgid "Failed to execute netscape!" -msgstr "Esecuzione di netscape fallita!" +msgstr "L'esecuzione di Netscape è fallita!" #. ERR_SENDFAX_RECEIVER_MISSING msgid "Send fax: no receiver defined" -msgstr "Invio fax: nessun ricevente definito" +msgstr "Invio del fax: nessun è stato definito alcun ricevente" #. ERR_CREATED_FOR_DEVICE msgid "has been created for device" -msgstr " stato creato per dispositivo" +msgstr "è stato creato per il dispositivo" #. ERR_USED_FOR_DEVICE msgid "you want to use it for device" -msgstr "si vuole utilizzare questo come dispositivo" +msgstr "vuoi usarlo per il dispositivo" #. ERR_MAY_CAUSE_PROBLEMS msgid "this may cause problems!" -msgstr "questo potrebbe causare problemi!" +msgstr "questo potrebbe causare dei problemi!" #. WARN_UNSAVED_IMAGES #, c-format msgid "There are %d unsaved images" -msgstr "" +msgstr "Ci sono %d immagini non salvate" #. WARN_FILE_EXISTS #, c-format msgid "File %s already exists" -msgstr "File %s gi esistente" +msgstr "Il file %s esiste già" #. ERR_FILE_NOT_EXISTS -#, fuzzy, c-format +#, c-format msgid "File %s does not exist" -msgstr "File %s gi esistente" +msgstr "Il file %s non esiste" #. ERR_FILE_NOT_POSTSCRIPT -#, fuzzy, c-format +#, c-format msgid "File %s is not a postscript file" -msgstr "Larghezza della carta in mm per i file postscript" +msgstr "Il file %s non è di tipo Postscript" #. ERR_UNSUPPORTED_OUTPUT_FORMAT #, c-format msgid "Unsupported %d-bit output format: %s" -msgstr "Non supportato il formato %d-bit output: %s" +msgstr "Il formato d'uscita a %d bit non è supportato: %s" #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" -msgstr "" +msgstr "l'immagine del visualizzatore non è stata salvata" #. TEXT_USAGE msgid "Usage:" @@ -2191,7 +2484,6 @@ msgid "[OPTION]... [DEVICE]" msgstr "[OPZIONE]...[DISPOSITIVO]" #. TEXT_HELP -#, fuzzy msgid "" "Start up graphical user interface to access SANE (Scanner Access Now Easy) " "devices.\n" @@ -2202,8 +2494,8 @@ msgid "" " -v, --version print version information\n" " -l, --license print license information\n" "\n" -" -d, --device-settings file load device settings from file (without " -"\".drc\")\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" "\n" " -V, --viewer start with viewer-mode active (default)\n" " -s, --save start with save-mode active\n" @@ -2212,8 +2504,6 @@ msgid "" " -m, --mail start with mail-mode active\n" " -n, --no-mode-selection disable menu for XSane mode selection\n" "\n" -" -M, --Medium-calibration enable medium calibration mode\n" -"\n" " -F, --Fixed fixed main window size (overwrite preferences " "value)\n" " -R, --Resizeable resizable, scrolled main window (overwrite " @@ -2228,32 +2518,45 @@ msgid "" " --sync request a synchronous connection with the X11 " "server" msgstr "" -"Lancia l'interfaccia grafica per accedere ai dispositivi SANE (Scanner " -"Access Now Easy) \n" +"Avvia l'interfaccia grafica per accedere ai dispositivi SANE (Scanner Access " +"Now Easy) \n" +"\n" +"Il formato di [DISPOSITIVO] è nomebackend:filedispositivo (es. umax:/dev/" +"scanner).\n" +"[OPZIONE]... può essere una combinazione delle seguenti:\n" +" -h, --help visualizza questo messaggio d'aiuto\n" +" -v, --version visualizza le informazioni sulla versione\n" +" -l, --license visualizza le informazioni sulla licenza\n" +"\n" +" -d, --device-settings file carica le impostazioni del dispositivo (senza " +"\".drc)\n" "\n" -"La forma di [DISPOSITIVO] nomebackend:filedispositivo (es. " -"umax:/dev/scanner).\n" -"[OPZIONE]... pu essere una combinazione delle seguenti:\n" -"-h, --help visualizza questo messaggio di help\n" -"-v, --version stampa le informazioni sulla versione\n" +" -v, --viewer avvia in modalità visualizzazione " +"(prestabilito)\n" +" -s, --save avvia in modalità salvataggio\n" +" -c, --copy avvia in modalità copia\n" +" -f, --fax avvia in modalità fax\n" +" -m, --mail avvia in modalità posta elettronica\n" +" -n, --no-mode-selection disabilita il menu per la selezione della " +"modalità\n" "\n" -"-d, --device-settings file carica i settaggi del dispositivo (senza " -"\\\".drc\\\")\n" +" -M, --Medium-calibration abilita la calibrazione del supporto\n" "\n" -"-s, --scan parte con lo modo-scan attivo\n" -"-c, --copy parte con il modo-copia attivo\n" -"-f, --fax parte con il modo fax\n" -"-n, --no-mode-selection disabilita il menu per la selezione del modo\n" +" -F, --Fixed finestra principale con dimensioni fisse " +"(ignora preferenze)\n" +" -R, --Resizeable finestra ridimensionabile, con barre di " +"scorrimento (ignora le preferenze)\n" "\n" -"-F, --Fixed grandezza finestra principale fissa (ignora le " -"preferenze)\n" -"-R, --Resizeable finestra ridimensionabile, con le scrollbar " -"(ignora le preferenze)\n" +" -p, --print-filenames stampa i nomi file delle immagini create da " +"XSane\n" +" -N, --force-filename name forza il nome file e disabilita quello " +"definito dall'utente\n" "\n" -"--display X11-display redireziona l'output sul display X11\n" -"--no-xshm non usa immagini di memoria condivisa\n" -"--sync richiedi una connessione sincrona con il server " -"X11" +" --display X11-display redireziona l'uscita sul display X11\n" +" --no-xshm non usare la memoria condivisa per le " +"immagini\n" +" --sync richiedi una connessione sincrona con il " +"server X11" #. strings for gimp plugin #. XSANE_GIMP_INSTALL_BLURB @@ -2265,157 +2568,245 @@ msgid "" "This function provides access to scanners and other image acquisition " "devices through the SANE (Scanner Access Now Easy) interface." msgstr "" -"Questa funzione permette l'accesso a scanner o altri dispositivi\n" -"di acquisizione immagine che SANE (Scanner Access Now Easy) interfaccia." +"Questa funzione fornisce l'accesso agli scanner o altri dispositivi di " +"acquisizione di immagini gestiti da SANE (Scanner Access Now Easy)." #. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" #. XSANE_GIMP_MENU_DIALOG msgid "/File/Acquire/XSane: Device dialog..." -msgstr "/File/Acquisisci/Xsane: finestra dispositivo..." +msgstr "/File/Acquisisci/XSane: finestra dispositivo..." #. XSANE_GIMP_MENU msgid "/File/Acquire/XSane: " -msgstr "/File/Acquisisci/Xsane: " +msgstr "/File/Acquisisci/Xsane: " #. XSANE_GIMP_MENU_DIALOG_OLD msgid "/Xtns/XSane/Device dialog..." -msgstr "/Xtns/Xsane/Finestra dispositivo..." +msgstr "/Xtns/Xsane/Finestra dispositivo..." #. XSANE_GIMP_MENU_OLD msgid "/Xtns/XSane/" -msgstr "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Possibili motivi:\n" +"1) Non c'è davvero nessun dispositivo supportato da SANE\n" +"2) I dispositivi supportati sono occupati\n" +"3) I permessi per il dispositivo non ne consentono l'utilizzo - prova come " +"amministratore di sistema\n" +"4) SANE non ha caricato il backend (man sane-dll)\n" +"5) Il backend non è configurato correttamente (man san-\"nome backend\")\n" +"6) E' possibile che siano installate più versioni di SANE\n" +"7) Il semplice aggiornamento della distribuzione Linux usata può causare " +"questi inconvenienti" #. strings that are used in structures, so it is not allowed to use _()/gettext() here #. gettext_noop does mark these texts but does not change the string #. MENU_ITEM_SURFACE_FULL_SIZE msgid "full size" -msgstr "" +msgstr "area intera" #. MENU_ITEM_SURFACE_DIN_A3P msgid "DIN A3 port." -msgstr "" +msgstr "DIN A3 vert." #. MENU_ITEM_SURFACE_DIN_A3L msgid "DIN A3 land." -msgstr "" +msgstr "DIN A3 oriz." #. MENU_ITEM_SURFACE_DIN_A4P msgid "DIN A4 port." -msgstr "" +msgstr "DIN A4 vert." #. MENU_ITEM_SURFACE_DIN_A4L msgid "DIN A4 land." -msgstr "" +msgstr "DIN A4 oriz." #. MENU_ITEM_SURFACE_DIN_A5P msgid "DIN A5 port." -msgstr "" +msgstr "DIN A5 vert." #. MENU_ITEM_SURFACE_DIN_A5L msgid "DIN A5 land." -msgstr "" +msgstr "DIN A5 oriz." #. MENU_ITEM_SURFACE_13cmx18cm msgid "13cm x 18cm" -msgstr "" +msgstr "13cm x 18cm " #. MENU_ITEM_SURFACE_18cmx13cm msgid "18cm x 13cm" -msgstr "" +msgstr "18cm x 13cm " #. MENU_ITEM_SURFACE_10cmx15cm msgid "10cm x 15cm" -msgstr "" +msgstr "10cm x 15cm " #. MENU_ITEM_SURFACE_15cmx10cm msgid "15cm x 10cm" -msgstr "" +msgstr "15cm x 10cm " #. MENU_ITEM_SURFACE_9cmx13cm msgid "9cm x 13cm" -msgstr "" +msgstr "9cm x 13cm " #. MENU_ITEM_SURFACE_13cmx9cm msgid "13cm x 9cm" -msgstr "" +msgstr "13cm x 9cm " #. MENU_ITEM_SURFACE_legal_P msgid "legal port." -msgstr "" +msgstr "Legale vert." #. MENU_ITEM_SURFACE_legal_L msgid "legal land." -msgstr "" +msgstr "Legale oriz." #. MENU_ITEM_SURFACE_letter_P -#, fuzzy msgid "letter port." -msgstr "Cancella progetto" +msgstr "Lettera vert." #. MENU_ITEM_SURFACE_letter_L msgid "letter land." -msgstr "" +msgstr "Lettera oriz." -#. MENU_ITEM_MEDIUM_FULL_RANGE -msgid "Full range" -msgstr "" +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Tutto l'intervallo del colore" #. MENU_ITEM_MEDIUM_SLIDE msgid "Slide" -msgstr "" +msgstr "Lucidi" #. MENU_ITEM_MEDIUM_STANDARD_NEG -#, fuzzy msgid "Standard negative" -msgstr "Opzioni standard" +msgstr "Negativo standard" #. MENU_ITEM_MEDIUM_AGFA_NEG msgid "Agfa negative" -msgstr "" +msgstr "Negativo Agfa" #. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 msgid "Agfa negative XRG 200-4" -msgstr "" +msgstr "Negativo Agfa XRG 200-4" #. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 msgid "Agfa negative HDC 100" -msgstr "" +msgstr "Negativo Agfa HDC 100" #. MENU_ITEM_MEDIUM_FUJI_NEG msgid "Fuji negative" -msgstr "" +msgstr "Negativo Fuji" #. MENU_ITEM_MEDIUM_KODAK_NEG msgid "Kodak negative" -msgstr "" +msgstr "Negativo Kodak" #. MENU_ITEM_MEDIUM_KONICA_NEG msgid "Konica negative" -msgstr "" +msgstr "Negativo Konica" #. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 msgid "Konica negative VX 100" -msgstr "" +msgstr "Negativo Konica VX 100" #. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 msgid "Rossmann negative HR 100" -msgstr "" +msgstr "Negativo Rossmann HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Il progetto di posta non è stato creato" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Il progetto di posta è stato creato" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Il progetto di posta è stato cambiato" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Si è verificato un errore leggendo il progetto di posta" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "La connessione POP3 è fallita" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Il login POP3 è fallito" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "La connessione SMTP è fallita" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "La voce Da non è stata accettata" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "La voce Ricevente non è stata accettata" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "I dati di posta non sono stati accettati" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Invio la posta" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "La posta è stata spedita" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Il progetto fax non è stato creato" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Il progetto fax è stato creato" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Il progetto fax è stato cambiato" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Invio il fax" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Il fax è stato inviato" #. Sane backend messages msgid "flatbed scanner" -msgstr "flatbed scanner" +msgstr "scanner da tavolo" msgid "frame grabber" -msgstr "frame grabber" +msgstr "acquisitore di frame" msgid "handheld scanner" -msgstr "handheld scanner" +msgstr "scanner a mano" msgid "still camera" -msgstr "still camera" +msgstr "camera ferma" msgid "video camera" -msgstr "video camera" +msgstr "videocamera" msgid "virtual device" msgstr "dispositivo virtuale" @@ -2424,123 +2815,34 @@ msgid "Success" msgstr "Successo" msgid "Operation not supported" -msgstr "Operazione non supportata" +msgstr "L'operazione non è supportata" msgid "Operation was cancelled" -msgstr "Operazione interrotta" +msgstr "L'operazione è stata interrotta" msgid "Device busy" -msgstr "Dispositivo occupato" +msgstr "Il dispositivo è occupato" msgid "Invalid argument" -msgstr "Argomento invalido" +msgstr "L'argomento non è valido" msgid "End of file reached" -msgstr "Raggiunta la fine del file" +msgstr "E' stata raggiunta la fine del file" msgid "Document feeder jammed" -msgstr "Alimentatore fogli bloccato" +msgstr "Si è inceppato l'alimentatore dei fogli" msgid "Document feeder out of documents" -msgstr "Alimentatore fogli con fogli esauriti" +msgstr "L'alimentatore dei fogli ha esaurito la carta" msgid "Scanner cover is open" -msgstr "Il coperchio dello scanner aperto" +msgstr "Il coperchio dello scanner è aperto" msgid "Error during device I/O" -msgstr "Errore durante l'I/O sul dispositivo" +msgstr "Si è verificato un errore durante l'I/O sul dispositivo" msgid "Out of memory" -msgstr "Memoria esaurita" +msgstr "La memoria è esaurita" msgid "Access to resource has been denied" -msgstr "Acesso alla risorsa negato" - -#, fuzzy -#~ msgid "Store Medium definition" -#~ msgstr "Selezionare la definizione da cambiare" - -#, fuzzy -#~ msgid "" -#~ "Use XSane for: SCANning- photoCOPYing- FAXing-" -#~ msgstr "Usare XSane per acquisizioni, fotocopie , fax..." - -#, fuzzy -#~ msgid "Width of paper for postscript" -#~ msgstr "Larghezza della carta per postscript [mm]:" - -#, fuzzy -#~ msgid "Height of paper for postscript" -#~ msgstr "Altezza della carta per postscript [mm]:" - -#, fuzzy -#~ msgid "Left offset for postscript" -#~ msgstr "Margine sinistro per postscript [mm]:" - -#, fuzzy -#~ msgid "Bottom offset for postscript" -#~ msgstr "Margine inferiore per postscript [mm]:" - -#, fuzzy -#~ msgid "Failed to execute mail command:" -#~ msgstr "Errore nell'esecuzione del comando fax:" - -#~ msgid "Copy options" -#~ msgstr "Copia opzioni" - -#~ msgid "Saving options" -#~ msgstr "Salva opzioni" - -#, fuzzy -#~ msgid "Image options" -#~ msgstr "Opzioni XSane" - -#~ msgid "Fax options" -#~ msgstr "Opzioni Fax" - -#, fuzzy -#~ msgid "Reduce scan area" -#~ msgstr "Usa tutta l'area di scan" - -#~ msgid "" -#~ "This program is distributed under the terms\n" -#~ "of the GNU General Public License\n" -#~ msgstr "" -#~ "Questo programma viene distribuito sotto \n" -#~ "la GNU General Public License (GPL)\n" - -#~ msgid "Delete" -#~ msgstr "Cancella" - -#~ msgid "Show" -#~ msgstr "Mostra" - -#~ msgid "Rename" -#~ msgstr "Rinomina" - -#~ msgid "Increase filename counter" -#~ msgstr "Incrementa contatore nome file" - -#~ msgid "" -#~ "If the filename is of the form \"name-001.ext\" (where the number of digits " -#~ "is free) the number is increased after a scan is finished" -#~ msgstr "" -#~ "Se il nome file nella forma \"name-001.ext\" (dove il numero di cifre \n" -#~ "libero) il numero incrementato dopo che l'aquisizione terminata" - -#~ msgid "Filename extension and type of image format" -#~ msgstr "Estensione file e tipo formato dell'immagine" - -#, fuzzy -#~ msgid "Filename counter step" -#~ msgstr "Contatore dei nome file troppo grande" - -#~ msgid "Exit" -#~ msgstr "Esci" - -#~ msgid "Device options" -#~ msgstr "Opzioni dispositivo" - -#~ msgid "Preserve preview image for next program start" -#~ msgstr "" -#~ "Preserva l'immagine di anteprima per il prossimo avvio del programma" +msgstr "L'accesso alla risorsa è negato" diff --git a/po/ja.gmo b/po/ja.gmo index a3a21dd..2d8052b 100644 Binary files a/po/ja.gmo and b/po/ja.gmo differ diff --git a/po/ja.po b/po/ja.po index adb99e6..9fc68bd 100644 --- a/po/ja.po +++ b/po/ja.po @@ -4,11 +4,11 @@ # msgid "" msgstr "" -"Project-Id-Version: XSANE 0.84\n" -"POT-Creation-Date: 2002-01-22 23:34+0100\n" -"PO-Revision-Date: 2002-01-17 15:28+0900\n" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-28 12:48+900\n" "Last-Translator: Kimizuka Tomokazu \n" -"Language-Team: Japanese \n" +"Language-Team: Japanese\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=EUC-JP\n" "Content-Transfer-Encoding: 8-bit\n" @@ -20,9 +20,13 @@ msgstr " #. XSANE_COPYRIGHT_SIGN msgid "(c)" -msgstr "" +msgstr "(c)" #. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "󸵡" + #. WINDOW_ABOUT_XSANE msgid "About" msgstr "XSaneˤĤ" @@ -35,18 +39,34 @@ msgstr " msgid "authorization" msgstr "" -#. WINDOW_LICENSE -msgid "license" -msgstr "饤" +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - 饤" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "ɥ桼ѵ" #. WINDOW_INFO msgid "info" msgstr "" +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "ХåꥹȤ" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "ХåꥹȤ¸" + #. WINDOW_BATCH_SCAN msgid "batch scan" msgstr "Хå" +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "Хåΰ͡" + #. WINDOW_FAX_PROJECT msgid "fax project" msgstr "FAXץ" @@ -75,6 +95,18 @@ msgstr " msgid "rename preset area" msgstr "ץꥻåΰ͡" +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "ץꥻåΰɲ" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Τ͡" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "Τɲ" + #. WINDOW_SETUP msgid "setup" msgstr "åȥå" @@ -149,7 +181,11 @@ msgstr " #. WINDOW_STORE_MEDIUM msgid "Store medium definition" -msgstr "ޤ¸" +msgstr "Τ¸" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "ǥХȤޤ" #. MENU_FILE msgid "File" @@ -163,14 +199,26 @@ msgstr " msgid "View" msgstr "ɽ" +#. MENU_WINDOW +msgid "Window" +msgstr "ɥ" + #. MENU_HELP msgid "Help" msgstr "إ" +#. MENU_EDIT +msgid "Edit" +msgstr "Խ" + #. MENU_FILTERS msgid "Filters" msgstr "ե륿" +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "ȥ" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "XSaneˤĤ" @@ -187,9 +235,9 @@ msgstr " msgid "Save image" msgstr "᡼¸" -#. MENU_ITEM_CLOSE -msgid "Close" -msgstr "Ĥ" +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - ƥȤ¸" #. MENU_ITEM_CLONE msgid "Clone" @@ -199,6 +247,14 @@ msgstr "ʣ msgid "Scale" msgstr "Ψ" +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Ĥ" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "᤹" + #. MENU_ITEM_DESPECKLE msgid "Despeckle" msgstr "߼" @@ -207,6 +263,26 @@ msgstr " msgid "Blur" msgstr "ˤ" +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "90ž" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "180ž" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "270ž" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr " |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr " -" + #. FRAME_RAW_IMAGE msgid "Raw image" msgstr "Raw᡼" @@ -215,9 +291,9 @@ msgstr "Raw msgid "Enhanced image" msgstr "ĥ᡼" -#. BUTTON_START -msgid "Start" -msgstr "" +#. BUTTON_SCAN +msgid "Scan" +msgstr "" #. BUTTON_OK msgid "Ok" @@ -225,15 +301,15 @@ msgstr "OK" #. BUTTON_ACCEPT msgid "Accept" -msgstr "Ϥ" +msgstr "" #. BUTTON_NOT_ACCEPT msgid "Not accept" -msgstr "" +msgstr "ʤ" #. BUTTON_APPLY msgid "Apply" -msgstr "λ" +msgstr "Ŭ" #. BUTTON_CANCEL msgid "Cancel" @@ -255,9 +331,13 @@ msgstr " msgid "Overwrite" msgstr "" -#. BUTTON_ADD_AREA -msgid "Add area" -msgstr "ΰɲ" +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Хåꥹ " + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "ΰ򥹥" #. BUTTON_PAGE_DELETE msgid "Delete page" @@ -279,6 +359,10 @@ msgstr " msgid "Show image" msgstr "ɽ" +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Խ" + #. BUTTON_IMAGE_RENAME msgid "Rename image" msgstr "͡" @@ -351,6 +435,10 @@ msgstr " msgid "Skip existing filenames" msgstr "ߤΥե̾򥹥å" +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "16ӥåpnmasciiեޥåȤ¸" + #. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT msgid "Reduce 16 bit image to 8 bit" msgstr "16ӥåȲ8ӥåȤ˸" @@ -383,6 +471,10 @@ msgstr " msgid "POP3 authentification" msgstr "POP3ǧ" +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "GUIץ쥹ѥפ" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "ǥХ򥹥󤷤Ƥޤ" @@ -547,6 +639,32 @@ msgstr " msgid "unknown" msgstr "̤" +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSaneϡFree Software FoundationɽGNU̸ͭѵ\n" +"Ρ֥С󣲡װϤʹߤγƥС椫餤줫\n" +"򤷡ΥС˽äܥץ\n" +"ۤޤѹ뤳ȤǤޤ\n" +"ܥץͭѤȤϻפޤۤˤäƤϡԾڤ\n" +"ŪŬˤĤƤΰۤݾڤޤơʤݾڤԤ\n" +"ޤ\n" +"ΥץबԴǤȾ줿硢Ťɬ\n" +"ȤʤꡢΤ٤Ƥ򤢤ʤϼ뤳Ȥˤʤޤ\n" +"ΥץѤ뤿ˤʤ٤Ȥϡʲ\n" +"̵ݾڵפ򤷡Ʊդ뤳ȤǤ\n" + #. TEXT_GPL msgid "" "XSane is distributed under the terms of the GNU General Public License\n" @@ -615,6 +733,10 @@ msgstr "ź msgid "Project status:" msgstr "ץȤξ֡" +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "᡼Υե륿" + #. TEXT_MEDIUM_DEFINITION_NAME msgid "Medium Name:" msgstr "̾" @@ -623,15 +745,7 @@ msgstr " #, c-format msgid "" "Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" -msgstr "" - -#. TEXT_X_SCALE_FACTOR -msgid "X-Scale factor:" -msgstr "XʬΨ" - -#. TEXT_Y_SCALE_FACTOR -msgid "Y-Scale factor:" -msgstr "YʬΨ" +msgstr "%d x %d, %dӥå/, %d, %1.0f dpi x %1.0f dpi, %1.1f %s" #. TEXT_DESPECKLE_RADIUS msgid "Despeckle radius:" @@ -641,6 +755,38 @@ msgstr " msgid "Blur radius:" msgstr "ˤϰϡ" +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "̾ʤ" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "ΰ̾" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "⡼" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "١" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "ӥåȿ١" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "򤵤줿" + #. TEXT_SETUP_PRINTER_SEL msgid "Printer selection:" msgstr "ץ" @@ -737,6 +883,10 @@ msgstr "TIFF 8 msgid "TIFF lineart image compression" msgstr "TIFF 饤󥢡Ȳ" +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "ϰϤɽ" + #. TEXT_SETUP_PREVIEW_OVERSAMPLING msgid "Preview oversampling:" msgstr "Сץ󥰤ץӥ塼" @@ -809,6 +959,10 @@ msgstr "ɸ msgid "Fine mode option:" msgstr "٥⡼ɤΥץ" +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "ץνͤꡧ" + #. TEXT_SETUP_FAX_VIEWER msgid "Viewer (Postscript):" msgstr "ӥ塼(PostScript)" @@ -861,6 +1015,18 @@ msgstr " msgid "Outputfile option:" msgstr "ϥե륪ץ" +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "GUIץ쥹ѥפ" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUIFDץ" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "ץ쥹ɡ" + #. TEXT_SETUP_PERMISSION_USER msgid "user" msgstr "桼" @@ -873,6 +1039,9 @@ msgstr " msgid "all" msgstr "٤" +msgid "new media" +msgstr "" + #. NOTEBOOK_SAVING_OPTIONS msgid "Save" msgstr "¸" @@ -925,6 +1094,10 @@ msgstr " msgid "Show gamma curve" msgstr "޶ɽ" +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Хåɽ" + #. MENU_ITEM_SHOW_STANDARDOPTIONS msgid "Show standard options" msgstr "ɸ४ץɽ" @@ -977,6 +1150,10 @@ msgstr " msgid "Rotate postscript" msgstr "PostScriptž" +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "ΤԽ" + #. MENU_ITEM_SAVE_DEVICE_SETTINGS msgid "Save device settings" msgstr "ǥХ¸" @@ -989,9 +1166,13 @@ msgstr " msgid "Change directory" msgstr "ǥ쥯ȥѹ" -#. MENU_ITEM_XSANE_LICENSE -msgid "License" -msgstr "饤" +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "EULAɽ" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "饤(GPL)ɽ" #. MENU_ITEM_XSANE_DOC msgid "XSane doc" @@ -1041,6 +1222,26 @@ msgstr "JPEG DCT msgid "pack bits" msgstr "ѥåӥå" +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "饤()" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "饤(С)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "ԥܥ" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "ȥԥܥ" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Сȥԥܥ" + #. MENU_ITEM_LINEART_MODE_STANDARD msgid "Standard options window (lineart)" msgstr "ɸ४ץ󥦥ɥʥ饤󥢡ȡ" @@ -1065,21 +1266,25 @@ msgstr " msgid "Add selection to list" msgstr "Ƥɲ" -#. MENU_ITEM_PRESET_AREA_RENAME -msgid "Rename definiton" -msgstr "͡" +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Τɲ" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "ƥ͡" -#. MENU_ITEM_PRESET_AREA_DELETE -msgid "Delete definition" -msgstr "" +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "ƥ" -#. MENU_OTEM_PRESET_AREA_MOVE_UP -msgid "Move up" -msgstr "ذư" +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "ƥذư" -#. MENU_OTEM_PRESET_AREA_MOVE_DWN -msgid "Move down" -msgstr "ذư" +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "ƥ򲼤ذư" #. PROGRESS_SCANNING msgid "Scanning" @@ -1130,6 +1335,10 @@ msgstr " msgid "Bluring image" msgstr "ˤޤ" +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCRʹ" + #. DESC_SCAN_START msgid "Start scan " msgstr "󳫻 " @@ -1148,13 +1357,25 @@ msgstr " #. DESC_XSANE_MODE msgid "" -"save-, view-, photocopy-, fax- or " -"mail-" +"save-, view-, photocopy-, fax- or mail-" msgstr "" +"¸-, ӥ塼-, եȥԡ-, FAX- ޤ " +"᡼-" #. DESC_XSANE_MEDIUM -msgid "Select source medium type" -msgstr "ǺΥǥ" +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"ΤΥפ򤷤Ƥ\n" +"ȥ͡ࡢˤϡƥȥ˥塼ȤäƤ" +"ʥޥܥ\n" +"Τκ뤿ΥץѲǽˤˤϡ˥塼Τ" +"ԽƤ" #. DESC_FILENAME_COUNTER_STEP msgid "Value that is added to filenamecounter after scan" @@ -1202,10 +1423,26 @@ msgstr " msgid "Enter subject of email" msgstr "᡼ɽ" -#. DESC_PRESET_AREA_NAME +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "źջΥե륿פ" + +#. DESC_PRESET_AREA_RENAME msgid "Enter new name for preset area" msgstr "ץꥻåΰˤĤ̾򿷵" +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "ץꥻåΰˤĤ̾򿷵" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Τ򿷵" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Τ" + #. DESC_PRINTER_SELECT msgid "Select printerdefinition " msgstr "ץ󥿤β٤ " @@ -1239,8 +1476,8 @@ msgid "Set number of copies" msgstr "ԡ򥻥å" #. DESC_NEGATIVE -msgid "Negative: Invert colors for scanning negatives " -msgstr "΢Ƥ̤΢Ƥ֤ǥ " +msgid "Negative: Invert colors for scanning negatives " +msgstr "΢Ƥ̤΢Ƥ֤ǥ " #. DESC_GAMMA msgid "Set gamma value" @@ -1297,41 +1534,41 @@ msgstr " #. DESC_RGB_DEFAULT msgid "" "RGB default: Set enhancement values for red, green and blue to default " -"values :\n" +"values :\n" " gamma = 1.0\n" " brightness = 0\n" " contrast = 0" msgstr "" -"RGBǥե֡͡СĤؤζĴͤΥǥեͤ򥻥å \n" +"RGBǥե֡͡СĤؤζĴͤΥǥեͤ򥻥å \n" " = 1.0\n" " = 0\n" "ȥ饹 = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast " +msgid "Autoadjust gamma, brightness and contrast " msgstr "" -"򤵤줿ΰ˱ơ͡١ȥ饹ȤưĴ " -"" +"򤵤줿ΰ˱ơ͡١ȥ饹ȤưĴ " #. DESC_ENH_DEFAULT msgid "" -"Set default enhancement values :\n" +"Set default enhancement values :\n" "gamma = 1.0\n" "brightness = 0\n" "contrast = 0" msgstr "" -"ǥեȤζĴͤ򥻥å :\n" +"ǥեȤζĴͤ򥻥å :\n" " = 1.0\n" " = 0\n" "ȥ饹 = 0" #. DESC_ENH_RESTORE -msgid "Restore enhancement values from preferences " -msgstr "ꤷĴͤ " +msgid "Restore enhancement values from preferences " +msgstr "ꤷĴͤ " #. DESC_ENH_STORE -msgid "Store active enhancement values to preferences " -msgstr "ꤷĴͤ¸ " +msgid "Store active enhancement values to preferences " +msgstr "ꤷĴͤ¸ " #. DESC_HIST_INTENSITY msgid "Show histogram of intensity/gray " @@ -1466,6 +1703,18 @@ msgid "" "If filename counter is automatically increased, used numbers are skipped" msgstr "ե̾Υ󥿤ưŪäݡѺѤߤֹϤȤФޤ" +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"16ӥåȲPNMեޥåȤ¸ȤϡХʥեޥåȤ" +"˥եޥåȤȤäƤХʥեޥåȤϿᡢ" +"٤ƤΥץǤϥݡȤƤޤ󡣥եޥåȤ¿Υץ" +"ǥݡȤƤޤؤʥեޤ" + #. DESC_REDUCE_16BIT_TO_8BIT msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" msgstr "16ӥåȥ顼ǥʤ줿顢8ӥåȤ¸" @@ -1502,6 +1751,10 @@ msgstr "XSane msgid "Use an own colormap for preview if display depth is 8 bpp" msgstr "ǥץ쥤٤8ӥåȤʤ顢ץӥ塼˸ͭΥ顼ޥåפȤ" +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "ɽϰϤ" + #. DESC_PREVIEW_OVERSAMPLING msgid "Value with that the calculated preview resolution is multiplied" msgstr "ץӥ塼٤˳ݤ줿׻" @@ -1650,8 +1903,8 @@ msgid "Enter command to be executed to view a mail image" msgstr "᡼륤᡼ɽΤμ¹ԥޥɤ" #. DESC_HTML_MAIL -msgid "Mail is sent in html mode, images are displayed directly" -msgstr "᡼HTML⡼ɤ졢ľɽޤ" +msgid "Mail is sent in html mode, place image with: " +msgstr "᡼HTML⡼ɤ졢ȤȤ֤ޤ" #. DESC_OCR_COMMAND msgid "Enter command to start ocr program" @@ -1665,6 +1918,21 @@ msgstr " msgid "Enter option of the ocr program to define output file" msgstr "ϥեOCRץΥץ" +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "OCRץबGUIץ쥹ѥפ򥵥ݡȤ뤫" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"GUI⡼ɤǽϥեǥץ뤿OCRץΥץ" +"" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "ʹԾޡ륭ɤ" + #. DESC_PERMISSION_READ msgid "read" msgstr "ɹ" @@ -1677,6 +1945,10 @@ msgstr " msgid "execute" msgstr "¹" +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "ƤХåɲ" + #. DESC_PIPETTE_WHITE msgid "Pick white point" msgstr "ԥå" @@ -1699,6 +1971,10 @@ msgid "Zoom 20% out" msgstr "20%̾" #. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "礹֤򥯥å" + +#. DESC_ZOOM_AREA msgid "Zoom into selected area" msgstr "ΰ" @@ -1714,43 +1990,65 @@ msgstr " msgid "Autoselect scanarea" msgstr "ΰμư" +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "ΰμưĥ" + #. DESC_DELETE_IMAGES msgid "Delete preview image cache" msgstr "ץӥ塼Υå" #. DESC_PRESET_AREA -msgid "Preset area" -msgstr "ץꥻåΰ" +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"ץꥻåΰ衧\n" +"ΰɲäޤϴ¸ΰԽˤϡƥȥ˥塼ʥޥ" +"ˤȤäƤ" #. DESC_ROTATION msgid "Rotate preview and scan" msgstr "ץӥ塼žƥ" +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "򥢥ڥΨ" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "β֤" + #. DESC_VIEWER_OCR msgid "Optical Character Recognition" msgstr "ץʸǧ" +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "ѹ򸵤᤹" + #. DESC_VIEWER_CLONE msgid "Clone image" msgstr "ʣ" -#. DESC_VIEWER_ROTATE90 +#. DESC_ROTATE90 msgid "Rotate image 90 degree" msgstr "90ž" -#. DESC_VIEWER_ROTATE180 +#. DESC_ROTATE180 msgid "Rotate image 180 degree" msgstr "180ž" -#. DESC_VIEWER_ROTATE270 +#. DESC_ROTATE270 msgid "Rotate image 270 degree" msgstr "270ž" -#. DESC_VIEWER_MIRROR_X +#. DESC_MIRROR_X msgid "Mirror image at vertical axis" msgstr "ľ" -#. DESC_VIEWER_MIRROR_Y +#. DESC_MIRROR_Y msgid "Mirror image at horizontal axis" msgstr "ʿ" @@ -1760,11 +2058,59 @@ msgstr " #. DESC_STORE_MEDIUM msgid "Store medium" -msgstr "ޤ¸" +msgstr "Τ¸" #. DESC_DELETE_MEDIUM msgid "Delete active medium" -msgstr "ƥ֤ʿޤ" +msgstr "ƥ֤Τ" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Ψ" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "XʬΨ" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "YʬΨ" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Ψ[pixel]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "⤵Ψ[pixel]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "ΥХåꥹ" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "ХåꥹȤ¸" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "ХåꥹȤ" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "ΰ͡" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "ץӥ塼ΰХåꥹȤɲ" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "ΰХåꥹȤ" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "ư⡼ɤؤ" #. ERR_HOME_DIR msgid "Failed to determine home directory:" @@ -1779,9 +2125,8 @@ msgid "Filename too long" msgstr "ե̾Ĺޤ" #. ERR_CREATE_TEMP_FILE -#, fuzzy msgid "Could not create temporary file" -msgstr "ץӥ塼եޤ" +msgstr "եޤ" #. ERR_SET_OPTION msgid "Failed to set value of option" @@ -1829,7 +2174,6 @@ msgid "Failed to open" msgstr "ޤ" #. ERR_CREATE_SECURE_FILE -#, fuzzy msgid "Could not create secure file (may be a link does exist):" msgstr "ʥեޤʥڤʤɡˡ" @@ -1869,6 +2213,10 @@ msgstr "LIBTIFF msgid "LIBPNG reports error" msgstr "LIBPNG顼֤Ƥޤ" +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG顼֤Ƥޤ" + #. ERR_UNKNOWN_TYPE msgid "unknown type" msgstr "̤ΤΥפǤ" @@ -1877,6 +2225,14 @@ msgstr "̤ msgid "unknown constraint type" msgstr "̤ΤǤ" +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "ץ󤬶(NULL)Ǥ" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "ХåɤΥХǤХåɤκԤ𤷤Ƥ" + #. ERR_FAILED_EXEC_DOC_VIEWER msgid "Failed to execute documentation viewer:" msgstr "ʸӥ塼μ¹Ԥ˼Ԥޤ" @@ -1989,6 +2345,10 @@ msgstr " msgid "Information" msgstr "" +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "ҥץΥ顼" + #. ERR_FAILED_CREATE_FILE msgid "Failed to create file:" msgstr "եκ˼Ԥޤ" @@ -2059,7 +2419,6 @@ msgid "[OPTION]... [DEVICE]" msgstr "[ץ]...[ǥХ]" #. TEXT_HELP -#, fuzzy msgid "" "Start up graphical user interface to access SANE (Scanner Access Now Easy) " "devices.\n" @@ -2070,8 +2429,8 @@ msgid "" " -v, --version print version information\n" " -l, --license print license information\n" "\n" -" -d, --device-settings file load device settings from file (without " -"\".drc\")\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" "\n" " -V, --viewer start with viewer-mode active (default)\n" " -s, --save start with save-mode active\n" @@ -2080,8 +2439,6 @@ msgid "" " -m, --mail start with mail-mode active\n" " -n, --no-mode-selection disable menu for XSane mode selection\n" "\n" -" -M, --Medium-calibration enable medium calibration mode\n" -"\n" " -F, --Fixed fixed main window size (overwrite preferences " "value)\n" " -R, --Resizeable resizable, scrolled main window (overwrite " @@ -2105,8 +2462,8 @@ msgstr "" " -v, --version Сɽ\n" " -l, --license 饤󥹾ɽ\n" "\n" -" -d, --device-settings file " -"ǥХե뤫ɤ߹\".drc\"ȴǡ\n" +" -d, --device-settings file ǥХե뤫ɤ߹\".drc\"ȴ" +"ǡ\n" "\n" " -V, --viewer ӥ塼⡼ ƥ֤ǵư\n" " -s, --save ֥⡼ ƥ֤ǵư\n" @@ -2115,14 +2472,14 @@ msgstr "" " -m, --mail ᡼⡼ ƥ֤ǵư\n" " -n, --no-mode-selection XSaneΥ⡼˥塼򥪥դˤ\n" "\n" -" -F, --Fixed " -"ᥤ󥦥ɥΥͤ񤭡\n" -" -R, --Resizeable " -"ᥤ󥦥ɥ򥹥롦ꥵǽˤͤ񤭡\n" +" -F, --Fixed ᥤ󥦥ɥΥͤ" +"\n" +" -R, --Resizeable ᥤ󥦥ɥ򥹥롦ꥵǽˤ" +"ͤ񤭡\n" "\n" " -p, --print-filenames XSaneǺե̾\n" -" -N, --force-filename name " -"ե̾ơ桼ե̵̾ˤ\n" +" -N, --force-filename name ե̾ơ桼ե̾" +"̵ˤ\n" "\n" " --display X11-display X11Υǥץ쥤Ϥ˥쥯Ȥ\n" " --no-xshm ͭΥ᡼Ȥʤ\n" @@ -2138,9 +2495,8 @@ msgid "" "This function provides access to scanners and other image acquisition " "devices through the SANE (Scanner Access Now Easy) interface." msgstr "" -"εǽϡ󥿡եSANE(Scanner Access Now " -"Easy)̤ƥʤϤȤߥǥХؤΥ󶡤ޤ" -"" +"εǽϡ󥿡եSANE(Scanner Access Now Easy)̤ƥʤ" +"ȤߥǥХؤΥ󶡤ޤ" #. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" #. XSANE_GIMP_MENU_DIALOG @@ -2159,6 +2515,27 @@ msgstr "/Xtns/XSane/Device dialog..." msgid "/Xtns/XSane/" msgstr "/Xtns/XSane/" +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"ͤͳ\n" +"1) SANEݡȤƤǥХºݤˤʤ\n" +"2) ݡȤƤǥХǤ\n" +"3) ǥХեΥѡߥåԵĤˤʤäƤ---롼ȸ¤ǻ" +"ߤƤ\n" +"4) ХåɤSANEˤäƥɤƤʤ(man sane-dll)\n" +"5) ХåɤΥե졼ʤ(man sane-\"backendname" +"\")\n" +"6) դİʾΥСSANE󥹥ȡ뤵Ƥ뤫" + #. strings that are used in structures, so it is not allowed to use _()/gettext() here #. gettext_noop does mark these texts but does not change the string #. MENU_ITEM_SURFACE_FULL_SIZE @@ -2229,9 +2606,9 @@ msgstr " msgid "letter land." msgstr "쥿 " -#. MENU_ITEM_MEDIUM_FULL_RANGE -msgid "Full range" -msgstr "ե" +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "ե륫顼" #. MENU_ITEM_MEDIUM_SLIDE msgid "Slide" @@ -2273,6 +2650,74 @@ msgstr " msgid "Rossmann negative HR 100" msgstr "Rossmann HR 100" +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "᡼ץȤϺޤǤ" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "᡼ץȤޤ" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "᡼ץȤѹޤ" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "᡼ץȤɹ˥顼" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "POP3³˼Ԥޤ" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "POP3˼Ԥޤ" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "SMTP³˼Ԥޤ" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "пͤĤޤ" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "ͤĤޤ" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "᡼ǡĤޤ" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "᡼" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "᡼Ƥޤ" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "FAXץȤޤǤ" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "FAXץȤޤ" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "FAXץȤѹޤ" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "FAX" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "FAXޤ" + #. Sane backend messages msgid "flatbed scanner" msgstr "եåȥ٥åɥ" diff --git a/po/nl.gmo b/po/nl.gmo index dd0b226..5f46b6f 100644 Binary files a/po/nl.gmo and b/po/nl.gmo differ diff --git a/po/nl.po b/po/nl.po index adc76d4..46abca5 100644 --- a/po/nl.po +++ b/po/nl.po @@ -1,16 +1,20 @@ # Translations for XSane English->Dutch # Copyright (C) 2001 Free Software Foundation, Inc. -# W. Sinke , 2001, 2002. -# +# W. Sinke , 2001, 2002,2004. +# <>, 2004. +# +# msgid "" msgstr "" -"Project-Id-Version: xsane 0.84\n" -"POT-Creation-Date: 2002-01-22 23:34+0100\n" -"PO-Revision-Date: 2002-01-15 01:10+0100\n" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-26 11:29+0200\n" "Last-Translator: Wim Sinke \n" +"Language-Team: Dutch \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Type: text/plain; charset=iso-8859-15\n" "Content-Transfer-Encoding: 8bit\n" +"Report-Msgid-Bugs-To: \n" #. Please translate this to the correct directory name (eg. german=>de) #. XSANE_LANGUAGE_DIR @@ -22,38 +26,58 @@ msgid "(c)" msgstr "" #. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "duplikaat-van-" + #. WINDOW_ABOUT_XSANE msgid "About" msgstr "Over" #. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION msgid "About translation" -msgstr "Over vertaling" +msgstr "Over de vertaling" #. WINDOW_AUTHORIZE msgid "authorization" msgstr "authorizatie" -#. WINDOW_LICENSE -msgid "license" -msgstr "licentie" +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - de gebruikersrechten" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Eindgebruikersovereenkomst" #. WINDOW_INFO msgid "info" msgstr "Informatie" +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "laad batch lijst" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "bewaar batch lijst" + # Goed genoeg? #. WINDOW_BATCH_SCAN msgid "batch scan" msgstr "batch scan" +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "batchgebied hernoemen" + #. WINDOW_FAX_PROJECT msgid "fax project" msgstr "faxproject" #. WINDOW_FAX_RENAME msgid "rename fax page" -msgstr "Faxpagina hernoemen" +msgstr "faxpagina hernoemen" #. WINDOW_FAX_INSERT msgid "insert ps-file into fax" @@ -61,7 +85,7 @@ msgstr "ps-bestand in fax voegen" #. WINDOW_MAIL_PROJECT msgid "mail project" -msgstr "mailproject" +msgstr "e-mailproject" #. WINDOW_MAIL_RENAME msgid "rename mail image" @@ -69,11 +93,23 @@ msgstr "e-mail afbeelding hernoemen" #. WINDOW_MAIL_INSERT msgid "insert file into mail" -msgstr "voeg bestand in e-mail" +msgstr "voeg afbeelding in e-mail" #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" -msgstr "vooringesteld gebied hernoemen" +msgstr "scangebied hernoemen" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "scangebied toevoegen" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Medium hernoemen" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "medium toevoegen" #. WINDOW_SETUP msgid "setup" @@ -97,11 +133,11 @@ msgstr "Geavanceerde opties" #. WINDOW_DEVICE_SELECTION msgid "device selection" -msgstr "Apparaat selectie" +msgstr "apparaat selectie" #. WINDOW_PREVIEW msgid "Preview" -msgstr "Voorbeeld" +msgstr "Voorvertoning" #. WINDOW_VIEWER msgid "Viewer" @@ -121,11 +157,11 @@ msgstr "kies uitvoernaam" #. WINDOW_SAVE_SETTINGS msgid "save device settings" -msgstr "Apparaatinstellingen bewaren" +msgstr "apparaatinstellingen bewaren" #. WINDOW_LOAD_SETTINGS msgid "load device settings" -msgstr "Apparaatinstellingen laden" +msgstr "apparaatinstellingen laden" #. WINDOW_CHANGE_WORKING_DIR msgid "change working directory" @@ -141,16 +177,19 @@ msgstr "Schaal afbeelding" #. WINDOW_DESPECKLE msgid "Despeckle image" -msgstr "Vlekken wegwerken" +msgstr "Spikkels wegwerken" #. WINDOW_BLUR msgid "Blur image" msgstr "Afbeelding vervagen" #. WINDOW_STORE_MEDIUM -#, fuzzy msgid "Store medium definition" -msgstr "Definitie hernoemen" +msgstr "Bewaar mediumdefinitie" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Geen apparaten vrij" #. MENU_FILE msgid "File" @@ -164,14 +203,26 @@ msgstr "Instellingen" msgid "View" msgstr "Bekijk" +#. MENU_WINDOW +msgid "Window" +msgstr "Venster" + #. MENU_HELP msgid "Help" msgstr "Help" +#. MENU_EDIT +msgid "Edit" +msgstr "Bewerk" + #. MENU_FILTERS msgid "Filters" msgstr "Filters" +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometrie" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Over XSane" @@ -182,15 +233,15 @@ msgstr "Informatie" #. MENU_ITEM_QUIT msgid "Quit" -msgstr "Stoppen" +msgstr "Afsluiten" #. MENU_ITEM_SAVE_IMAGE msgid "Save image" msgstr "Bewaar afbeelding" -#. MENU_ITEM_CLOSE -msgid "Close" -msgstr "Sluiten" +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - opslaan als tekst" #. MENU_ITEM_CLONE msgid "Clone" @@ -200,25 +251,53 @@ msgstr "Kloon" msgid "Scale" msgstr "Schaal" +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Sluiten" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Ongedaan maken" + #. MENU_ITEM_DESPECKLE msgid "Despeckle" -msgstr "Ontvlekken" +msgstr "Spikkels wegwerken" #. MENU_ITEM_BLUR msgid "Blur" msgstr "Vervagen" +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Draaien 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Draaien 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Draaien 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Spiegelen |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Spiegelen -" + #. FRAME_RAW_IMAGE msgid "Raw image" -msgstr "Ruwe afbeelding" +msgstr "Onbewerkte afbeelding" #. FRAME_ENHANCED_IMAGE msgid "Enhanced image" msgstr "Verbeterde afbeelding" -#. BUTTON_START -msgid "Start" -msgstr "Start" +#. BUTTON_SCAN +msgid "Scan" +msgstr "Scan" #. BUTTON_OK msgid "Ok" @@ -256,9 +335,13 @@ msgstr "Doorzoeken" msgid "Overwrite" msgstr "Overschrijven" -#. BUTTON_ADD_AREA -msgid "Add area" -msgstr "Gebied toevoegen" +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Scan batch lijst" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Scan geselecteerde gebied" #. BUTTON_PAGE_DELETE msgid "Delete page" @@ -280,6 +363,10 @@ msgstr "Afbeelding verwijderen" msgid "Show image" msgstr "Afbeelding bekijken" +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Afbeelding bewerken" + #. BUTTON_IMAGE_RENAME msgid "Rename image" msgstr "Afbeelding hernoemen" @@ -310,19 +397,19 @@ msgstr "Printer verwijderen" #. BUTTON_PREVIEW_ACQUIRE msgid "Acquire preview" -msgstr "Voorbeeldscan maken" +msgstr "Preview maken" #. BUTTON_PREVIEW_CANCEL msgid "Cancel preview" -msgstr "Voorbeeldscan afbreken" +msgstr "Preview afbreken" #. BUTTON_DISCARD_IMAGE msgid "Discard image" -msgstr "Afbeelding verwijderen" +msgstr "Afbeelding weggooien" #. BUTTON_DISCARD_ALL_IMAGES msgid "Discard all images" -msgstr "Alle afbeeldingen verwijderen" +msgstr "Alle afbeeldingen weggooien" #. BUTTON_DO_NOT_CLOSE msgid "Do not close" @@ -347,12 +434,16 @@ msgstr "Apparaatinstellingen bewaren bij verlaten" #. RADIO_BUTTON_OVERWRITE_WARNING msgid "Overwrite warning" -msgstr "Overschrijfalarm" +msgstr "Waarschuwing bij overschrijving" #. RADIO_BUTTON_SKIP_EXISTING_NRS msgid "Skip existing filenames" msgstr "Bestaande bestandnamen overslaan" +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Bewaar 16 bit PNM in ASCII formaat" + #. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT msgid "Reduce 16 bit image to 8 bit" msgstr "16 bits afbeelding reduceren naar 8 bits" @@ -363,7 +454,7 @@ msgstr "Vaste hoofdvenstergrootte" #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA msgid "Disable gimp preview gamma" -msgstr "Preview-gamma voor Gimp deactiveren" +msgstr "Preview gamma voor Gimp deactiveren" #. RADIO_BUTTON_PRIVATE_COLORMAP msgid "Use private colormap" @@ -385,6 +476,10 @@ msgstr "Automatisch kleuren verbeteren" msgid "POP3 authentification" msgstr "POP3 legalisatie" +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Gebruik GUI progressie pipe" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Zoeken naar apparaten" @@ -399,7 +494,7 @@ msgstr "XSane opties" #. TEXT_XSANE_MODE msgid "XSane mode" -msgstr "XSane doel" +msgstr "XSane mode" #. TEXT_FILENAME_COUNTER_STEP msgid "Step" @@ -507,7 +602,7 @@ msgstr "Paswoordoverdracht is veilig" #. TEXT_AUTHORIZATION_INSECURE msgid "Backend requests plain-text password" -msgstr "Backend heeft platte-tekst paswoord nodig" +msgstr "Backend vraagt om een onbeveiligd paswoord" #. TEXT_USERNAME msgid "Username :" @@ -549,6 +644,33 @@ msgstr "gecompileerd met GIMP-" msgid "unknown" msgstr "onbekend" +# TBD +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane wordt gedistribueerd onder de voorwaarden van de GNU General Public\n" +"License, zoals gepubliseerd door de Free Software Foundation; hetzij\n" +"versie 2 van de licentie of (naar keuze) iedere latere versie\n" +"\n" +"Dit programma wordt gedistribueerd in de hoop dat het nuttig is, maar\n" +"ZONDER ENIGE GARANTIE; zelfs zonder de impliciete garantie van \n" +"VERHANDELBAARHEID of de BRUIKBAARHEID VOOR EEN SPECIAAL DOEL.\n" +"Als het programma defekt blijkt, dan zijn onderhouds-, reparatie- en\n" +"verbeteringskosten voor eigen rekening. Om dit programma te gebruiken moet\n" +"je de volgende \"GEEN GARANTIE\" verklaring gelezen, begrepen en\n" +"geaccepteerd hebben.\n" + # TBD #. TEXT_GPL msgid "" @@ -597,7 +719,7 @@ msgid "" "by Oliver Rauch\n" "Email: Oliver.Rauch@rauch-domain.de\n" msgstr "" -"Vertaling naar Nederlands\n" +"Vertaling naar het Nederlands\n" "door Wim Sinke\n" "E-mail: sinke@wirehub.nl\n" @@ -611,47 +733,75 @@ msgstr "Gescande paginas: " #. TEXT_MAIL_TEXT msgid "Email text:" -msgstr "E-mail text:" +msgstr "E-mail tekst:" #. TEXT_ATTACHMENTS msgid "Attachments:" -msgstr "Attachments:" +msgstr "Aanhangsels:" #. TEXT_MAIL_STATUS msgid "Project status:" msgstr "Projectstatus:" +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "E-mail afbeelding bestandstype:" + #. TEXT_MEDIUM_DEFINITION_NAME msgid "Medium Name:" -msgstr "" +msgstr "Naam medium:" #. TEXT_VIEWER_IMAGE_INFO #, c-format msgid "" "Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" msgstr "" -"Grootte %d x %d pixel, %d bit/kleur, %d kleuren, %1.0f dpi x %1.0f dpi, " -"%1.1f %s" - -#. TEXT_X_SCALE_FACTOR -msgid "X-Scale factor:" -msgstr "Vergroting in x-richting:" - -#. TEXT_Y_SCALE_FACTOR -msgid "Y-Scale factor:" -msgstr "Vergroting in y-richting" +"Grootte %d x %d pixels, %d bit/kleur, %d kleuren, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" #. TEXT_DESPECKLE_RADIUS msgid "Despeckle radius:" -msgstr "Ontvlekradius:" +msgstr "Ontspikkelradius:" #. TEXT_BLUR_RADIUS msgid "Blur radius:" msgstr "Vervagingsradius:" +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(geen naam)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Naam van gebied:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "XSane mode" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Linksboven:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Grootte:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Resolutie:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bits diepte:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "zoals geselecteerd" + #. TEXT_SETUP_PRINTER_SEL msgid "Printer selection:" -msgstr "Printerselectie" +msgstr "Printerselectie:" #. TEXT_SETUP_PRINTER_NAME msgid "Name:" @@ -659,7 +809,7 @@ msgstr "Naam:" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD msgid "Command:" -msgstr "Commando" +msgstr "Commando:" #. TEXT_SETUP_COPY_NR_OPT msgid "Copy number option:" @@ -745,25 +895,29 @@ msgstr "TIFF 8 bit compressie" msgid "TIFF lineart image compression" msgstr "TIFF lineart compressie" +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Bekijk range als:" + #. TEXT_SETUP_PREVIEW_OVERSAMPLING msgid "Preview oversampling:" -msgstr "Voorbeeldscan oversampling:" +msgstr "Preview oversampling:" #. TEXT_SETUP_PREVIEW_GAMMA msgid "Preview gamma:" -msgstr "Voorbeeldscan gamma:" +msgstr "Preview gamma:" #. TEXT_SETUP_PREVIEW_GAMMA_RED msgid "Preview gamma red:" -msgstr "Voorbeeldscan gamma rood:" +msgstr "Preview gamma rood:" #. TEXT_SETUP_PREVIEW_GAMMA_GREEN msgid "Preview gamma green:" -msgstr "Voorbeeldscan gamma groen:" +msgstr "Preview gamma groen:" #. TEXT_SETUP_PREVIEW_GAMMA_BLUE msgid "Preview gamma blue:" -msgstr "Voorbeeldscan gamma blauw:" +msgstr "Preview gamma blauw:" #. TEXT_SETUP_LINEART_MODE msgid "Threshold option:" @@ -775,7 +929,7 @@ msgstr "Automatische document invoer mode:" #. TEXT_SETUP_PREVIEW_PIPETTE_RANGE msgid "Preview pipette range" -msgstr "Voorbeeldscan pipetbereik" +msgstr "Preview pipetbereik" #. TEXT_SETUP_THRESHOLD_MIN msgid "Threshold minimum:" @@ -817,6 +971,10 @@ msgstr "Normale modus optie:" msgid "Fine mode option:" msgstr "Fijne modus optie:" +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Geef programma standaardwaarden:" + #. TEXT_SETUP_FAX_VIEWER msgid "Viewer (Postscript):" msgstr "Bekijkprogramma (PostScript):" @@ -869,6 +1027,18 @@ msgstr "Invoeroptie:" msgid "Outputfile option:" msgstr "Uitvoeroptie:" +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Gebruik GUI progressie pipe:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUI uitvoer-fd optie:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Progressie sleutel:" + #. TEXT_SETUP_PERMISSION_USER msgid "user" msgstr "gebruiker" @@ -881,9 +1051,12 @@ msgstr "groep" msgid "all" msgstr "allemaal" +msgid "new media" +msgstr "nieuwe media" + #. NOTEBOOK_SAVING_OPTIONS msgid "Save" -msgstr "Bewaar" +msgstr "Opslaan" #. NOTEBOOK_IMAGE_OPTIONS msgid "Image" @@ -895,11 +1068,11 @@ msgstr "Kopi #. NOTEBOOK_FAX_OPTIONS msgid "Fax" -msgstr "Fax" +msgstr "Faxen" #. NOTEBOOK_MAIL_OPTIONS msgid "Mail" -msgstr "E-mail" +msgstr "E-mailen" #. NOTEBOOK_OCR_OPTIONS msgid "OCR" @@ -933,6 +1106,11 @@ msgstr "Laat histogram zien" msgid "Show gamma curve" msgstr "Laat gammakromme zien" +# +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Batch scan tonen" + #. MENU_ITEM_SHOW_STANDARDOPTIONS msgid "Show standard options" msgstr "Laat standaard opties zien" @@ -947,7 +1125,7 @@ msgstr "Configuratie" #. MENU_ITEM_LENGTH_UNIT msgid "Length unit" -msgstr "Eenheid voor lengtes" +msgstr "Lengteeenheid" #. SUBMENU_ITEM_LENGTH_MILLIMETERS msgid "millimeters" @@ -963,7 +1141,7 @@ msgstr "inch" #. MENU_ITEM_UPDATE_POLICY msgid "Update policy" -msgstr "Bijwerken" +msgstr "Bijwerk beleid" #. SUBMENU_ITEM_POLICY_CONTINUOUS msgid "continuous" @@ -985,6 +1163,10 @@ msgstr "Laat resolutie lijst zien" msgid "Rotate postscript" msgstr "Draai PostScript" +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Verander mediumdefinitie" + #. MENU_ITEM_SAVE_DEVICE_SETTINGS msgid "Save device settings" msgstr "Bewaar apparaatinstellingen" @@ -997,9 +1179,13 @@ msgstr "Laad apparaatinstellingen" msgid "Change directory" msgstr "Verander map" -#. MENU_ITEM_XSANE_LICENSE -msgid "License" -msgstr "Licentie" +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Gebruikersovereenkomst (EULA)" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Licentie (GPL)" #. MENU_ITEM_XSANE_DOC msgid "XSane doc" @@ -1049,6 +1235,26 @@ msgstr "JPEG DCT compressie" msgid "pack bits" msgstr "gepackte bits" +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Slider (Vergroting)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Slider (Scrollbar)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Spinbutton" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Scale en Spinbutton" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Scrollbar en Spinbutton" + #. MENU_ITEM_LINEART_MODE_STANDARD msgid "Standard options window (lineart)" msgstr "Standaard opties venster (z/w)" @@ -1073,21 +1279,25 @@ msgstr "zoals extentie" msgid "Add selection to list" msgstr "Voeg selectie toe aan lijst" -#. MENU_ITEM_PRESET_AREA_RENAME -msgid "Rename definiton" -msgstr "Definitie hernoemen" +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Mediumdefinitie toevoegen" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Element hernoemen" -#. MENU_ITEM_PRESET_AREA_DELETE -msgid "Delete definition" -msgstr "Definitie verwijderen" +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Element verwijderen" -#. MENU_OTEM_PRESET_AREA_MOVE_UP -msgid "Move up" -msgstr "Naar boven" +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Element naar boven" -#. MENU_OTEM_PRESET_AREA_MOVE_DWN -msgid "Move down" -msgstr "Naar beneden" +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Element naar beneden" #. PROGRESS_SCANNING msgid "Scanning" @@ -1124,7 +1334,7 @@ msgstr "Afbeelding bewaren" #. PROGRESS_CLONING_DATA msgid "Cloning image" -msgstr "Plaatje kloneren" +msgstr "Afbeelding dupliceren" #. PROGRESS_SCALING_DATA msgid "Scaling image" @@ -1132,12 +1342,16 @@ msgstr "Schalen afbeelding" #. PROGRESS_DESPECKLING_DATA msgid "Despeckling image" -msgstr "Vlekken verwijderen" +msgstr "Ontspikkelen" #. PROGRESS_BLURING_DATA msgid "Bluring image" msgstr "Afbeelding vervagen" +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Tekstherkenning is bezig" + #. DESC_SCAN_START msgid "Start scan " msgstr "Start scannen " @@ -1148,23 +1362,33 @@ msgstr "Onderbreek scan " #. DESC_PREVIEW_ACQUIRE msgid "Acquire preview scan " -msgstr "Voorbeeldafbeelding maken " +msgstr "Preview maken " #. DESC_PREVIEW_CANCEL msgid "Cancel preview scan " -msgstr "Breek de preview scan af " +msgstr "Breek de preview af " #. DESC_XSANE_MODE msgid "" -"save-, view-, photocopy-, fax- or " -"mail-" +"save-, view-, photocopy-, fax- or mail-" msgstr "" -"opslaan-, bekijk-, kopier-, fax- of " -"mail-" +"opslaan-, bekijk-, kopieer-, fax- of mail-" +"" #. DESC_XSANE_MEDIUM -msgid "Select source medium type" -msgstr "Kies bronmedium type" +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Kies een bronmedium type\n" +"Om medium te hernoemen, herordenen of te verwijderen de context menu " +"gebruiken (rechter muisknop).\n" +"Kies de optie 'edit medium definitie' in het instellingen menu om een nieuw " +"medium te maken." #. DESC_FILENAME_COUNTER_STEP msgid "Value that is added to filenamecounter after scan" @@ -1183,7 +1407,7 @@ msgid "" "Type of image format, the suitable filename extension is automatically added " "to the filename" msgstr "" -"Bestandstype: de gebruikelijke extentie wordt automatisch toegevoegd aan de " +"Bestandstype, de gebruikelijke extentie wordt automatisch toegevoegd aan de " "bestandsnaam" #. DESC_FAXPROJECT @@ -1214,9 +1438,25 @@ msgstr "E-mail adres" msgid "Enter subject of email" msgstr "E-mail onderwerp" -#. DESC_PRESET_AREA_NAME +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Selecteer het type van de afbeeldingen" + +#. DESC_PRESET_AREA_RENAME msgid "Enter new name for preset area" -msgstr "Geef naam voor gebied" +msgstr "Geef naam voor scangebied" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Geef naam voor scangebied" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Geef nieuwe naam voor mediumdefinitie" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Geef nieuwe naam voor mediumdefinitie" #. DESC_PRINTER_SELECT msgid "Select printerdefinition " @@ -1224,19 +1464,19 @@ msgstr "Kies printerdefinitie " #. DESC_RESOLUTION msgid "Set scan resolution" -msgstr "Kies de scan resolutie" +msgstr "Kies de scanresolutie" #. DESC_RESOLUTION_X msgid "Set scan resolution for x direction" -msgstr "Kies de scan resolutie in de x-richting" +msgstr "Kies de scanresolutie in de x-richting" #. DESC_RESOLUTION_Y msgid "Set scan resolution for y direction" -msgstr "Kies de scan resolutie in de y-richting" +msgstr "Kies de scanresolutie in de y-richting" #. DESC_ZOOM msgid "Set zoomfactor" -msgstr "Kies vergroting" +msgstr "Kies vergrotingsfactor" #. DESC_ZOOM_X msgid "Set zoomfactor for x direction" @@ -1248,11 +1488,11 @@ msgstr "Kies vergroting in y-richting" #. DESC_COPY_NUMBER msgid "Set number of copies" -msgstr "Aantal kopin" +msgstr "Stel het aantal kopin in" #. DESC_NEGATIVE -msgid "Negative: Invert colors for scanning negatives " -msgstr "Negatief: Inverteer de kleuren van een negatief " +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negatief: Inverteer de kleuren van een negatief " #. DESC_GAMMA msgid "Set gamma value" @@ -1309,44 +1549,44 @@ msgstr "Kies drempelwaarde" #. DESC_RGB_DEFAULT msgid "" "RGB default: Set enhancement values for red, green and blue to default " -"values :\n" +"values :\n" " gamma = 1.0\n" " brightness = 0\n" " contrast = 0" msgstr "" "RGB standaard: Zet de aanpassingswaarden voor rood, groen en blauw op de " -"standaardwaarden :\n" +"standaardwaarden :\n" " gamma = 1.0\n" " helderheid = 0\n" " contrast = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast " -msgstr "Automatische aanpassing van gamma, helderheid en contrast " +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Automatische aanpassing van gamma, helderheid en contrast " #. DESC_ENH_DEFAULT msgid "" -"Set default enhancement values :\n" +"Set default enhancement values :\n" "gamma = 1.0\n" "brightness = 0\n" "contrast = 0" msgstr "" -"Kies de standaardwaarden :\n" +"Kies de standaardwaarden :\n" "gamma = 1.0\n" "helderheid = 0\n" "contrast = 0" #. DESC_ENH_RESTORE -msgid "Restore enhancement values from preferences " -msgstr "Gebruik aanpassingswaarden van de configuratie " +msgid "Restore enhancement values from preferences " +msgstr "Gebruik aanpassingswaarden van de configuratie " #. DESC_ENH_STORE -msgid "Store active enhancement values to preferences " -msgstr "Bewaar aanpassingswaarden in de configuratie " +msgid "Store active enhancement values to preferences " +msgstr "Bewaar huidige aanpassingswaarden in de configuratie " #. DESC_HIST_INTENSITY msgid "Show histogram of intensity/gray " -msgstr "Histogram van intensiteit zien " +msgstr "Histogram van intensiteit/grijs zien " #. DESC_HIST_RED msgid "Show histogram of red component " @@ -1387,16 +1627,16 @@ msgstr "Optie voor het aantal kopi #. DESC_PRINTER_LINEART_RESOLUTION msgid "" "Resolution with which lineart images are printed and saved in postscript" -msgstr "Printresolutie voor zwart wit afbeeldingen" +msgstr "Printresolutie voor zwart wit PostScript afbeeldingen" #. DESC_PRINTER_GRAYSCALE_RESOLUTION msgid "" "Resolution with which grayscale images are printed and saved in postscript" -msgstr "Printresolutie voor grijswaarde afbeeldingen" +msgstr "Printresolutie voor grijswaarde PostScript afbeeldingen" #. DESC_PRINTER_COLOR_RESOLUTION msgid "Resolution with which color images are printed and saved in postscript" -msgstr "Printresolutie voor kleurenafbeeldingen" +msgstr "Printresolutie voor PostScript kleurenafbeeldingen" #. DESC_PRINTER_WIDTH msgid "Width of printable area" @@ -1481,6 +1721,18 @@ msgstr "" "Gebruikte numbers worden overgeslagen als de bestandsteller automatisch " "verhoogd wordt" +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Gebruik tekst i.p.v. binair formaat om 16 bits afbeeldingen te bewaren. Het " +"binaire formaat is nieuw en wordt niet door alle programma's ondersteund. " +"Het tekst formaat wordt door meer programma's ondersteund, maar levert zeer " +"grote bestanden op!!!" + #. DESC_REDUCE_16BIT_TO_8BIT msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" msgstr "16-bits kleuren worden bewaard met 8-bits" @@ -1511,33 +1763,35 @@ msgstr "Gebruik vaste grootte voor hoofdvenster of gebruik scrollbars" #. DESC_DISABLE_GIMP_PREVIEW_GAMMA msgid "Disable preview gamma when XSane runs as gimp plugin" -msgstr "" -"Schakel voorbeeldscan gamma uit als XSane als Gimp plugin gebruikt wordt" +msgstr "Schakel preview gamma uit als XSane als Gimp plugin gebruikt wordt" #. DESC_PREVIEW_COLORMAP msgid "Use an own colormap for preview if display depth is 8 bpp" msgstr "Gebruik eigen kleurenpallet als scherm diepte 8-bpp is" +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Selecteer hoe een range vetoond wordt" + #. DESC_PREVIEW_OVERSAMPLING msgid "Value with that the calculated preview resolution is multiplied" -msgstr "" -"Waarde waarmee de berekende voorbeeldscan resolutie vermenigvuldigd wordt" +msgstr "Waarde waarmee de berekende preview resolutie vermenigvuldigd wordt" #. DESC_PREVIEW_GAMMA msgid "Set gamma correction value for preview image" -msgstr "Gammacorrectie voor voorbeeldscan" +msgstr "Gammacorrectie voor preview" #. DESC_PREVIEW_GAMMA_RED msgid "Set gamma correction value for red component of preview image" -msgstr "Gammacorrectie voor rood van voorbeeldscan" +msgstr "Gammacorrectie voor rood van preview" #. DESC_PREVIEW_GAMMA_GREEN msgid "Set gamma correction value for green component of preview image" -msgstr "Gammacorrectie voor groen van voorbeeldscan" +msgstr "Gammacorrectie voor groen van preview" #. DESC_PREVIEW_GAMMA_BLUE msgid "Set gamma correction value for blue component of preview image" -msgstr "Gammacorrectie voor blauw van voorbeeldscan" +msgstr "Gammacorrectie voor blauw van preview" #. DESC_LINEART_MODE msgid "Define the way XSane shall handle the threshold option" @@ -1548,8 +1802,8 @@ msgid "" "Select grayscale scanmode. This scanmode is used for lineart preview scan " "when transformation from grayscale to lineart is enabled" msgstr "" -"Kies grijswaarde scanmode. Dit wordt gebruikt voor de zwart wit " -"voorbeeldscan als de transformatie van grijs naar zwart-wit aanstaat" +"Kies grijswaarde scanmode. Dit wordt gebruikt voor de zwart wit preview als " +"de transformatie van grijs naar zwart-wit aanstaat" #. DESC_PREVIEW_THRESHOLD_MIN #, no-c-format @@ -1598,11 +1852,11 @@ msgstr "" #. DESC_PRESELECT_SCANAREA msgid "Select scanarea after preview scan has finished" -msgstr "Kies scangebied nadat voorbeeldscan klaar is" +msgstr "Kies scangebied nadat preview klaar is" #. DESC_AUTOCORRECT_COLORS msgid "Do color correction after preview scan has finished" -msgstr "Verbeter de kleuren nadat voorbeeldscan klaar is" +msgstr "Verbeter de kleuren nadat preview klaar is" #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" @@ -1673,8 +1927,8 @@ msgid "Enter command to be executed to view a mail image" msgstr "Commando om e-mail afbeelding te bekijken" #. DESC_HTML_MAIL -msgid "Mail is sent in html mode, images are displayed directly" -msgstr "E-mail wordt als HTML verstuurd. Afbeeldingen verschijnen direct" +msgid "Mail is sent in html mode, place image with: " +msgstr "E-mail wordt als HTML verstuurd. Afbeeldingen plaatsen met: " #. DESC_OCR_COMMAND msgid "Enter command to start ocr program" @@ -1688,6 +1942,21 @@ msgstr "Geef de optie om een invoerbestand op te geven" msgid "Enter option of the ocr program to define output file" msgstr "Geef de optie om een uitvoerbestand op te geven" +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Ondersteund het OCR programma een GUI progressie pipe" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Geef de optie van het OCR programma om de file descriptor te geven in GUI " +"mode" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Met welke sleutel word progressie informatie gemarkeerd" + #. DESC_PERMISSION_READ msgid "read" msgstr "lezen" @@ -1700,6 +1969,10 @@ msgstr "schrijven" msgid "execute" msgstr "uitvoeren" +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Voeg selectie toe aan batch lijst" + #. DESC_PIPETTE_WHITE msgid "Pick white point" msgstr "Kies wit punt" @@ -1722,6 +1995,10 @@ msgid "Zoom 20% out" msgstr "Zoom 20% uit" #. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Klik op de positie om in te zoomen" + +#. DESC_ZOOM_AREA msgid "Zoom into selected area" msgstr "Zoom in het geselecteerde gebied" @@ -1737,43 +2014,65 @@ msgstr "Selecteer zichtbare gebied" msgid "Autoselect scanarea" msgstr "Automatische selectie" +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Automatisch naar voren brengen" + #. DESC_DELETE_IMAGES msgid "Delete preview image cache" -msgstr "Verwijder voorbeeldscans uit geheugen" +msgstr "Verwijder preview uit geheugen" #. DESC_PRESET_AREA -msgid "Preset area" -msgstr "Vooringesteld gebied" +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Scangebied:\n" +"Om scangebieden toe te voegen of the bewerken het context menu gebruiken " +"(rechter muisknop)." #. DESC_ROTATION msgid "Rotate preview and scan" -msgstr "Draai voorbeeldscan en scan" +msgstr "Draai preview en scan" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Aspectratio van selectie" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Definieer positie van de afbeelding voor printen" #. DESC_VIEWER_OCR msgid "Optical Character Recognition" msgstr "Tekstherkenning (OCR)" +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Laatste verandering ongedaan maken" + #. DESC_VIEWER_CLONE msgid "Clone image" msgstr "Kopier afbeelding" -#. DESC_VIEWER_ROTATE90 +#. DESC_ROTATE90 msgid "Rotate image 90 degree" msgstr "Draai 90 graden" -#. DESC_VIEWER_ROTATE180 +#. DESC_ROTATE180 msgid "Rotate image 180 degree" msgstr "Draai 180 graden" -#. DESC_VIEWER_ROTATE270 +#. DESC_ROTATE270 msgid "Rotate image 270 degree" msgstr "Draai 270 graden" -#. DESC_VIEWER_MIRROR_X +#. DESC_MIRROR_X msgid "Mirror image at vertical axis" msgstr "Spiegel in vertikale richting" -#. DESC_VIEWER_MIRROR_Y +#. DESC_MIRROR_Y msgid "Mirror image at horizontal axis" msgstr "Spiegel in horizontale richting" @@ -1789,6 +2088,54 @@ msgstr "Sla medium op" msgid "Delete active medium" msgstr "Huidige medium verwijderen" +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Vergroting" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Vergroting in x-richting" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Vergroting in y-richting" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Schaal afbeelding naar breedte [in pixels]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Schaal afbeelding naar hoogte [in pixels]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Lege batch" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Bewaar batch lijst" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Laad batch lijst" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Gebied hernoemen" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Voeg geselecteerde gebied toe aan batch lijst" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Verwijder geselecteerde gebied van de batch lijst" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Activeer de automatische mode" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Kon hoofdmap niet vinden:" @@ -1890,6 +2237,10 @@ msgstr "LIBTIFF geeft fout" msgid "LIBPNG reports error" msgstr "LIBPNG geeft fout" +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG geeft foutmelding" + #. ERR_UNKNOWN_TYPE msgid "unknown type" msgstr "onbekend type" @@ -1898,6 +2249,16 @@ msgstr "onbekend type" msgid "unknown constraint type" msgstr "onbekende beperking type" +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Optie heeft een lege naam (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" +"Dit is een fout in de backend. Speel de informatie door aan de auteur van de " +"backend!" + #. ERR_FAILED_EXEC_DOC_VIEWER msgid "Failed to execute documentation viewer:" msgstr "Kon documentatie programma niet starten:" @@ -1958,7 +2319,7 @@ msgstr "Kon geen geheugen voor afbeelding krijgen:" #. ERR_PREVIEW_BAD_DEPTH msgid "Preview cannot handle bit depth" -msgstr "Voorbeeldscan kan niet met deze kleurdiepte werken" +msgstr "Preview kan niet met deze kleurdiepte werken" #. ERR_GIMP_SUPPORT_MISSING msgid "GIMP support missing" @@ -1966,11 +2327,11 @@ msgstr "Geen GIMP ondersteuning" #. ERR_CREATE_PREVIEW_FILE msgid "Could not create temporary preview files" -msgstr "Kon geen tijdelijke voorbeeldscans maken" +msgstr "Kon geen tijdelijke preview bestanden maken" #. ERR_CREATE_PREVIEW_FILENAME msgid "Could not create filenames for preview files" -msgstr "Kon geen naam maken voor voorbeeldscan" +msgstr "Kon geen naam maken voor previewbestand" #. ERR_CREATE_FAX_PROJECT msgid "Could not create faxproject" @@ -2010,6 +2371,10 @@ msgstr "Waarschuwing" msgid "Information" msgstr "Informatie" +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Child process fout" + #. ERR_FAILED_CREATE_FILE msgid "Failed to create file:" msgstr "Kon bestand niet maken:" @@ -2080,7 +2445,6 @@ msgid "[OPTION]... [DEVICE]" msgstr "[OPTIE]... [APPARAAT]" #. TEXT_HELP -#, fuzzy msgid "" "Start up graphical user interface to access SANE (Scanner Access Now Easy) " "devices.\n" @@ -2091,8 +2455,8 @@ msgid "" " -v, --version print version information\n" " -l, --license print license information\n" "\n" -" -d, --device-settings file load device settings from file (without " -"\".drc\")\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" "\n" " -V, --viewer start with viewer-mode active (default)\n" " -s, --save start with save-mode active\n" @@ -2101,8 +2465,6 @@ msgid "" " -m, --mail start with mail-mode active\n" " -n, --no-mode-selection disable menu for XSane mode selection\n" "\n" -" -M, --Medium-calibration enable medium calibration mode\n" -"\n" " -F, --Fixed fixed main window size (overwrite preferences " "value)\n" " -R, --Resizeable resizable, scrolled main window (overwrite " @@ -2120,8 +2482,8 @@ msgstr "" "Start een grafische gebruikers interface om SANE (Scanner Access Now Easy) " "apparaten te gebruiken.\n" "\n" -"Het formaat van [APPARAAT] is backendnaam:apparaatbestand (b.v. " -"umax:/dev/scanner).\n" +"Het formaat van [APPARAAT] is backendnaam:apparaatbestand (b.v. umax:/dev/" +"scanner).\n" "[OPTIE]... kan een combinatie zijn van de volgende:\n" " -h, --help laat deze tekst zien en stop\n" " -v, --version print versie informatie\n" @@ -2130,22 +2492,25 @@ msgstr "" " -d, --device-settings bestand laad apparaatinstellingen van bestand (zonder " "\".drc\")\n" "\n" -" -V, --viewer begin in bekijk-mode\n" +" -V, --viewer begin in bekijk-mode (standaard)\n" " -s, --save begin in save-mode\n" " -c, --copy begin in kopieer-mode\n" " -f, --fax begin in fax-mode\n" " -m, --mail begin in e-mail-mode\n" -" -n, --no-mode-selection mode mag niet veranderd worden door gebruiker\n" +" -n, --no-mode-selection deactiveer menu voor XSane-mode selectie\n" "\n" -" -F, --Fixed vaste grootte hoofdvenster\n" -" -R, --Resizeable geen vaste grootte hoofdvenster\n" +" -F, --Fixed vaste grootte hoofdvenster (overschrijft " +"voorkeurinstellingen\n" +" -R, --Resizeable geen vaste grootte hoofdvenster (overschrijft " +"voorkeurinstellingen\n" "\n" -" -p, --print-filenames print bestandnamen van XSane\n" -" -N, --force-filename naam forceer een bestandsnaam\n" +" -p, --print-filenames print bestandnamen die-door XSane gemaakt\n" +" -N, --force-filename naam forceer een bestandsnaam en deactiveer " +"filename selectie door gebruiker\n" "\n" -" --display X11-display output naar X1-display\n" +" --display X11-display output naar X11-display\n" " --no-xshm gebruik geen shared memory afbeeldingen\n" -" --sync vraag synchrone connectie met X server" +" --sync vraag synchrone connectie met X11 server" #. strings for gimp plugin #. XSANE_GIMP_INSTALL_BLURB @@ -2177,6 +2542,25 @@ msgstr "/Xtns/XSane/Apparaat kiezen..." msgid "/Xtns/XSane/" msgstr "/Xtns/XSane/" +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Mogelijke redenen:\n" +"1) Er is echt geen apparaat dat door SANE ondersteund wordt\n" +"2) De ondersteunde apparaten zijn bezet\n" +"3) Je hebt geen permissie om het apparaat te gebruiken, probeer als root\n" +"4) De backend is niet geladen door SANE (man sane-dll)\n" +"5) De backend is niet goed geconfigureerd (man sane-)\n" +"6) Misschien is er meer dan n versie van SANE genstalleerd" + #. strings that are used in structures, so it is not allowed to use _()/gettext() here #. gettext_noop does mark these texts but does not change the string #. MENU_ITEM_SURFACE_FULL_SIZE @@ -2247,9 +2631,9 @@ msgstr "letter port." msgid "letter land." msgstr "letter land." -#. MENU_ITEM_MEDIUM_FULL_RANGE -msgid "Full range" -msgstr "Volledig bereik" +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Volledig kleuren bereik" #. MENU_ITEM_MEDIUM_SLIDE msgid "Slide" @@ -2291,6 +2675,74 @@ msgstr "Konica negatief VX 100" msgid "Rossmann negative HR 100" msgstr "Rossmann negatief HR 100" +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "E-mail project niet gemaakt" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "E-mail project gemaakt" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "E-mail project veranderd" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Fout tijdens lezen van e-mail project" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "POP3 verbinding mislukt" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "POP3 login mislukt" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "SMTP verbinding mislukt" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Verstuurder adres is afgewezen" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Ontvanger adres is afgewezen" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "E-mail data niet geaccepteerd" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Versturen e-mail" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "E-mail is verstuurd" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Fax project is niet gemaakt" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Fax project gemaakt" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Fax project veranderd" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Fax in de wachtrij aan het zetten" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax staat in de wachtrij" + #. Sane backend messages msgid "flatbed scanner" msgstr "flatbedscanner" diff --git a/po/pl.gmo b/po/pl.gmo new file mode 100644 index 0000000..5399896 Binary files /dev/null and b/po/pl.gmo differ diff --git a/po/pl.po b/po/pl.po new file mode 100644 index 0000000..bcf0b68 --- /dev/null +++ b/po/pl.po @@ -0,0 +1,2816 @@ +# Polish translation for XSane. +# Copyright (c) 2002-2003 Piotr Gogolewski +# Piotr Gogolewski , 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: XSane 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-10-21 00:52+0100\n" +"Last-Translator: Jerzy Szczudowski \n" +"Language-Team: Polish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "pl" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "sklonowany-z-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "O programie" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "O tumaczeniu" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "autoryzacja" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "Licencja GPL" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Zatwierdzenie Licencji Uytkownika Kocowego" + +#. WINDOW_INFO +msgid "info" +msgstr "informacja" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "zaaduj list wsadow" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "zapisz list wsadow" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "skanowanie wsadowe" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "zmie nazw zakresu wsadowego" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "wylij obrazek faksem" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "zmie nazw strony faksu" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "wstaw plik postscriptowy do faksu" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "wylij obrazek poczt" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "zmie nazw obrazka w licie" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "wstaw plik do listu" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "zmie nazw ustawionego obszaru" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "dodaj obszar do zestawu" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "zmie nazw nonika" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "dodaj nowy nonik" + +#. WINDOW_SETUP +msgid "setup" +msgstr "ustawienia" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogram" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Krzywa gamma" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Opcje" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Zaawansowane opcje" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "wybr urzdzenia" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Podgld" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Przegldarka" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Przegldarka: wybierz plik wyjciowy" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Wybierz plik wyjciowy dla tekstu z OCR" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "wybierz plik wyjciowy" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "zapisz ustawienia urzdzenia" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "wczytaj ustawienia urzdzenia" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "zmie katalog roboczy" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "wybierz katalog tymczasowy" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Przeskaluj obraz" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Odplamkuj obrazek" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Rozmyj obrazek" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Zapisz ustawienia materiau" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Brak dostpnych urzdze" + +#. MENU_FILE +msgid "File" +msgstr "Plik" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Preferencje" + +#. MENU_VIEW +msgid "View" +msgstr "Widok" + +#. MENU_WINDOW +msgid "Window" +msgstr "Okno" + +#. MENU_HELP +msgid "Help" +msgstr "Pomoc" + +#. MENU_EDIT +msgid "Edit" +msgstr "Edycja" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtry" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometria" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "O XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Informacja" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Zakocz" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Zapisz obraz" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - zapisz jako tekst" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Duplikuj" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Skaluj" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Zamknij" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Cofnij" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Odplamkuj" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Rozmyj" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Obr obrazek o 90 stopni" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Obr obrazek o 180 stopni" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Obr obrazek o 270 stopni" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Odbicie lustrzane |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Odbicie lustrzane -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Forma pocztkowa" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Poprawiony obrazek" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Skanuj" + +#. BUTTON_OK +msgid "Ok" +msgstr "W porzdku" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Akceptuj" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Nie akceptuj" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Zastosuj" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Anuluj" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Zredukuj" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Kontynuuj na wasne ryzyko" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Przegldaj" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Nadpisz" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Skanuj z listy wsadowej" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Skanuj zaznaczony obszar" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Usu stron" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Poka stron" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Zmie nazw strony" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Usu obrazek" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Poka obrazek" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Edytuj obrazek" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Zmie nazw obrazka" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Wstaw plik" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Stwrz projekt" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Wylij projekt" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Usu projekt" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Dodaj drukark" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Usu drukark" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Pobierz podgld" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Zatrzymaj" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Porzu obrazek" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Porzu wszystkie obrazki" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Nie zamykaj" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Ustal skal" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Tryb lepszy" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "Poczta w HTML" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Zapisz ustawienia urzdzenia przy wyjciu" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Ostrzeenie przed nadpisaniem" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Pomi istniejce nazwy plikw" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Zapisz 16-bitowe obrazki pnm w formacie ASCII" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Zredukuj obrazki 16-bitowe do 8-bitw" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Stay rozmiar gwnego okna" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Wycz gamma przy podgldzie w Gimpie" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Uyj wasnej mapy kolorw" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Samoczynnie poprawiaj parametr gamma" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Wybierz obszar skanowania po podgldzie" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Samoczynnie koryguj kolory" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "Uwierzytelnianie POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Uywaj graficznego paska postpu" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "szukam podczonych urzdze" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Dostpne urzdzenia:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Opcje XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Tryb XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Skok" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Typ" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Skaner i sterownik:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Producent:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Typ:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Urzdzenie:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Zaadowany sterownik:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Wersja Sane" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Obecne wartoci:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Korekcja gamma przez:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "skaner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "oprogramowanie (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "brak" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Gbia wejcia gamma:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Gbia wyjcia gamma:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Gbia wyjcia skanera:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Formaty wyjciowe XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "formaty wyjciowe 8-bitowe:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "formaty wyjciowe 16-bitowe:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp nie wspiera 16-bitowej gbi kolorw.\n" +"Czy chcesz zmniejszy gbi do 8-bitw?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"16-bitowa gbia kolorw nie jest obsugiwana w tym formacie\n" +"wyjciowym. Czy chcesz zmniejszy gbi do 8-bitw?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Wymagana jest autoryzacja dla" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Transmisja hasa jest bezpieczna" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Sterownik wymaga hasa podanego czystym tekstem" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Nazwa uytkownika:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Haso:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Nieprawidowe parametry." + +#. TEXT_VERSION +msgid "version:" +msgstr "wersja" + +#. TEXT_PACKAGE +msgid "package" +msgstr "paczka" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "z obsug GIMPa." + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "bez obsugi GIMPa." + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "kompilowane z GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "kompilowane z GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "nieznany" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane jest dystrybuowany na warunkach okrelonych w \"GNU General Public\n" +"License\" w formie opublikowanej przez Free Software Foundation, w wersji\n" +"drugiej lub (jeli chcesz) jakiejkolwiek pniejszej.\n" +"\n" +"Ten program jest rozprowadzany w nadziei, e bdzie uyteczny, lecz BEZ\n" +"JAKIEJKOLWIEK GWARANCJI; w tym midzy innymi domylnych gwarancji co do\n" +"PRZYDATNOCI HANDLOWEJ i PRZYDATNOCI DO OKRELONYCH ZASTOSOWA. Jeeli " +"program\n" +"okazaby si wadliwy, ponosisz koszt caego niezbdnego serwisu, naprawy i\n" +"korygowania. Aby uywa ten program musisz przeczyta, zrozumie i " +"zaakceptowa\n" +"to \"BEZ GWARANCYJNE\" porozumienie.\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane jest dystrybuowany na warunkach okrelonych w \"GNU General Public\n" +"License\" w formie opublikowanej przez Free Software Foundation, w wersji\n" +"drugiej lub (jeli chcesz) jakiejkolwiek pniejszej.\n" +"\n" +"Ten program jest rozprowadzany w nadziei, e bdzie uyteczny, lecz BEZ\n" +"JAKIEJKOLWIEK GWARANCJI; w tym midzy innymi domylnych gwarancji co do\n" +"PRZYDATNOCI HANDLOWEJ i PRZYDATNOCI DO OKRELONYCH ZASTOSOWA.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Adres email:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Strona domowa:" + +#. TEXT_FILE +msgid "File:" +msgstr "Plik:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Tumaczenie:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"Piotr Gogolewski \n" +"http://www.chemia.px.pl/\n" +"\n" +"korekta i aktualizacja do wersji 0.96:\n" +"Jerzy Szczudowski \n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0kB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Skanowane strony:" + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Tekst listu:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Zaczniki:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Status projektu:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Rodzaj formatu pliku:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Nazwa nonika:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Rozmiar %d x %d pikseli, %d bit/kolor, %d kolorw, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Promie odplamkowania:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Promie rozmycia:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(bez nazwy)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Nazwa obszaru:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Tryb skanowania:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Lewa grna:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Rozmiar:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Rozdzielczo:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Gbia kolorw:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "wg wyboru" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Wybr drukarki:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Nazwa:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Polecenie:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Opcja iloci kopii:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Rozdzielczo w trybie kreski (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Rozdzielczo w skali szaroci (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Rozdzielczo w kolorze (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Szeroko" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Wysoko" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Lewy margines" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Dolny margines" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Warto gamma drukarki:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Gamma drukarki - czerwony:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Gamma drukarki - zielony:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Gamma drukarki - niebieski:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Katalog tymczasowy" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Prawa dostpu pliku z obrazkiem" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Prawa dostpu do katalogu" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Jako kompresji obrazka JPEG" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Kompresja obrazka PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Dugo licznika nazw plikw" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Kompresja 16-bitowa obrazka TIFF" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Kompresja 8-bitowa obrazka TIFF" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Kompresja obrazka TIFF w trybie kreski" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Poka zakres jako:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Nadprbkowanie podgldu:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Parametr gamma podgldu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Gamma podgldu - czerwony:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Gamma podgldu - zielony:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Gamma podgldu - niebieski:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Typ progu:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Automatyczny podajnik dokumentw (ADF):" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Zasig pipety w podgldzie" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Minimum progu:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Maksimum progu:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Wspczynnik progu:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Warto progu:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Nazwa trybu skanowania w skali szaroci:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Przegldarka plikw pomocy (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Opcja odbiorcy:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Opcja pliku postscriptowego:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Opcja trybu zwykego:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Opcja trybu podwyszonej jakoci:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Ustaw domylne wartoci dla programu:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Przegldarka (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "Serwer SMTP:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "Port SMTP:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Od:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Odpowied do:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "Serwer POP3:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "Port POP3:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "Uytkownik POP3:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "Haso POP3:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Przegldarka (PNG):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Komenda programu OCR:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Opcja pliku wejciowego:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Opcja pliku wyjciowego:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Uywaj paska postpu dla trybu graficznego" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Opcja output-fd interfejsu graficznego:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Okrelenie postpu:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "uytkownik" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "grupa" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "wszyscy" + +msgid "new media" +msgstr "nowy nonik" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Zapis" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Obrazek" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Kopia" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Faks" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Poczta" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Wywietlanie" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Ulepszanie" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Poczta" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Poka podpowiedzi" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Poka podgld" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Poka histogram" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Poka krzyw gamma" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Okno skanowania wsadowego" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Poka opcje" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Poka zaawansowane opcje" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Ustawienia" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Jednostka dugoci" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milimetry" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centymetry" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "cale" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Sposb odwieania" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "cigy" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "niecigy" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "opniony" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Poka list rozdzielczoci" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Obr postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Edytuj definicj nonika" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Zapisz ustawienia urzdzenia" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Wczytaj ustawienia urzdzenia" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Zmie katalog" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Poka \"EULA\"" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Poka licencj GPL" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Dokumentacja XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Dokumentacja sterownika" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Dostpne sterowniki" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Jak skanowa" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problemy?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "nieaktywny" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "bez kompresji" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "kompresja Huffmana CCITT 1D" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "kompresja faksu CCITT Group 3" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "kompresja faksu CCITT Group 4" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "kompresja JPEG DCT" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "\"pack bits\"" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "suwak (skala)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "suwak (pasek przewijania)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "okienko wartoci" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "skal i okienko wartoci" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "pasek przewijania i okienko wartoci" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Okno opcji standardowych (tryb kreski)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Okno gwne XSane (tryb kreski)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Okno gwne XSane (skala szaroci->tryb kreski)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(aden)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "wg rozszerzenia" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Dodaj zaznaczenie do listy" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Dodaj definicj nonika" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Zmie nazw obiektu" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Usu obiekt" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Przesu obiekt do gry" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Przesu obiekt w d" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Skanowanie" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Pobieranie danych %s" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Przesyanie obrazka..." + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Obracanie obrazka..." + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Odbijanie obrazka..." + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Kompresowanie obrazka..." + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Konwersja obrazka..." + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Zapisywanie obrazka..." + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Duplikowanie obrazka..." + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Skalowanie obrazka..." + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Odplamkowywanie obrazka..." + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Rozmywanie obrazka..." + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Rozpoznawanie tekstu w toku..." + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Rozpocznij skanowanie " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Anuluj skanowanie " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Rozpocznij skanowanie pogldowe " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Przerwij/Anuluj skanowanie pogldowe " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"podgld , zapis , fotokopia , faks , wylij " +"poczt " + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Wybierz typ nonika rdowego.\n" +"Aby zmieni nazw, kolejno lub usun pozycj uyj menu kontekstowego " +"(prawy przycisk myszki).\n" +"Aby utworzy now pozycj, odblokuj opcj \"edytuj definicj nonika\" w " +"menu preferencji" + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Warto dodawana do nazwy pliku po skanowaniu" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Przegldaj w poszukiwaniu nazwy pliku obrazka" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Nazwa pliku dla zeskanowanego obrazka" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Rodzaj formatu obrazka; stosowne rozszerzenie nazwy pliku jest dodawane " +"automatycznie" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Wprowad nazw projektu dla faksu" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Wprowad now nazw dla strony faksu" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Wprowad nr telefonu odbiorcy lub adres" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Wprowad nazw projektu poczty" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Wprowad now nazw dla wysyanego obrazka" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Wprowad adres poczty elektronicznej" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Wprowad temat listu" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Wybierz rodzaj pliku dla zacznika" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Wprowad now nazw dla ustawionego obszaru" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Wprowad nazw dla nowego obszaru" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Wprowad now nazw dla definicji nonika" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Wprowad nazw dla definicji nonika" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Wybierz profil drukarki " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Ustaw rozdzielczo skanowania" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Ustaw rozdzielczo skanowania w osi X" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Ustaw rozdzielczo skanowania w osi Y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Ustaw wspczynnik powikszenia" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Ustaw wspczynnik powikszenia w osi X" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Ustaw wspczynnik powikszenia w osi Y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Ustaw liczb kopii" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negatyw: Odwracanie kolorw przy skanowaniu negatyww " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Ustaw warto gamma" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Ustaw warto gamma dla skadowej czerwonej" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Ustaw warto gamma dla skadowej zielonej" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Ustaw warto gamma dla skadowej niebieskiej" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Ustaw jasno" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Ustaw jasno dla skadowej czerwonej" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Ustaw jasno dla skadowej zielonej" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Ustaw jasno dla skadowej niebieskiej" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Ustaw kontrast" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Ustaw kontrast dla skadowej czerwonej" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Ustaw kontrast dla skadowej zielonej" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Ustaw kontrast dla skadowej niebieskiej" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Ustaw prg" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"Domylne RGB: Ustaw wartoci dla czerwonego, niebieskiego i zielonego na " +"domylne :\n" +" gamma = 1.0\n" +" jasno = 0\n" +" kontrast = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Automatycznie ustaw parametr gamma, jasno i kontrast " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Przywr wartoci domylne :\n" +"gamma = 1.0\n" +"jasno = 0\n" +"kontrast = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Przywr wartoci z preferencji " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Zachowaj aktywne wartoci w preferencjach " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Poka histogram intensywnoci/szaroci " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Poka histogram skadowej czerwonej " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Poka histogram skadowej zielonej " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Poka histogram skadowej niebieskiej " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Sposb wywietlania: poka histogram z liniami zamiast punktw " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Poka logarytm iloci pikseli " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Wybierz profil, ktry chcesz zmieni" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Zdefiniuj nazw dla zaznaczenia tej definicji" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "" +"Wprowad polecenie, ktre zostanie wykonane w trybie kopiowania (np.\"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Wprowad ilo kopii" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Rozdzielczo, z jak obrazki w trybie kreski s drukowane i zapisywane w " +"postscripcie" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Rozdzielczo, z jak obrazki w skali szaroci s drukowane i zapisywane w " +"postscripcie" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Rozdzielczo, z jak obrazki kolorowe s drukowane i zapisywane w " +"postscripcie" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Szeroko obszaru drukowalnego" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Wysoko obszaru drukowalnego" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Lewy margines od krawdzi papieru do obszaru wydruku" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Dolny margines od krawdzi papieru do obszaru wydruku" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Dodatkowy parametr gamma dla kopii" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Dodatkowy parametr gamma dla czerwonej skadowej kopii" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Dodatkowy parametr gamma dla zielonej skadowej kopii" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Dodatkowy parametr gamma dla niebieskiej skadowej kopii" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "cieka do katalogu tymczasowego" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Przegldaj katalog tymczasowy" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Wyraona w procentach jako z jak zostanie zapisany jpeg lub tiff z " +"kompresj jpeg" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Kompresja obrazka zapisanego jako png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Minimalna dugo licznika w nazwie pliku" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Typ kompresji przy zapisie jako tiff 16 bit obrazka" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Typ kompresji przy zapisie jako tiff 8 bit obrazka" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Typ kompresji przy zapisie jako tiff obrazka w trybie kreski" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Zapisz ustawienia urzdzenia w domylnym pliku przy wychodzeniu z XSane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Ostrzegaj przed nadpisaniem istniejcego pliku" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Jeli licznik w nazwie pliku jest automatycznie zwikszany, to ju uyte " +"numery s pomijane" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Kiedy 16-bitowy obraz bdzie zapisywany w formacie pnm uyj zapisu w formie " +"ASCII zamiast binarnego. Zapis binarny jest nowy i moe nie by obsugiwany " +"przez wszystkie programy. Forma ASCII natomiast jest wspierana przez wiksz " +"ilo programw, lecz moe dawa naprawd olbrzymie pliki!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Jeli skaner wysya obrazek z 16-stoma bitami na kolor zapisz obrazek z 8-ma " +"bitami" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Szeroko papieru dla plikw postscriptowych" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Wysoko papieru dla plikw postscriptowych" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Lewy margines od brzegu papieru do obszaru uytkowego dla plikw " +"postscriptowych" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Dolny margines od brzegu papieru do obszaru uytkowego dla plikw " +"postscriptowych" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "Stay lub obieralny rozmiar okna gwnego" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Wycz gamma podgldu, gdy XSane dziaa jako wtyczka Gimpa" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Uywaj wasnej mapy kolorw dla podgldu, jeli gbia wywietlania wynosi 8 " +"bit/piksel" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Wybierz jak ma by wywietlany zakres" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Warto przez ktr wyliczona rozdzielczo podgldu jest mnoona" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Ustaw warto korekcji gamma dla obrazka podgldu" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "Ustaw warto korekcji gamma dla skadowej czerwonej obrazka podgldu" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "Ustaw warto korekcji gamma dla skadowej zielonej obrazka podgldu" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "" +"Ustaw warto korekcji gamma dla skadowej niebieskiej obrazka podgldu" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Zdefiniuj sposb w jaki XSane powinien traktowa warto progu" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Wybierz tryb skanowania w odcieniach szaroci. Ten tryb jest uywany przy " +"podgldzie dla trybu kreskowego gdy jest wczone przeksztacanie z odcieni " +"szaroci na kreski" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Minimalny poziom progu skanera w %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Maksymalny poziom progu skanera w %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "Mnonik ujednolicajcy zasig progu XSane i skanera" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "Margines ujednolicajcy zasig progu XSane i skanera" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Wybierz rdo dla Automatycznego Podajnika Dokumentw. Jeeli to rdo " +"jest wybrane, XSane skanuje a do koczenia si papieru lub wystpienia bdu" + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"rozmiar kwadratu ktry jest uywany przy urednianiu koloru dla funkcji " +"pipety" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Wprowad polecenie, ktre zostanie wykonane do wywietlenia plikw pomocy " +"(przegldarka HTML)" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Zmie warto gamma gdy przycisk autoulepszania jest wcinity" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Wybierz obszar skanowania po pobraniu podgldu" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Zastosuj korekcj kolorw po pobraniu podgldu" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Wprowad polecenie, ktre zostanie wykonane w trybie wysyania faksu" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Wprowad opcj by okreli odbiornik" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Wprowad opcj by okreli nastpujce pliki postscript" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Wprowad opcj by okreli tryb zwyky (niskiej rozdzielczoci)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Wprowad opcj by okreli tryb podwyszonej jakoci" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Wprowad polecenie, ktre zostanie wykonane do przejrzenia faksu" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "" +"Wylij faks o wysokiej rozdzielczoci pionowej (196 lpi zamiast 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "Adres IP lub nazwa domeny serwera SMTP" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "port serwera SMTP" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "wprowad swj adres email" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "wprowad adres email dla odpowiedzi" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Uwierzytelnianie na serwerze POP3 przed wysaniem poczty" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "Adres IP lub nazwa domeny serwera POP3" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "port serwera POP3" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "nazwa uytkownika dla serwera POP3" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "haso dla serwera POP3" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "" +"Wprowad polecenie, ktre zostanie wykonane do przejrzenia wysyanego poczt " +"obrazka" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "Poczta jest wysyana jako HTML, umie obrazek uywajc: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Wprowad polecenie uruchomienia programu do OCR" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Podaj opcj programu do OCR wskazujc plik wejciowy" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Podaj opcj programu do OCR wskazujc plik wyjciowy" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Ustaw, jeli program do OCR obsuguje graficzny pasek postpu" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Wprowad opcj programu OCR by zdefiniowa deskryptor pliku wyjciowego w " +"trybie GUI" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"Zdefiniuj sowo kluczowe ktre jest uywane do oznaczania informacji postpu" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "odczyt" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "zapis" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "wykonywanie" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Dodaj zaznaczenie do listy wsadowej" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Wybierz jasny punkt odniesienia" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Wybierz punkt odniesienia w ptonie" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Wybierz ciemny punkt odniesienia" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Uyj penego obszaru skanowania" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Pomniejsz o 20%" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Kliknij w miejscu ktre chcesz powikszy" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Powiksz zaznaczony obszar" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Cofnij ostatnie powikszenie" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Wybierz obszar widzialny" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Automatycznie wybierz obszar skanowania" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Automatycznie rozszerz obszar skanowania" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Wyczy pami podrczn podgldu obrazkw" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Obszar ustawiony:\n" +"By doda nowy obszar lub edytowa ju istniejcy uyj menu kontekstowego\n" +" (prawy przycisk myszy)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Obr skanowany obrazek" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Proporcje zaznaczenia" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Podaj pozycj obrazka do druku" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Optyczne rozpoznawanie tekstu" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Cofnij ostatni zmian" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Duplikuj obrazek" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Obr obrazek o 90 stopni" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Obr obrazek o 180 stopni" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Obr obrazek o 270 stopni" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Odbij obrazek wobec osi pionowej" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Odbij obrazek wobec osi poziomej" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Powikszenie obrazka" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Zachowaj nonik" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Usu aktywny nonik" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Wspczynnik powikszenia" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Wspczynnik powikszenia (X)" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Wspczynnik powikszenia (Y)" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Przeskaluj obrazek do dugoci [piksele]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Przeskaluj obrazek do wysokoci [piksele]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Oprnij list wsadow" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Zapisz list wsadow" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Zaaduj list wsadow" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Zmie nazw obszaru" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Dodaj zaznaczony obszar podgldu do listy wsadowej" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Usu zaznaczony obszar z listy wsadowej" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Wcza tryb automatyczny" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Ustalenie katalogu domowego nie powiodo si:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Nie powioda si zmiana katalogu roboczego na" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Zbyt duga nazwa pliku" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Nie powiodo si utworzenie pliku tymczasowego" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Nie byo moliwe ustawienie na dan warto opcji" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Nie byo moliwe uzyskanie wartoci opcji" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Bd przy uzyskiwaniu licznika opcji" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Nie powiodo si otwarcie urzdzenia" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "brak dostpnych urzdze" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Bd podczas odczytu:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Bd podczas zapisu:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Nie jest obsugiwana gboko" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "Gimp nie obsuguje gbokoci %d bitw/kolor" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Nieznany format pliku do zapisu" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Otwarcie nie powiodo si" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "" +"Nie mona byo utworzy bezpiecznego pliku (by moe istnieje dowizanie):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Nie powiodo si otwarcie potoku do polecenia drukowania" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Nie powiodo si wykonanie polecenia drukowania:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Nie powiodo si uruchomienie skanera:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Nie powiodo si pobranie parametrw:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Nie podano formatu wyjciowego" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "brak wolnej pamici" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "" +"Sterownik wysya wicej danych obrazu ni jest zdefiniowane w parametrach" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "biblioteka LIBTIFF zgasza bd" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "biblioteka LIBPNG zgasza bd" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "biblioteka LIBPNG zgasza bd" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "nieznany typ" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "nieznany typ \"constraint\"" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Opcja ma pust nazw" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" +"To jest bd backendu. Prosz skontaktowa si z autorem danego backendu!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Nie powiodo si uruchomienie przegldarki dokumentacji:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Nie powiodo si uruchomienie przegldarki faksw:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Nie powiodo si uruchomienie programu faksujcego:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Nie powiodo si uruchomienie przegldarki obrazkw:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Nie powiodo si uruchomienie programu OCR:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "nieprawidowy format ramki" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "nie mona ustawi rozdzielczoci" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Plik z hasem (%s) jest niezabezpieczony; uyj trybu x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "bd" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Gwna wersja Sane nie pasuje!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "gwna wersja XSane =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "gwna wersja sterownika =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAM PRZERWANY ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Nie udao si zarezerwowa pamici na obrazek:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Podgld nie radzi sobie z t gbokoci bitow" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Brak obsugi GIMPa" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Nie mona utworzy tymczasowych plikw podgldu" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Nie mona nada nazw plikom podgldu" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Nie mona utworzy dokumentu faksu" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Niedopenienie licznika plikw" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "uwaga: opcja nie posiada ograniczenia wartoci" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Prbujesz uruchomi XSane jako ROOT, a to jest NIEBEZPIECZNE!\n" +"\n" +"Nie przysyaj adnych informacji o bdach, gdy bdziesz\n" +"mia problem podczas uywania XSane jako root:\n" +"JESTE ZDANY TYLKO NA SIEBIE!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Bd" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Ostrzeenie" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Informacja" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Bd procesu potomnego" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Nie powiodo si utworzenie pliku:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Bd podczas adowania ustawie urzdzenia:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "nie jest plikiem rc urzdzenia !!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Uruchomienie netscape nie powiodo si!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Wysyanie faksu: nie zdefiniowano odbiornika" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "zosta utworzony dla urzdzenia" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "chcesz uy go dla urzdzenia" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "To dziaanie moe spowodowa problemy!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Pozostao %d niezapisanych obrazkw" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Plik %s ju istnieje" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Plik %s nie istnieje" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "%s nie jest plikiem postscriptowym" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Nieobsugiwany %d-bitowy format wyjciowy: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "Obrazek nie zosta zapisany" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Uycie:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPCJE]... [URZDZENIE]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Uruchamia graficzny interfejs dla urzdze obsugiwanych przez Sane " +"(ScannerAccess Now Easy).\n" +"\n" +"Format [URZDZENIE] to sterownik:plik_urzdzenia (np. microtek2:/dev/sg2).\n" +"[OPCJE]... mog by kombinacj nastpujcych pozycji:\n" +" -h, --help wywietl t wiadomo z pomoc i zakocz\n" +" -v, --version wywietl informacj o wersji\n" +" -l, --license wywietl informacj o licencji\n" +"\n" +" -d, --device-settings file wczytaj ustawienia urzdzenia z pliku (bez\"." +"drc\")\n" +"\n" +" -V, --viewer rozpocznij w trybie podgldu (domylne)\n" +" -s, --save rozpocznij w trybie zapisu\n" +" -c, --copy rozpocznij w trybie kopiowania\n" +" -f, --fax rozpocznij w trybie faksu\n" +" -m, --mail rozpocznij w trybie wysyania poczty\n" +" -n, --no-mode-selection wycz menu wyboru trybu XSane\n" +"\n" +" -M, --Medium-calibration wcz tryb kalibracji materiau\n" +"\n" +" -F, --Fixed stay rozmiar gwnego okna (ignoruje warto " +"z preferencji)\n" +" -R, --Resizeable zmienialny rozmiar gwnego okna z paskami " +"przewijania (ignoruje warto z preferencji)\n" +"\n" +" -p, --print-filenames wywietl nazwy obrazkw utworzonych przez " +"XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display przekieruj wyjcie na wywietlacz X11\n" +" --no-xshm nie uywaj dla obrazkw pamici wspdzielonej " +"--sync daj synchronicznego poczenia z serwerem X11" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Nakadka na interfejs SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Funkcja ta zapewnia poprzez SANE (Scanner Access Now Easy) dostp do " +"skanerw i innych urzdze przetwarzajcych obraz." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Okno urzdzenia..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "" + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Okno urzdzenia..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Moliwe powody:\n" +"1) Naprawd nie ma urzdzenia wspieranego przez SANE\n" +"2) Urzdzenia s zajte\n" +"3) Uprawnienia dla pliku urzdzenia nie pozwalaj Ci na jego uycie - " +"sprbuj jako root\n" +"4) Sterownik nie jest zaadowany przez SANE (man sane-dll)\n" +"5) Sterownik nie jest skonfigurowany prawidowo (man sane-\"nazwa_sterownika" +"\")\n" +"6) By moe masz zainstalowan wicej ni jedn wersj SANE" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "peny rozmiar" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "A3 portret" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "A3 pejza" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "A4 portret" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "A4 pejza" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "A5 portret" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "A5 pejza" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal port." + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal pejz." + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "letter port." + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "legal pejz." + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "peny zakres" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "slajd" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "negatyw standardowy" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "negatyw Agfa" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "negatyw Agfa XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "negatyw Agfa HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "negatyw Fuji" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "negatyw Kodak" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "negatyw Konica" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "negatyw Konica VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "negatyw Rossmann HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Dokument pocztowy nie utworzony" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Dokument pocztowy utworzony" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Dokument pocztowy zosta zmieniony" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Wprowad nazw projektu pocztowego" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "poczenie POP3 nie powiodo si" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "logowanie POP3 nie powiodo si" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "poczenie SMTP nie powiodo si" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Nagwek Od: odrzucony" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Odbiorca odrzucony" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Dane pocztowe odrzucone" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Wysyanie poczty" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Poczta zostaa wysana" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Projekt faksowy nie utworzony" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Projekt faksowy utworzony" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Projekt faksowy zmieniony" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Kolejkowanie Faksu" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Faks jest umieszczony w kolejce" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "skaner paski" + +msgid "frame grabber" +msgstr "przechwytywacz obrazu" + +msgid "handheld scanner" +msgstr "skaner rczny" + +msgid "still camera" +msgstr "kamera na statywie" + +msgid "video camera" +msgstr "kamera wideo" + +msgid "virtual device" +msgstr "Urzdzenie wirtualne" + +msgid "Success" +msgstr "Udao si" + +msgid "Operation not supported" +msgstr "Operacja nie obsugiwana" + +msgid "Operation was cancelled" +msgstr "Operacja zostaa anulowana" + +msgid "Device busy" +msgstr "Urzdzenie jest zajte" + +msgid "Invalid argument" +msgstr "Nieprawidowy argument" + +msgid "End of file reached" +msgstr "Osignity zosta koniec pliku" + +msgid "Document feeder jammed" +msgstr "Podajnik dokumentw zaci si" + +msgid "Document feeder out of documents" +msgstr "Skoczyy si dokumenty w podajniku" + +msgid "Scanner cover is open" +msgstr "Pokrywa skanera jest otwarta" + +msgid "Error during device I/O" +msgstr "Bd podczas operacji wejcia/wyjcia" + +msgid "Out of memory" +msgstr "Brak wolnej pamici" + +msgid "Access to resource has been denied" +msgstr "Brak dostpu do zasobu" diff --git a/po/pt.gmo b/po/pt.gmo new file mode 100644 index 0000000..a8d7950 Binary files /dev/null and b/po/pt.gmo differ diff --git a/po/pt.po b/po/pt.po new file mode 100644 index 0000000..eefdf4c --- /dev/null +++ b/po/pt.po @@ -0,0 +1,2819 @@ +# Portuguese translation for XSane. +# Copyright (C) 2002-2004 Yujo Rodrigues +# Yujo Rodrigues , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-10-08 22:00+3\n" +"Last-Translator: Yujo Rodrigues \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "pt" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "clone-de-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Sobre" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Sobre a traduo" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "autorizao" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - a licena" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Contrato de Licena com o Usurio Final" + +#. WINDOW_INFO +msgid "info" +msgstr "" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "carrega lista de lote" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "salva lista de lote" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "digitaliza lote" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "renomeia area de lote" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "projeto de fax" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "renomeia pgina de fax" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "insere arquivo-ps em um fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "projeto de e-mail" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "renomeia imagem de correio" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "insere arquivo no correio" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "renomeia area predefinida" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "adiciona rea pr-definida" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "renomeia mdia" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "adiciona nova mdia" + +#. WINDOW_SETUP +msgid "setup" +msgstr "configurao" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histograma" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Curva gama" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Opes padro" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Opes avanadas" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "seleo do dispositivo" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Pr-Visualizao" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Visualizador" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Visualizador: selecione arquivo de sada" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Selecione arquivo de sada para o texto do OCR" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "selecione arquivo de sada" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "salva configuraes do dispositivo" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "carrega configuraes do dispositivo" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "altera o diretrio de trabalho" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "seleciona o diretrio temporrio" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Escala da imagem" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Desembaraa imagem" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Embaa imagem" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Armazena definio da mdia" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Nenhum dispositivo disponvel" + +#. MENU_FILE +msgid "File" +msgstr "Arquivo" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Preferncias" + +#. MENU_VIEW +msgid "View" +msgstr "Visualizar" + +#. MENU_WINDOW +msgid "Window" +msgstr "Janela" + +#. MENU_HELP +msgid "Help" +msgstr "Ajuda" + +#. MENU_EDIT +msgid "Edit" +msgstr "Edita" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtros" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometria" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Sobre XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Informaes" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Sair" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Salvar imagem" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - salvar como texto" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Clonar" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Escala" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Fechar" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Desfazer" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Desembaraar" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Embaar" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Rotaciona 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rotaciona 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rotaciona 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Espelha |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Espelha -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Imagem raw" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Imagem realada" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Digitalizar" + +#. BUTTON_OK +msgid "Ok" +msgstr "" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Aceitar" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "No aceitar" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Aplicar" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Cancelar" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Reduzir" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Continue a seu risco" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Listar" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Sobregravar" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Lista de digitalizao em lote" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Digitalizar rea selecionada" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Apagar pgina" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Mostrar pgina" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Renomear pgina" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Deletar imagem" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Mostrar imagem" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Editar imagem" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Renomear imagem" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Inserir arquivo" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Criar projeto" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Enviar projeto" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Apagar projeto" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Incluir impressora" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Excluir impressora" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Capturar Prvia" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Cancelar prvia" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Descartar imagem" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Descartar todas as imagens" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "No fechar" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Escala cega" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Modo fino" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "Correio HTML" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Salvar preferncias do dispositivo na sada" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Aviso ao Sobregravar" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Pular arquivos existentes" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Salvar pnm 16bits em formato ascii" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Reduzir imagem 16 bits para 8 bits" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Tamanho da janela principal fixado" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Desabilita prvia gama do gimp" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Usar mapa de cores particular" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Alto realce gama" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Pr-seleciona rea de digitalizao" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Corrigir cores" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "Autenticao POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Usar barra grfica de progresso" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "procurando por dispositivos" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Dispositivos disponveis:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Opes do XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Modo do XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Passo" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Tipo" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Scaner e driver:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Fabricante:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Modelo:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Tipo:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Dispositivo:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Driver carregado:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Verso do Sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Valores recentes:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Correo Gamma por:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "scaner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "programa (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "nenhum" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Profundidade da entrada gama:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Profundidade da sada gama:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Profundidade de sada do scaner:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Formatos de saida do XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "Formatos de sada de 8 bits:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "Formatos de sada de 16 bits:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp no suporta profundidade de cores de 16 bits.\n" +"Voc quer reduzir a profundidade para cores de 8 bits?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Profundidade de cores de 16 bits no so suportadas para este formato de " +"sada.\n" +"Voc quer reduzir a profundidade para cores de 8 bits?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Autorizao requerida para" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Transmisso de senha segura" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Driver requer senha em texto puro" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Usurio :" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Senha :" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Parmetros invlidos." + +#. TEXT_VERSION +msgid "version:" +msgstr "versao:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "pacote" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "com suporte GIMP" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "sem suporte GIMP" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "compilado com GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "compilado com GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "desconhecido" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane distribudo sobre os termos da Licena Pblica Geral GNU\n" +"como publicado pela Free Software Foundation; tanto a verso 2 da\n" +"Licena, ou ( sua escolha) qualquer outra verso.\n" +"\n" +"Este programa distribudo na esperana que ele seja til, mas\n" +"SEM QUALQUER GARANTIA; nem mesmo a garantia implcita de\n" +"OPERACIONALIDADE ou CAPACIDADE PARA UMA FINALIDADE PARTICULAR.\n" +"No caso do programa se mostrar defeituoso, voc assume o custo de toda\n" +"necessidade de servio, concerto ou correo. Para usuar este programa voc\n" +"tem que ler, entender e aceitar o seguinte\n" +"contrato \"SEM GARANTIA\".\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane distribudo sobre os termos da Licena Pblica Geral GNU\n" +"como publicado pela Free Software Foundation; tanto a verso 2 da\n" +"Licena, ou ( sua escolha) qualquer outra verso.\n" +"\n" +"Este programa distribudo na esperana que ele seja til, mas\n" +"SEM QUALQUER GARANTIA; nem mesmo a garantia implcita de\n" +"OPERACIONALIDADE ou CAPACIDADE PARA UMA FINALIDADE PARTICULAR.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "E-mail:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Home page:" + +#. TEXT_FILE +msgid "File:" +msgstr "Arquivo:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Traduo:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"traduzido para o Portugus\n" +"por Yujo Rodrigues\n" +"Email: yujo@comp.ufu.br\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Pginas digitalizadas:" + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Texto do e-mail:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Anexos:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Estado do projeto:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Tipo de arquivo da imagem de correio:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Nome da mdia:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Tamanho %d x %d pontos, cores de %d bits, %d cores, %1.0f ppp x %1.0f ppp, %" +"1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Raio Despeckle:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Raio de embaamento:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(sem nome)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Nome da rea:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Modo de digitalizao:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Superior esquerdo:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Tamanho:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Resoluo:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Profundidade de bits:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "como selecionado" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Seleo de impressora:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Nome:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Comando:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Opo de nmero de cpias:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Resoluo de linha artstica (ppp):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Resoluo de tons de cinza (ppp):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Resoluo de cores (ppp):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Largura:" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Altura:" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Deslocamento esquerdo" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Deslocamento inferior" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Valor de impressora gama:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Vermelho gama da impressora:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Verde gama da Impressora:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Azul gama da Impressora:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Diretrio temporrio:" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Permisses do arquivo da imagem" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Permisses do diretrio" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Qualidade da imagem JPEG" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Compresso da imagem PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Comprimento do contador de arquivo" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Compresso de imagem TIFF 16 bits" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Compresso de imagem TIFF 8 bits" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Compresso de imagem TIFF linha artstica" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Mostre largura como:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Prvia de amostragem:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Prvia gama:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Prvia vermelho gama:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Prvia verde gama:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Prvia azul gama:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Opo de Threshold:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Modo de Alimentao de Documento Automtico" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Pr-visualiza a faixa da pipeta" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Threshold mnimo:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Threshold mximo:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Multiplicador de Threshold:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Deslocamento do Threshold:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Nome do modo de escala de cinzas:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Visualizador do arquivo de ajuda (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Opo de recebimento:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Opo de arquivo postscript:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Opo de modo normal:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Opo de modo fino:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Configura os padres do programa para:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Visualizador (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "Servidor SMTP:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "Porta SMTP:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "De:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Responder para:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "Servidor POP3" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "Porta POP3" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "Usurio POP3" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "Senha POP3:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Visualizador (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Comando OCR:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Opo do arquivo de entrada:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Opo do arquivo de sada:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Usar barra grfica de progresso:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Opo grfica de sada-fd:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Palavra-chave de progresso" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "usurio" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "grupo" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "tudo" + +msgid "new media" +msgstr "nova mdia" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Salvar" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Imagem" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Copiar" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Correio" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Vdeo" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Realamento" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "E-mail" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Mostrar dicas de ferramentas" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Mostrar prvia" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Mostrar histograma" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Mostrar curva gama" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Mostrar digitalizao em lote" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Mostrar opes padro" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Mostrar opes avanadas" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Configurao" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Unidade de medida" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milmetros" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centmetros" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "polegadas" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Poltica de atualizao" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "contnua" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "descontnua" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "pausada" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Mostrar lista de resoluo" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Rotacionar postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Edita definio da mdia" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Salvar parmetros do dispositivo" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Carregar parmetros do dispositivo" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Mudar diretrio" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Mostrar EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Mostrar licena (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Documentao do XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Documentao do Driver" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Driver disponveis" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Dicas de digitalizao" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problemas?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "inativo" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "sem compresso" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "Compresso Huffman CCITT 1D" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Compresso Fax CCITT Grupo 3" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Compresso Fax CCITT Grupo 4" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Compresso DCT JPEG" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "empacota bits" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Rolamento (Escala)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Rolamento (Barra de rolagem):" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Boto de Giro" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Escala e Boto de Giro" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Barra de rolagem e Boto de Giro" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Janela de Opes avanadas (linha artstica)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Janela principal do XSane (linha artstica)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Janela principal do XSane (escala de cinzas->linha artstica)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(nenhum)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "por extenso" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Incluir seleo na lista" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Adiciona definio da mdia" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Renomeia item" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Apaga item" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Move item para acima" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Move item para abaixo" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Digitalizando" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Recebendo dados %s" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Transferindo imagem" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Rotacionando imagem" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Espelhando imagem" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Empacotando imagem" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Convertendo imagem" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Salvando imagem" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Clonando imagem" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Redimencionando imagem" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Desembaraando imagem" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Embanando imagem" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR em progresso" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Inicia digitalizao " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Cancelar digitalizao " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Adquirir prvia " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Cancelar prvia " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"salvar-, ver-, fotocpia-, fax- ou mail-" +"" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Selecione o tipo da mdia de origem.\n" +"Para renomear, reordenar ou apagar uma entrada, use o menu de contexto " +"(boto esquerdo do mouse).\n" +"Para criar uma mdia ative a opo para editar definio de mdia no menu de " +"preferncias." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Valor que includo ao contador de arquivos depois de digitalizar" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Navegar por arquivos de imagem" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Nome de arquivo para imagem digitalizada" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Tipo de formato da imagem, a melhor extenso de arquivo automaticamente " +"acrescentada ao nome do arquivo" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Digite o nome do projeto de fax" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Digite o nome para a pgina de fax" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Digite nmero de telefone ou endereo do destinatrio" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Digite o nome do projeto de correio" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Digite o novo nome para a imagem de correio" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Digite o endereo de e-mail" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Digite o assunto do e-mail" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Selecione o tipoe de arquivo para anexos de imagem" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Digite o nome para a rea pr-selecionada" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Digite o nome para a nova rea pr-selecionada" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Digite o novo nome para a definio da mdia" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Digite o nome para a nova definio de mdia" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Selecione a definio de impressora " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Escolha a resoluo" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Escolha a resoluo para o eixo x" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Escolha a resoluo para o eixo y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Escolha o fator de zoom" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Escolha o fator de zoom para o eixo x" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Escolha o fator de zoom para o eixo y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Escolha o nmero de cpias" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativo: Inverte cores para digitalizar negativos " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Escolha valor gama" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Escolha valor gama para o componente vermelho" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Escolha valor gama para o componente verde" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Escolha valor gama para o componente azul" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Escolha o brilho" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Escolha o brilho para o componente vermelho" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Escolha o brilho para o componente verde" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Escolha o brilho para o componente azul" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Escolha o contraste" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Escolha o contraste para o componente vermelho" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Escolha o contraste para o componente verde" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Escolha o contraste para o componente azul" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Escolha o threshold" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"Padro RGB : Configura valores de realce do vermelho, verde e azul para " +"valores padro :\n" +" gama = 1.0\n" +" brilho = 0\n" +" contraste = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Ajusta automaticamente gama, brilho e constraste " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Configura os valores de realce padro :\n" +"gama = 1.0\n" +"brilho = 0\n" +"contraste = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Restaura os valores de realce das preferncias " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Armazena valores de realce ativos nas preferncias " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Mostra histograma de intensidade/cinza " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Mostra histograma do componente vermelho " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Mostra histograma do componente verde " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Mostra histograma do componente azul " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Modo do Visor: mostra histograma com linhas ao invs de pontos " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Mostra logartmo da contagem de pontos " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Selecione a definio para mudar" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Define um nome para a seleo desta definio" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Entre o comando para ser executado no modo de cpia (ex.: \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Digite a opo do nmero de cpias" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Resoluo com a qual imagens em linha artstica so impressas e salvadas em " +"postscript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Resoluo com a qual imagens em escala de cinzas so impressas e salvadas em " +"postscript" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Resoluo com a qual imagens coloridas so impressas e salvadas em postscript" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Largura da rea imprimvel" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Altura da rea imprimvel" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Deslocamento esquerdo do canto do papel at a rea imprimvel" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Deslocamento inferior do canto do papel at a rea imprimvel" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Valor gama adicional para fotocpia" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Valor gama adicional para o componente vermelho para fotocpia" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Valor gama adicional para o componente verde para fotocpia" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Valor gama adicional para o componente azul para fotocpia" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Caminho para o diretrio temporrio" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Procurar pelo diretrio temporrio" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Qualidade em porcentagem se a imagem salvada como jpeg ou tiff com " +"compresso jpeg" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Compresso se imagem salvada como png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Comprimento mnimo do contador no nome de arquivo" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Tipo de compresso se imagem de 16 bits salvada como tiff" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Tipo de compresso se imagem de 8 bits salvada como tiff" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Tipo de compresso se imagem em linha artstica salvada como tiff" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Salva preferncias dependentes do dispositivo em arquivo padro na sada do " +"xsane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Avisa antes de sobregravar um arquivo existente" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Se o contador do nome de arquivo auto-incrementado, nmeros usados so " +"pulados" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Quando uma imagem 16 bits deve ser salvada em formato pnm ento use formato " +"ascii ao invs do formato binrio. O formato binrio um novo formato que " +"no suportado por todos os programas. O formato ascii suportado por mais " +"programas mas ele produz arquivos realmente imensos!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Se o scaner envia imagem com 16 bits de cores salva imagem com 8 bits de " +"cores" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Largura do papel para arquivos postscript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Altura do papel para arquivos postscript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Deslocamento esquerdo do canto do papel at a rea usavel para arquivos " +"postscript" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Deslocamento inferior do canto do papel at a rea usvel para arquivos " +"postscript" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Usa janela principal de tamanho fixo ou janela principal rolvel e " +"redimensionvel" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Desabilita prvia gama quando XSane roda como plugin do gimp" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Usa um mapa de cres prprio para prvia se a profundidade do vdeo 8 bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Selecione como a extenso exibida" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Valor com o qual a resoluo prvia calculada multiplicada" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Escolha valor de correo gama para a prvia da imagem" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Muda valor de correo gama para o componente vermelho da prvia de imagem" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Muda valor de correo gama para o componente verde da prvia da imagem" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Muda valor de correo gama para o componente azul da prvia da imagem" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Define o modo que XSane deve usar a opo threshold" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Seleciona modo de digitalizao em tons de cinza. Este modo usado para pr-" +"visualizara digitalizao quando a transformao de tons de cinza para linha " +"de arte est habilitada" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "O nvel mnimo de threshold do scaner em %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "O nvel mximo de threshold do scaner em %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplicador para fazer as variaes de threshold de XSane e o do scaner " +"serem as mesmas" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Deslocamento para fazer as variaes de threshold de XSane e o do scaner " +"serem as mesmas" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Seleciona a entrada do scaner para Alimentao Automtica de Documento. Se " +"esta entradado scaner estiver selecionada XSane digitalizar at mensagem " +"\"sem papel\" ou algum erro." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"dimenso do quadro que usado para calcular a mdia de cores para a funo " +"pipeta" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Entra comando a ser executado para abrir um visualizador html para exibir " +"arquivos de ajuda" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "" +"Modifica o valor gama quando o boto de realce altomtico esta pressionado" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "" +"Seleciona rea de digitalizao aps a pr-visualizao ter sido concluda" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "" +"Faz uma correo de cores depois da pr-visualizao ter sido concluda" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Entra comando a ser executado no modo fax" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Entra opo para especificar o destinatrio" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Entra opo para especificar acompanhamento de arquivos postscript" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Entra opo para especificar modo normal (resoluo baixa)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Entra opo para especificar modo fino (alta resoluo)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Entra comando para ser executado para visualizar um fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Envia fax com resoluo vertical alta (196 lpp ao invs de 98 lpp)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "Endereo IP ou nome de Domnio do servidor SMTP" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "porta para conectar no servidor SMTP" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "entra seu endereo de e-mail" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "entra seu endereo de e-mail para e-mails respondidos" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Autentica com o servidor POP3 antes de enviar e-mail" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "Endereo IP ou nome de Domnio do servidor POP3" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "porta para conectar no servidor POP3" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "nome de usurio para o servidor POP3" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "senha para o servidor POP3" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Entra comando a ser executado para visualizar uma imagem de e-mail" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "Correio enviado no modo html, com imagem: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Entra comando para iniciar o programa de ocr" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Entra opo do programa de ocr para definir o arquivo de entrada" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Entra opo do programa ocr para definir o arquivo de sada" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Define se o programa de ocr suporta a barra grfica de progresso" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Entre com a opo do programa ocr para definir a sada do descritor de " +"arquivos no modo GUI" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"Define palavra chave que ser usada para marcar informao do progresso" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "ler" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "gravar" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "executar" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Inclui seleo para digitalizao em lote" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Pega ponto branco" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Pega ponto cinza" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Pega ponto preto" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Usa toda area de digitalizao" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Zoom 20% de saida" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Clique na posio para ampliar" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Ampliar rea selecionada" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Desfazer ltimo ampliamento" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Seleciona rea visvel" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Auto seleciona rea de digitalizao" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Obtm automaticamente a rea de digitalizao" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Apaga cache de imagem pr-visualizada" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"rea pr-configurada:\n" +"Para acrescentar nova rea ou editar uma rea existente, use o menu de " +"contexto (boto direito do mouse)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Rotaciona pr-visualizao e digitaliza" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Proporo da seleo" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Define a posio da imagem para impresso" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Reconhecimento ptico de Caracteres" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Desfaz ltima mudana" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Clona imagem" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Rotaciona imagem em 90 graus" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Rotaciona imagem em 180 graus" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Rotaciona imagem em 270 graus" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Espelha imagem no eixo vertical" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Espelha imagem no eixo horizontal" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Aumenta imagem" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Armazena mdia" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Apaga mdia ativa" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Fator de escala" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Fator de escala X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Fator de escala Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Dimensiona imagem para largura [em pontos]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Dimensiona imagem para altura [em pontos]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Esvazia lista de lote" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Salva lista de lote" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Carrega lista de lote" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Renomeia rea" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Acrescenta na lista de lote a rea de pr-visualizao selecionada" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Apaga rea selecionada da lista de lote" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Ativa o modo automtico" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Falha ao determinar o diretrio home:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Falha ao mudar o diretrio de trabalho para" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Nome de arquivo longo demais" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "No foi possvel criar arquivo temporrio" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Falha ao mudar valor da opo" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Falha ao obter valor da opo" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Erro na obteno de opo contadora" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Falha ao abrir dispositivo" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "nenhum dispositivo disponvel" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Erro durante leitura:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Erro durante gravao:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "No possvel usar profundidade" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP no pode usar profundidade de cores de %d" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Formato de gravao desconhecido" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Falha ao abrir" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "No foi possvel criar arquivo seguro (talvez o link no existe);" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Falha ao abrir pipe para executar comando de impresso" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Falha ao executar comando de impresso:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Falha ao iniciar digitalizador:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Falha ao obter parmetros:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Nenhum formato de sada foi dado" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "sem memria" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Driver envia mais dados da imagem do que sua definio em parmetros" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF reportou erro" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG reportou erro" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG reportou erro" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "tipo desconhecido" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "tipo de construtor desconhecido" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Opo possui nome vazio (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" +"Isto um bug do driver (backend). Por favor informe ao autor do backend!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Falha ao executar o visualizador da documentao:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Falha ao executar o visualizador de fax:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Falha ao executar o comando de fax:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Falha ao executar o visualizador de imagem do e-mail:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Falha ao executar o comando para ocr:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "formato de quadro ruim" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "no possvel mudar resoluo" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Arquivo de senha (%s) inseguro, use permisso x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "erro" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Nmero da maior verso do Sane no corresponde!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Maior verso do XSane =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "verso maior do drive =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAMA ABORTADO ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Falha ao alocar memria para imagem:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Pr-visualizao no pode usar profundidadde de bits" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Suporte ao gimp est faltando" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "No foi possvel criar arquivos de pr-visualizao temporrios" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "" +"No foi possvel criar nomes de arquivos para arquivos de pr-visualizao" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "No foi possvel criar projeto de fax" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Contador de nome de arquivos estorou" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "ateno: opo no tem o valor do construtor" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Voc est tentando rodar XSane como ROOT, o que realmente PERIGOSO!\n" +"\n" +"No envia nenhum relatrio de bugs quando voc\n" +"tiver qualquer problema enquando executar XSane como root:\n" +"VOC EST SOZINHO!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Erro" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Ateno" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Informao" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Erro do processo filho" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Falha ao criar arquivo:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Erro enquanto carregava configuraes do dispositivo:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "no um arquivo de configurao de dispositivo !!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Falha ao executar netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Enviar fax: nenhum destinatrio foi definido" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "foi criado para o dispositivo" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "voc precisa usar ele para o dispositivo" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "isto pode causar problemas!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Existem %d imagens no salvadas" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Arquivo %s j existe" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Arquivo %s no existe" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Arquivo %s no um arquivo postscript" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Formato de sada de %d-bit no suportado: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "visualizador de imagem no est salvado" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Uso:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPCAO]... [DISPOSITIVO]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Inicia a interface grafica de usuario para acessar os dispostivos do SANE" +"(Scanner Access Now Easy).\n" +"\n" +"O formato do [DISPOSITIVO] e o nomedodriver:arquivodedispostivo (ex.: umax:/" +"dev/scanner).\n" +"[OPCAO]... pode ser uma combinacao dos seguintes itens:\n" +" -h, --help mostra esta mensagem de ajuda e sai\n" +" -v, --version exibe a informacao da versao\n" +" -l, --license exibe a informacao da licena\n" +"\n" +" -d, --device-settings arquivo carrega configuracoes do dispositivo a " +"partir de um arquivo (sem \".drc\")\n" +"\n" +" -V, --viewer inicia com modo de visualizacao ativo " +"(padrao)\n" +" -s, --save inicia com modo de gravacao ativo\n" +" -c, --copy inicia com modo de copia ativo\n" +" -f, --fax inicia com modo de fax ativo\n" +" -m, --mail inicia com modo de correio ativo\n" +" -n, --no-mode-selection desabilita menu para selecao do modo de XSane\n" +"\n" +" -F, --Fixed tamanho da janela principal fixo (sobrepoe " +"valor das preferencias)\n" +" -R, --Resizeable janela principal rolavel e redimensionavel " +"(sobrepoe valor nas preferencias)\n" +"\n" +" -p, --print-filenames exibe nome de arquivos de imagens criadas por " +"XSane\n" +" -N, --force-filename nome fora nome de arquivo e desabilita selecao de " +"nome de arquivo pelo usuario\n" +"\n" +" --display ambiente-X11 redireciona saida para o ambiente-X11\n" +" --no-xshm nao usa imagens de memoria compartilhada\n" +" --sync requisita uma conexao sincrona com o servidor " +"X11" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Front-end para a interface SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Esta funo proporciona acesso aos scaners e outros dispositivos de " +"aquisio de imagens atravs da interface SANE (Scanner Access Now Easy)." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Janela de dispositivos..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "" + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "" + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Possveis motivos:\n" +"1) Realmente no existe um dispositivo que seja suportado pelo SANE\n" +"2) Dispositivos suportados esto ocupados\n" +"3) As permisses para o arquivo de dispositivo no lhe deixam us-lo - tente " +"como root\n" +"4) O driver no foi carregado pelo SANE (man sane-dll)\n" +"5) O driver no esta configurado corretamente (man sane-\"nomedodriver\")\n" +"6) Existe possvelmente mais de uma verso do SANE instalada" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "tamanho total" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 retrato" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 paisagem" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 retrato" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 paisagem" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 retrato" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN a5 paisagem" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal retrato" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal paisagem" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "carta retrato" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "carta paisagem" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Todas as cores" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Slide" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Negativo padro" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Negativo Agfa" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Negativo Agfa XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Negativo Agfa HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Negativo Fuji" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Negativo Kodak" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Negativo Konica" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Negativo Konica VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Negativo Rossmann HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Projeto de correio no foi criado" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Projeto de correio criado" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Projeto de correio alterado" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Erro lendo projeto de correio" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "Conexo POP3 falhou" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Login na conta POP3 falhou" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "Conexo SMTP falhou" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Entrada de remetente no foi aceita" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Entrada de destinatrio no foi aceita" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Dados do e-mail no aceitados" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Enviando correio" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Correio foi enviado" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Projeto de fax no foi criado" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Projeto de Fax criado" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Projeto de fax alterado" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Enviado Fax para fila" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax est pronto na fila" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "scaner de mesa" + +msgid "frame grabber" +msgstr "capturador de quadros" + +msgid "handheld scanner" +msgstr "scaner de handheld" + +msgid "still camera" +msgstr "cmera fotogrfica" + +msgid "video camera" +msgstr "cmera de vdeo" + +msgid "virtual device" +msgstr "dispositivo virtual" + +msgid "Success" +msgstr "Sucesso" + +msgid "Operation not supported" +msgstr "Operao no suportada" + +msgid "Operation was cancelled" +msgstr "Operao foi cancelada" + +msgid "Device busy" +msgstr "Dispositivo ocupado" + +msgid "Invalid argument" +msgstr "Argumento invlido" + +msgid "End of file reached" +msgstr "Fim do arquivo" + +msgid "Document feeder jammed" +msgstr "Alimentador de Documento est engasgado" + +msgid "Document feeder out of documents" +msgstr "Alimentador de documento sem documentos" + +msgid "Scanner cover is open" +msgstr "Tampa do scaner esta aberta" + +msgid "Error during device I/O" +msgstr "Erro durante operao de E/S com o dispositivo" + +msgid "Out of memory" +msgstr "Sem memria" + +msgid "Access to resource has been denied" +msgstr "Acesso ao recurso foi proibido" diff --git a/po/pt_BR.gmo b/po/pt_BR.gmo new file mode 100644 index 0000000..9ac8785 Binary files /dev/null and b/po/pt_BR.gmo differ diff --git a/po/pt_BR.po b/po/pt_BR.po new file mode 100644 index 0000000..dde53d1 --- /dev/null +++ b/po/pt_BR.po @@ -0,0 +1,2819 @@ +# Portuguese translation for XSane. +# Copyright (C) 2002-2004 Yujo Rodrigues +# Yujo Rodrigues , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-10-08 22:00+3\n" +"Last-Translator: Yujo Rodrigues \n" +"Language-Team: Brazilian Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "pt_BR" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "clone-de-" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Sobre" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Sobre a traduo" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "autorizao" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - a licena" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Contrato de Licena com o Usurio Final" + +#. WINDOW_INFO +msgid "info" +msgstr "" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "carrega lista de lote" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "salva lista de lote" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "digitaliza lote" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "renomeia area de lote" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "projeto de fax" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "renomeia pgina de fax" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "insere arquivo-ps em um fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "projeto de e-mail" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "renomeia imagem de correio" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "insere arquivo no correio" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "renomeia area predefinida" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "adiciona rea pr-definida" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "renomeia mdia" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "adiciona nova mdia" + +#. WINDOW_SETUP +msgid "setup" +msgstr "configurao" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histograma" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Curva gama" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Opes padro" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Opes avanadas" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "seleo do dispositivo" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Pr-Visualizao" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Visualizador" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Visualizador: selecione arquivo de sada" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Selecione arquivo de sada para o texto do OCR" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "selecione arquivo de sada" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "salva configuraes do dispositivo" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "carrega configuraes do dispositivo" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "altera o diretrio de trabalho" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "seleciona o diretrio temporrio" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Escala da imagem" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Desembaraa imagem" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Embaa imagem" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Armazena definio da mdia" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Nenhum dispositivo disponvel" + +#. MENU_FILE +msgid "File" +msgstr "Arquivo" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Preferncias" + +#. MENU_VIEW +msgid "View" +msgstr "Visualizar" + +#. MENU_WINDOW +msgid "Window" +msgstr "Janela" + +#. MENU_HELP +msgid "Help" +msgstr "Ajuda" + +#. MENU_EDIT +msgid "Edit" +msgstr "Edita" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtros" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometria" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Sobre XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Informaes" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Sair" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Salvar imagem" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - salvar como texto" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Clonar" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Escala" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Fechar" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Desfazer" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Desembaraar" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Embaar" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Rotaciona 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rotaciona 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rotaciona 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Espelha |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Espelha -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Imagem raw" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Imagem realada" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Digitalizar" + +#. BUTTON_OK +msgid "Ok" +msgstr "" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Aceitar" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "No aceitar" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Aplicar" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Cancelar" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Reduzir" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Continue a seu risco" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Listar" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Sobregravar" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Lista de digitalizao em lote" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Digitalizar rea selecionada" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Apagar pgina" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Mostrar pgina" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Renomear pgina" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Deletar imagem" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Mostrar imagem" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Editar imagem" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Renomear imagem" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Inserir arquivo" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Criar projeto" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Enviar projeto" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Apagar projeto" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Incluir impressora" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Excluir impressora" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Capturar Prvia" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Cancelar prvia" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Descartar imagem" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Descartar todas as imagens" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "No fechar" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Escala cega" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Modo fino" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "Correio HTML" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Salvar preferncias do dispositivo na sada" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Aviso ao Sobregravar" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Pular arquivos existentes" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Salvar pnm 16bits em formato ascii" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Reduzir imagem 16 bits para 8 bits" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Tamanho da janela principal fixado" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Desabilita prvia gama do gimp" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Usar mapa de cores particular" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Alto realce gama" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Pr-seleciona rea de digitalizao" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Corrigir cores" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "Autenticao POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Usar barra grfica de progresso" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "procurando por dispositivos" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Dispositivos disponveis:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Opes do XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Modo do XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Passo" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Tipo" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Scaner e driver:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Fabricante:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Modelo:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Tipo:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Dispositivo:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Driver carregado:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Verso do Sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Valores recentes:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Correo Gamma por:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "scaner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "programa (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "nenhum" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Profundidade da entrada gama:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Profundidade da sada gama:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Profundidade de sada do scaner:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Formatos de saida do XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "Formatos de sada de 8 bits:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "Formatos de sada de 16 bits:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp no suporta profundidade de cores de 16 bits.\n" +"Voc quer reduzir a profundidade para cores de 8 bits?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Profundidade de cores de 16 bits no so suportadas para este formato de " +"sada.\n" +"Voc quer reduzir a profundidade para cores de 8 bits?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Autorizao requerida para" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Transmisso de senha segura" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Driver requer senha em texto puro" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Usurio :" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Senha :" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Parmetros invlidos." + +#. TEXT_VERSION +msgid "version:" +msgstr "versao:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "pacote" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "com suporte GIMP" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "sem suporte GIMP" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "compilado com GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "compilado com GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "desconhecido" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane distribudo sobre os termos da Licena Pblica Geral GNU\n" +"como publicado pela Free Software Foundation; tanto a verso 2 da\n" +"Licena, ou ( sua escolha) qualquer outra verso.\n" +"\n" +"Este programa distribudo na esperana que ele seja til, mas\n" +"SEM QUALQUER GARANTIA; nem mesmo a garantia implcita de\n" +"OPERACIONALIDADE ou CAPACIDADE PARA UMA FINALIDADE PARTICULAR.\n" +"No caso do programa se mostrar defeituoso, voc assume o custo de toda\n" +"necessidade de servio, concerto ou correo. Para usuar este programa voc\n" +"tem que ler, entender e aceitar o seguinte\n" +"contrato \"SEM GARANTIA\".\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane distribudo sobre os termos da Licena Pblica Geral GNU\n" +"como publicado pela Free Software Foundation; tanto a verso 2 da\n" +"Licena, ou ( sua escolha) qualquer outra verso.\n" +"\n" +"Este programa distribudo na esperana que ele seja til, mas\n" +"SEM QUALQUER GARANTIA; nem mesmo a garantia implcita de\n" +"OPERACIONALIDADE ou CAPACIDADE PARA UMA FINALIDADE PARTICULAR.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "E-mail:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Home page:" + +#. TEXT_FILE +msgid "File:" +msgstr "Arquivo:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Traduo:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"traduzido para o Portugus do Brasil\n" +"por Yujo Rodrigues\n" +"Email: yujo@comp.ufu.br\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Pginas digitalizadas:" + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Texto do e-mail:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Anexos:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Estado do projeto:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Tipo de arquivo da imagem de correio:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Nome da mdia:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Tamanho %d x %d pontos, cores de %d bits, %d cores, %1.0f ppp x %1.0f ppp, %" +"1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Raio Despeckle:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Raio de embaamento:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(sem nome)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Nome da rea:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Modo de digitalizao:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Superior esquerdo:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Tamanho:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Resoluo:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Profundidade de bits:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "como selecionado" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Seleo de impressora:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Nome:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Comando:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Opo de nmero de cpias:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Resoluo de linha artstica (ppp):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Resoluo de tons de cinza (ppp):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Resoluo de cores (ppp):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Largura:" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Altura:" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Deslocamento esquerdo" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Deslocamento inferior" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Valor de impressora gama:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Vermelho gama da impressora:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Verde gama da Impressora:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Azul gama da Impressora:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Diretrio temporrio:" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Permisses do arquivo da imagem" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Permisses do diretrio" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Qualidade da imagem JPEG" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Compresso da imagem PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Comprimento do contador de arquivo" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Compresso de imagem TIFF 16 bits" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Compresso de imagem TIFF 8 bits" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Compresso de imagem TIFF linha artstica" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Mostre largura como:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Prvia de amostragem:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Prvia gama:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Prvia vermelho gama:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Prvia verde gama:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Prvia azul gama:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Opo de Threshold:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Modo de Alimentao de Documento Automtico" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Pr-visualiza a faixa da pipeta" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Threshold mnimo:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Threshold mximo:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Multiplicador de Threshold:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Deslocamento do Threshold:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Nome do modo de escala de cinzas:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Visualizador do arquivo de ajuda (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Opo de recebimento:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Opo de arquivo postscript:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Opo de modo normal:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Opo de modo fino:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Configura os padres do programa para:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Visualizador (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "Servidor SMTP:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "Porta SMTP:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "De:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Responder para:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "Servidor POP3" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "Porta POP3" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "Usurio POP3" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "Senha POP3:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Visualizador (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Comando OCR:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Opo do arquivo de entrada:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Opo do arquivo de sada:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Usar barra grfica de progresso:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Opo grfica de sada-fd:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Palavra-chave de progresso" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "usurio" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "grupo" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "tudo" + +msgid "new media" +msgstr "nova mdia" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Salvar" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Imagem" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Copiar" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Correio" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Vdeo" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Realamento" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "E-mail" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Mostrar dicas de ferramentas" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Mostrar prvia" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Mostrar histograma" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Mostrar curva gama" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Mostrar digitalizao em lote" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Mostrar opes padro" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Mostrar opes avanadas" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Configurao" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Unidade de medida" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milmetros" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centmetros" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "polegadas" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Poltica de atualizao" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "contnua" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "descontnua" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "pausada" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Mostrar lista de resoluo" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Rotacionar postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Edita definio da mdia" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Salvar parmetros do dispositivo" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Carregar parmetros do dispositivo" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Mudar diretrio" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Mostrar EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Mostrar licena (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Documentao do XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Documentao do Driver" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Driver disponveis" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Dicas de digitalizao" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problemas?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "inativo" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "sem compresso" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "Compresso Huffman CCITT 1D" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Compresso Fax CCITT Grupo 3" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Compresso Fax CCITT Grupo 4" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Compresso DCT JPEG" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "empacota bits" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Rolamento (Escala)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Rolamento (Barra de rolagem):" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Boto de Giro" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Escala e Boto de Giro" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Barra de rolagem e Boto de Giro" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Janela de Opes avanadas (linha artstica)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Janela principal do XSane (linha artstica)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Janela principal do XSane (escala de cinzas->linha artstica)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(nenhum)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "por extenso" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Incluir seleo na lista" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Adiciona definio da mdia" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Renomeia item" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Apaga item" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Move item para acima" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Move item para abaixo" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Digitalizando" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Recebendo dados %s" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Transferindo imagem" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Rotacionando imagem" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Espelhando imagem" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Empacotando imagem" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Convertendo imagem" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Salvando imagem" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Clonando imagem" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Redimencionando imagem" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Desembaraando imagem" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Embanando imagem" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR em progresso" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Inicia digitalizao " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Cancelar digitalizao " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Adquirir prvia " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Cancelar prvia " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"salvar-, ver-, fotocpia-, fax- ou mail-" +"" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Selecione o tipo da mdia de origem.\n" +"Para renomear, reordenar ou apagar uma entrada, use o menu de contexto " +"(boto esquerdo do mouse).\n" +"Para criar uma mdia ative a opo para editar definio de mdia no menu de " +"preferncias." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Valor que includo ao contador de arquivos depois de digitalizar" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Navegar por arquivos de imagem" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Nome de arquivo para imagem digitalizada" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Tipo de formato da imagem, a melhor extenso de arquivo automaticamente " +"acrescentada ao nome do arquivo" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Digite o nome do projeto de fax" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Digite o nome para a pgina de fax" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Digite nmero de telefone ou endereo do destinatrio" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Digite o nome do projeto de correio" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Digite o novo nome para a imagem de correio" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Digite o endereo de e-mail" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Digite o assunto do e-mail" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Selecione o tipoe de arquivo para anexos de imagem" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Digite o nome para a rea pr-selecionada" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Digite o nome para a nova rea pr-selecionada" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Digite o novo nome para a definio da mdia" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Digite o nome para a nova definio de mdia" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Selecione a definio de impressora " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Escolha a resoluo" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Escolha a resoluo para o eixo x" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Escolha a resoluo para o eixo y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Escolha o fator de zoom" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Escolha o fator de zoom para o eixo x" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Escolha o fator de zoom para o eixo y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Escolha o nmero de cpias" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativo: Inverte cores para digitalizar negativos " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Escolha valor gama" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Escolha valor gama para o componente vermelho" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Escolha valor gama para o componente verde" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Escolha valor gama para o componente azul" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Escolha o brilho" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Escolha o brilho para o componente vermelho" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Escolha o brilho para o componente verde" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Escolha o brilho para o componente azul" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Escolha o contraste" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Escolha o contraste para o componente vermelho" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Escolha o contraste para o componente verde" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Escolha o contraste para o componente azul" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Escolha o threshold" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"Padro RGB : Configura valores de realce do vermelho, verde e azul para " +"valores padro :\n" +" gama = 1.0\n" +" brilho = 0\n" +" contraste = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Ajusta automaticamente gama, brilho e constraste " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Configura os valores de realce padro :\n" +"gama = 1.0\n" +"brilho = 0\n" +"contraste = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Restaura os valores de realce das preferncias " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Armazena valores de realce ativos nas preferncias " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Mostra histograma de intensidade/cinza " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Mostra histograma do componente vermelho " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Mostra histograma do componente verde " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Mostra histograma do componente azul " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Modo do Visor: mostra histograma com linhas ao invs de pontos " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Mostra logartmo da contagem de pontos " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Selecione a definio para mudar" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Define um nome para a seleo desta definio" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Entre o comando para ser executado no modo de cpia (ex.: \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Digite a opo do nmero de cpias" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Resoluo com a qual imagens em linha artstica so impressas e salvadas em " +"postscript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Resoluo com a qual imagens em escala de cinzas so impressas e salvadas em " +"postscript" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Resoluo com a qual imagens coloridas so impressas e salvadas em postscript" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Largura da rea imprimvel" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Altura da rea imprimvel" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Deslocamento esquerdo do canto do papel at a rea imprimvel" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Deslocamento inferior do canto do papel at a rea imprimvel" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Valor gama adicional para fotocpia" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Valor gama adicional para o componente vermelho para fotocpia" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Valor gama adicional para o componente verde para fotocpia" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Valor gama adicional para o componente azul para fotocpia" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Caminho para o diretrio temporrio" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Procurar pelo diretrio temporrio" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Qualidade em porcentagem se a imagem salvada como jpeg ou tiff com " +"compresso jpeg" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Compresso se imagem salvada como png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Comprimento mnimo do contador no nome de arquivo" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Tipo de compresso se imagem de 16 bits salvada como tiff" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Tipo de compresso se imagem de 8 bits salvada como tiff" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Tipo de compresso se imagem em linha artstica salvada como tiff" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Salva preferncias dependentes do dispositivo em arquivo padro na sada do " +"xsane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Avisa antes de sobregravar um arquivo existente" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Se o contador do nome de arquivo auto-incrementado, nmeros usados so " +"pulados" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Quando uma imagem 16 bits deve ser salvada em formato pnm ento use formato " +"ascii ao invs do formato binrio. O formato binrio um novo formato que " +"no suportado por todos os programas. O formato ascii suportado por mais " +"programas mas ele produz arquivos realmente imensos!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Se o scaner envia imagem com 16 bits de cores salva imagem com 8 bits de " +"cores" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Largura do papel para arquivos postscript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Altura do papel para arquivos postscript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Deslocamento esquerdo do canto do papel at a rea usavel para arquivos " +"postscript" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Deslocamento inferior do canto do papel at a rea usvel para arquivos " +"postscript" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Usa janela principal de tamanho fixo ou janela principal rolvel e " +"redimensionvel" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Desabilita prvia gama quando XSane roda como plugin do gimp" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Usa um mapa de cres prprio para prvia se a profundidade do vdeo 8 bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Selecione como a extenso exibida" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Valor com o qual a resoluo prvia calculada multiplicada" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Escolha valor de correo gama para a prvia da imagem" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Muda valor de correo gama para o componente vermelho da prvia de imagem" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Muda valor de correo gama para o componente verde da prvia da imagem" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "Muda valor de correo gama para o componente azul da prvia da imagem" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Define o modo que XSane deve usar a opo threshold" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Seleciona modo de digitalizao em tons de cinza. Este modo usado para pr-" +"visualizara digitalizao quando a transformao de tons de cinza para linha " +"de arte est habilitada" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "O nvel mnimo de threshold do scaner em %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "O nvel mximo de threshold do scaner em %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplicador para fazer as variaes de threshold de XSane e o do scaner " +"serem as mesmas" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Deslocamento para fazer as variaes de threshold de XSane e o do scaner " +"serem as mesmas" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Seleciona a entrada do scaner para Alimentao Automtica de Documento. Se " +"esta entradado scaner estiver selecionada XSane digitalizar at mensagem " +"\"sem papel\" ou algum erro." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"dimenso do quadro que usado para calcular a mdia de cores para a funo " +"pipeta" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Entra comando a ser executado para abrir um visualizador html para exibir " +"arquivos de ajuda" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "" +"Modifica o valor gama quando o boto de realce altomtico esta pressionado" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "" +"Seleciona rea de digitalizao aps a pr-visualizao ter sido concluda" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "" +"Faz uma correo de cores depois da pr-visualizao ter sido concluda" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Entra comando a ser executado no modo fax" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Entra opo para especificar o destinatrio" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Entra opo para especificar acompanhamento de arquivos postscript" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Entra opo para especificar modo normal (resoluo baixa)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Entra opo para especificar modo fino (alta resoluo)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Entra comando para ser executado para visualizar um fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Envia fax com resoluo vertical alta (196 lpp ao invs de 98 lpp)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "Endereo IP ou nome de Domnio do servidor SMTP" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "porta para conectar no servidor SMTP" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "entra seu endereo de e-mail" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "entra seu endereo de e-mail para e-mails respondidos" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Autentica com o servidor POP3 antes de enviar e-mail" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "Endereo IP ou nome de Domnio do servidor POP3" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "porta para conectar no servidor POP3" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "nome de usurio para o servidor POP3" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "senha para o servidor POP3" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Entra comando a ser executado para visualizar uma imagem de e-mail" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "Correio enviado no modo html, com imagem: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Entra comando para iniciar o programa de ocr" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Entra opo do programa de ocr para definir o arquivo de entrada" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Entra opo do programa ocr para definir o arquivo de sada" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Define se o programa de ocr suporta a barra grfica de progresso" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Entre com a opo do programa ocr para definir a sada do descritor de " +"arquivos no modo GUI" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"Define palavra chave que ser usada para marcar informao do progresso" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "ler" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "gravar" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "executar" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Inclui seleo para digitalizao em lote" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Pega ponto branco" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Pega ponto cinza" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Pega ponto preto" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Usa toda area de digitalizao" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Zoom 20% de saida" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Clique na posio para ampliar" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Ampliar rea selecionada" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Desfazer ltimo ampliamento" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Seleciona rea visvel" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Auto seleciona rea de digitalizao" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Obtm automaticamente a rea de digitalizao" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Apaga cache de imagem pr-visualizada" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"rea pr-configurada:\n" +"Para acrescentar nova rea ou editar uma rea existente, use o menu de " +"contexto (boto direito do mouse)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Rotaciona pr-visualizao e digitaliza" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Proporo da seleo" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Define a posio da imagem para impresso" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Reconhecimento ptico de Caracteres" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Desfaz ltima mudana" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Clona imagem" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Rotaciona imagem em 90 graus" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Rotaciona imagem em 180 graus" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Rotaciona imagem em 270 graus" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Espelha imagem no eixo vertical" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Espelha imagem no eixo horizontal" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Aumenta imagem" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Armazena mdia" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Apaga mdia ativa" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Fator de escala" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Fator de escala X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Fator de escala Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Dimensiona imagem para largura [em pontos]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Dimensiona imagem para altura [em pontos]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Esvazia lista de lote" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Salva lista de lote" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Carrega lista de lote" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Renomeia rea" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Acrescenta na lista de lote a rea de pr-visualizao selecionada" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Apaga rea selecionada da lista de lote" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Ativa o modo automtico" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Falha ao determinar o diretrio home:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Falha ao mudar o diretrio de trabalho para" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Nome de arquivo longo demais" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "No foi possvel criar arquivo temporrio" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Falha ao mudar valor da opo" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Falha ao obter valor da opo" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Erro na obteno de opo contadora" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Falha ao abrir dispositivo" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "nenhum dispositivo disponvel" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Erro durante leitura:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Erro durante gravao:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "No possvel usar profundidade" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP no pode usar profundidade de cores de %d" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Formato de gravao desconhecido" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Falha ao abrir" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "No foi possvel criar arquivo seguro (talvez o link no existe);" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Falha ao abrir pipe para executar comando de impresso" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Falha ao executar comando de impresso:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Falha ao iniciar digitalizador:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Falha ao obter parmetros:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Nenhum formato de sada foi dado" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "sem memria" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Driver envia mais dados da imagem do que sua definio em parmetros" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF reportou erro" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG reportou erro" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG reportou erro" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "tipo desconhecido" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "tipo de construtor desconhecido" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Opo possui nome vazio (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" +"Isto um bug do driver (backend). Por favor informe ao autor do backend!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Falha ao executar o visualizador da documentao:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Falha ao executar o visualizador de fax:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Falha ao executar o comando de fax:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Falha ao executar o visualizador de imagem do e-mail:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Falha ao executar o comando para ocr:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "formato de quadro ruim" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "no possvel mudar resoluo" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Arquivo de senha (%s) inseguro, use permisso x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "erro" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Nmero da maior verso do Sane no corresponde!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Maior verso do XSane =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "verso maior do drive =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAMA ABORTADO ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Falha ao alocar memria para imagem:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Pr-visualizao no pode usar profundidadde de bits" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Suporte ao gimp est faltando" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "No foi possvel criar arquivos de pr-visualizao temporrios" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "" +"No foi possvel criar nomes de arquivos para arquivos de pr-visualizao" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "No foi possvel criar projeto de fax" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Contador de nome de arquivos estorou" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "ateno: opo no tem o valor do construtor" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Voc est tentando rodar XSane como ROOT, o que realmente PERIGOSO!\n" +"\n" +"No envia nenhum relatrio de bugs quando voc\n" +"tiver qualquer problema enquando executar XSane como root:\n" +"VOC EST SOZINHO!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Erro" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Ateno" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Informao" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Erro do processo filho" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Falha ao criar arquivo:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Erro enquanto carregava configuraes do dispositivo:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "no um arquivo de configurao de dispositivo !!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Falha ao executar netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Enviar fax: nenhum destinatrio foi definido" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "foi criado para o dispositivo" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "voc precisa usar ele para o dispositivo" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "isto pode causar problemas!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Existem %d imagens no salvadas" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Arquivo %s j existe" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Arquivo %s no existe" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Arquivo %s no um arquivo postscript" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Formato de sada de %d-bit no suportado: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "visualizador de imagem no est salvado" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Uso:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPCAO]... [DISPOSITIVO]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Inicia a interface grafica de usuario para acessar os dispostivos do SANE" +"(Scanner Access Now Easy).\n" +"\n" +"O formato do [DISPOSITIVO] e o nomedodriver:arquivodedispostivo (ex.: umax:/" +"dev/scanner).\n" +"[OPCAO]... pode ser uma combinacao dos seguintes itens:\n" +" -h, --help mostra esta mensagem de ajuda e sai\n" +" -v, --version exibe a informacao da versao\n" +" -l, --license exibe a informacao da licena\n" +"\n" +" -d, --device-settings arquivo carrega configuracoes do dispositivo a " +"partir de um arquivo (sem \".drc\")\n" +"\n" +" -V, --viewer inicia com modo de visualizacao ativo " +"(padrao)\n" +" -s, --save inicia com modo de gravacao ativo\n" +" -c, --copy inicia com modo de copia ativo\n" +" -f, --fax inicia com modo de fax ativo\n" +" -m, --mail inicia com modo de correio ativo\n" +" -n, --no-mode-selection desabilita menu para selecao do modo de XSane\n" +"\n" +" -F, --Fixed tamanho da janela principal fixo (sobrepoe " +"valor das preferencias)\n" +" -R, --Resizeable janela principal rolavel e redimensionavel " +"(sobrepoe valor nas preferencias)\n" +"\n" +" -p, --print-filenames exibe nome de arquivos de imagens criadas por " +"XSane\n" +" -N, --force-filename nome fora nome de arquivo e desabilita selecao de " +"nome de arquivo pelo usuario\n" +"\n" +" --display ambiente-X11 redireciona saida para o ambiente-X11\n" +" --no-xshm nao usa imagens de memoria compartilhada\n" +" --sync requisita uma conexao sincrona com o servidor " +"X11" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Front-end para a interface SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Esta funo proporciona acesso aos scaners e outros dispositivos de " +"aquisio de imagens atravs da interface SANE (Scanner Access Now Easy)." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/File/Acquire/XSane: Janela de dispositivos..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "" + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "" + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Possveis motivos:\n" +"1) Realmente no existe um dispositivo que seja suportado pelo SANE\n" +"2) Dispositivos suportados esto ocupados\n" +"3) As permisses para o arquivo de dispositivo no lhe deixam us-lo - tente " +"como root\n" +"4) O driver no foi carregado pelo SANE (man sane-dll)\n" +"5) O driver no esta configurado corretamente (man sane-\"nomedodriver\")\n" +"6) Existe possvelmente mais de uma verso do SANE instalada" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "tamanho total" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 retrato" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 paisagem" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 retrato" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 paisagem" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 retrato" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN a5 paisagem" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal retrato" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal paisagem" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "carta retrato" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "carta paisagem" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Todas as cores" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Slide" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Negativo padro" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Negativo Agfa" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Negativo Agfa XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Negativo Agfa HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Negativo Fuji" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Negativo Kodak" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Negativo Konica" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Negativo Konica VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Negativo Rossmann HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Projeto de correio no foi criado" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Projeto de correio criado" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Projeto de correio alterado" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Erro lendo projeto de correio" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "Conexo POP3 falhou" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Login na conta POP3 falhou" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "Conexo SMTP falhou" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Entrada de remetente no foi aceita" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Entrada de destinatrio no foi aceita" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Dados do e-mail no aceitados" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Enviando correio" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Correio foi enviado" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Projeto de fax no foi criado" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Projeto de Fax criado" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Projeto de fax alterado" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Enviado Fax para fila" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax est pronto na fila" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "scaner de mesa" + +msgid "frame grabber" +msgstr "capturador de quadros" + +msgid "handheld scanner" +msgstr "scaner de handheld" + +msgid "still camera" +msgstr "cmera fotogrfica" + +msgid "video camera" +msgstr "cmera de vdeo" + +msgid "virtual device" +msgstr "dispositivo virtual" + +msgid "Success" +msgstr "Sucesso" + +msgid "Operation not supported" +msgstr "Operao no suportada" + +msgid "Operation was cancelled" +msgstr "Operao foi cancelada" + +msgid "Device busy" +msgstr "Dispositivo ocupado" + +msgid "Invalid argument" +msgstr "Argumento invlido" + +msgid "End of file reached" +msgstr "Fim do arquivo" + +msgid "Document feeder jammed" +msgstr "Alimentador de Documento est engasgado" + +msgid "Document feeder out of documents" +msgstr "Alimentador de documento sem documentos" + +msgid "Scanner cover is open" +msgstr "Tampa do scaner esta aberta" + +msgid "Error during device I/O" +msgstr "Erro durante operao de E/S com o dispositivo" + +msgid "Out of memory" +msgstr "Sem memria" + +msgid "Access to resource has been denied" +msgstr "Acesso ao recurso foi proibido" diff --git a/po/ro.gmo b/po/ro.gmo new file mode 100644 index 0000000..cdb546d Binary files /dev/null and b/po/ro.gmo differ diff --git a/po/ro.po b/po/ro.po new file mode 100644 index 0000000..c177433 --- /dev/null +++ b/po/ro.po @@ -0,0 +1,2821 @@ +# translation of ro.po to Romanian +# Copyright (C) 2002, 2004 Free Software Foundation, Inc. +# Harald Ersch ,2002. +# Harald Ersch , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-27 19:55+0300\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.0.2\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "ro" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "clona " + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Despre" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Despre traducere" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "Autorizare" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "Licena GPL" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "End User License Agreement" + +#. WINDOW_INFO +msgid "info" +msgstr "Informaii" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "ncarc lista loturilor" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "Salveaz lista loturilor" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "Scanare lot" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "Redenumete zone predefinite pt. loturi" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "Proiect fax" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "Redenumete pagina de fax" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "Introduce fiier ps n fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "Trimite proiect prin email" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "Redenumete imagine scrisoare" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "Introduce fiier n email" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "Redenumete zone predefinite" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "Adaug zon predefinit" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Redenumire mediu" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "Adaug mediu nou" + +#. WINDOW_SETUP +msgid "setup" +msgstr "Configurare" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogram" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Curb gamma" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Opiuni standard" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Opiuni avansate" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "Selectare dispozitiv" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Previzualizare" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Vizualizare" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Vizualizator: selecteaz nume fiier ieire" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Selecteaz nume fiier ieire pt. fiierul text OCR" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "Selecteaz nume fiier ieire" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "Salveaz setrile dispozitivului" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "ncarc setrile dispozitivului" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "Schimb directorul de lucru" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "Selecteaz directorul temporar" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Scaleaz imaginea" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Scoate petele din imagine" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Face imaginea neclar" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Stocare definiie mediu" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Nu exist dispozitive disponibile" + +#. MENU_FILE +msgid "File" +msgstr "Fiier" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Preferine" + +#. MENU_VIEW +msgid "View" +msgstr "Vizualizare" + +#. MENU_WINDOW +msgid "Window" +msgstr "Fereastr" + +#. MENU_HELP +msgid "Help" +msgstr "Ajutor" + +#. MENU_EDIT +msgid "Edit" +msgstr "Editare" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtre" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometrie" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Despre Xsane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Info" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Ieire" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Salveaz imaginea" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - salvare ca text" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Cloneaz" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Scaleaz" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "nchide" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Des-face" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Scoate pete" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Difuzie" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Rotete 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rotire cu 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rotire cu 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Oglindire axa X" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Oglindire axa Y" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Imagine brut" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Imagine mbuntit" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Scaneaz" + +#. BUTTON_OK +msgid "Ok" +msgstr "OK" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Accept" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Refuz" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Aplic" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Renun" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Reduce" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Continuai pe riscul dvs." + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Navigheaz" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Suprascrie" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Scaneaz loturi" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Scaneaz zona selectat" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "terge pagina" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Arat pagina" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Redenumete pagina" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "terge imaginea" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Arat imaginea" + +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Editare imagine" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Redenumete imaginea" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Inserare fiier" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Creeaz proiect" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Trimite proiect" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "terge proiect" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Adaug imprimant" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "terge imprimant" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Obine o previzualizare" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Renun la previzualizare" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Renun la imagine" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Renun la toate imaginile" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Nu nchide" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Legare scal" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Mod fin" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "Email HTML" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Salveaz preferinele dispozitivului la ieire" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Avertizare la suprascriere" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Salt peste fiierele existente" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Salveaz pnm 16 bii n format ascii" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Reduce imaginea de la 16 la 8 bii" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Mrime fix pentru dimensiunea ferestrei principale" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Dezactiveaz previzualizare gamma n Gimp" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Folosete harta de culori personal" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "mbuntire automat gamma" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Preselectare zon de scanare" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Corecie automat culori" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "Autentificare POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Folosete pipe GUI pt. evoluie" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "Caut dispozitivele" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Dispozitive disponibile" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Opiuni XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Mod XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Pas" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Tip" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Scanner i backend:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Vnztor:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Tip:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Dispozitiv:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Backend ncrcat:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Versiune sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Valori recente:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Corecie gamma de:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "Scanner" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "Program (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "Nici unul" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Adncime intrare gamma:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Adncime ieire gamma:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Adncime ieire scanner:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Formate de ieire XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "Formate de ieire pe 8 bii:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "Formate de ieire pe 16 bii:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp nu susine adncimi de 16 bii/culoare.\n" +"Dorii s reducei adncimea la 8 bii/culoare?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Acest format de ieire nu susine adncimi de 16 bii/culoare.\n" +"Dorii s reducei adncimea la 8 bii/culoare?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Autorizare necesar pentru" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Transmiterea parolei este sigur" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Backend-ul necesit o parol text" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Nume utilizator:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Parol:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Parametri incoreci" + +#. TEXT_VERSION +msgid "version:" +msgstr "Versiune: " + +#. TEXT_PACKAGE +msgid "package" +msgstr "Pachet" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "Cu susinere GIMP" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "Fr susinere GIMP" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "Compilat cu GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "Compilat cu GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "Necunoscut" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane este distribuit sub termenii licenei GNU General Public\n" +"publicat de Free Software Foundation respectiv versiunea 2 a\n" +"licenei sau (opional) orice versiune mai recent.\n" +"\n" +"Acest program este distribuit n sperana ca va fi folositor, dar\n" +"FR NICI O GARANIE. \n" +"Dac programul nu funcioneaz, v asumai toate costurile\n" +"rezultate din repataii, depanri sau corecii.\n" +"\n" +"Pentru a folosi acest program, trebuie s citii, nelegei i acceptai\n" +"urmtorul contract \"FR GARANIE\".\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane este distribuit sub termenii licenei GNU General Public\n" +"publicat de Free Software Foundation respectiv versiunea 2 a\n" +"licenei sau (opional) orice versiune mai recent.\n" +"\n" +"Acest program este distribuit n sperana ca va fi folositor, dar\n" +"FR NICI O GARANIE. \n" +"\n" +"Pentru a folosi acest program, trebuie s citii, nelegei i acceptai\n" +"urmtorul contract \"FR GARANIE\".\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Email:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Pagin acas:" + +#. TEXT_FILE +msgid "File:" +msgstr "Fiier:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Traducere:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"Tradus n limba romn\n" +"de Harald Ersch - 2002\n" +"Email: hersch@romatsa.ro\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Pagini scanate: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Text email:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Ataamente:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Stare proiect:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Tip fiier mail imagine:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Nume mediu:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Mrime %d x %d pixeli, %d bii/culoare, %d culori, %1.0f dpi x %1.0f dpi, %" +"1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Raza scos pete:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Raza difuzie:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(fr nume)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Nume zon:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Mod scanare:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Stnga sus:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Mrime:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Rezoluie:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Adncime n bii :" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "ca selecia" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Selectare imprimant:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Nume:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Comand:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Opiune numr de cpii:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Rezoluie alb/negru (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Rezoluie scar de gri (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Rezoluie color (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Lime" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "nlime" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Decalaj stnga" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Decalaj jos" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Valoare gamma imprimant:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Gamma - component rou - pt. imprimant" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Gamma - component verde - pt. imprimant" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Gamma - component albastru - pt. imprimant" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Director temporar" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Drepturi fiier imagine" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Drepturi n director" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Calitate imagine JPEG" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Comprimare imagine PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Lungime contor pt. nume fiier" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Comprimare imagine TIFF pe 16 bii" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Comprimare imagine TIFF pe 8 bii" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Comprimare imagine TIFF alb/negru (pe 1bit)" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Arat gama ca:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Previzualizare supraeantionare:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Previzualizare gamma:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Previzualizare gamma rou:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Previzualizare gamma vede:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Previzualizare gamma albastru:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Opiuni prag:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Mod ncrcare automat documente:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Previzualizare gam pipet" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Prag minim:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Prag maxim:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Multiplicator prag:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Decalaj prag:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Nume mod scanare n scar de gri:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Vizualizator fiiere de ajutor (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Opiuni destinatar:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Opiuni postscript:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Opiuni mod Normal:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Opiuni mod Fin:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Seteaz valori implicite n program pt.:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Vizualizator (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "Server SMTP:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "Port SMTP:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "De la:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Rspuns la:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "Server POP3:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "Port POP3:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "Utilizator POP3:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "Parola POP3:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Vizualizator (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Comand OCR:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Opiune fiier de intrare" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Opiune fiier de ieire" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Folosete pipe GUI pt. evoluie:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Opiune fd ieire GUI:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Cuvnt cheie evoluie:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "utilizator" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "grup" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "toi" + +msgid "new media" +msgstr "mediu nou" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Salvare" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Imagine" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Copiere" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Fax" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Pot" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Afiare" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "mbuntire" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Pota electronic" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Arat ponturi" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Arat previzualizarea" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Arat histograma" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Arat curba gamma" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Arat scanare loturi" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Arat opiunile standard" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Arat opiunile avansate" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Configurare" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Unitate de lungime" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milimetri" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimetri" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "inci" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Politica de actualizare" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "continu" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "discontinu" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "ntrziat" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Arat lista rezoluiilor" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Rotete postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Editare definiie mediu" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Salveaz setri dispozitiv" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "ncarc setri dispozitiv" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Schimb directorul" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Arat EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Arat licena (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Documentaie XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Documentaie backend" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Backend-uri disponibile" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Ponturi pt. scanare" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Probleme?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "inactiv" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "Necomprimat" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "Compresie CCITT 1D Huffmann" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Compresie CCITT Grup 3 Huffmann" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Compresie CCITT Grup 4 Huffmann" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Compresie JPEG DCT" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "pack bits" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Alunector (Scal)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Alunector (Bar de derulare)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Buton rotativ" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Scal i buton rotativ" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Bar de derulare i buton rotativ" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Fereastr opiuni standard (alb/negru)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Fereastr principal XSane (alb/negru)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Fereastr principal XSane (scal de gri->alb/negru)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(nimic)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "dup extensie" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Adaug selecia la list" + +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Adaug definiie mediu" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Redenumete articol" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "terge articol" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Mut articol n sus" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Mut articol n jos" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Scanare..." + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Primesc date %s" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Transfer imaginea" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Rotesc imaginea" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Oglindesc imaginea" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "mpachetez imaginea" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Convertesc imaginea" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Salvez imaginea" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Clonez imaginea" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Scalez imaginea" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Scot petele din imagine" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Fac imaginea neclar" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Recunoatere optic de caractere n evoluie" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Pornete scanarea" + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Renun la scanare" + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Scanare pt. previzualizare " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Renun la scanarea pt. previzualizare " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"Salvare-, vizualizare-, fotocopie-, fax- sau " +"mail-" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Selectai tipul mediului surs. \n" +"Pentru a redenumi, terge, ordona un articol, folosii meniul contextual " +"(butonul dreapta al mausului).\n" +"Pentru a creea un mediu activai opiunea de editare a definirii mediului " +"din meniul Preferine." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Valoarea care este adugat la contorul numelui de fiier dup scanare" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Navigheaz la numele fiierului de imagine" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Nume fiier pt. imaginea scanat" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Tip format imagine, extensia fiier corespunztoare este adugata automat la " +"numele fiierului" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Introducei numele proiectului fax" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Introducei numele paginii de fax" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Introducei numrul de telefon sau adresa destinatarului" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Introducei numele proiectului mail" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Introducei numele imaginii pt. mail" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Introducei adresa de email" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Introducei subiectul email-ului" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Selectai tipul fiierelor pentru ataamentele imagine" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Introducei numele noii zone predefinite" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Introducei numele noii zone predefinite" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Introducei noul nume pt. definiia mediului" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Introducei noul nume pt. definiia mediului" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Selectai definirea imprimantei " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Seteaz rezoluia de scanare" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Seteaz rezoluia de scanare pt. direcia x" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Seteaz rezoluia de scanare pt. direcia y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Seteaz factorul de mrire" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Seteaz factorul de mrire pt. direcia x" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Seteaz factorul de mrire pt. direcia y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Seteaz numr copii" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativ: inverseaz culorile pentru scanare negative " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Seteaz valoarea gamma" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Seteaz valoarea gamma pentru componenta de rou" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Seteaz valoarea gamma pentru componenta de verde" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Seteaz valoarea gamma pentru componenta de albastru" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Seteaz strlucirea" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Seteaz strlucirea pentru componenta de rou" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Seteaz strlucirea pentru componenta de verde" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Seteaz strlucirea pentru componenta de albastru" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Seteaz contrastul" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Seteaz contrastul pentru componenta de rou" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Seteaz contrastul pentru componenta de verde" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Seteaz contrastul pentru componenta de albastru" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Seteaz prag" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"Setare valori RGB implicite pt. mbuntire: canale rou, verde, albastru " +":\n" +" gamma = 1.0\n" +" strlucire = 0\n" +" contrast = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Ajustare automat pt. gamma, strlucire, contrast " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Setare valori implicite pt. mbuntire :\n" +"gamma = 1.0\n" +"strlucire = 0\n" +"contrast = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "" +"Restaureaz valorile implicite pt. mbuntire din preferine " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Salveaz valorile curente pt. mbuntire n preferine " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Arat histograma intensitii/gri " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Arat histograma componentei de rou " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Arat histograma componentei de verde " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Arat histograma componentei de albastru " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Mod afiare: arat histograma cu linii n loc de pixeli " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Arat numrul de pixeli logaritmic " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Selectare definiie ce va fi schimbat" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Definete un nume pentru selectarea acestei definiii" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Introducei comanda ce va fi executat n modul copiere (ex. \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Introducei opiunea pt. numrul de copii" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Rezoluia la care imaginile alb/negru sunt tiprite i salvate n postscript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Rezoluia la care imaginile n scar de gri sunt tiprite i salvate n " +"postscript" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Rezoluia la care imaginile color sunt tiprite i salvate n postscript" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Lime zon tipribil" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "nlime zon tipribil" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Decalaj stnga de la marginea hrtiei la zona tipribil" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Decalaj de jos de la marginea hrtiei la zona tipribil" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Valoare gamma adiional pt. fotocopie" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Valoare gamma adiional component rou pt. fotocopie" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Valoare gamma adiional component verde pt. fotocopie" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Valoare gamma adiional component albastru pt. fotocopie" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Calea ctre directorul temporar" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Navigheaz la directorul temporar" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Calitatea n procente dac imaginea este salvat ca JPEG sau TIFF cu " +"compresie JPEG" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Compresie dac imaginea este salvat ca PNG" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Lungimea minim a contorului n numele fiierului" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Tip compresie dac o imagine de 16 bii este salvat ca TIFF" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Tip compresie dac o imagine de 8 bii este salvat ca TIFF" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Tip compresie dac o imagine alb/negru este salvat ca TIFF" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Salveaz preferinele dependente de dispozitiv n fiierul implicit la " +"terminarea XSane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Avertizeaz nainte de suprascrierea unui fiier existent" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Numerele folosite deja sunt srite la incrementarea automat a contorului " +"numelui de fiier" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Folosii formatul ascii n locul celui binar pentru a salva imaginile pe 16 " +"bii n format pnm. Formatul binar este nou i nu este susinut de toate " +"programele. Formatul ascii este susinut de mai toate programele, dar " +"produce fiiere foarte mari!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Salveaz o imagine cu 8 bii/culoare dac scannerul trimite imagini cu 16 " +"bii/culoare" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Lime hrtie pt. fiierele postscript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "nlime hrtie pt. fiierele postscript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Decalaj stnga de la marginea hrtiei pt. zona utilizabil pt. fiierele " +"postscript" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Decalaj jos de la marginea hrtiei pt. zona utilizabil pt. fiierele " +"postscript" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Folosete mrime fix pt. fereastra principal sau fereastr principal " +"redimensionabil cu defilare" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "" +"Dezactiveaz previzualizarea gamma cnd XSane ruleaz ca extensie la Gimp" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "" +"Folosete o harta de culori proprie pentru previzualizare dac adncimea " +"este de 8 bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Selectare mod de afiare a gamei" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Valoarea cu care este nmulit rezoluia calculat pt. previzualizare" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Seteaz valoarea coreciei gamma pentru imaginea previzualizat" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Seteaz valoarea coreciei gamma pentru componenta de rou a imaginii " +"previzualizate " + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Seteaz valoarea coreciei gamma pentru componenta de verde a imaginii " +"previzualizate " + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "" +"Seteaz valoarea coreciei gamma pentru componenta de albastru a imaginii " +"previzualizate " + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Definete modul n care XSane va manipula opiunea pragului" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Selecteaz modul de scanare n nuane de gri. Acest mod de scanare este " +"folosit pt. previzualizare alb/negru cnd transformarea gri->a/n este " +"activat" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Nivelul minim de prag al scannerului n %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Nivelul maxim de prag al scannerului n %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Multiplicatorul necesar pt. a face gama pragurilor XSane egal cu cea a " +"scannerului" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" +"Deplasamentul necesar pt. a face gama pragurilor XSane egal cu cea a " +"scannerului" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Selecteaz drept surs Alimentatorul automat de documente. n acest caz " +"XSane scaneaz pna la apariia erorii \"terminare hrtie\"" + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "dimensiunea ptratului folosit la medierea culorii pt. funcia pipet" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Introducei comanda ce va fi executat pentru afiarea fiierelor ajutor, " +"trebuie s fie un vizualizator de HTML!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Schimb valoarea gamma la apasarea butonului de mbuntire automat" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Selecteaz zona de scanare dup terminarea scanrii pt. previzualizare" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Corecteaz culorile dup terminarea scanrii pt. previzualizare" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Introducei comanda ce va fi executat n modul fax" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Introducei opiunea pt. a specifica destinatarul" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Introducei opiunea pt. a specifica c urmeaz fiiere postscript" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Introducei opiunea pt. a specifica modul normal (rezoluie redus)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Introducei opiunea pt. a specifica modul normal (rezoluie ridicat)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Introducei comanda ce va fi executat pt. a vizualiza un fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "" +"Trimite un fax cu rezoluie vertical ridicat (196 lpi n loc de 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "Adresa IP sau numele n domeniu a serverului SMTP" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "portul de conectare la serverul SMTP" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "Introducei adresa dvs. de email" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "Introducei adresa de email pt. email-urile de rspuns" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Autentificare la serverul POP3 nainte de a trimite pota" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "Adresa IP sau numele n domeniu a serverului POP3" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "portul de conectare la serverul POP3" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "nume utilizator pt. serverul POP3" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "Parola pt. serverul POP3" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "" +"Introducei comanda ce va fi executat pt. a vizualiza o imagine din mail" + +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "Pota trimis n mod HTML va afia imaginile cu " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "" +"Introducei comanda ce va fi executat pt. a porni recunoaterea optic a " +"caracterelor (OCR)" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Introducei opiunea programului OCR ce definete fiierul de intrare" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Introducei opiunea programului OCR ce definete fiierul de ieire" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Definete dac programul OCR susine GUI de evoluie prin pipe" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Introducei opiunea programului OCR ce definete descriptorul fiierului de " +"ieire n mod GUI" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Definete cuvntul cheie pt. a marca informaiile despre evoluie" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "citire" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "scriere" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "execuie" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Adaug selecia la lista loturilor" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Preia punctul de alb" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Preia punctul de gri" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Preia punctul de negru" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Folosete toat zona de scanare" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Micoreaz cu 20%" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Clic la o poziie pentru mrire/micorare" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Mrire la zona selectat" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Anuleaz ultima mrire" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Selecteaz zona vizibil" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Selectare automat zon de scanare" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Ridic automat zona de scanare" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "terge imaginea previzualizat tampon" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Zona predefinit:\n" +"Pentru a aduga o zon nou sau a edita o zon existent folosii meniul " +"contextual (butonul dreapta maus)" + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Rotete previzualizarea i scaneaz" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Formatul de imagine al seleciei" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Definete poziionarea imaginii pt. tiprire" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Recunoatere optic a caracterelor (OCR)" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Anuleaz ultima modificare" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Cloneaz imaginea" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Rotete imaginea cu 90" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Rotete imaginea cu 180" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Rotete imaginea cu 270" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Oglindete imaginea dup axa vertical" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Oglindete imaginea dup axa orizontal" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Mrire imagine" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Stocare mediu" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "terge mediul activ" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Factor de scalare" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Factor scalare X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Factor scalare Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Scalare imagine (la lime) [n pixeli]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Scalare imagine (la nlime) [n pixeli]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "List loturi goal" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Salveaz lista loturi" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "ncarc lista loturi" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Redenumete zona" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Adaug zona previzualizat selectat la lista cu loturi" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "terge zona selectat din lista cu loturi" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Activeaz modul automat" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Nu am putut determina directorul acas" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Nu am putut schimba directorul de lucru la" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Nume fiier prea lung" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Nu am putut crea fiierul temporar" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Nu am putut seta valoarea opiunii" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Nu am putut obine valoarea opiunii" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Eroare la obinerea numrului de opiuni" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Nu pot deschide dispozitivul" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "Nu exist dispozitive disponibile" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Eroare la citire:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Eroare la salvare:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Nu pot manipula adncimea" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "Gimp nu poate manipula adncimea de %d bii/culoare" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Format de salvare necunoscut" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Nu am putut deschide" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Nu am putut crea fiierul n siguran (poate exist o legtur):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Nu am putut deschide un pipe pentru a executa comanda de tiprire" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Nu am putut executa comanda de tiprire:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Pornire scanner euat:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Preluare parametri euat:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Nu am primit formatul de ieire" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "Nu am memorie suficient." + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "" +"Backend-ul trimite mai multe date de imagine dect este definit n parametri" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "libtiff raporteaz o eroare" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "libpng raporteaz o eroare" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG raporteaz o eroare" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "Tip necunoscut" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "tip constrngere necunoscut" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Opiunea are nume vid (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Aceasta este o eroare de back-end. Informai autorul back-end-ului!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Nu am putut lansa vizualizatorul de documentaie:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Nu am putut lansa vizualizatorul de faxuri:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Nu am putut executa comanda de fax:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Nu am putut lansa vizualizatorul de imagini din pot:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Nu am putut executa comanda de OCR:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "format cadru eronat" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "nu pot seta rezoluia" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Fiierul cu parole (%s) nu este sigur, folosesc drepturile x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "eroare" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Nepotrivire numr major de versiune Sane" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Versiune major Xsane=" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "Versiune major backend=" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "***PROGRAM ABANDONAT***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Nu am putut aloca memorie pt. imagine" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Pevizualizarea nu poate manipula adncimea" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Lipsete susinerea Gimp" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Nu am putut crea fiierele temporare de previzualizare" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Nu am putut crea nume de fiiere pt. previzualizare" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Nu am putut crea proiecul fax" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Contor nume fiiere prea mic" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "atenie: opiunea nu are constrngeri pt. valoare" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"ncercai s rulai XSane ca root, ceea ce este PERICULOS!\n" +"\n" +"Nu trimitei rapoarte de erori dac sunt probleme\n" +"cnd XSane ruleaza ca root!\n" +"Suntei pe cont propriu!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Eroare" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Avertisment" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Informaii" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Eroare proces copil" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Nu pot crea fiierul:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Eroare la ncrcare setri dispozitiv:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "nu este un fiier device-rc!!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Nu pot executa netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Trimitere fax: destinatar nedefinit" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "a fost creat pentru dispozitivul" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "dorii s fie folosit pentru dispozitivul" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "poate cauza probleme!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Exist %d imagini nesalvate" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Fiierul %s exit deja" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Fiierul %s nu exist" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Fiierul %s nu este un fiier postscript" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Formatul de ieire: %s pe %d bii nu este susinut" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "imaginea vizualizat nu este salvat" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Utilizare:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[OPIUNE]... [DISPOZITIV]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Pornete interfaa grafic utilizator pt. a accesa dispozitivele SANE " +"(Scanner Access Now Easy).\n" +"\n" +"Formatul [DISPOZITIV] este numeBackend:fiierDispozitiv (ex.umax:/dev/" +"scanner).\n" +"[OPIUNI] poate fi o combinaie a urmtoarelor articole:\n" +" -h, --help afieaz acest mesaj, apoi terminare\n" +" -v, --version afieaz informaii despre versiune\n" +" -l, --license afieaz informaii despre licen\n" +" -d, --device-settings fiier ncarc setrile dispozitivului din fiier " +"(fr \".drc\")\n" +"\n" +" -V, --viewer pornete n modul vizualizare (implicit)\n" +" -s, --save pornete n modul salvare\n" +" -c, --copy pornete n modul copiere\n" +" -f, --fax pornete n modul fax\n" +" -m, --mail pornete n modul pot\n" +" -n, --no-mode-selection dezactiveaz meniul de selectare a modului " +"XSane\n" +" -F, --Fixed marime fix a ferestrei principale (suprascrie " +"valorile din preferine)\n" +" -R, --Resizeable fereastr principal redimensionabil (suprascrie " +"valorile din preferine)\n" +"\n" +" -p, --print-filenames tiprete numele fiierelor create de ctre " +"XSane\n" +" -N, --force-filename name foreaz numele de fiiere i dezactiveaz " +"selectarea numelor de fiiere de ctre utilizator\n" +"\n" +" --display X11-display redirecioneaz ieirea ctre afiajul X11\n" +" --no-xshm nu folosete imagini partajate n memorie\n" +" --sync cere o conexiune sincron cu serverul X11" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Front-end la interfaa SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Aceast funcie ofer accesul la scannere i alte dispozitive de achiziie " +"de imagini prin interfaa SANE (Scanner Access Now Easy)." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/Fiier/Obine/XSane: Dialog dispozitiv..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/Fiier/Obine/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Extensii/XSane: Dialog dispozitiv..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Extensii/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Cauze posibile:\n" +"1) Chiar nu este nici un dispozitiv susinut de SANE\n" +"2) Dispozitivele susinute sunt ocupate\n" +"3) Drepturile pt. fiierul dispozitiv nu v permit folosirea lui - ncercai " +"ca root\n" +"4) Backend-ul nu este incrcat de ctre SANE (man sane-dll)\n" +"5) Backend-ul nu este configurat corect (man sane-\"backendname\")\n" +"6) Este posibil s avei instalate mai multe versiuni de SANE" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "mrime complet" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 Vert." + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 Oriz." + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 Vert." + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 Oriz." + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 Vert." + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 Oriz." + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "Legal Vert." + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "Legal Oriz." + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "Letter Vert." + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "Letter Oriz." + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Toat gama de culori" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Diapozitiv" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Negativ standard" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Negativ AGFA" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Negativ AGFA XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Negativ AGFA HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Negativ FUJI" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Negativ KODAK" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Negativ KONICA" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Negativ KONICA VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Negativ Rossmann HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Proiectul mail nu a fost creat" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Proiectul mail a fost creat" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Proiectul mail a fost modificat" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Eroare de citire proiect mail" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "Conexiune POP3 euat" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Logare POP3 euat" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "Conexiune SMTP euat" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Intrarea De la: inacceptabil" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Intrarea Destinatar: inacceptabil" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Datele mailului inacceptabile" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Transmitere mail" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Mailul a fost trimis" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Proiectul fax nu a fost creat" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Proiectul fax a fost creat" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Proiectul fax a fost modificat" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Faxul este trimis n coad" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Faxul este n coad" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "Scanner staionar" + +msgid "frame grabber" +msgstr "Captur cadre" + +msgid "handheld scanner" +msgstr "Scanner manual" + +msgid "still camera" +msgstr "Aparat de fotografiat digital" + +msgid "video camera" +msgstr "Camer video" + +msgid "virtual device" +msgstr "Dispozitiv virtual" + +msgid "Success" +msgstr "Succes" + +msgid "Operation not supported" +msgstr "Operaiunea nu este susinut" + +msgid "Operation was cancelled" +msgstr "Operaiunea a fost anulat" + +msgid "Device busy" +msgstr "Dispozitiv ocupat" + +msgid "Invalid argument" +msgstr "Argument incorect" + +msgid "End of file reached" +msgstr "Am ajuns la sfritul fiierului" + +msgid "Document feeder jammed" +msgstr "ncrctorul de documente s-a blocat" + +msgid "Document feeder out of documents" +msgstr "ncrctorul de documente s-a golit" + +msgid "Scanner cover is open" +msgstr "Capacul scannerului este deschis" + +msgid "Error during device I/O" +msgstr "Eroare intrare/ieire dispozitiv" + +msgid "Out of memory" +msgstr "Nu am memorie suficient." + +msgid "Access to resource has been denied" +msgstr "Accesul la resurs a fost respins" diff --git a/po/ru.gmo b/po/ru.gmo index fe4bb30..c1b0f5d 100644 Binary files a/po/ru.gmo and b/po/ru.gmo differ diff --git a/po/ru.po b/po/ru.po index 3ca64c2..7bb7669 100644 --- a/po/ru.po +++ b/po/ru.po @@ -1,15 +1,20 @@ -# SOME DESCRIPTIVE TITLE. -# +# Russian translation of XSANE. +# Copyright (C) 2001-2004, The Free Software Foundation +# John Profic , 2001, 2002. +# Vitaly Lipatov , 2002, 2003, 2004. msgid "" msgstr "" -"Project-Id-Version: XSANE 0.84\n" -"POT-Creation-Date: 2002-01-22 23:34+0100\n" -"PO-Revision-Date: 2001-08-10 01:05+0300\n" -"Last-Translator: John Profic \n" -"Language-Team: RUSSIAN \n" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-09-04 17:39MSK\n" +"Last-Translator: Vitaly Lipatov \n" +"Language-Team: Russian \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=koi8-r\n" +"Content-Type: text/plain; charset=KOI8-R\n" "Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3.1\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Please translate this to the correct directory name (eg. german=>de) #. XSANE_LANGUAGE_DIR @@ -21,6 +26,10 @@ msgid "(c)" msgstr "(c)" #. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "-" + #. WINDOW_ABOUT_XSANE msgid "About" msgstr " " @@ -33,21 +42,37 @@ msgstr " msgid "authorization" msgstr "" -#. WINDOW_LICENSE -msgid "license" -msgstr "" +#. WINDOW_GPL +msgid "GPL - the license" +msgstr " GPL" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr " " #. WINDOW_INFO msgid "info" -msgstr "" +msgstr "" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr " " + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr " " #. WINDOW_BATCH_SCAN msgid "batch scan" msgstr " " +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr " " + #. WINDOW_FAX_PROJECT msgid "fax project" -msgstr " " +msgstr " " #. WINDOW_FAX_RENAME msgid "rename fax page" @@ -55,7 +80,7 @@ msgstr " #. WINDOW_FAX_INSERT msgid "insert ps-file into fax" -msgstr " PS- " +msgstr " PS- " #. WINDOW_MAIL_PROJECT msgid "mail project" @@ -73,6 +98,18 @@ msgstr " msgid "rename preset area" msgstr " " +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr " " + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr " " + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr " " + #. WINDOW_SETUP msgid "setup" msgstr "" @@ -83,7 +120,7 @@ msgstr " #. WINDOW_GAMMA msgid "Gamma curve" -msgstr " " +msgstr "-" #. WINDOW_STANDARD_OPTIONS msgid "Standard options" @@ -107,15 +144,15 @@ msgstr " #. WINDOW_VIEWER_OUTPUT_FILENAME msgid "Viewer: select output filename" -msgstr ": " +msgstr ": " #. WINDOW_OCR_OUTPUT_FILENAME msgid "Select output filename for OCR text file" -msgstr " " +msgstr " " #. WINDOW_OUTPUT_FILENAME msgid "select output filename" -msgstr " " +msgstr " " #. WINDOW_SAVE_SETTINGS msgid "save device settings" @@ -135,11 +172,11 @@ msgstr " #. WINDOW_SCALE msgid "Scale image" -msgstr " " +msgstr " " #. WINDOW_DESPECKLE msgid "Despeckle image" -msgstr " " +msgstr " " #. WINDOW_BLUR msgid "Blur image" @@ -147,7 +184,11 @@ msgstr " #. WINDOW_STORE_MEDIUM msgid "Store medium definition" -msgstr " " +msgstr " " + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr " " #. MENU_FILE msgid "File" @@ -161,41 +202,61 @@ msgstr " msgid "View" msgstr "" +#. MENU_WINDOW +msgid "Window" +msgstr "" + #. MENU_HELP msgid "Help" msgstr "" +#. MENU_EDIT +msgid "Edit" +msgstr "" + #. MENU_FILTERS msgid "Filters" msgstr "" +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr " XSane" #. MENU_ITEM_INFO msgid "Info" -msgstr "" +msgstr "" #. MENU_ITEM_QUIT msgid "Quit" -msgstr "" +msgstr "" #. MENU_ITEM_SAVE_IMAGE msgid "Save image" -msgstr " " +msgstr " " -#. MENU_ITEM_CLOSE -msgid "Close" -msgstr "" +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr " " #. MENU_ITEM_CLONE msgid "Clone" -msgstr "" +msgstr " " #. MENU_ITEM_SCALE msgid "Scale" -msgstr "" +msgstr " " + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "" #. MENU_ITEM_DESPECKLE msgid "Despeckle" @@ -203,18 +264,38 @@ msgstr " #. MENU_ITEM_BLUR msgid "Blur" -msgstr "" +msgstr "" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr " 90 " + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr " 180 " + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr " 270 " + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr " |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr " -" #. FRAME_RAW_IMAGE msgid "Raw image" -msgstr " " +msgstr " " #. FRAME_ENHANCED_IMAGE msgid "Enhanced image" msgstr " " -#. BUTTON_START -msgid "Start" +#. BUTTON_SCAN +msgid "Scan" msgstr "" #. BUTTON_OK @@ -253,9 +334,13 @@ msgstr " msgid "Overwrite" msgstr "" -#. BUTTON_ADD_AREA -msgid "Add area" -msgstr " " +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr " " + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr " " #. BUTTON_PAGE_DELETE msgid "Delete page" @@ -267,7 +352,7 @@ msgstr " #. BUTTON_PAGE_RENAME msgid "Rename page" -msgstr " " +msgstr " " #. BUTTON_IMAGE_DELETE msgid "Delete image" @@ -277,9 +362,13 @@ msgstr " msgid "Show image" msgstr " " +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr " " + #. BUTTON_IMAGE_RENAME msgid "Rename image" -msgstr " " +msgstr " " #. BUTTON_FILE_INSERT msgid "Insert file" @@ -287,15 +376,15 @@ msgstr " #. BUTTON_CREATE_PROJECT msgid "Create project" -msgstr " " +msgstr " " #. BUTTON_SEND_PROJECT msgid "Send project" -msgstr " " +msgstr " " #. BUTTON_DELETE_PROJECT msgid "Delete project" -msgstr " " +msgstr " " #. BUTTON_ADD_PRINTER msgid "Add printer" @@ -315,11 +404,11 @@ msgstr " #. BUTTON_DISCARD_IMAGE msgid "Discard image" -msgstr " " +msgstr " " #. BUTTON_DISCARD_ALL_IMAGES msgid "Discard all images" -msgstr " " +msgstr " " #. BUTTON_DO_NOT_CLOSE msgid "Do not close" @@ -331,7 +420,7 @@ msgstr " #. RADIO_BUTTON_FINE_MODE msgid "Fine mode" -msgstr " Fine" +msgstr " " #. RADIO_BUTTON_HTML_MAIL msgid "HTML mail" @@ -349,17 +438,21 @@ msgstr " msgid "Skip existing filenames" msgstr " " +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr " 16- pnm ASCII" + #. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT msgid "Reduce 16 bit image to 8 bit" msgstr " 16- 8 " #. RADIO_BUTTON_WINDOW_FIXED msgid "Main window size fixed" -msgstr " " +msgstr " " #. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA msgid "Disable gimp preview gamma" -msgstr " GIMP-" +msgstr " - GIMP" #. RADIO_BUTTON_PRIVATE_COLORMAP msgid "Use private colormap" @@ -381,13 +474,17 @@ msgstr " msgid "POP3 authentification" msgstr " POP3" +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr " GUI" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr " " #. TEXT_AVAILABLE_DEVICES msgid "Available devices:" -msgstr " " +msgstr " :" #. TEXT_XSANE_OPTIONS msgid "XSane options" @@ -435,7 +532,7 @@ msgstr " #. TEXT_RECENT_VALUES msgid "Recent values:" -msgstr " " +msgstr " :" #. TEXT_GAMMA_CORR_BY msgid "Gamma correction by:" @@ -447,7 +544,7 @@ msgstr " #. TEXT_SOFTWARE_XSANE msgid "software (XSane)" -msgstr " (XSane)" +msgstr " (XSane)" #. TEXT_NONE msgid "none" @@ -471,18 +568,18 @@ msgstr " #. TEXT_8BIT_FORMATS msgid "8 bit output formats:" -msgstr "8- :" +msgstr "8- :" #. TEXT_16BIT_FORMATS msgid "16 bit output formats:" -msgstr "16- :" +msgstr "16- :" #. TEXT_GIMP_REDUCE_16BIT_TO_8BIT msgid "" "Gimp does not support depth 16 bits/color.\n" "Do you want to reduce the depth to 8 bits/color?" msgstr "" -"GIMP 16 .\n" +"GIMP 16 .\n" " 8 ?" #. TEXT_REDUCE_16BIT_TO_8BIT @@ -490,7 +587,7 @@ msgid "" "Bit depth 16 bits/color is not supported for this output format.\n" "Do you want to reduce the depth to 8 bits/color?" msgstr "" -" 16 .\n" +" 16 .\n" " 8 ?" #. TEXT_AUTHORIZATION_REQ @@ -503,7 +600,7 @@ msgstr " #. TEXT_AUTHORIZATION_INSECURE msgid "Backend requests plain-text password" -msgstr " " +msgstr " " #. TEXT_USERNAME msgid "Username :" @@ -519,7 +616,7 @@ msgstr " #. TEXT_VERSION msgid "version:" -msgstr ":" +msgstr ":" #. TEXT_PACKAGE msgid "package" @@ -527,11 +624,11 @@ msgstr " #. TEXT_WITH_GIMP_SUPPORT msgid "with GIMP support" -msgstr " GIMP-" +msgstr " GIMP" #. TEXT_WITHOUT_GIMP_SUPPORT msgid "without GIMP support" -msgstr " GIMP- " +msgstr " GIMP " #. TEXT_GTK_VERSION msgid "compiled with GTK-" @@ -543,7 +640,32 @@ msgstr " #. TEXT_UNKNOWN msgid "unknown" -msgstr "" +msgstr "" + +# +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane 2\n" +" \n" +" GNU,\n" +" Free Software Foundation.\n" +"\n" +" , \n" +", , \n" +" \n" +" .\n" #. TEXT_GPL msgid "" @@ -555,16 +677,19 @@ msgid "" "WITHOUT ANY WARRANTY; without even the implied warranty of\n" "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" msgstr "" -"XSane GNU \n" -" 2\n" -" ( ) \n" +"XSane 2\n" +" \n" +" GNU,\n" +" Free Software Foundation.\n" "\n" -" , \n" -" , ...\n" +" , \n" +", , \n" +" \n" +" .\n" #. TEXT_EMAIL msgid "Email:" -msgstr ":" +msgstr "E-mail:" #. TEXT_HOMEPAGE msgid "Homepage:" @@ -588,9 +713,11 @@ msgid "" "by Oliver Rauch\n" "Email: Oliver.Rauch@rauch-domain.de\n" msgstr "" -" :\n" -"John Profic\n" -": profic@lrn.ru\n" +" :\n" +"John Profic \n" +"\n" +" :\n" +" \n" #. TEXT_INFO_BOX msgid "0x0: 0KB" @@ -598,7 +725,7 @@ msgstr "0x0: 0 #. TEXT_ADF_PAGES_SCANNED msgid "Scanned pages: " -msgstr " : " +msgstr " : " #. TEXT_MAIL_TEXT msgid "Email text:" @@ -610,27 +737,23 @@ msgstr " #. TEXT_MAIL_STATUS msgid "Project status:" -msgstr " :" +msgstr " :" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr " :" #. TEXT_MEDIUM_DEFINITION_NAME msgid "Medium Name:" -msgstr " : " +msgstr " : " #. TEXT_VIEWER_IMAGE_INFO #, c-format msgid "" "Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" msgstr "" -" %d %d , %d /, %d , %1.0f dpi x %1.0f dpi, " -"%1.1f %s" - -#. TEXT_X_SCALE_FACTOR -msgid "X-Scale factor:" -msgstr " X" - -#. TEXT_Y_SCALE_FACTOR -msgid "Y-Scale factor:" -msgstr " Y" +" %d %d , %d /, %d , %1.0f dpi x %1.0f dpi, %1.1f %" +"s" #. TEXT_DESPECKLE_RADIUS msgid "Despeckle radius:" @@ -640,33 +763,65 @@ msgstr " msgid "Blur radius:" msgstr " :" +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "( )" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr " :" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr " :" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr " :" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr ":" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr ":" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr " :" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr " " + #. TEXT_SETUP_PRINTER_SEL msgid "Printer selection:" msgstr " :" #. TEXT_SETUP_PRINTER_NAME msgid "Name:" -msgstr ":" +msgstr ":" #. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD msgid "Command:" -msgstr ":" +msgstr ":" #. TEXT_SETUP_COPY_NR_OPT msgid "Copy number option:" -msgstr " " +msgstr " :" #. TEXT_SETUP_PRINTER_LINEART_RES msgid "Lineart resolution (dpi):" -msgstr " (dpi)" +msgstr " (dpi):" #. TEXT_SETUP_PRINTER_GRAYSCALE_RES msgid "Grayscale resolution (dpi):" -msgstr " (dpi)" +msgstr " ޣ- (dpi):" #. TEXT_SETUP_PRINTER_COLOR_RES msgid "Color resolution (dpi):" -msgstr " (dpi)" +msgstr " (dpi):" #. TEXT_SETUP_PRINTER_WIDTH msgid "Width" @@ -694,7 +849,7 @@ msgstr " #. TEXT_SETUP_PRINTER_GAMMA_GREEN msgid "Printer gamma green:" -msgstr " :" +msgstr " ̣ :" #. TEXT_SETUP_PRINTER_GAMMA_BLUE msgid "Printer gamma blue:" @@ -706,7 +861,7 @@ msgstr " #. TEXT_SETUP_IMAGE_PERMISSION msgid "Image-file permissions" -msgstr " " +msgstr " " #. TEXT_SETUP_DIR_PERMISSION msgid "Directory permissions" @@ -714,51 +869,55 @@ msgstr " #. TEXT_SETUP_JPEG_QUALITY msgid "JPEG image quality" -msgstr " JPEG-" +msgstr " JPEG" #. TEXT_SETUP_PNG_COMPRESSION msgid "PNG image compression" -msgstr " PNG-" +msgstr " PNG" #. TEXT_SETUP_FILENAME_COUNTER_LEN msgid "Filename counter length" -msgstr " " +msgstr " ޣ " #. TEXT_SETUP_TIFF_COMPRESSION_16 msgid "TIFF 16 bit image compression" -msgstr " 16- TIFF " +msgstr " 16- TIFF" #. TEXT_SETUP_TIFF_COMPRESSION_8 msgid "TIFF 8 bit image compression" -msgstr " 8- TIFF " +msgstr " 8- TIFF" #. TEXT_SETUP_TIFF_COMPRESSION_1 msgid "TIFF lineart image compression" -msgstr " TIFF " +msgstr " (1-) TIFF" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr " :" #. TEXT_SETUP_PREVIEW_OVERSAMPLING msgid "Preview oversampling:" -msgstr " :" +msgstr " :" #. TEXT_SETUP_PREVIEW_GAMMA msgid "Preview gamma:" -msgstr " :" +msgstr " :" #. TEXT_SETUP_PREVIEW_GAMMA_RED msgid "Preview gamma red:" -msgstr " :" +msgstr " :" #. TEXT_SETUP_PREVIEW_GAMMA_GREEN msgid "Preview gamma green:" -msgstr " :" +msgstr " ̣ :" #. TEXT_SETUP_PREVIEW_GAMMA_BLUE msgid "Preview gamma blue:" -msgstr " :" +msgstr " :" #. TEXT_SETUP_LINEART_MODE msgid "Threshold option:" -msgstr " :" +msgstr " :" #. TEXT_SETUP_ADF_MODE msgid "Automatic Document Feeder Modus:" @@ -774,7 +933,7 @@ msgstr " #. TEXT_SETUP_THRESHOLD_MAX msgid "Threshold maximum:" -msgstr " :" +msgstr " :" #. TEXT_SETUP_THRESHOLD_MUL msgid "Threshold multiplier:" @@ -786,7 +945,7 @@ msgstr " #. TEXT_SETUP_GRAYSCALE_SCANMODE msgid "Name of grayscale scanmode:" -msgstr " " +msgstr " ޣ- :" #. TEXT_SETUP_HELPFILE_VIEWER msgid "Helpfile viewer (HTML):" @@ -794,23 +953,27 @@ msgstr " #. TEXT_SETUP_FAX_RECEIVER_OPTION msgid "Receiver option:" -msgstr " :" +msgstr " ɣ:" #. TEXT_SETUP_FAX_POSTSCRIPT_OPT msgid "Postscriptfile option:" -msgstr " PostScript " +msgstr " PostScript-:" #. TEXT_SETUP_FAX_NORMAL_MODE_OPT msgid "Normal mode option:" -msgstr " Normal" +msgstr ", :" #. TEXT_SETUP_FAX_FINE_MODE_OPT msgid "Fine mode option:" -msgstr " Fine" +msgstr ", :" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr " :" #. TEXT_SETUP_FAX_VIEWER msgid "Viewer (Postscript):" -msgstr " PostScript :" +msgstr " PostScript-:" #. TEXT_SETUP_SMTP_SERVER msgid "SMTP server:" @@ -822,7 +985,7 @@ msgstr " #. TEXT_SETUP_MAIL_FROM msgid "From:" -msgstr ":" +msgstr ":" #. TEXT_SETUP_MAIL_REPLY_TO msgid "Reply to:" @@ -846,19 +1009,31 @@ msgstr " #. TEXT_SETUP_MAIL_VIEWER msgid "Viewer (png):" -msgstr " PNG :" +msgstr " PNG:" #. TEXT_SETUP_OCR_COMMAND msgid "OCR Command:" -msgstr " :" +msgstr " :" #. TEXT_SETUP_OCR_INPUTFILE_OPT msgid "Inputfile option:" -msgstr " " +msgstr " :" #. TEXT_SETUP_OCR_OUTPUTFILE_OPT msgid "Outputfile option:" -msgstr " " +msgstr " :" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr " GUI:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr " -fd GUI:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr " :" #. TEXT_SETUP_PERMISSION_USER msgid "user" @@ -872,6 +1047,9 @@ msgstr " msgid "all" msgstr "" +msgid "new media" +msgstr " " + #. NOTEBOOK_SAVING_OPTIONS msgid "Save" msgstr "" @@ -894,7 +1072,7 @@ msgstr " #. NOTEBOOK_OCR_OPTIONS msgid "OCR" -msgstr " " +msgstr " " #. NOTEBOOK_DISPLAY_OPTIONS msgid "Display" @@ -914,27 +1092,31 @@ msgstr " #. MENU_ITEM_SHOW_PREVIEW msgid "Show preview" -msgstr " " +msgstr " " #. MENU_ITEM_SHOW_HISTOGRAM msgid "Show histogram" -msgstr " " +msgstr " " #. MENU_ITEM_SHOW_GAMMA msgid "Show gamma curve" -msgstr " " +msgstr " " + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr " " #. MENU_ITEM_SHOW_STANDARDOPTIONS msgid "Show standard options" -msgstr " " +msgstr " " #. MENU_ITEM_SHOW_ADVANCEDOPTIONS msgid "Show advanced options" -msgstr " " +msgstr " " #. MENU_ITEM_SETUP msgid "Setup" -msgstr "" +msgstr "" #. MENU_ITEM_LENGTH_UNIT msgid "Length unit" @@ -954,7 +1136,7 @@ msgstr " #. MENU_ITEM_UPDATE_POLICY msgid "Update policy" -msgstr " " +msgstr " " #. SUBMENU_ITEM_POLICY_CONTINUOUS msgid "continuous" @@ -970,11 +1152,15 @@ msgstr " #. MENU_ITEM_SHOW_RESOLUTIONLIST msgid "Show resolution list" -msgstr " " +msgstr " " #. MENU_ITEM_PAGE_ROTATE msgid "Rotate postscript" -msgstr " PostScript" +msgstr " PostScript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr " " #. MENU_ITEM_SAVE_DEVICE_SETTINGS msgid "Save device settings" @@ -988,9 +1174,13 @@ msgstr " msgid "Change directory" msgstr " " -#. MENU_ITEM_XSANE_LICENSE -msgid "License" -msgstr "" +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr " EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr " GPL" #. MENU_ITEM_XSANE_DOC msgid "XSane doc" @@ -1026,11 +1216,11 @@ msgstr " #. MENU_ITEM_TIFF_COMP_CCITFAX3 msgid "CCITT Group 3 Fax compression" -msgstr " CCITT Group 3" +msgstr " CCITT Group 3 Fax" #. MENU_ITEM_TIFF_COMP_CCITFAX4 msgid "CCITT Group 4 Fax compression" -msgstr " CCITT Group 4" +msgstr " CCITT Group 4 Fax" #. MENU_ITEM_TIFF_COMP_JPEG msgid "JPEG DCT compression" @@ -1038,19 +1228,39 @@ msgstr " #. MENU_ITEM_TIFF_COMP_PACKBITS msgid "pack bits" -msgstr "" +msgstr " " + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr " ( )" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr " ( )" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr " " + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr " " + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr " " #. MENU_ITEM_LINEART_MODE_STANDARD msgid "Standard options window (lineart)" -msgstr " ()" +msgstr " ()" #. MENU_ITEM_LINEART_MODE_XSANE msgid "XSane main window (lineart)" -msgstr " ()" +msgstr " XSane ()" #. MENU_ITEM_LINEART_MODE_GRAY msgid "XSane main window (grayscale->lineart)" -msgstr " ( ->)" +msgstr " XSane (ޣ- -> )" #. MENU_ITEM_SELECTION_NONE msgid "(none)" @@ -1062,22 +1272,26 @@ msgstr " #. MENU_ITEM_PRESET_AREA_ADD_SEL msgid "Add selection to list" -msgstr " " +msgstr " " -#. MENU_ITEM_PRESET_AREA_RENAME -msgid "Rename definiton" -msgstr " " +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr " " + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr " " -#. MENU_ITEM_PRESET_AREA_DELETE -msgid "Delete definition" -msgstr " " +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr " " -#. MENU_OTEM_PRESET_AREA_MOVE_UP -msgid "Move up" +#. MENU_ITEM_MOVE_UP +msgid "Move item up" msgstr " " -#. MENU_OTEM_PRESET_AREA_MOVE_DWN -msgid "Move down" +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" msgstr " " #. PROGRESS_SCANNING @@ -1087,7 +1301,7 @@ msgstr " #. PROGRESS_RECEIVING_FRAME_DATA #, c-format msgid "Receiving %s data" -msgstr " %s" +msgstr "ɣ %s" #. PROGRESS_TRANSFERING_DATA msgid "Transfering image" @@ -1099,7 +1313,7 @@ msgstr " #. PROGRESS_MIRRORING_DATA msgid "Mirroring image" -msgstr " " +msgstr " " #. PROGRESS_PACKING_DATA msgid "Packing image" @@ -1107,19 +1321,19 @@ msgstr " #. PROGRESS_CONVERTING_DATA msgid "Converting image" -msgstr " " +msgstr " " #. PROGRESS_SAVING_DATA msgid "Saving image" -msgstr " " +msgstr " " #. PROGRESS_CLONING_DATA msgid "Cloning image" -msgstr " " +msgstr " " #. PROGRESS_SCALING_DATA msgid "Scaling image" -msgstr " " +msgstr " " #. PROGRESS_DESPECKLING_DATA msgid "Despeckling image" @@ -1129,9 +1343,13 @@ msgstr " msgid "Bluring image" msgstr " " +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr " " + #. DESC_SCAN_START msgid "Start scan " -msgstr " " +msgstr " " #. DESC_SCAN_CANCEL msgid "Cancel scan " @@ -1147,55 +1365,66 @@ msgstr " #. DESC_XSANE_MODE msgid "" -"save-, view-, photocopy-, fax- or " -"mail-" +"save-, view-, photocopy-, fax- or mail-" msgstr "" -"-, -, -, " -"- -" +"-, -, -, " +"- -" #. DESC_XSANE_MEDIUM -msgid "Select source medium type" -msgstr " " +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +" .\n" +" , " +" ( ).\n" +" " +" ." #. DESC_FILENAME_COUNTER_STEP msgid "Value that is added to filenamecounter after scan" -msgstr ", " +msgstr "" +", ޣ " #. DESC_BROWSE_FILENAME msgid "Browse for image filename" -msgstr " " +msgstr " " #. DESC_FILENAME msgid "Filename for scanned image" -msgstr " " +msgstr " " #. DESC_FILETYPE msgid "" "Type of image format, the suitable filename extension is automatically added " "to the filename" msgstr "" -" , " -"" +" , " +" " #. DESC_FAXPROJECT msgid "Enter name of fax project" -msgstr " " +msgstr " " #. DESC_FAXPAGENAME msgid "Enter new name for faxpage" -msgstr " " +msgstr " " #. DESC_FAXRECEIVER msgid "Enter receiver phone number or address" -msgstr " " +msgstr " " #. DESC_MAILPROJECT msgid "Enter name of mail project" -msgstr " " +msgstr " " #. DESC_MAILIMAGENAME msgid "Enter new name for mail image" -msgstr " " +msgstr " " #. DESC_MAILRECEIVER msgid "Enter email address" @@ -1205,13 +1434,29 @@ msgstr " msgid "Enter subject of email" msgstr " " -#. DESC_PRESET_AREA_NAME +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr " " + +#. DESC_PRESET_AREA_RENAME msgid "Enter new name for preset area" -msgstr " " +msgstr " " + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr " " + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr " " + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr " " #. DESC_PRINTER_SELECT msgid "Select printerdefinition " -msgstr " " +msgstr " " #. DESC_RESOLUTION msgid "Set scan resolution" @@ -1227,23 +1472,23 @@ msgstr " #. DESC_ZOOM msgid "Set zoomfactor" -msgstr " " +msgstr " " #. DESC_ZOOM_X msgid "Set zoomfactor for x direction" -msgstr " X" +msgstr " X" #. DESC_ZOOM_Y msgid "Set zoomfactor for y direction" -msgstr " Y" +msgstr " Y" #. DESC_COPY_NUMBER msgid "Set number of copies" msgstr " " #. DESC_NEGATIVE -msgid "Negative: Invert colors for scanning negatives " -msgstr ": " +msgid "Negative: Invert colors for scanning negatives " +msgstr ": " #. DESC_GAMMA msgid "Set gamma value" @@ -1255,7 +1500,7 @@ msgstr " #. DESC_GAMMA_G msgid "Set gamma value for green component" -msgstr " " +msgstr " ̣ " #. DESC_GAMMA_B msgid "Set gamma value for blue component" @@ -1271,7 +1516,7 @@ msgstr " #. DESC_BRIGHTNESS_G msgid "Set brightness for green component" -msgstr " " +msgstr " ̣ " #. DESC_BRIGHTNESS_B msgid "Set brightness for blue component" @@ -1283,15 +1528,15 @@ msgstr " #. DESC_CONTRAST_R msgid "Set contrast for red component" -msgstr " " +msgstr " " #. DESC_CONTRAST_G msgid "Set contrast for green component" -msgstr " " +msgstr " ̣ " #. DESC_CONTRAST_B msgid "Set contrast for blue component" -msgstr " " +msgstr " " #. DESC_THRESHOLD msgid "Set threshold" @@ -1300,44 +1545,44 @@ msgstr " #. DESC_RGB_DEFAULT msgid "" "RGB default: Set enhancement values for red, green and blue to default " -"values :\n" +"values :\n" " gamma = 1.0\n" " brightness = 0\n" " contrast = 0" msgstr "" -"RGB : , = " -":\n" +"RGB : , ̣ = " +":\n" " = 1.0\n" " = 0\n" " = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast " -msgstr " , " +msgid "Autoadjust gamma, brightness and contrast " +msgstr " , " #. DESC_ENH_DEFAULT msgid "" -"Set default enhancement values :\n" +"Set default enhancement values :\n" "gamma = 1.0\n" "brightness = 0\n" "contrast = 0" msgstr "" -" :\n" +" :\n" " = 1.0\n" " = 0\n" " = 0" #. DESC_ENH_RESTORE -msgid "Restore enhancement values from preferences " -msgstr " " +msgid "Restore enhancement values from preferences " +msgstr " " #. DESC_ENH_STORE -msgid "Store active enhancement values to preferences " -msgstr " " +msgid "Store active enhancement values to preferences " +msgstr " " #. DESC_HIST_INTENSITY msgid "Show histogram of intensity/gray " -msgstr " / " +msgstr " / " #. DESC_HIST_RED msgid "Show histogram of red component " @@ -1345,7 +1590,7 @@ msgstr " #. DESC_HIST_GREEN msgid "Show histogram of green component " -msgstr " " +msgstr " ̣ " #. DESC_HIST_BLUE msgid "Show histogram of blue component " @@ -1357,7 +1602,7 @@ msgstr " #. DESC_HIST_LOG msgid "Show logarithm of pixelcount " -msgstr " " +msgstr " " #. DESC_PRINTER_SETUP msgid "Select definition to change" @@ -1365,48 +1610,51 @@ msgstr " #. DESC_PRINTER_NAME msgid "Define a name for the selection of this definition" -msgstr " " +msgstr " " #. DESC_PRINTER_COMMAND msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" -msgstr "" -" (, " -"\"lpr\")" +msgstr ", (, \"lpr\")" #. DESC_COPY_NUMBER_OPTION msgid "Enter option for copy numbers" -msgstr " " +msgstr " " #. DESC_PRINTER_LINEART_RESOLUTION msgid "" "Resolution with which lineart images are printed and saved in postscript" -msgstr ", PostScript" +msgstr "" +", " +"PostScript" #. DESC_PRINTER_GRAYSCALE_RESOLUTION msgid "" "Resolution with which grayscale images are printed and saved in postscript" -msgstr ", PostScript" +msgstr "" +", ޣ- " +"PostScript" #. DESC_PRINTER_COLOR_RESOLUTION msgid "Resolution with which color images are printed and saved in postscript" msgstr "" -", PostScript" +", " +"PostScript" #. DESC_PRINTER_WIDTH msgid "Width of printable area" -msgstr " " +msgstr " " #. DESC_PRINTER_HEIGHT msgid "Height of printable area" -msgstr " " +msgstr " " #. DESC_PRINTER_LEFTOFFSET msgid "Left offset from the edge of the paper to the printable area" -msgstr " " +msgstr " " #. DESC_PRINTER_BOTTOMOFFSET msgid "Bottom offset from the edge of the paper to the printable area" -msgstr " " +msgstr " " #. DESC_PRINTER_GAMMA msgid "Additional gamma value for photocopy" @@ -1418,7 +1666,7 @@ msgstr " #. DESC_PRINTER_GAMMA_GREEN msgid "Additional gamma value for green component for photocopy" -msgstr " " +msgstr " ̣ " #. DESC_PRINTER_GAMMA_BLUE msgid "Additional gamma value for blue component for photocopy" @@ -1435,7 +1683,7 @@ msgstr " #. DESC_JPEG_QUALITY msgid "" "Quality in percent if image is saved as jpeg or tiff with jpeg compression" -msgstr " JPEG TIFF JPEG " +msgstr " JPEG TIFF JPEG-" #. DESC_PNG_COMPRESSION msgid "Compression if image is saved as png" @@ -1443,24 +1691,24 @@ msgstr " #. DESC_FILENAME_COUNTER_LEN msgid "Minimum length of counter in filename" -msgstr " " +msgstr " ޣ " #. DESC_TIFF_COMPRESSION_16 msgid "Compression type if 16 bit image is saved as tiff" -msgstr " TIFF 16 " +msgstr " TIFF 16 " #. DESC_TIFF_COMPRESSION_8 msgid "Compression type if 8 bit image is saved as tiff" -msgstr " TIFF 8 " +msgstr " TIFF 8 " #. DESC_TIFF_COMPRESSION_1 msgid "Compression type if lineart image is saved as tiff" -msgstr " TIFF " +msgstr " TIFF " #. DESC_SAVE_DEVPREFS_AT_EXIT msgid "Save device dependant preferences in default file at exit of xsane" msgstr "" -" XSane-" +" XSane" #. DESC_OVERWRITE_WARNING msgid "Warn before overwriting an existing file" @@ -1470,32 +1718,44 @@ msgstr " msgid "" "If filename counter is automatically increased, used numbers are skipped" msgstr "" -" , " +" ޣ " +"" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +" 16- pnm " +"(ascii) . " +" . " +", !!!" #. DESC_REDUCE_16BIT_TO_8BIT msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" -msgstr "" -" 16- 8 " +msgstr " 16 8 " #. DESC_PSFILE_WIDTH msgid "Width of paper for postscript files" -msgstr " PostScript " +msgstr " PostScript" #. DESC_PSFILE_HEIGHT msgid "Height of paper for postscript files" -msgstr " PostScript " +msgstr " PostScript" #. DESC_PSFILE_LEFTOFFSET msgid "" "Left offset from the edge of the paper to the usable area for postscript " "files" -msgstr " PostScript " +msgstr " PostScript" #. DESC_PSFILE_BOTTOMOFFSET msgid "" "Bottom offset from the edge of the paper to the usable area for postscript " "files" -msgstr " PostScript " +msgstr " PostScript" #. DESC_MAIN_WINDOW_FIXED msgid "Use fixed main window size or scrolled, resizable main window" @@ -1504,20 +1764,24 @@ msgstr " #. DESC_DISABLE_GIMP_PREVIEW_GAMMA msgid "Disable preview gamma when XSane runs as gimp plugin" msgstr "" -" " -"XSane- GIMP-" +" - XSane " +" GIMP" #. DESC_PREVIEW_COLORMAP msgid "Use an own colormap for preview if display depth is 8 bpp" msgstr "" -" " +" " " 8 bpp" +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr ", " + #. DESC_PREVIEW_OVERSAMPLING msgid "Value with that the calculated preview resolution is multiplied" msgstr "" -" " -"" +", " +"" #. DESC_PREVIEW_GAMMA msgid "Set gamma correction value for preview image" @@ -1532,7 +1796,7 @@ msgstr "" #. DESC_PREVIEW_GAMMA_GREEN msgid "Set gamma correction value for green component of preview image" msgstr "" -" " +" ̣ " "" #. DESC_PREVIEW_GAMMA_BLUE @@ -1550,9 +1814,9 @@ msgid "" "Select grayscale scanmode. This scanmode is used for lineart preview scan " "when transformation from grayscale to lineart is enabled" msgstr "" -" . " -" " -"" +" ޣ- . " +" , " +" ޣ- " #. DESC_PREVIEW_THRESHOLD_MIN #, no-c-format @@ -1579,25 +1843,24 @@ msgid "" "Select scansource for Automatic Document feeder. If this scansource is " "selected XSane scans until \"out of paper\" or error." msgstr "" -" . XSane " +" . , XSane " " ." #. DESC_PREVIEW_PIPETTE_RANGE msgid "dimension of square that is used to average color for pipette function" msgstr "" " , " -" " +" " #. DESC_DOC_VIEWER msgid "" "Enter command to be executed to display helpfiles, must be a html-viewer!" msgstr "" -" , " -"HTML-" +" , HTML" #. DESC_AUTOENHANCE_GAMMA msgid "Change gamma value when autoenhancement button is pressed" -msgstr " " +msgstr " " #. DESC_PRESELECT_SCANAREA msgid "Select scanarea after preview scan has finished" @@ -1607,11 +1870,11 @@ msgstr "" #. DESC_AUTOCORRECT_COLORS msgid "Do color correction after preview scan has finished" msgstr "" -" " +" " #. DESC_FAX_COMMAND msgid "Enter command to be executed in fax mode" -msgstr " " +msgstr " " #. DESC_FAX_RECEIVER_OPT msgid "Enter option to specify receiver" @@ -1619,19 +1882,19 @@ msgstr " #. DESC_FAX_POSTSCRIPT_OPT msgid "Enter option to specify postscript files following" -msgstr " PostScrip-" +msgstr ", PostScript" #. DESC_FAX_NORMAL_OPT msgid "Enter option to specify normal mode (low resolution)" -msgstr " Normal ( )" +msgstr " ( )" #. DESC_FAX_FINE_OPT msgid "Enter option to specify fine mode (high resolution)" -msgstr " Fine ( )" +msgstr " ( )" #. DESC_FAX_VIEWER msgid "Enter command to be executed to view a fax" -msgstr " " +msgstr " " #. DESC_FAX_FINE_MODE msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" @@ -1640,11 +1903,11 @@ msgstr "" #. DESC_SMTP_SERVER msgid "IP Address or Domain name of SMTP server" -msgstr "IP- SMTP " +msgstr "IP- SMTP-" #. DESC_SMTP_PORT msgid "port to connect to SMTP server" -msgstr " SMTP " +msgstr " SMTP-" #. DESC_MAIL_FROM msgid "enter your email address" @@ -1656,44 +1919,63 @@ msgstr " #. DESC_POP3_AUTHENTIFICATION msgid "Authentificate at POP3 server before sending mail" -msgstr " POP3 " +msgstr " POP3- " #. DESC_POP3_SERVER msgid "IP Address or Domain name of POP3 server" -msgstr "IP POP3 " +msgstr "IP- POP3-" #. DESC_POP3_PORT msgid "port to connect to POP3 server" -msgstr " POP3 " +msgstr " POP3-" #. DESC_POP3_USER msgid "user name for POP3 server" -msgstr " POP3 " +msgstr " POP3-" #. DESC_POP3_PASS msgid "password for POP3 server" -msgstr " POP3 " +msgstr " POP3-" #. DESC_MAIL_VIEWER msgid "Enter command to be executed to view a mail image" -msgstr " " +msgstr " " #. DESC_HTML_MAIL -msgid "Mail is sent in html mode, images are displayed directly" +msgid "Mail is sent in html mode, place image with: " msgstr "" -" HTML-, " +" HTML-, : " #. DESC_OCR_COMMAND msgid "Enter command to start ocr program" -msgstr " " +msgstr " " #. DESC_OCR_INPUTFILE_OPT msgid "Enter option of the ocr program to define input file" -msgstr " " +msgstr ", " #. DESC_OCR_OUTPUTFILE_OPT msgid "Enter option of the ocr program to define output file" -msgstr " " +msgstr ", " + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" +", GUI- " +"" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +" , " +" GUI." + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +" , " +" ." #. DESC_PERMISSION_READ msgid "read" @@ -1707,6 +1989,10 @@ msgstr " msgid "execute" msgstr "" +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr " " + #. DESC_PIPETTE_WHITE msgid "Pick white point" msgstr " " @@ -1717,11 +2003,11 @@ msgstr " #. DESC_PIPETTE_BLACK msgid "Pick black point" -msgstr " " +msgstr " ޣ " #. DESC_ZOOM_FULL msgid "Use full scanarea" -msgstr " " +msgstr " " #. DESC_ZOOM_OUT #, no-c-format @@ -1729,6 +2015,10 @@ msgid "Zoom 20% out" msgstr " 20%" #. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr " 20% " + +#. DESC_ZOOM_AREA msgid "Zoom into selected area" msgstr " " @@ -1738,51 +2028,73 @@ msgstr " #. DESC_FULL_PREVIEW_AREA msgid "Select visible area" -msgstr " " +msgstr " " #. DESC_AUTOSELECT_SCANAREA msgid "Autoselect scanarea" -msgstr " " +msgstr " " + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr " " #. DESC_DELETE_IMAGES msgid "Delete preview image cache" -msgstr " " +msgstr " " #. DESC_PRESET_AREA -msgid "Preset area" -msgstr " " +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +" :\n" +" " +" ( )." #. DESC_ROTATION msgid "Rotate preview and scan" msgstr " " +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr " " + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr " " + #. DESC_VIEWER_OCR msgid "Optical Character Recognition" -msgstr " " +msgstr " " + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr " " #. DESC_VIEWER_CLONE msgid "Clone image" -msgstr " " +msgstr " " -#. DESC_VIEWER_ROTATE90 +#. DESC_ROTATE90 msgid "Rotate image 90 degree" -msgstr " 90 " +msgstr " 90 " -#. DESC_VIEWER_ROTATE180 +#. DESC_ROTATE180 msgid "Rotate image 180 degree" -msgstr " 180 " +msgstr " 180 " -#. DESC_VIEWER_ROTATE270 +#. DESC_ROTATE270 msgid "Rotate image 270 degree" -msgstr " 270 " +msgstr " 270 " -#. DESC_VIEWER_MIRROR_X +#. DESC_MIRROR_X msgid "Mirror image at vertical axis" -msgstr " " +msgstr " " -#. DESC_VIEWER_MIRROR_Y +#. DESC_MIRROR_Y msgid "Mirror image at horizontal axis" -msgstr " " +msgstr " " #. DESC_VIEWER_ZOOM msgid "Zoom image" @@ -1796,17 +2108,65 @@ msgstr " msgid "Delete active medium" msgstr " " +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr " " + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr " X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr " Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr " [ ]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr " [ ]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr " " + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr " " + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr " " + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr " " + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr " " + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr " " + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr " " + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr " :" #. ERR_CHANGE_WORKING_DIR msgid "Failed to change working directory to" -msgstr " :" +msgstr " " #. ERR_FILENAME_TOO_LONG msgid "Filename too long" -msgstr " " +msgstr " " #. ERR_CREATE_TEMP_FILE msgid "Could not create temporary file" @@ -1822,7 +2182,7 @@ msgstr " #. ERR_OPTION_COUNT msgid "Error obtaining option count" -msgstr " " +msgstr " ޣ " #. ERR_DEVICE_OPEN_FAILED msgid "Failed to open device" @@ -1847,7 +2207,7 @@ msgstr " #. ERR_GIMP_BAD_DEPTH #, c-format msgid "GIMP can't handle depth %d bits/color" -msgstr "GIMP %s " +msgstr "GIMP %d " #. ERR_UNKNOWN_SAVING_FORMAT msgid "Unknown file format for saving" @@ -1863,11 +2223,11 @@ msgstr " #. ERR_FAILED_PRINTER_PIPE msgid "Failed to open pipe for executing printercommand" -msgstr " " +msgstr " " #. ERR_FAILED_EXEC_PRINTER_CMD msgid "Failed to execute printercommand:" -msgstr " :" +msgstr " :" #. ERR_FAILED_START_SCANNER msgid "Failed to start scanner:" @@ -1887,15 +2247,19 @@ msgstr " #. ERR_TOO_MUCH_DATA msgid "Backend sends more image data than it defined in parameters" -msgstr " , " +msgstr " , " #. ERR_LIBTIFF msgid "LIBTIFF reports error" -msgstr "LIBTIFF " +msgstr "LIBTIFF " #. ERR_LIBPNG msgid "LIBPNG reports error" -msgstr "LIBPNG " +msgstr "LIBPNG " + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG " #. ERR_UNKNOWN_TYPE msgid "unknown type" @@ -1903,27 +2267,35 @@ msgstr " #. ERR_UNKNOWN_CONSTRAINT_TYPE msgid "unknown constraint type" -msgstr " " +msgstr " ģ " + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr " (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr " () - , !" #. ERR_FAILED_EXEC_DOC_VIEWER msgid "Failed to execute documentation viewer:" -msgstr " :" +msgstr " :" #. ERR_FAILED_EXEC_FAX_VIEWER msgid "Failed to execute fax viewer:" -msgstr " :" +msgstr " :" #. ERR_FAILED_EXEC_FAX_CMD msgid "Failed to execute fax command:" -msgstr " " +msgstr " " #. ERR_FAILED_EXEC_MAIL_VIEWER msgid "Failed to execute mail image viewer:" -msgstr " " +msgstr " " #. ERR_FAILED_EXEC_OCR_CMD msgid "Failed to execute ocr command:" -msgstr " :" +msgstr " :" #. ERR_BAD_FRAME_FORMAT msgid "bad frame format" @@ -1936,7 +2308,7 @@ msgstr " #. ERR_PASSWORD_FILE_INSECURE #, c-format msgid "Password file (%s) is insecure, use permission x00\n" -msgstr " (%s) , x00\n" +msgstr " (%s) , x00\n" #. ERR_ERROR msgid "error" @@ -1944,7 +2316,7 @@ msgstr " #. ERR_MAJOR_VERSION_NR_CONFLICT msgid "Sane major version number mismatch!" -msgstr " sane!" +msgstr " sane!" #. ERR_XSANE_MAJOR_VERSION msgid "XSane major version =" @@ -1956,7 +2328,7 @@ msgstr " #. ERR_PROGRAM_ABORTED msgid "*** PROGRAM ABORTED ***" -msgstr "*** ***" +msgstr "*** ***" #. ERR_FAILED_ALLOCATE_IMAGE msgid "Failed to allocate image memory:" @@ -1964,11 +2336,11 @@ msgstr " #. ERR_PREVIEW_BAD_DEPTH msgid "Preview cannot handle bit depth" -msgstr " " +msgstr " " #. ERR_GIMP_SUPPORT_MISSING msgid "GIMP support missing" -msgstr " GIMP- " +msgstr " GIMP " #. ERR_CREATE_PREVIEW_FILE msgid "Could not create temporary preview files" @@ -1976,15 +2348,16 @@ msgstr " #. ERR_CREATE_PREVIEW_FILENAME msgid "Could not create filenames for preview files" -msgstr " " +msgstr "" +" " #. ERR_CREATE_FAX_PROJECT msgid "Could not create faxproject" -msgstr " " +msgstr " " #. WARN_COUNTER_UNDERRUN msgid "Filename counter underrun" -msgstr " 0" +msgstr "ޣ " #. WARN_NO_VALUE_CONSTRAINT msgid "warning: option has no value constraint" @@ -2001,7 +2374,7 @@ msgstr "" " XSane ROOT, !\n" "\n" " \n" -" XSane- - ROOT-:\n" +" XSane - ROOT:\n" " !" #. ERR_HEADER_ERROR @@ -2016,13 +2389,17 @@ msgstr " msgid "Information" msgstr "" +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr " " + #. ERR_FAILED_CREATE_FILE msgid "Failed to create file:" msgstr " :" #. ERR_LOAD_DEVICE_SETTINGS msgid "Error while loading device settings:" -msgstr " :" +msgstr " :" #. ERR_NO_DRC_FILE msgid "is not a device-rc-file !!!" @@ -2051,7 +2428,7 @@ msgstr " #. WARN_UNSAVED_IMAGES #, c-format msgid "There are %d unsaved images" -msgstr " %d " +msgstr " %d Σ " #. WARN_FILE_EXISTS #, c-format @@ -2066,7 +2443,7 @@ msgstr " #. ERR_FILE_NOT_POSTSCRIPT #, c-format msgid "File %s is not a postscript file" -msgstr " %s PosatScript-" +msgstr " %s PostScript" #. ERR_UNSUPPORTED_OUTPUT_FORMAT #, c-format @@ -2075,7 +2452,7 @@ msgstr " #. WARN_VIEWER_IMAGE_NOT_SAVED msgid "viewer image is not saved" -msgstr " " +msgstr " " #. TEXT_USAGE msgid "Usage:" @@ -2086,7 +2463,6 @@ msgid "[OPTION]... [DEVICE]" msgstr "[]... []" #. TEXT_HELP -#, fuzzy msgid "" "Start up graphical user interface to access SANE (Scanner Access Now Easy) " "devices.\n" @@ -2097,8 +2473,8 @@ msgid "" " -v, --version print version information\n" " -l, --license print license information\n" "\n" -" -d, --device-settings file load device settings from file (without " -"\".drc\")\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" "\n" " -V, --viewer start with viewer-mode active (default)\n" " -s, --save start with save-mode active\n" @@ -2107,8 +2483,6 @@ msgid "" " -m, --mail start with mail-mode active\n" " -n, --no-mode-selection disable menu for XSane mode selection\n" "\n" -" -M, --Medium-calibration enable medium calibration mode\n" -"\n" " -F, --Fixed fixed main window size (overwrite preferences " "value)\n" " -R, --Resizeable resizable, scrolled main window (overwrite " @@ -2123,51 +2497,51 @@ msgid "" " --sync request a synchronous connection with the X11 " "server" msgstr "" -" SANE (Scanner Access Now " -"Easy).\n" +" SANE (Scanner " +"Access Now Easy).\n" "\n" " []: :_ (, umax:/dev/scanner).\n" -"[]... :\n" -" -h, --help \n" -" -v, --version \n" -" -l, --license \n" +"[]... :\n" +" -h, --help \n" +" -v, --version \n" +" -l, --license \n" "\n" " -d, --device-settings file ( " "\".drc\")\n" "\n" -" -V, --viewer ( )\n" -" -s, --save \n" -" -c, --copy \n" -" -f, --fax \n" -" -m, --mail \n" +" -V, --viewer ( )\n" +" -s, --save \n" +" -c, --copy \n" +" -f, --fax \n" +" -m, --mail \n" " -n, --no-mode-selection XSane\n" "\n" -" -F, --Fixed ( " -")\n" -" -R, --Resizeable " -"( )\n" +" -F, --Fixed " +"( )\n" +" -R, --Resizeable " +" Σ ( )\n" "\n" -" -p, --print-filenames , " -"XSane-\n" -" -N, --force-filename name " -" \n" +" -p, --print-filenames , " +"XSane\n" +" -N, --force-filename name " +" \n" "\n" -" --display X11-display X11-display\n" +" --display X11-display X11\n" " --no-xshm " "\n" -" --sync X11 " +" --sync X11-" #. strings for gimp plugin #. XSANE_GIMP_INSTALL_BLURB msgid "Front-end to the SANE interface" -msgstr " SANE" +msgstr " SANE" #. XSANE_GIMP_INSTALL_HELP msgid "" "This function provides access to scanners and other image acquisition " "devices through the SANE (Scanner Access Now Easy) interface." msgstr "" -" " +" " " SANE (Scanner Acess Now Easy)." #. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" @@ -2187,6 +2561,26 @@ msgstr "/Xtns/XSane/ msgid "/Xtns/XSane/" msgstr "/Xtns/XSane/" +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +" :\n" +"1) , SANE\n" +"2) \n" +"3) -- " +" xsane root\n" +"4) SANE (. man sane-dll)\n" +"5) (. man sane-\"\")\n" +"6) , SANE" + #. strings that are used in structures, so it is not allowed to use _()/gettext() here #. gettext_noop does mark these texts but does not change the string #. MENU_ITEM_SURFACE_FULL_SIZE @@ -2257,9 +2651,9 @@ msgstr "Letter msgid "letter land." msgstr "Letter " -#. MENU_ITEM_MEDIUM_FULL_RANGE -msgid "Full range" -msgstr " " +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr " " #. MENU_ITEM_MEDIUM_SLIDE msgid "Slide" @@ -2301,6 +2695,74 @@ msgstr " msgid "Rossmann negative HR 100" msgstr " Rossmann HR 100" +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr " " + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr " " + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr " " + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr " " + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr " POP3" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr " POP3" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr " SMTP" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr " " + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr " " + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr " " + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr " " + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr " " + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr " " + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr " " + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr " " + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr " " + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr " ݣ " + #. Sane backend messages msgid "flatbed scanner" msgstr " " @@ -2315,7 +2777,7 @@ msgid "still camera" msgstr " " msgid "video camera" -msgstr " " +msgstr "" msgid "virtual device" msgstr ". " @@ -2354,13 +2816,4 @@ msgid "Out of memory" msgstr " " msgid "Access to resource has been denied" -msgstr " " - -#~ msgid "Store Medium definition" -#~ msgstr " " - -#~ msgid "" -#~ "Use XSane for: SCANning- photoCOPYing- FAXing-" -#~ msgstr "" -#~ " XSane : ; ; " -#~ " " +msgstr " ݣ" diff --git a/po/sk.gmo b/po/sk.gmo new file mode 100644 index 0000000..156e04b Binary files /dev/null and b/po/sk.gmo differ diff --git a/po/sk.po b/po/sk.po new file mode 100644 index 0000000..3daae8b --- /dev/null +++ b/po/sk.po @@ -0,0 +1,2831 @@ +# Slovak translation of sane +# Copyright (C) 2003, 2004 Free Software Foundation, Inc. +# Zdenko Podobný , 2001, 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.95\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 09.08.2004 21:26\n" +"Last-Translator: Zdenko Podobný \n" +"Language-Team: Slovak \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3.1\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "sk" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "klon" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "O programe" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "O preklade" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "autorizácia" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL -licencia" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Licenčná zmluva s koncovým používateľom" + +#. WINDOW_INFO +msgid "info" +msgstr "informácie" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "načítať dávkový zoznam" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "uložiť dávkový zoznam" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "dávkové skenovanie" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "premenovať dávkovú oblasť" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "faxový projekt" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "premenovať faxovú stránku" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "vložiť ps-súbor do faxu" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "poštový projekt" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "premenovať obrázok do pošty" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "vložiť obrázok do pošty" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "premenovať predvolaná oblasť" + +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "pridať predvolenú oblasť" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "premenovať médium" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "pridať nové médium" + +#. WINDOW_SETUP +msgid "setup" +msgstr "nastavenie" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Histogram" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gama krivka" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Štandardné voľby" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Rozšírené voľby" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "výber zariadenia" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Náhľad" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Prehliadač" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Prehliadač: zvoľte vstupný súbor" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Zvoľte názov pre výstupný súbor s rozoznaným textom" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "zvoľte názov pre výstupný súbor" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "uložiť nastavenia zariadení" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "načítať nastavenia zariadení" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "zmeniť pracovný priečinok" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "vybrať dočasný priečinok" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Zmena veľkosti obrázku" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Vyčistiť obrázok" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Rozmazať obrázok" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Uložiť definíciu média" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Nie je dostupné žiadne zariadenie" + +#. MENU_FILE +msgid "File" +msgstr "Súbor" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Nastavenia" + +#. MENU_VIEW +msgid "View" +msgstr "Zobraziť" + +#. MENU_WINDOW +msgid "Window" +msgstr "Okno" + +#. MENU_HELP +msgid "Help" +msgstr "Pomocník" + +#. MENU_EDIT +msgid "Edit" +msgstr "Upraviť" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Filtre" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometria" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "O XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Info" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Koniec" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Uložiť obrázok" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - uložiť ako text" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Duplikovať" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Zmena veľkosti" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Zavrieť" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Späť" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Vyčistiť" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Rozostriť" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Rotovať 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Rotovať 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Rotovať 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Zrkadlo |" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Zrkadlo -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Pôvodný obrázok" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Spracovaný obrázok" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Skenovať" + +#. BUTTON_OK +msgid "Ok" +msgstr "OK" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Akceptovať" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Neakceptovať" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Použiť" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Zrušiť" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Redukovať" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Pokračovať na vlastné riziko" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Prechádzať" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Prepísať" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Skenovať dávkový zoznam" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Skenovať zvolenú oblasť" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Zmazať stránku" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Zobraziť stránku" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Premenovať stránku" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Odstrániť obrázok" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Zobraziť obrázok" + +#. BUTTON_IMAGE_EDIT +#, fuzzy +msgid "Edit image" +msgstr "Spracovaný obrázok" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Premenovať obrázka" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Vložiť súbor" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Vytvoriť projekt" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Poslať projekt" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Zmazať projekt" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Pridaj tlačiareň" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Zmazať tlačiareň" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Získať náhľad" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Zrušiť náhľad" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Zahodiť obrázok" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Zahodiť všetky obrázky" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Nezavrieť" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Zviazať zmenu veľkosti" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Jemný režim" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTML pošta" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Uložiť nastavenie zariadenia pri ukončení" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Varovanie o prepísaní" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Preskočiť existujúce názvy súborov" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Uložiť 16 bitové pnm v ascii formáte" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Redukovať 16 bitový obrázok na 8 bitov" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Pevná veľkosť hlavného okna" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Zakázať pre gimp gama náhľad" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Použiť vlastnú farebnú mapu" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Automaticky upraviť gama" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Predvoľba skenovacej plochy" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Automatická korekcia farieb" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "POP3 autentifikácia" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Použiť GUI rúru postupu" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "hľadám zariadenia" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Dostupné zariadenia:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Nastavenia XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "XSane režim" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "Krok" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Typ" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Skener a ovládač:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Dodávateľ:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Typ:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Zariadenie:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Načítaný ovládač:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Sane verzia :" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Aktuálne hodnoty:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gama korekcia:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "skener" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "softvérová (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "nič" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Vstupná gama hĺbka:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Výstupná gama hĺbka:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Výstupná hĺbka skeneru:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Výstupné formáty XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8 bitové výstupné formáty:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16 bitové výstupné formáty:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"GIMP nepodporuje hĺbku 16 bitov/farba.\n" +"Prajete si redukciu hĺbky na 8 bitov/farba?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"16 bitov na farbu nie je podporovaných v tomto výstupnom formát.\n" +"Prajete si redukciu hĺbky na 8 bitov/farbu?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Vyžaduje sa autorizácia pre" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Prenos hesla je bezpečný" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Ovládač vyžaduje heslo ako obyčajný text" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Používateľ :" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Heslo :" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Neplatné parametre." + +#. TEXT_VERSION +msgid "version:" +msgstr "verzia:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "balík" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "s podporou GIMPu" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "bez podpory GIMPu" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "kompilované s GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "kompilované s GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "neznámy" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane je šírený v zmysle podmienok GNU General Public License,\n" +"tak ako boli publikované Free Software Foundation, verzia 2 alebo \n" +"(ak Vám to vyhovuje) akejkoľvek neskoršej verzie.\n" +"\n" +"Tento program je rozširovaný v nádeji, že bude užitočný, avšak\n" +"BEZ AKEJKOĽVEK ZÁRUKY. Neposkytujú sa ani odvodené záruky\n" +"PREDAJNOSTI alebo VHODNOSTI PRE URČITÝ ÚČEL.\n" +"Program by mohol dokázať ako defektný, a mali by ste preto prevziať\n" +"všetky nevyhnutné náklady na servis, opravu a nápravu. Aby ste\n" +"mohli používať tento program, musíte si prečítať a akceptovať nasledujúcu\n" +"zmluvu \"Neposkytovaní záruky\".\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane je šírený v zmysle podmienok GNU General Public License,\n" +"tak ako boli publikované Free Software Foundation, verzia 2 alebo \n" +"(ak Vám to vyhovuje) akejkoľvek neskoršej verzie.\n" +"\n" +"Tento program je distribuovaný v nádeji, že bude užitočný, ale\n" +"BEZ AKEJKOĽVEK GARANCIE; okrem implicitnej garancie,\n" +"ktorá sa týka OBCHODOVATEĽNOSTI alebo VHODNOSTI\n" +"PRE KONKRÉTNY ÚČEL.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Email:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Domáca stránka:" + +#. TEXT_FILE +msgid "File:" +msgstr "Súbor:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Preklad:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"pôvodný nepreložený anglický text\n" +"je od Olivera Raucha\n" +"Email: Oliver.Rauch@rauch-domain.de\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Skenované stránky: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Text emailu:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Prílohy:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Stav projektu:" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Názov média:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Veľkosť v bodoch: %d × %d, bitov/farbu: %d, farieb: %d, %1.0f dpi × %1.0f " +"dpi, %1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Polomer pre vyčistenie:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Polomer rozostrenia:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(bez názvu)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Názov oblasti:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Mód skenovania:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Vľavo hore:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Veľkosť:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Rozlíšenie:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bitová hĺbka:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "podľa výberu" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Výber tlačiarne:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Názov:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Príkaz:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Voľba počtu kópií:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Rozlíšenie čiarovej grafiky (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Rozlíšenie v odtieňoch šedej (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Farebné rozlíšenie (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Šírka" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Výška" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Posun zľava" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Posun zdola" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Gama hodnota tlačiarne:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Červená gama tlačiarne:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Zelená gama tlačiarne:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Modrá gama tlačiarne:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Dočasný priečinok" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Práva obrázkového súboru" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Práva priečinka" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Kvalita JPEG obrázka" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Kompresia PNG obrázka" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Dĺžka počítadla názvov súborov" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Kompresia 16 bitového TIFF obrázka" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Kompresia 8 bitového TIFF obrázka" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Kompresia čiarovej grafiky TIFF obrázka" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Zobraziť rozsah ako:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Prevzorkovanie náhľadu:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Gama náhľadu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Červená gama náhľadu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Zelená gama náhľadu:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Modrá gama náhľadu:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Nastavenie prahu:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Režim automatického podávača dokumentov:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Náhľad rozsahu pipety" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Minimum prahu:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Maximum prahu:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Násobiteľ prahu:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Posun prahu:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Názov skenovacieho režimu v odtieňoch šedi:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Prehliadač pomocníka (HTML):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Nastavenie príjemcu:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Nastavenie postscriptu:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Voľby normálneho režimu:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Nastavenie jemného režimu:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Štandardné nastavenia programu pre:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Prehliadač (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTP server:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTP port:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Od:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Odpovedať na:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3 server:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3 port:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "POP3 používateľ:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "POP3 heslo:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Prehliadač (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "OCR príkaz:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Nastavenie vstupného súboru:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Nastavenie výstupného súboru:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Použiť GUI rúru postupu:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Nastavenie GUI výstupu:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Kľúčové slová postupu:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "používateľ" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "skupina" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "všetko" + +msgid "new media" +msgstr "nové médium" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Ukladanie" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Obrázok" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Kopírovanie" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Fax" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Pošta" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Zobrazenie" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Vylepšenie" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Email" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Zobraziť rady" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Zobraziť náhľad" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Zobraziť histogram" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Zobraziť gama krivku" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Zobraziť dávkové skenovanie" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Zobraziť štandardné nastavenia" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Zobraziť rozšírené voľby" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Nastavenie" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Jednotka dĺžky" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "milimetre" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimetre" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "palce" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Politika aktualizácie" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "súvislá" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "nesúvislá" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "omeškaná" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Zobraziť zoznam rozlíšení" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Otočenie postscriptu" + +# MENU_ITEM_EDIT_MEDIUM_DEF +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Upraviť definíciu média" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Uložiť nastavenia zariadení" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Načítať nastavenia zariadení" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Zmeniť priečinok" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Zobraziť LZKP (EULA)" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Zobraziť licenciu (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "XSane dokumentácia" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Dokumentácia ovládačov" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Dostupné ovládače" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Tipy pre skenovanie" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Problémy?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "neaktívny" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "bez kompresie" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "CCITT 1D Huffmanova kompresia" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Kompresia CCITT Group 3 Fax" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Kompresia CCITT Group 4 Fax" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Kompresia JPEG DCT" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "bitová kompresia" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Behúň (Mierka)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Behúň (Posuvník)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Otočné tlačidlo" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Mierka a otočné tlačidlo" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Posuvník a otočné tlačidlo" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Okno štandardných nastavení (čiarová grafika)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Hlavné okno XSane (čiarová grafika)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Hlavné okno XSane (odtiene šedej->čiarová grafika)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(žiadny)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "podľa prípony" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Pridať výber do zoznamu" + +# MENU_ITEM_EDIT_MEDIUM_DEF +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Pridať definíciu média" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Premenovať položku" + +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Odstrániť položku" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Posunúť položku hore" + +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Posunúť položku dole" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Skenovanie" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Prijímanie %s dát" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Prenášanie obrázka" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Otáčanie obrázka" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Zrkadlenie obrázka" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Komprimovanie obrázka" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Konverzia obrázka" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Ukladanie obrázka" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Duplikovanie obrázka" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Menenie veľkosti obrázka" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Čistenie obrázka" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Rozostrovanie obrázka" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Vykonáva sa OCR" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Začať skenovanie " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Zrušiť skenovanie " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Získať náhľad skenovania " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Prerušenie skenovanie náhľadu " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"uložiť, zobraziť-, fotokópia-, fax- alebo " +"pošta-" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Vyberte typ zdrojového média.\n" +"Na premenovanie, preusporiadanie alebo zmazanie záznamu použite kontextovú " +"ponuku (pravé tlačidlo myši).\n" +"Na vytvorenie média povoľte nastavenie upraviť definíciu média v ponuke " +"nastavenia." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Hodnota, ktorá je pridaná k počítadlu názvov súborov po skenovaní" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Vyhľadať názov súboru" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Názov súboru pre skenovaný obrázok" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Typ formátu obrázku; vhodná koncovka je automaticky pridaná k názvu súboru." + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Vložte názov faxového projektu" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Vložte nový názov pre faxovú stránku" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Vložte telefónne číslo alebo adresu príjemcu" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Vložte názov poštového projektu" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Vložte nový názov pre poštový obrázok" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Vložte emailovú adresu" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Vložte predmet správy" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Vložte nový názov pre predvolenú oblasť" + +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Vložte názov pre novú predvolenú oblasť" + +# DESC_MEDIUM_DEFINITION_NAME +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Vložte nový názov pre definíciu média" + +# DESC_MEDIUM_DEFINITION_NAME +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Vložte názov pre novú definíciu média" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Voľba definície tlačiarne " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Nastavenie rozlíšenia skenovania" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Nastavenie rozlíšenia v smere x" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Nastavenie rozlíšenia v smere y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Nastavenie faktoru zväčšenia" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Nastavenie faktoru zväčšenia pre smer x" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Nastavenie faktoru zväčšenia pre smer y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Nastavenie počtu kópií" + +# DESC_NEGATIVE +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negatív: Invertuje farby pre skenovanie negatívov " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Nastavenie gama hodnoty" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Nastavenie gama hodnoty pre červený komponent" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Nastavenie gama hodnoty pre zelený komponent" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Nastavenie gama hodnoty pre modrý komponent" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Nastavenie jasu" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Nastavenie jasu pre červený komponent" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Nastavenie jasu pre zelený komponent" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Nastavenie jasu pre modrý komponent" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Nastavenie kontrastu" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Nastavenie kontrastu pre červený komponent" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Nastavenie kontrastu pre zelený komponent" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Nastavenie kontrastu pre modrý komponent" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Nastavenie prahu" + +# DESC_RGB_DEFAULT +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"RGB štandard: Nastavenie štandardných hodnôt pre červenú, zelenú a modrú " +":\n" +" gama = 1.0\n" +" jas = 0\n" +" kontrast = 0" + +# DESC_ENH_AUTO +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Automatické nastavenie gamy, jasu a kontrastu " + +# DESC_ENH_DEFAULT +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Nastavenie štandardných hodnôt spracovávania :\n" +" gama = 1.0\n" +" jas = 0\n" +" kontrast = 0" + +# DESC_ENH_RESTORE +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Obnovenie štandardných hodnôt spracovania " + +# DESC_ENH_STORE +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Uloženie aktívnych hodnôt spracovania do nastavení " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Zobraziť histogram intenzity/šedej " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Zobraziť histogram červeného komponentu " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Zobraziť histogram zeleného komponentu " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Zobraziť histogram modrého komponentu " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Zobrazovací režim: zobrazenie čiarového histogramu namiesto bodového" + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Zobraziť logaritmy počítania bodov " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Vybrať definíciu na zmenu" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Definovať názov pre výber tejto definície" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "" +"Vložte príkaz, ktorý bude vykonaný v kopírovacom režime (napr. \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Vložte nastavenie pre počet kópií" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" +"Rozlíšenie, v ktorom bude čiarová grafika tlačená a uložená do postscriptu" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" +"Rozlíšenie, v ktorom budú obrázky v stupňoch šedi tlačené a uložené do " +"postscriptu" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" +"Rozlíšenie, v ktorom budú farebné obrázky tlačené a uložené do postscriptu" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Šírka tlačiteľnej oblasti" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Výška tlačiteľnej oblasti" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Posun od ľavého okraja papiera po tlačiteľnú oblasť" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Posun od dolného okraja papiera po tlačiteľnú oblasť" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Dodatočná gama hodnota pre fotokópiu" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Dodatočná gama hodnota pre červený komponent fotokópie" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Dodatočná gama hodnota pre zelený komponent fotokópie" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Dodatočná gama hodnota pre modrý komponent fotokópie" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Cesta k dočasnému priečinku" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Vyhľadať pomocný priečinok" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Kvalita v percentách, ak obrázok je uložený ako jpeg alebo tiff s jpeg " +"kompresiou" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Kompresia, ak obrázok je uložený ako png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Minimálna dĺžka počítadla názvov súborov" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Typ kompresie, ak obrázok je uložený ako 16 bitový TIFF" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Typ kompresie, ak obrázok je uložený ako 8 bitový TIFF" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Typ kompresie, ak je obrázok uložený ako TIFF čiarová grafika" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Uložiť nastavenia závislé na zariadení v štandardnom súbore pri ukončení " +"XSane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Varovať pred prepísaním existujúceho súbor" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" +"Ak počítadlo súborov automaticky zväčšovaný, použité čísla sú preskočené" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Keď ukladáte 16 bitový obrázok vo formáte pnm, tak by ste mali použiť ascii " +"formát namiesto binárneho formátu. Binárny formát je novým formátom a nie je " +"podporovaný všetkými programami. Ascii formát je podporovaný oveľa väčším " +"počtom programov, ale vytvára skutočne veľké súbory!!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" +"Ak skener pošle farebný 16 bitový obrázok, zapísať obrázok v bitoch/farbu" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Šírka papiera pre postscriptové súbory" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Výška papiera pre postscriptové súbory" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Posun od ľavej hrany papiera po použiteľnú oblasť pre postscriptové súbory" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" +"Posun od dolnej hrany papiera po použiteľnú oblasť pre postscriptové súbory" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Použiťpevnú veľkosť hlavného okna alebo okna s posuvníkmi a premennou " +"veľkosťou" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Zakázať gama náhľad, keď je XSane spustené ako GIMP modul" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "Použiť vlastnú farebnú mapu pre náhľad, ak hĺbka zobrazenia je 8bpp" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Zvoliť ako sa zobrazí rozsah" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Hodnota, ktorou sa násobí rozlíšenie náhľadu" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Nastavenie hodnotu gama korekcie pre náhľad na obrázok" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "" +"Nastaviť hodnotu gama korekcie pre červený komponent pre náhľad na obrázok" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Nastaviť hodnotu gama korekcie pre zelený komponent pre náhľad na obrázok" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "" +"Nastaviť hodnotu gama korekcie pre modrý komponent pre náhľad na obrázok" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Definovanie spôsobu ako sa XSane vysporiada s nastavením prahu" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Výber skenovacieho režimu v odtieňoch šedej. Tento skenovací režim sa " +"používa pre náhľad na čiarovú grafiku, keď je povolená transformácia z " +"odtieňov šedej." + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Minimálna úroveň prahu skeneru v %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Maximálna úroveň prahu skeneru v %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "Násobiteľ, ktorý nastaví rovnaký rozsah prahov XSane a skeneru" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "Posun, ktorý nastaví rovnaký rozsah prahu XSane a rozsah prahu skeneru" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Výber zdroja skenovania pre automatický podávač dokumentov. Pokiaľ je táto " +"voľba nastavená, XSane skenuje, pokiaľ nenastane stav \"nie je papier\" " +"alebo chyba" + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" +"rozmery štvorca, ktorý je použitý k spriemerovaniu farby pre funkciu pipety" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Nastavenie príkazu k zobrazeniu súborov pomocníka - musí to byť html " +"prehliadač!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Zmení gama hodnotu, ak je stlačené tlačidlo automatickej úpravy" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Nastavenie skenovanej oblasti po dokončení náhľadu" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Vykonanie farebnej korekcie po dokončení náhľadu" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Nastavenie príkazu spúšťaného vo faxovom režime" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Nastavenie voľby určujúceho príjemcu" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Nastavenie voľby k zadaniu postscriptových súborov" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Nastavenie voľby k určeniu normálneho režimu (nízke rozlíšenie)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Nastavenie voľby k určeniu jemného režimu (vysoké rozlíšenie)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Nastavenie príkazu k zobrazeniu faxu" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Poslať fax s vysokým zvislým rozlíšením (196 lpi namiesto 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "IP adresa alebo názov domény SMTP servera" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "port na pripojenie sa k SMTP" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "vložte svoju emailovú adresu" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "vložte svoju emailovú adresu pre odpoveď" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Autentifikácia na POP3 servery pre odoslaním emailu" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "IP adresa alebo názov domény POP3 servera" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "port na pripojenie sa k POP3 serveru" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "používateľské meno pre POP3 server" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "heslo pre POP3 server" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "" +"Nastavenie príkazu, ktorý ma byť spustený k zobrazeniu obrázku v emaily" + +#. DESC_HTML_MAIL +#, fuzzy +msgid "Mail is sent in html mode, place image with: " +msgstr "Email je poslaný v html móde, obrázky sú zobrazené priamo" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "Nastavenie príkazu na spustenie ocr programu" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Zadajte voľbu pre ocr program na definovanie vstupného súboru" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Zadajte voľbu pre ocr program na definovanie výstupného súboru" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Určenie, či ocr program podporuje gui rúru postupu" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Vložiť nastavenie ocr programu určujúci výstupný popis súboru v GUI režime" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"Určenie Kľúčového slova, ktoré sa použije na označenie informácií o postupe" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "čítanie" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "zápis" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "spustenie" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Pridať výber do zoznamu skenovania" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Výber bieleho bodu" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Výber šedého bodu" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Výber čierneho bodu" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Použiť celú skenovaciu oblasť" + +# DESC_ZOOM_OUT +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Zmenšenie o 20%" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Kliknite na pozíciu pre zväčšenie na" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Priblížiť zvolenú oblasť" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Vrátiť späť poslednú zmenu" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Vybrať viditeľnú oblasť" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Automatický výber skenovanej oblasti" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Automatické zvýšenie skenovanej oblasti" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Zmazať pamäť náhľadu" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Predvolená oblasť:\n" +"Na pridanie novej oblasti alebo úpravy existujúcej oblasti použite " +"kontextovú ponuku (pravé tlačidlo myši)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Otočenie náhľadu a skenovania" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Očakávaný pomer výberu" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Definovanie pozície obrázku pre tlač" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Optické rozpoznávanie textu" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Vrátiť späť poslednú zmenu" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Duplikovanie obrázka" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Otočenie obrázka o 90 stupňov" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Otočenie obrázka o 180 stupňov" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Otočenie obrázka o 270 stupňov" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Zrkadliť obrázok okolo zvislej osy" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Zrkadliť obrázok okolo vodorovnej osy" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Zväčšiť obrázok" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Uložiť médium" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Zmazať aktívne médium" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Faktor zmeny" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Faktor zmeny veľkosti X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Faktor zmeny veľkosti Y" + +# DESC_SCALE_WIDTH +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Zmeniť zväčšenie na šírky [v bodoch]" + +# DESC_SCALE_HEIGHT +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Zmeniť zväčšenie na výšku [v bodoch]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Prázdny dávkový zoznam" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Uložiť dávkový zoznam" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Načítať dávkový zoznam" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Premenovať oblasť" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Pridať zvolený náhľad oblasti do zoznamu" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Zmazať zvolenú oblasť z dávkového zoznamu" + +# DESC_AUTOMATIC +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Zapne automatický režim" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Nepodarilo sa určiť domovský priečinok:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Nepodarilo sa zmeniť pracovný priečinok na" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Názov súboru príliš dlhý" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Nie je možné vytvoriť dočasný súbor" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Zlyhalo nastavenie hodnoty voľby" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Zlyhalo získavanie hodnoty voľby" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Chyba pri získavaní nastavení počítadla" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Zlyhalo otváranie zariadenia" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "žiadne zariadenie nie je dostupné" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Chyba počas čítania:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Chyba počas ukladania:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Nie je možné spracovať hĺbku" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP nemôže spracovať hĺbku %d bitov/farbu" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Neznámy formát súboru pre ukladanie" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Zlyhalo otváranie" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Nie je možné vytvoriť bezpečný súbor (možno, že existuje odkaz):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Zlyhalo otváranie rúry pre spustenie tlačového príkazu" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Zlyhalo spúšťanie tlačového príkazu:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Zlyhalo spustenie skeneru:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Zlyhalo získavanie parametrov:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Bez výstupného formátu" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "nedostatok pamäti" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Ovládač poslal viac dát, než bolo definované v parametroch" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF hlási chybu" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG hlási chybu" + +# ERR_LIBJPEG +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBPNG hlási chybu" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "neznámy typ" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "neznámy požadovaný typ" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Voľba má prázdny názov (NULL)." + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Toto je chyba programu. Informujte prosím autora programu!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Zlyhalo spustenie prehliadača dokumentácie:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Zlyhalo spustenie prehliadača faxov:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Zlyhalo spustenie faxového príkazu:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Zlyhalo spustenie prehliadača obrázkov e emaily:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Zlyhalo spustenie ocr príkazu:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "zlý formát rámca" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "nie je možné nastaviť rozlíšenie" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Súbor s heslami (%s) je nebezpečný, použite práva x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "chyba" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Hlavné číslo verzie Sane nesúhlasí!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "Hlavné číslo verzie XSane =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "hlavné číslo verzie ovládača =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** PROGRAM PRERUŠENÝ ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Zlyhalo získavanie pamäte pre obrázok:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Náhľad nepodporuje bitovú hĺbku" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Chýba podpora pre GIMP" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Nie je možné vytvoriť dočasné súbory pre náhľad" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Nie je možné vytvoriť názvy súborov pre náhľad" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Nie je možné vytvoriť fax projekt" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Podtečenie počítadla názvov súborov " + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "varovanie: voľba nezískala žiadnu hodnotu" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Spúšťate XSane ako ROOT, čo je veľmi nebezpečné!\n" +"\n" +"Neposielajte žiadne chybové hlásenie, ak budete \n" +"mať problémy pri spustení XSane ako root:\n" +"STE V TO SAMI!" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Chyba" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Varovanie" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Informácie" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Chyba detského procesu" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Nepodarilo sa vytvoriť súbor:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Chyba počas načítavania nastavení zariadenia:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "nie je súbor-záznamu-zariadenia !!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Zlyhalo spustenie netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Odoslanie faxu: nie je definovaný príjemca" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "bol vytvorený pre príjemcu" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "chcete to použiť pre zariadenie" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "toto môže spôsobiť problémy!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "%d neuložených obrázkov" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Súbor %s už existuje" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Súbor %s neexistuje" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Súbor %s nie je postscriptový súbor" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Nepodporovaný %d-bitový výstupný formát: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "obrázok z prehliadača nie je uložený" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Použitie:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[VOĽBA]... [ZARIADENIE]" + +# TEXT_HELP +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Spustenie grafického rozhrania pre prístup k SANE zariadeniam.\n" +"\n" +"Formát [ZARIADENIA] je názov_ovládača:názov zariadenia (napr. umax:/dev/" +"scanner).\n" +"[VOĽBA]... môže mať kombináciu nasledovných položiek:\n" +" -h, --help zobrazí tohoto pomocníka a skončí\n" +" -v, --version vypíše informácie o verzií\n" +" -l, --license vypíše informáciu o licencií\n" +"\n" +" -d, --device-settings file načíta nastavenia zariadenia zo súboru (bez \"." +"drc\")\n" +"\n" +" -V, --viewer spustí v režime prehliadač (štandardné)\n" +" -s, --save spustí v režime ukladania\n" +" -c, --copy spustí v režime kopírovania\n" +" -f, --fax spustí v režime faxovania\n" +" -m, --mail spustí v režime emailu\n" +" -n, --no-mode-selection zakáže ponuku výberu režimu XSane\n" +"\n" +" -F, --Fixed použije pevnú veľkosť hlavného okna (prepíše\n" +" hodnotu v nastaveniach )\n" +" -R, --Resizeable použije hlavné okno s posuvníkmi\n" +" a premenlivou veľkosťou (prepíše hodnotu\n" +" v nastaveniach )\n" +"\n" +" -p, --print-filenames vypíše názvy súborov vytvorených XSane\n" +" -N, --force-filename name vnúti názov súboru a vypne voľbu názvu súboru\n" +"\n" +" --display X11-display presmeruje výstup na X11-display\n" +" --no-xshm nepoužije zdieľané pamäťové obrazy\n" +" --sync vyžiadanie synchrónneho spojenia s X11 serverom" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Používateľský program k rozhraniu SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Táto funkcia poskytuje prístup k skenerom a ostatným zariadeniam na " +"získavanie obrázkov cez rozhranie SANE (Scanner Access Now Easy - prístup k " +"skeneru je teraz jednoduchý)" + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/Súbor/Získať/XSane: dialóg zariadenia..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/Súbor/Získať/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Extra/XSane/Dialóg zariadenia..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Extra/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Možné dôvody:\n" +"1) Skutočne neexituje zariadenie, ktoré je podporované v SANE\n" +"2) Podporované zariadenie sa používa\n" +"3) Práva zariadenia vám nepovoľujú jeho používanie - vyskúšajte SANE spustiť " +"ako root\n" +"4) Backend nie je načítaný pomocou SANE (man sane-dll)\n" +"5) Backend nie je správne nakonfigurovaný (man sane-\"názovbackendu\")\n" +"6) Pravdepodobne viac ako len jedna verzia SANE je nainštalovaná" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "úplná veľkosť" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 na výšku" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 na šírku" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 na výšku" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 na šírku" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 na výšku" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 na šírku" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "legal na výšku" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "legal na šírku" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "letter na výšku" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "letter na šírku" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Celofarebný rozsah" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Diapozitív" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Štandardný negatív" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa negatív" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Agfa negatív XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Agfa negatív HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Fuji negatív" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Kodak negatív" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Konica negatív" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Konica negatív VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Rossmann negatív HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +#, fuzzy +msgid "Mail project not created" +msgstr "čítanie" + +#. TEXT_MAIL_STATUS_CREATED +#, fuzzy +msgid "Mail project created" +msgstr "čítanie" + +#. TEXT_MAIL_STATUS_CHANGED +#, fuzzy +msgid "Mail project changed" +msgstr "Predvoľba skenovacej plochy" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +#, fuzzy +msgid "Error reading mailproject" +msgstr "Vložte názov poštového projektu" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +#, fuzzy +msgid "From entry not accepted" +msgstr "čítanie" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +#, fuzzy +msgid "Receiver entry not accepted" +msgstr "čítanie" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "" + +#. TEXT_FAX_STATUS_NOT_CREATED +#, fuzzy +msgid "Fax project not created" +msgstr "čítanie" + +#. TEXT_FAX_STATUS_CREATED +#, fuzzy +msgid "Fax project created" +msgstr "čítanie" + +#. TEXT_FAX_STATUS_CHANGED +#, fuzzy +msgid "Fax project changed" +msgstr "Predvoľba skenovacej plochy" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "plošný skener" + +msgid "frame grabber" +msgstr "snímač políčok" + +msgid "handheld scanner" +msgstr "ručný skener" + +msgid "still camera" +msgstr "digitálny fotoaparát" + +msgid "video camera" +msgstr "videokamera" + +msgid "virtual device" +msgstr "virtuálne zariadenie" + +msgid "Success" +msgstr "Úspech" + +msgid "Operation not supported" +msgstr "Operácia nie je podporovaná" + +msgid "Operation was cancelled" +msgstr "Operácia bola prerušená" + +msgid "Device busy" +msgstr "Zariadenie je používané" + +msgid "Invalid argument" +msgstr "Neplatné argumenty" + +msgid "End of file reached" +msgstr "Bol dosiahnutý koniec súboru" + +msgid "Document feeder jammed" +msgstr "Pokrčený dokument v podávači" + +msgid "Document feeder out of documents" +msgstr "V podávači nie sú dokument" + +msgid "Scanner cover is open" +msgstr "Veko skeneru je otvorené" + +msgid "Error during device I/O" +msgstr "Chyba počas V/V zariadenia" + +msgid "Out of memory" +msgstr "Mimo pamäte" + +msgid "Access to resource has been denied" +msgstr "Prístup k zdroju bol odmietnutý" diff --git a/po/sl.gmo b/po/sl.gmo index eb8a288..bbdf658 100644 Binary files a/po/sl.gmo and b/po/sl.gmo differ diff --git a/po/sl.po b/po/sl.po index 16cb4bb..8e33a00 100644 --- a/po/sl.po +++ b/po/sl.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.84\n" -"POT-Creation-Date: 2002-01-22 23:34+0100\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" "PO-Revision-Date: 2001-02-25 14:06+01:00\n" "Last-Translator: Ales Kosir \n" "Language-Team: Slovenian \n" @@ -24,6 +24,10 @@ msgid "(c)" msgstr "(c)" #. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "" + #. WINDOW_ABOUT_XSANE msgid "About" msgstr "O programu" @@ -36,19 +40,35 @@ msgstr "O prevodu" msgid "authorization" msgstr "avtorizacija" -#. WINDOW_LICENSE -#, fuzzy -msgid "license" -msgstr "palci" +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "" #. WINDOW_INFO msgid "info" msgstr "podatki" +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "" + #. WINDOW_BATCH_SCAN msgid "batch scan" msgstr "paketno skeniranje" +#. WINDOW_BATCH_RENAME +#, fuzzy +msgid "rename batch area" +msgstr "Zbrii projekt" + #. WINDOW_FAX_PROJECT msgid "fax project" msgstr "fax" @@ -80,6 +100,21 @@ msgstr "" msgid "rename preset area" msgstr "preimenuj stran s faksom" +#. WINDOW_PRESET_AREA_ADD +#, fuzzy +msgid "add preset area" +msgstr "preimenuj stran s faksom" + +#. WINDOW_MEDIUM_RENAME +#, fuzzy +msgid "rename medium" +msgstr "Izbor tiskalnika za prilagoditev" + +#. WINDOW_MEDIUM_ADD +#, fuzzy +msgid "add new medium" +msgstr "Izbor tiskalnika za prilagoditev" + #. WINDOW_SETUP msgid "setup" msgstr "nastavi" @@ -163,6 +198,11 @@ msgstr "Zbri msgid "Store medium definition" msgstr "Izbor tiskalnika za prilagoditev" +#. WINDOW_NO_DEVICES +#, fuzzy +msgid "No devices available" +msgstr "na voljo ni nobene naprave" + #. MENU_FILE msgid "File" msgstr "Datoteka" @@ -175,15 +215,27 @@ msgstr "Nastavitve" msgid "View" msgstr "Pogled" +#. MENU_WINDOW +msgid "Window" +msgstr "" + #. MENU_HELP msgid "Help" msgstr "Pomo" +#. MENU_EDIT +msgid "Edit" +msgstr "" + #. MENU_FILTERS #, fuzzy msgid "Filters" msgstr "Datoteka" +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "O programu XSane" @@ -201,9 +253,9 @@ msgstr "Izhod" msgid "Save image" msgstr "Surova slika" -#. MENU_ITEM_CLOSE -msgid "Close" -msgstr "Zapri" +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "" #. MENU_ITEM_CLONE #, fuzzy @@ -215,6 +267,14 @@ msgstr "Zapri" msgid "Scale" msgstr "Skeniraj" +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Zapri" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "" + #. MENU_ITEM_DESPECKLE msgid "Despeckle" msgstr "" @@ -223,6 +283,28 @@ msgstr "" msgid "Blur" msgstr "" +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "" + +#. MENU_ITEM_MIRROR_X +#, fuzzy +msgid "Mirror |" +msgstr "napaka" + +#. MENU_ITEM_MIRROR_Y +#, fuzzy +msgid "Mirror -" +msgstr "napaka" + #. FRAME_RAW_IMAGE msgid "Raw image" msgstr "Surova slika" @@ -231,9 +313,10 @@ msgstr "Surova slika" msgid "Enhanced image" msgstr "Obdelana slika" -#. BUTTON_START -msgid "Start" -msgstr "Zagon" +#. BUTTON_SCAN +#, fuzzy +msgid "Scan" +msgstr "Skeniram" #. BUTTON_OK msgid "Ok" @@ -271,9 +354,15 @@ msgstr "Brskaj" msgid "Overwrite" msgstr "Prepii" -#. BUTTON_ADD_AREA -msgid "Add area" -msgstr "Dodaj obmoje" +#. BUTTON_BATCH_LIST_SCAN +#, fuzzy +msgid "Scan batch list" +msgstr "Namigi za skeniranje" + +#. BUTTON_BATCH_AREA_SCAN +#, fuzzy +msgid "Scan selected area" +msgstr "Pribliaj izbrano obmoje" #. BUTTON_PAGE_DELETE #, fuzzy @@ -300,6 +389,11 @@ msgstr "Zbri msgid "Show image" msgstr "Prikai predogled" +#. BUTTON_IMAGE_EDIT +#, fuzzy +msgid "Edit image" +msgstr "Obdelana slika" + #. BUTTON_IMAGE_RENAME #, fuzzy msgid "Rename image" @@ -377,6 +471,10 @@ msgstr "Prepi msgid "Skip existing filenames" msgstr "Preskoi obstojee datoteke" +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "" + #. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT msgid "Reduce 16 bit image to 8 bit" msgstr "" @@ -410,6 +508,10 @@ msgstr "" msgid "POP3 authentification" msgstr "" +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "iskanje naprave" @@ -571,6 +673,21 @@ msgstr "preveden s podporo za GIMP-" msgid "unknown" msgstr "neznano" +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" + #. TEXT_GPL msgid "" "XSane is distributed under the terms of the GNU General Public License\n" @@ -634,6 +751,10 @@ msgstr "" msgid "Project status:" msgstr "" +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "" + #. TEXT_MEDIUM_DEFINITION_NAME msgid "Medium Name:" msgstr "" @@ -644,16 +765,6 @@ msgid "" "Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" msgstr "" -#. TEXT_X_SCALE_FACTOR -#, fuzzy -msgid "X-Scale factor:" -msgstr "Nastavitev stopnje poveave" - -#. TEXT_Y_SCALE_FACTOR -#, fuzzy -msgid "Y-Scale factor:" -msgstr "Nastavitev stopnje poveave" - #. TEXT_DESPECKLE_RADIUS #, fuzzy msgid "Despeckle radius:" @@ -663,6 +774,45 @@ msgstr "Zbri msgid "Blur radius:" msgstr "" +#. TEXT_BATCH_AREA_DEFAULT_NAME +#, fuzzy +msgid "(no name)" +msgstr "(nobeno)" + +#. TEXT_BATCH_LIST_AREANAME +#, fuzzy +msgid "Area name:" +msgstr "Uporabnik:" + +#. TEXT_BATCH_LIST_SCANMODE +#, fuzzy +msgid "Scanmode:" +msgstr "Nain delovanja XSane" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +#, fuzzy +msgid "Size:" +msgstr "Datoteka:" + +#. TEXT_BATCH_LIST_RESOLUTION +#, fuzzy +msgid "Resolution:" +msgstr "Izbira praga:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +#, fuzzy +msgid "Bit depth:" +msgstr "Globina vhoda gama:" + +#. TEXT_BATCH_LIST_BY_GUI +#, fuzzy +msgid "as selected" +msgstr "Pribliaj izbrano obmoje" + #. TEXT_SETUP_PRINTER_SEL msgid "Printer selection:" msgstr "Izbrani tiskalnik:" @@ -763,6 +913,11 @@ msgstr "Stiskanje v 8-bitnem zapisu TIFF" msgid "TIFF lineart image compression" msgstr "Stiskanje v nainu Lineart v zapisu TIFF" +#. TEXT_SETUP_SHOW_RANGE_MODE +#, fuzzy +msgid "Show range as:" +msgstr "Prikai predogled" + #. TEXT_SETUP_PREVIEW_OVERSAMPLING msgid "Preview oversampling:" msgstr "Prekomerno vzorenje pri predogledu:" @@ -835,6 +990,10 @@ msgstr "Izbire pri obi msgid "Fine mode option:" msgstr "Izbire pri podrobnem nainu:" +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "" + #. TEXT_SETUP_FAX_VIEWER msgid "Viewer (Postscript):" msgstr "Ogledovalnik za zapis postscript" @@ -892,6 +1051,19 @@ msgstr "Izbire pri postscriptni datoteki:" msgid "Outputfile option:" msgstr "Izbire pri postscriptni datoteki:" +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "" + +#. TEXT_SETUP_OCR_OUTFD_OPT +#, fuzzy +msgid "GUI output-fd option:" +msgstr "Izbire pri postscriptni datoteki:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "" + #. TEXT_SETUP_PERMISSION_USER msgid "user" msgstr "uporabnik" @@ -904,6 +1076,9 @@ msgstr "skupina" msgid "all" msgstr "vsi" +msgid "new media" +msgstr "" + #. NOTEBOOK_SAVING_OPTIONS msgid "Save" msgstr "" @@ -960,6 +1135,11 @@ msgstr "Prika msgid "Show gamma curve" msgstr "Prikai krivuljo gama" +#. MENU_ITEM_SHOW_BATCH_SCAN +#, fuzzy +msgid "Show batch scan" +msgstr "paketno skeniranje" + #. MENU_ITEM_SHOW_STANDARDOPTIONS msgid "Show standard options" msgstr "Prikai obiajne izbire" @@ -1012,6 +1192,11 @@ msgstr "Prika msgid "Rotate postscript" msgstr "Zasui postscript" +#. MENU_ITEM_EDIT_MEDIUM_DEF +#, fuzzy +msgid "Edit medium definition" +msgstr "Izbor tiskalnika za prilagoditev" + #. MENU_ITEM_SAVE_DEVICE_SETTINGS msgid "Save device settings" msgstr "Shrani nastavitve naprave" @@ -1024,10 +1209,14 @@ msgstr "Nalo msgid "Change directory" msgstr "Spremeni imenik" -#. MENU_ITEM_XSANE_LICENSE +#. MENU_ITEM_XSANE_EULA #, fuzzy -msgid "License" -msgstr "palci" +msgid "Show EULA" +msgstr "Prikai" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "" #. MENU_ITEM_XSANE_DOC #, fuzzy @@ -1078,6 +1267,26 @@ msgstr "Stiskanje JPEG DCT" msgid "pack bits" msgstr "stisni bite" +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "" + #. MENU_ITEM_LINEART_MODE_STANDARD msgid "Standard options window (lineart)" msgstr "Okno z obiajnimi nastavitvami za nain lineart" @@ -1102,21 +1311,27 @@ msgstr "po kon msgid "Add selection to list" msgstr "" -#. MENU_ITEM_PRESET_AREA_RENAME -msgid "Rename definiton" -msgstr "" - -#. MENU_ITEM_PRESET_AREA_DELETE +#. MENU_ITEM_MEDIUM_ADD #, fuzzy -msgid "Delete definition" +msgid "Add medium definition" msgstr "Izbor tiskalnika za prilagoditev" -#. MENU_OTEM_PRESET_AREA_MOVE_UP -msgid "Move up" +#. MENU_ITEM_RENAME +#, fuzzy +msgid "Rename item" +msgstr "preimenuj stran s faksom" + +#. MENU_ITEM_DELETE +#, fuzzy +msgid "Delete item" +msgstr "Odstrani tiskalnik" + +#. MENU_ITEM_MOVE_UP +msgid "Move item up" msgstr "" -#. MENU_OTEM_PRESET_AREA_MOVE_DWN -msgid "Move down" +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" msgstr "" #. PROGRESS_SCANNING @@ -1176,6 +1391,10 @@ msgstr "Zbri msgid "Bluring image" msgstr "Zbrii projekt" +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "" + #. DESC_SCAN_START msgid "Start scan " msgstr "" @@ -1196,12 +1415,17 @@ msgstr "Odstrani predogled" #. DESC_XSANE_MODE msgid "" -"save-, view-, photocopy-, fax- or " -"mail-" +"save-, view-, photocopy-, fax- or mail-" msgstr "" #. DESC_XSANE_MEDIUM -msgid "Select source medium type" +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." msgstr "" #. DESC_FILENAME_COUNTER_STEP @@ -1252,11 +1476,30 @@ msgstr "" msgid "Enter subject of email" msgstr "" -#. DESC_PRESET_AREA_NAME +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "" + +#. DESC_PRESET_AREA_RENAME #, fuzzy msgid "Enter new name for preset area" msgstr "Vnesite novo ime za stran s faksom" +#. DESC_PRESET_AREA_ADD +#, fuzzy +msgid "Enter name for new preset area" +msgstr "Vnesite novo ime za stran s faksom" + +#. DESC_MEDIUM_RENAME +#, fuzzy +msgid "Enter new name for medium definition" +msgstr "Izbor tiskalnika za prilagoditev" + +#. DESC_MEDIUM_ADD +#, fuzzy +msgid "Enter name for new medium definition" +msgstr "Izbor tiskalnika za prilagoditev" + #. DESC_PRINTER_SELECT #, fuzzy msgid "Select printerdefinition " @@ -1292,7 +1535,7 @@ msgstr "Nastavitev #. DESC_NEGATIVE #, fuzzy -msgid "Negative: Invert colors for scanning negatives " +msgid "Negative: Invert colors for scanning negatives " msgstr "" "Negativ: invertiranje barv za pripravo negativov\n" "na primer z zamenjavo bele in rne barve" @@ -1353,7 +1596,7 @@ msgstr "Nastavitev praga" #, fuzzy msgid "" "RGB default: Set enhancement values for red, green and blue to default " -"values :\n" +"values :\n" " gamma = 1.0\n" " brightness = 0\n" " contrast = 0" @@ -1366,7 +1609,7 @@ msgstr "" #. DESC_ENH_AUTO #, fuzzy -msgid "Autoadjust gamma, brightness and contrast " +msgid "Autoadjust gamma, brightness and contrast " msgstr "" "Samonastavi vrednost gama, svetlost in kontrast v odvisnosti od izbranega " "obmoja" @@ -1374,7 +1617,7 @@ msgstr "" #. DESC_ENH_DEFAULT #, fuzzy msgid "" -"Set default enhancement values :\n" +"Set default enhancement values :\n" "gamma = 1.0\n" "brightness = 0\n" "contrast = 0" @@ -1386,12 +1629,12 @@ msgstr "" #. DESC_ENH_RESTORE #, fuzzy -msgid "Restore enhancement values from preferences " +msgid "Restore enhancement values from preferences " msgstr "Obnovi vrednosti za obdelavo slike iz shranjenih vrednosti" #. DESC_ENH_STORE #, fuzzy -msgid "Store active enhancement values to preferences " +msgid "Store active enhancement values to preferences " msgstr "Shrani vrednosti za obdelavo slike" #. DESC_HIST_INTENSITY @@ -1539,6 +1782,14 @@ msgid "" "If filename counter is automatically increased, used numbers are skipped" msgstr "Pri samodejnem poveevanju tevca datotek se zasedene oznake preskoi" +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" + #. DESC_REDUCE_16BIT_TO_8BIT msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" msgstr "" @@ -1582,6 +1833,10 @@ msgstr "Onemogo msgid "Use an own colormap for preview if display depth is 8 bpp" msgstr "Uporabi lastno paleto za ogled slike pri 8-bitni globini" +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "" + #. DESC_PREVIEW_OVERSAMPLING msgid "Value with that the calculated preview resolution is multiplied" msgstr "Faktor prekomernega vzorenja" @@ -1739,7 +1994,7 @@ msgid "Enter command to be executed to view a mail image" msgstr "Podajte ukaz za prikaz faksa" #. DESC_HTML_MAIL -msgid "Mail is sent in html mode, images are displayed directly" +msgid "Mail is sent in html mode, place image with: " msgstr "" #. DESC_OCR_COMMAND @@ -1754,6 +2009,19 @@ msgstr "" msgid "Enter option of the ocr program to define output file" msgstr "" +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" + #. DESC_PERMISSION_READ msgid "read" msgstr "beriljiva" @@ -1766,6 +2034,10 @@ msgstr "pisljiva" msgid "execute" msgstr "izvedljiva" +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "" + #. DESC_PIPETTE_WHITE msgid "Pick white point" msgstr "Izberite toko v beli barvi" @@ -1788,6 +2060,10 @@ msgid "Zoom 20% out" msgstr "Pribliaj za 20 %" #. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "" + +#. DESC_ZOOM_AREA msgid "Zoom into selected area" msgstr "Pribliaj izbrano obmoje" @@ -1803,47 +2079,67 @@ msgstr "Izberi vidno obmo msgid "Autoselect scanarea" msgstr "Samodejno doloi obmoje skeniranja" +#. DESC_AUTORAISE_SCANAREA +#, fuzzy +msgid "Autoraise scanarea" +msgstr "Samodejno doloi obmoje skeniranja" + #. DESC_DELETE_IMAGES #, fuzzy msgid "Delete preview image cache" msgstr "Zasui preodgled in sliko" #. DESC_PRESET_AREA -#, fuzzy -msgid "Preset area" -msgstr "Samodejno doloi obmoje skeniranja" +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" #. DESC_ROTATION msgid "Rotate preview and scan" msgstr "Zasui preodgled in sliko" +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "" + #. DESC_VIEWER_OCR msgid "Optical Character Recognition" msgstr "" +#. DESC_VIEWER_UNDO +#, fuzzy +msgid "Undo last change" +msgstr "Preklii zadnje priblianje" + #. DESC_VIEWER_CLONE #, fuzzy msgid "Clone image" msgstr "Zbrii projekt" -#. DESC_VIEWER_ROTATE90 +#. DESC_ROTATE90 #, fuzzy msgid "Rotate image 90 degree" msgstr "Suem sliko" -#. DESC_VIEWER_ROTATE180 +#. DESC_ROTATE180 msgid "Rotate image 180 degree" msgstr "" -#. DESC_VIEWER_ROTATE270 +#. DESC_ROTATE270 msgid "Rotate image 270 degree" msgstr "" -#. DESC_VIEWER_MIRROR_X +#. DESC_MIRROR_X msgid "Mirror image at vertical axis" msgstr "" -#. DESC_VIEWER_MIRROR_Y +#. DESC_MIRROR_Y msgid "Mirror image at horizontal axis" msgstr "" @@ -1862,6 +2158,60 @@ msgstr "Izbor tiskalnika za prilagoditev" msgid "Delete active medium" msgstr "Izbor tiskalnika za prilagoditev" +#. DESC_SCALE_FACTOR +#, fuzzy +msgid "Scale factor" +msgstr "Nastavitev stopnje poveave" + +#. DESC_X_SCALE_FACTOR +#, fuzzy +msgid "X-Scale factor" +msgstr "Nastavitev stopnje poveave" + +#. DESC_Y_SCALE_FACTOR +#, fuzzy +msgid "Y-Scale factor" +msgstr "Nastavitev stopnje poveave" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "" + +#. DESC_BATCH_LIST_EMPTY +#, fuzzy +msgid "Empty batch list" +msgstr "Namigi za skeniranje" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "" + +#. DESC_BATCH_RENAME +#, fuzzy +msgid "Rename area" +msgstr "preimenuj stran s faksom" + +#. DESC_BATCH_ADD +#, fuzzy +msgid "Add selected preview area to batch list" +msgstr "Zasui preodgled in sliko" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Doloitev domaega imenika se ni posreila:" @@ -1964,6 +2314,11 @@ msgstr "LIBTIFF sporo msgid "LIBPNG reports error" msgstr "LIBPNG sporoa napako" +#. ERR_LIBJPEG +#, fuzzy +msgid "LIBJPEG reports error" +msgstr "LIBPNG sporoa napako" + #. ERR_UNKNOWN_TYPE msgid "unknown type" msgstr "neznana vrsta" @@ -1972,6 +2327,14 @@ msgstr "neznana vrsta" msgid "unknown constraint type" msgstr "neznana vrsta omejitve" +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" + #. ERR_FAILED_EXEC_DOC_VIEWER msgid "Failed to execute documentation viewer:" msgstr "Napaka pri zagonu prikazovalnika dokumentacije:" @@ -2088,6 +2451,10 @@ msgstr "Opozorilo" msgid "Information" msgstr "Obvestilo" +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "" + #. ERR_FAILED_CREATE_FILE msgid "Failed to create file:" msgstr "Napaka pri izdelavi datoteke:" @@ -2169,8 +2536,8 @@ msgid "" " -v, --version print version information\n" " -l, --license print license information\n" "\n" -" -d, --device-settings file load device settings from file (without " -"\".drc\")\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" "\n" " -V, --viewer start with viewer-mode active (default)\n" " -s, --save start with save-mode active\n" @@ -2179,8 +2546,6 @@ msgid "" " -m, --mail start with mail-mode active\n" " -n, --no-mode-selection disable menu for XSane mode selection\n" "\n" -" -M, --Medium-calibration enable medium calibration mode\n" -"\n" " -F, --Fixed fixed main window size (overwrite preferences " "value)\n" " -R, --Resizeable resizable, scrolled main window (overwrite " @@ -2198,8 +2563,8 @@ msgstr "" "Zagon grafinega uporabnikega vmesnika za dostop do naprav SANE (Scanner " "Access Now Easy).\n" "\n" -"Zapis [naprave] je ime programa v ozadju v obliki naprava: (na primer " -"umax:/dev/scanner).\n" +"Zapis [naprave] je ime programa v ozadju v obliki naprava: (na primer umax:/" +"dev/scanner).\n" "[izbira]... je sestava naslednjih gradnikov:\n" " -h, --help prikae to sporoilo in kona\n" " -v, --version izpie podatke o razliici\n" @@ -2256,6 +2621,18 @@ msgstr "/Xtns/XSane/Pogovor z napravo..." msgid "/Xtns/XSane/" msgstr "/Xtns/XSane/" +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" + #. strings that are used in structures, so it is not allowed to use _()/gettext() here #. gettext_noop does mark these texts but does not change the string #. MENU_ITEM_SURFACE_FULL_SIZE @@ -2330,8 +2707,8 @@ msgstr "vzdol msgid "letter land." msgstr "preno pisemsko" -#. MENU_ITEM_MEDIUM_FULL_RANGE -msgid "Full range" +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" msgstr "" #. MENU_ITEM_MEDIUM_SLIDE @@ -2378,6 +2755,83 @@ msgstr "nedejaven" msgid "Rossmann negative HR 100" msgstr "" +#. TEXT_MAIL_STATUS_NOT_CREATED +#, fuzzy +msgid "Mail project not created" +msgstr "beriljiva" + +#. TEXT_MAIL_STATUS_CREATED +#, fuzzy +msgid "Mail project created" +msgstr "beriljiva" + +#. TEXT_MAIL_STATUS_CHANGED +#, fuzzy +msgid "Mail project changed" +msgstr "Samodejno doloi obmoje skeniranja" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +#, fuzzy +msgid "Error reading mailproject" +msgstr "Vnesite ime projekta za faks" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +#, fuzzy +msgid "From entry not accepted" +msgstr "beriljiva" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +#, fuzzy +msgid "Receiver entry not accepted" +msgstr "beriljiva" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "" + +#. TEXT_FAX_STATUS_NOT_CREATED +#, fuzzy +msgid "Fax project not created" +msgstr "beriljiva" + +#. TEXT_FAX_STATUS_CREATED +#, fuzzy +msgid "Fax project created" +msgstr "beriljiva" + +#. TEXT_FAX_STATUS_CHANGED +#, fuzzy +msgid "Fax project changed" +msgstr "Samodejno doloi obmoje skeniranja" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "" + #. Sane backend messages msgid "flatbed scanner" msgstr "ploski skener" @@ -2432,67 +2886,3 @@ msgstr "Zmanjkalo je pomnilnika" msgid "Access to resource has been denied" msgstr "Dostop do vira je ni dovoljen." - -#, fuzzy -#~ msgid "Store Medium definition" -#~ msgstr "Izbor tiskalnika za prilagoditev" - -#, fuzzy -#~ msgid "" -#~ "Use XSane for: SCANning- photoCOPYing- FAXing-" -#~ msgstr "Uporabi XSane za skeniranje, fotokopiranje, faksiranje..." - -#, fuzzy -#~ msgid "Width of paper for postscript" -#~ msgstr "irina papirja za zapis postscript [mm]:" - -#, fuzzy -#~ msgid "Height of paper for postscript" -#~ msgstr "Viina papirja za zapis postscript [mm]:" - -#, fuzzy -#~ msgid "Left offset for postscript" -#~ msgstr "Levi odmik pri zapisu postscript [mm]:" - -#, fuzzy -#~ msgid "Bottom offset for postscript" -#~ msgstr "Spodnji odmik pri zapisu postscript [mm]:" - -#, fuzzy -#~ msgid "Failed to execute mail command:" -#~ msgstr "Napaka pri zagonu ukaza za faskiranje:" - -#~ msgid "Copy options" -#~ msgstr "Izbire pri prepisovanju" - -#~ msgid "Saving options" -#~ msgstr "Shranjujem izbire" - -#, fuzzy -#~ msgid "Image options" -#~ msgstr "Izbire XSane" - -#~ msgid "Fax options" -#~ msgstr "Nastavitve faksa" - -#~ msgid "Reduce scan area" -#~ msgstr "Zmanjaj obmoje skeniranja" - -#~ msgid "" -#~ msgstr "(C)" - -#~ msgid "Delete" -#~ msgstr "Zbrii" - -#~ msgid "Show" -#~ msgstr "Prikai" - -#~ msgid "Rename" -#~ msgstr "Preimenuj" - -#~ msgid "" -#~ "This program is distributed under the terms\n" -#~ "of the GNU General Public License\n" -#~ msgstr "" -#~ "Program se razirja pod pogoji,\n" -#~ "ki jih doloa splono dovoljenje za uporabo GNU General Public License\n" diff --git a/po/sr.gmo b/po/sr.gmo index e081182..4de44a5 100644 Binary files a/po/sr.gmo and b/po/sr.gmo differ diff --git a/po/sr.po b/po/sr.po index a389c98..2e239d8 100644 --- a/po/sr.po +++ b/po/sr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: XSANE 0.76\n" -"POT-Creation-Date: 2002-01-22 23:34+0100\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" "PO-Revision-Date: 2002-01-17 00:47GMT\n" "Last-Translator: Rusmir Duško \n" "Language-Team: srpski \n" @@ -25,6 +25,10 @@ msgid "(c)" msgstr "(c)" #. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "" + #. WINDOW_ABOUT_XSANE msgid "About" msgstr "O programu" @@ -37,18 +41,35 @@ msgstr "O prevodu" msgid "authorization" msgstr "autorizacija" -#. WINDOW_LICENSE -msgid "license" -msgstr "licenca" +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "" #. WINDOW_INFO msgid "info" msgstr "podatci" +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "" + #. WINDOW_BATCH_SCAN msgid "batch scan" msgstr "paketno skeniranje" +#. WINDOW_BATCH_RENAME +#, fuzzy +msgid "rename batch area" +msgstr "Izbriši stranu" + #. WINDOW_FAX_PROJECT msgid "fax project" msgstr "Faks" @@ -77,6 +98,21 @@ msgstr "unesi sliku u e-poštu" msgid "rename preset area" msgstr "preimenuj prepodešavanja" +#. WINDOW_PRESET_AREA_ADD +#, fuzzy +msgid "add preset area" +msgstr "preimenuj prepodešavanja" + +#. WINDOW_MEDIUM_RENAME +#, fuzzy +msgid "rename medium" +msgstr "Izaberi izvor medijuma" + +#. WINDOW_MEDIUM_ADD +#, fuzzy +msgid "add new medium" +msgstr "Izaberi izvor medijuma" + #. WINDOW_SETUP msgid "setup" msgstr "Konfiguracija" @@ -154,6 +190,11 @@ msgstr "Zamagli sliku" msgid "Store medium definition" msgstr "Preimenuj definiciju" +#. WINDOW_NO_DEVICES +#, fuzzy +msgid "No devices available" +msgstr "Nijedan uređaj nije dostupan" + #. MENU_FILE msgid "File" msgstr "Fajl" @@ -166,14 +207,26 @@ msgstr "Podešavanja" msgid "View" msgstr "Pogled" +#. MENU_WINDOW +msgid "Window" +msgstr "" + #. MENU_HELP msgid "Help" msgstr "Pomoć" +#. MENU_EDIT +msgid "Edit" +msgstr "" + #. MENU_FILTERS msgid "Filters" msgstr "Filteri" +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "O programu XSane" @@ -190,9 +243,9 @@ msgstr "Izlaz" msgid "Save image" msgstr "Zapamti sliku" -#. MENU_ITEM_CLOSE -msgid "Close" -msgstr "Zatvori" +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "" #. MENU_ITEM_CLONE msgid "Clone" @@ -202,6 +255,14 @@ msgstr "Kopiraj" msgid "Scale" msgstr "Promeni veličinu" +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Zatvori" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "" + #. MENU_ITEM_DESPECKLE msgid "Despeckle" msgstr "odflekati" @@ -210,6 +271,30 @@ msgstr "odflekati" msgid "Blur" msgstr "zamagli" +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "" + +#. MENU_ITEM_ROTATE180 +#, fuzzy +msgid "Rotate 180" +msgstr "Rotiraj sliku za 180 stepeni" + +#. MENU_ITEM_ROTATE270 +#, fuzzy +msgid "Rotate 270" +msgstr "Rotiraj sliku za 270 stepeni" + +#. MENU_ITEM_MIRROR_X +#, fuzzy +msgid "Mirror |" +msgstr "greška" + +#. MENU_ITEM_MIRROR_Y +#, fuzzy +msgid "Mirror -" +msgstr "greška" + #. FRAME_RAW_IMAGE msgid "Raw image" msgstr "sirova slika" @@ -218,9 +303,10 @@ msgstr "sirova slika" msgid "Enhanced image" msgstr "Poboljšana slika" -#. BUTTON_START -msgid "Start" -msgstr "Počni" +#. BUTTON_SCAN +#, fuzzy +msgid "Scan" +msgstr "Skeniranje" #. BUTTON_OK msgid "Ok" @@ -258,9 +344,15 @@ msgstr "Pretraži" msgid "Overwrite" msgstr "Prepiši" -#. BUTTON_ADD_AREA -msgid "Add area" -msgstr "Dodaj površinu" +#. BUTTON_BATCH_LIST_SCAN +#, fuzzy +msgid "Scan batch list" +msgstr "Saveti za skeniranje" + +#. BUTTON_BATCH_AREA_SCAN +#, fuzzy +msgid "Scan selected area" +msgstr "Uvećavaj u izabrano područje" #. BUTTON_PAGE_DELETE msgid "Delete page" @@ -282,6 +374,11 @@ msgstr "Izbriši sliku" msgid "Show image" msgstr "Pokaži sliku" +#. BUTTON_IMAGE_EDIT +#, fuzzy +msgid "Edit image" +msgstr "Poboljšana slika" + #. BUTTON_IMAGE_RENAME msgid "Rename image" msgstr "Preimenuj sliku" @@ -354,6 +451,10 @@ msgstr "Prepiši upozorenje" msgid "Skip existing filenames" msgstr "Preskoči postojeće nazive fajli" +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "" + #. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT msgid "Reduce 16 bit image to 8 bit" msgstr "Smanji 16 bitnu sliku na 8 bita" @@ -386,6 +487,10 @@ msgstr "Autokorektura boja" msgid "POP3 authentification" msgstr "POP3 autentifikacija" +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Skeniranje uređaja" @@ -550,6 +655,21 @@ msgstr "prevedeno sa podrškom GIMP-a" msgid "unknown" msgstr "nepoznato" +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" + #. TEXT_GPL msgid "" "XSane is distributed under the terms of the GNU General Public License\n" @@ -611,6 +731,10 @@ msgstr "Dodatci:" msgid "Project status:" msgstr "Status projekta:" +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "" + #. TEXT_MEDIUM_DEFINITION_NAME msgid "Medium Name:" msgstr "" @@ -620,16 +744,8 @@ msgstr "" msgid "" "Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" msgstr "" -"Veličina %d x %d piksxel, %d bit/boji, %d boja, %1.0f dpi x %1.0f dpi, " -"%1.1f %s" - -#. TEXT_X_SCALE_FACTOR -msgid "X-Scale factor:" -msgstr "Odredi X stepen povećavanja:" - -#. TEXT_Y_SCALE_FACTOR -msgid "Y-Scale factor:" -msgstr "Odredi Y stepen povećavanja:" +"Veličina %d x %d piksxel, %d bit/boji, %d boja, %1.0f dpi x %1.0f dpi, %1.1f " +"%s" #. TEXT_DESPECKLE_RADIUS msgid "Despeckle radius:" @@ -639,6 +755,45 @@ msgstr "Radijus odflekivanja:" msgid "Blur radius:" msgstr "Radijus zamaglivanja:" +#. TEXT_BATCH_AREA_DEFAULT_NAME +#, fuzzy +msgid "(no name)" +msgstr "(ništa)" + +#. TEXT_BATCH_LIST_AREANAME +#, fuzzy +msgid "Area name:" +msgstr "Korisnik:" + +#. TEXT_BATCH_LIST_SCANMODE +#, fuzzy +msgid "Scanmode:" +msgstr "Način rada XSane" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +#, fuzzy +msgid "Size:" +msgstr "Dia" + +#. TEXT_BATCH_LIST_RESOLUTION +#, fuzzy +msgid "Resolution:" +msgstr "Opcije praga šuma:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +#, fuzzy +msgid "Bit depth:" +msgstr "Dubina bita ulazne game:" + +#. TEXT_BATCH_LIST_BY_GUI +#, fuzzy +msgid "as selected" +msgstr "Uvećavaj u izabrano područje" + #. TEXT_SETUP_PRINTER_SEL msgid "Printer selection:" msgstr "Izaberi štampač:" @@ -735,6 +890,11 @@ msgstr "TIFF 8 bitna kompresija slike" msgid "TIFF lineart image compression" msgstr "TIFF lineart kompresija slike" +#. TEXT_SETUP_SHOW_RANGE_MODE +#, fuzzy +msgid "Show range as:" +msgstr "Prikaži pregled" + #. TEXT_SETUP_PREVIEW_OVERSAMPLING msgid "Preview oversampling:" msgstr "Prekomerni uzorak pri pregledu:" @@ -807,6 +967,10 @@ msgstr "Opcije pri normalnom načinu:" msgid "Fine mode option:" msgstr "Opcije pri posebnom načinu:" +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "" + #. TEXT_SETUP_FAX_VIEWER msgid "Viewer (Postscript):" msgstr "Prikazivač (postscript):" @@ -859,6 +1023,19 @@ msgstr "Opcije za ulazni fajl:" msgid "Outputfile option:" msgstr "Opcije za izlazni fajl:" +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "" + +#. TEXT_SETUP_OCR_OUTFD_OPT +#, fuzzy +msgid "GUI output-fd option:" +msgstr "Opcije za izlazni fajl:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "" + #. TEXT_SETUP_PERMISSION_USER msgid "user" msgstr "korisnik" @@ -871,6 +1048,9 @@ msgstr "grupa" msgid "all" msgstr "svi" +msgid "new media" +msgstr "" + #. NOTEBOOK_SAVING_OPTIONS msgid "Save" msgstr "Sačuvaj" @@ -923,6 +1103,11 @@ msgstr "Prikaži histogram" msgid "Show gamma curve" msgstr "Prikaži krivinu gama" +#. MENU_ITEM_SHOW_BATCH_SCAN +#, fuzzy +msgid "Show batch scan" +msgstr "paketno skeniranje" + #. MENU_ITEM_SHOW_STANDARDOPTIONS msgid "Show standard options" msgstr "Prikaži standardne izbore" @@ -975,6 +1160,11 @@ msgstr "Prikaži listu rezolucija" msgid "Rotate postscript" msgstr "Rotiraj postscript" +#. MENU_ITEM_EDIT_MEDIUM_DEF +#, fuzzy +msgid "Edit medium definition" +msgstr "Preimenuj definiciju" + #. MENU_ITEM_SAVE_DEVICE_SETTINGS msgid "Save device settings" msgstr "Zapamti podešavanja uređaja" @@ -987,9 +1177,13 @@ msgstr "Učitaj podešavanja uređaja" msgid "Change directory" msgstr "Promeni direktorijum" -#. MENU_ITEM_XSANE_LICENSE -msgid "License" -msgstr "Licenca" +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "" #. MENU_ITEM_XSANE_DOC msgid "XSane doc" @@ -1039,6 +1233,27 @@ msgstr "JPEG DCT kompresija" msgid "pack bits" msgstr "zapakovani biti" +#. MENU_ITEM_RANGE_SCALE +#, fuzzy +msgid "Slider (Scale)" +msgstr "Dia" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "" + #. MENU_ITEM_LINEART_MODE_STANDARD msgid "Standard options window (lineart)" msgstr "Standardne opcije prozor (c/b)" @@ -1063,20 +1278,29 @@ msgstr "po nastavku" msgid "Add selection to list" msgstr "Dodaj izbor u listu" -#. MENU_ITEM_PRESET_AREA_RENAME -msgid "Rename definiton" +#. MENU_ITEM_MEDIUM_ADD +#, fuzzy +msgid "Add medium definition" msgstr "Preimenuj definiciju" -#. MENU_ITEM_PRESET_AREA_DELETE -msgid "Delete definition" -msgstr "Izbriši definiciju" +#. MENU_ITEM_RENAME +#, fuzzy +msgid "Rename item" +msgstr "Preimenuj sliku" + +#. MENU_ITEM_DELETE +#, fuzzy +msgid "Delete item" +msgstr "Odstrani štampač" -#. MENU_OTEM_PRESET_AREA_MOVE_UP -msgid "Move up" +#. MENU_ITEM_MOVE_UP +#, fuzzy +msgid "Move item up" msgstr "Pomeri na gore" -#. MENU_OTEM_PRESET_AREA_MOVE_DWN -msgid "Move down" +#. MENU_ITEM_MOVE_DWN +#, fuzzy +msgid "Move item down" msgstr "Pomeri na dole" #. PROGRESS_SCANNING @@ -1128,6 +1352,10 @@ msgstr "Sliku odflekavati" msgid "Bluring image" msgstr "Zamagljavam sliku" +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "" + #. DESC_SCAN_START msgid "Start scan " msgstr "Startaj skeniranje " @@ -1146,13 +1374,18 @@ msgstr "Prekini pregled " #. DESC_XSANE_MODE msgid "" -"save-, view-, photocopy-, fax- or " -"mail-" +"save-, view-, photocopy-, fax- or mail-" msgstr "" #. DESC_XSANE_MEDIUM -msgid "Select source medium type" -msgstr "Izaberi izvor medijuma" +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" #. DESC_FILENAME_COUNTER_STEP msgid "Value that is added to filenamecounter after scan" @@ -1201,10 +1434,29 @@ msgstr "Unesi email adresu" msgid "Enter subject of email" msgstr "Unesi temu od E-pošte" -#. DESC_PRESET_AREA_NAME +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "" + +#. DESC_PRESET_AREA_RENAME msgid "Enter new name for preset area" msgstr "Unesi novo ime za opseg konfiguracija" +#. DESC_PRESET_AREA_ADD +#, fuzzy +msgid "Enter name for new preset area" +msgstr "Unesi novo ime za opseg konfiguracija" + +#. DESC_MEDIUM_RENAME +#, fuzzy +msgid "Enter new name for medium definition" +msgstr "Preimenuj definiciju" + +#. DESC_MEDIUM_ADD +#, fuzzy +msgid "Enter name for new medium definition" +msgstr "Preimenuj definiciju" + #. DESC_PRINTER_SELECT msgid "Select printerdefinition " msgstr "Izaberi štampač" @@ -1238,7 +1490,8 @@ msgid "Set number of copies" msgstr "Izaberite broj kopija" #. DESC_NEGATIVE -msgid "Negative: Invert colors for scanning negatives " +#, fuzzy +msgid "Negative: Invert colors for scanning negatives " msgstr "Negativ: invertiraj boje za skeniranje negativa " #. DESC_GAMMA @@ -1294,9 +1547,10 @@ msgid "Set threshold" msgstr "Izaberi prag šuma" #. DESC_RGB_DEFAULT +#, fuzzy msgid "" "RGB default: Set enhancement values for red, green and blue to default " -"values :\n" +"values :\n" " gamma = 1.0\n" " brightness = 0\n" " contrast = 0" @@ -1308,12 +1562,14 @@ msgstr "" " kontrast = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast " +#, fuzzy +msgid "Autoadjust gamma, brightness and contrast " msgstr "Autopodešavanje vrednosti gama, osvetljenja i kontrasta " #. DESC_ENH_DEFAULT +#, fuzzy msgid "" -"Set default enhancement values :\n" +"Set default enhancement values :\n" "gamma = 1.0\n" "brightness = 0\n" "contrast = 0" @@ -1324,13 +1580,14 @@ msgstr "" "kontrast = 0" #. DESC_ENH_RESTORE -msgid "Restore enhancement values from preferences " +#, fuzzy +msgid "Restore enhancement values from preferences " msgstr "Obnovi vrednosti za poboljšanje slike iz podešavanja " #. DESC_ENH_STORE -msgid "Store active enhancement values to preferences " -msgstr "" -"Zapamti aktivne vrednosti za poboljšanje slike u podešavanja " +#, fuzzy +msgid "Store active enhancement values to preferences " +msgstr "Zapamti aktivne vrednosti za poboljšanje slike u podešavanja " #. DESC_HIST_INTENSITY msgid "Show histogram of intensity/gray " @@ -1470,6 +1727,14 @@ msgstr "" "Ako je brojač naziva fajle automatski povećan, postojeći brojevi se " "automatski preskaču" +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" + #. DESC_REDUCE_16BIT_TO_8BIT msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" msgstr "" @@ -1508,6 +1773,10 @@ msgid "Use an own colormap for preview if display depth is 8 bpp" msgstr "" "Upotrebi svoju paletu boja za pregled ako se koristi dubina ekrana od 8 bpp" +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "" + #. DESC_PREVIEW_OVERSAMPLING msgid "Value with that the calculated preview resolution is multiplied" msgstr "Vrednost, sa kojom se pomnožava izračunata rezolucija pregleda" @@ -1570,8 +1839,7 @@ msgstr "" #. DESC_PREVIEW_PIPETTE_RANGE msgid "dimension of square that is used to average color for pipette function" -msgstr "" -"Veličina kvadrata, koji se koristi da uskladi boju za funkciju pipete." +msgstr "Veličina kvadrata, koji se koristi da uskladi boju za funkciju pipete." #. DESC_DOC_VIEWER msgid "" @@ -1660,7 +1928,8 @@ msgid "Enter command to be executed to view a mail image" msgstr "Komanda za prikaz slike iz e-pošte" #. DESC_HTML_MAIL -msgid "Mail is sent in html mode, images are displayed directly" +#, fuzzy +msgid "Mail is sent in html mode, place image with: " msgstr "e-pošta je poslata u html modusu, slike su prikazane direktno" #. DESC_OCR_COMMAND @@ -1675,6 +1944,20 @@ msgstr "Opcija od OCR programa koja definiše ulazni fajl" msgid "Enter option of the ocr program to define output file" msgstr "Opcija od OCR programa koja definiše izlazni fajl" +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" + +#. DESC_OCR_OUTFD_OPT +#, fuzzy +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "Opcija od OCR programa koja definiše izlazni fajl" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" + #. DESC_PERMISSION_READ msgid "read" msgstr "čitati" @@ -1687,6 +1970,11 @@ msgstr "pisati" msgid "execute" msgstr "izvesti" +#. DESC_ADD_BATCH +#, fuzzy +msgid "Add selection for batch scan" +msgstr "Dodaj izbor u listu" + #. DESC_PIPETTE_WHITE msgid "Pick white point" msgstr "Izberi belu tačku" @@ -1709,6 +1997,10 @@ msgid "Zoom 20% out" msgstr "Smanji za 20% " #. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "" + +#. DESC_ZOOM_AREA msgid "Zoom into selected area" msgstr "Uvećavaj u izabrano područje" @@ -1724,43 +2016,64 @@ msgstr "Izaberi vidnu površinu" msgid "Autoselect scanarea" msgstr "Automatska selekcija površine skeniranja" +#. DESC_AUTORAISE_SCANAREA +#, fuzzy +msgid "Autoraise scanarea" +msgstr "Automatska selekcija površine skeniranja" + #. DESC_DELETE_IMAGES msgid "Delete preview image cache" msgstr "Obriši pregled slike" #. DESC_PRESET_AREA -msgid "Preset area" -msgstr "Prepodešena površina skeniranja" +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" #. DESC_ROTATION msgid "Rotate preview and scan" msgstr "Rotiraj pregled i skeniraj" +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "" + #. DESC_VIEWER_OCR msgid "Optical Character Recognition" msgstr "Optical Character Recongnition" +#. DESC_VIEWER_UNDO +#, fuzzy +msgid "Undo last change" +msgstr "Odbaci zadnje uvećavanje" + #. DESC_VIEWER_CLONE msgid "Clone image" msgstr "Kopiraj sliku" -#. DESC_VIEWER_ROTATE90 +#. DESC_ROTATE90 msgid "Rotate image 90 degree" msgstr "Rotiraj sliku za 90 stepeni" -#. DESC_VIEWER_ROTATE180 +#. DESC_ROTATE180 msgid "Rotate image 180 degree" msgstr "Rotiraj sliku za 180 stepeni" -#. DESC_VIEWER_ROTATE270 +#. DESC_ROTATE270 msgid "Rotate image 270 degree" msgstr "Rotiraj sliku za 270 stepeni" -#. DESC_VIEWER_MIRROR_X +#. DESC_MIRROR_X msgid "Mirror image at vertical axis" msgstr "Ogledaj sliku u vertikalnoj osi" -#. DESC_VIEWER_MIRROR_Y +#. DESC_MIRROR_Y msgid "Mirror image at horizontal axis" msgstr "Ogledaj sliku u horizontalnoj osi" @@ -1778,6 +2091,60 @@ msgstr "Izaberi izvor medijuma" msgid "Delete active medium" msgstr "Izbriši sliku" +#. DESC_SCALE_FACTOR +#, fuzzy +msgid "Scale factor" +msgstr "Odredi X stepen povećavanja:" + +#. DESC_X_SCALE_FACTOR +#, fuzzy +msgid "X-Scale factor" +msgstr "Odredi X stepen povećavanja:" + +#. DESC_Y_SCALE_FACTOR +#, fuzzy +msgid "Y-Scale factor" +msgstr "Odredi Y stepen povećavanja:" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "" + +#. DESC_BATCH_LIST_EMPTY +#, fuzzy +msgid "Empty batch list" +msgstr "Saveti za skeniranje" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "" + +#. DESC_BATCH_RENAME +#, fuzzy +msgid "Rename area" +msgstr "Preimenuj stranu" + +#. DESC_BATCH_ADD +#, fuzzy +msgid "Add selected preview area to batch list" +msgstr "Dodaj izbor u listu" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Neuspelo učitavanje korisničkog direktorijuma:" @@ -1870,8 +2237,7 @@ msgstr "Ponestalo je memorije" #. ERR_TOO_MUCH_DATA msgid "Backend sends more image data than it defined in parameters" msgstr "" -"Backend-i šalju više podatako o slici, nego što je definisano u " -"parametrima" +"Backend-i šalju više podatako o slici, nego što je definisano u parametrima" #. ERR_LIBTIFF msgid "LIBTIFF reports error" @@ -1881,6 +2247,11 @@ msgstr "LIBTIFF javlja grešku" msgid "LIBPNG reports error" msgstr "LIBPNG javlja grešku" +#. ERR_LIBJPEG +#, fuzzy +msgid "LIBJPEG reports error" +msgstr "LIBPNG javlja grešku" + #. ERR_UNKNOWN_TYPE msgid "unknown type" msgstr "nopoznata vrsta" @@ -1889,6 +2260,14 @@ msgstr "nopoznata vrsta" msgid "unknown constraint type" msgstr "nepoznata nametnuta vrsta" +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" + #. ERR_FAILED_EXEC_DOC_VIEWER msgid "Failed to execute documentation viewer:" msgstr "Greška pri izvršenju prikazivača dokumentacije:" @@ -2001,6 +2380,10 @@ msgstr "Upozorenje" msgid "Information" msgstr "Obaveštenje" +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "" + #. ERR_FAILED_CREATE_FILE msgid "Failed to create file:" msgstr "Greška pri pravljenju fajla:" @@ -2082,8 +2465,8 @@ msgid "" " -v, --version print version information\n" " -l, --license print license information\n" "\n" -" -d, --device-settings file load device settings from file (without " -"\".drc\")\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" "\n" " -V, --viewer start with viewer-mode active (default)\n" " -s, --save start with save-mode active\n" @@ -2092,8 +2475,6 @@ msgid "" " -m, --mail start with mail-mode active\n" " -n, --no-mode-selection disable menu for XSane mode selection\n" "\n" -" -M, --Medium-calibration enable medium calibration mode\n" -"\n" " -F, --Fixed fixed main window size (overwrite preferences " "value)\n" " -R, --Resizeable resizable, scrolled main window (overwrite " @@ -2111,8 +2492,8 @@ msgstr "" "Startaj grafički korisnički interfejs (GUI) da dobiješ pristup do SANE " "(Scanner Access Now Easy) uređaja.\n" "\n" -"Format [UREĐAJ] je ime backend-a: u obliku uređaja (n.pr. " -"umax:/dev/scanner)\n" +"Format [UREĐAJ] je ime backend-a: u obliku uređaja (n.pr. umax:/dev/" +"scanner)\n" "[OPCIJA]... može biti kombinacija sledećih stavki:\n" " -h, --help pokaži ovaj pomoćni i tekst\n" " -v, --version daj informacije o verziji\n" @@ -2152,8 +2533,8 @@ msgid "" "This function provides access to scanners and other image acquisition " "devices through the SANE (Scanner Access Now Easy) interface." msgstr "" -"Ta funkcija omogućava dostup do skenera i drugih uređaja za dobijanje " -"slika pomoću SANE-a (Sccanner Access Now Easy) interfejsa." +"Ta funkcija omogućava dostup do skenera i drugih uređaja za dobijanje slika " +"pomoću SANE-a (Sccanner Access Now Easy) interfejsa." #. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" #. XSANE_GIMP_MENU_DIALOG @@ -2172,6 +2553,18 @@ msgstr "/Xtns/XSane/Izbor uređaja..." msgid "/Xtns/XSane/" msgstr "/Xtns/XSane/" +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" + #. strings that are used in structures, so it is not allowed to use _()/gettext() here #. gettext_noop does mark these texts but does not change the string #. MENU_ITEM_SURFACE_FULL_SIZE @@ -2242,8 +2635,9 @@ msgstr "uspravno letter" msgid "letter land." msgstr "vodoravno letter" -#. MENU_ITEM_MEDIUM_FULL_RANGE -msgid "Full range" +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +#, fuzzy +msgid "Full color range" msgstr "pun opseg" #. MENU_ITEM_MEDIUM_SLIDE @@ -2289,6 +2683,83 @@ msgstr "Konica negativ" msgid "Rossmann negative HR 100" msgstr "" +#. TEXT_MAIL_STATUS_NOT_CREATED +#, fuzzy +msgid "Mail project not created" +msgstr "čitati" + +#. TEXT_MAIL_STATUS_CREATED +#, fuzzy +msgid "Mail project created" +msgstr "čitati" + +#. TEXT_MAIL_STATUS_CHANGED +#, fuzzy +msgid "Mail project changed" +msgstr "Automatsko biranje površine skeniranja" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +#, fuzzy +msgid "Error reading mailproject" +msgstr "Unesi ime projekta za E-poštu" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +#, fuzzy +msgid "From entry not accepted" +msgstr "čitati" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +#, fuzzy +msgid "Receiver entry not accepted" +msgstr "čitati" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "" + +#. TEXT_FAX_STATUS_NOT_CREATED +#, fuzzy +msgid "Fax project not created" +msgstr "čitati" + +#. TEXT_FAX_STATUS_CREATED +#, fuzzy +msgid "Fax project created" +msgstr "čitati" + +#. TEXT_FAX_STATUS_CHANGED +#, fuzzy +msgid "Fax project changed" +msgstr "Automatsko biranje površine skeniranja" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "" + #. Sane backend messages msgid "flatbed scanner" msgstr "ravni skener" @@ -2343,9 +2814,3 @@ msgstr "Nedostatak memorije" msgid "Access to resource has been denied" msgstr "Dostup do resursa nije dozvoljen" - -#~ msgid "" -#~ "Use XSane for: SCANning- photoCOPYing- FAXing-" -#~ msgstr "" -#~ "Upotrebi XSane za skeniranje , fotokopiranje , faksiranje " -#~ "" diff --git a/po/sv.gmo b/po/sv.gmo index 23f54e9..7f4483c 100644 Binary files a/po/sv.gmo and b/po/sv.gmo differ diff --git a/po/sv.po b/po/sv.po index 32591a1..53ad760 100644 --- a/po/sv.po +++ b/po/sv.po @@ -1,14 +1,14 @@ # Swedish translation for XSane. -# Copyright (C) 1999-2001 Johan Bengtsson +# Copyright (C) 1999-2003 Johan Bengtsson # Johan Bengtsson # msgid "" msgstr "" -"Project-Id-Version: XSANE 0.84\n" -"POT-Creation-Date: 2002-01-22 23:34+0100\n" -"PO-Revision-Date: 2001-11-11 21:30+01:00\n" -"Last-Translator: Johan Bengtsson \n" -"Language-Team: LANGUAGE \n" +"Project-Id-Version: XSANE 0.92\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2003-08-03 14:12+01:00\n" +"Last-Translator: Johan Bengtsson \n" +"Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" @@ -23,6 +23,10 @@ msgid "(c)" msgstr "(c)" #. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "" + #. WINDOW_ABOUT_XSANE msgid "About" msgstr "Om" @@ -35,18 +39,34 @@ msgstr "Om msgid "authorization" msgstr "auktorisering" -#. WINDOW_LICENSE -msgid "license" -msgstr "licens" +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - licensen" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Licensavtal fr slutanvndare" #. WINDOW_INFO msgid "info" msgstr "info" +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "ladda massinlsningslista" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "spara massinlsningslista" + #. WINDOW_BATCH_SCAN msgid "batch scan" msgstr "massinlsning" +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "byt namn p massinlsningsomrde" + #. WINDOW_FAX_PROJECT msgid "fax project" msgstr "faxprojekt" @@ -75,6 +95,21 @@ msgstr "infoga fil i brev" msgid "rename preset area" msgstr "byt namn p det frinstllda omrdet" +#. WINDOW_PRESET_AREA_ADD +#, fuzzy +msgid "add preset area" +msgstr "byt namn p det frinstllda omrdet" + +#. WINDOW_MEDIUM_RENAME +#, fuzzy +msgid "rename medium" +msgstr "Lagra medium" + +#. WINDOW_MEDIUM_ADD +#, fuzzy +msgid "add new medium" +msgstr "Lagra medium" + #. WINDOW_SETUP msgid "setup" msgstr "instllningar" @@ -112,9 +147,8 @@ msgid "Viewer: select output filename" msgstr "Visare: vlj utmatningsfilnamn" #. WINDOW_OCR_OUTPUT_FILENAME -#, fuzzy msgid "Select output filename for OCR text file" -msgstr "till filnamn" +msgstr "Vlj utmatingsfilnamn fr OCR textfil" #. WINDOW_OUTPUT_FILENAME msgid "select output filename" @@ -137,9 +171,8 @@ msgid "select temporary directory" msgstr "vlj temporr katalog" #. WINDOW_SCALE -#, fuzzy msgid "Scale image" -msgstr "Spara bild" +msgstr "Skala bild" #. WINDOW_DESPECKLE msgid "Despeckle image" @@ -150,9 +183,12 @@ msgid "Blur image" msgstr "Sudda till bild" #. WINDOW_STORE_MEDIUM -#, fuzzy msgid "Store medium definition" -msgstr "Byt namn p instllning" +msgstr "Lagra mediedefinition" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Inga enheter tillgngliga" #. MENU_FILE msgid "File" @@ -166,14 +202,26 @@ msgstr "Inst msgid "View" msgstr "Visa" +#. MENU_WINDOW +msgid "Window" +msgstr "" + #. MENU_HELP msgid "Help" msgstr "Hjlp" +#. MENU_EDIT +msgid "Edit" +msgstr "" + #. MENU_FILTERS msgid "Filters" msgstr "Filter" +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Om XSane" @@ -190,19 +238,25 @@ msgstr "Avsluta" msgid "Save image" msgstr "Spara bild" -#. MENU_ITEM_CLOSE -msgid "Close" -msgstr "Stng" +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - spara som text" #. MENU_ITEM_CLONE -#, fuzzy msgid "Clone" -msgstr "Stng" +msgstr "Klona" #. MENU_ITEM_SCALE -#, fuzzy msgid "Scale" -msgstr "Spara" +msgstr "Skala" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Stng" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "" #. MENU_ITEM_DESPECKLE msgid "Despeckle" @@ -212,6 +266,30 @@ msgstr "Damma av" msgid "Blur" msgstr "Sudda till" +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "" + +#. MENU_ITEM_ROTATE180 +#, fuzzy +msgid "Rotate 180" +msgstr "Rotera bild 180 grader" + +#. MENU_ITEM_ROTATE270 +#, fuzzy +msgid "Rotate 270" +msgstr "Rotera bild 270 grader" + +#. MENU_ITEM_MIRROR_X +#, fuzzy +msgid "Mirror |" +msgstr "fel" + +#. MENU_ITEM_MIRROR_Y +#, fuzzy +msgid "Mirror -" +msgstr "fel" + #. FRAME_RAW_IMAGE msgid "Raw image" msgstr "Obearbetad bild" @@ -220,9 +298,9 @@ msgstr "Obearbetad bild" msgid "Enhanced image" msgstr "Bearbetad bild" -#. BUTTON_START -msgid "Start" -msgstr "Starta" +#. BUTTON_SCAN +msgid "Scan" +msgstr "Ls in" #. BUTTON_OK msgid "Ok" @@ -260,9 +338,13 @@ msgstr "Bl msgid "Overwrite" msgstr "Skriv ver" -#. BUTTON_ADD_AREA -msgid "Add area" -msgstr "Lgg till omrde" +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Ls in batch lista" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Ls in det markerade omrdet" #. BUTTON_PAGE_DELETE msgid "Delete page" @@ -284,6 +366,11 @@ msgstr "Ta bort bild" msgid "Show image" msgstr "Visa bild" +#. BUTTON_IMAGE_EDIT +#, fuzzy +msgid "Edit image" +msgstr "Bearbetad bild" + #. BUTTON_IMAGE_RENAME msgid "Rename image" msgstr "Byt namn p bild" @@ -334,7 +421,7 @@ msgstr "Avsluta inte" #. BUTTON_SCALE_BIND msgid "Bind scale" -msgstr "" +msgstr "Bind skala" #. RADIO_BUTTON_FINE_MODE msgid "Fine mode" @@ -356,6 +443,10 @@ msgstr " msgid "Skip existing filenames" msgstr "Hoppa ver existerande filnamn" +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Spara 16bits pnm i ascii format" + #. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT msgid "Reduce 16 bit image to 8 bit" msgstr "Reducera 16 bits bild till 8 bitar" @@ -388,6 +479,10 @@ msgstr "Autokorrigera f msgid "POP3 authentification" msgstr "POP3 autentisering" +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Anvnd GUI statuslinje" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "Letar efter enheter..." @@ -552,6 +647,30 @@ msgstr "kompilerad med GIMP-" msgid "unknown" msgstr "oknd" +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane distribueras under och omfattas av GNU General Public License\n" +"s som den r publicerad av Free Software Foundation; version 2 eller (om du " +"vill) \n" +"ngon senare version\n" +"\n" +"Detta program distribueras med frhoppningen att det skall komma till nytta, " +"men\n" +"UTAN NGON GARANTI; utan ens ngon underfrstdd garanti fr dess\n" +"HANDELSBARHETET eller DUGLIGHET FR NGOT SRSKILT NDAML.\n" + #. TEXT_GPL msgid "" "XSane is distributed under the terms of the GNU General Public License\n" @@ -564,8 +683,8 @@ msgid "" msgstr "" "XSane distribueras under och omfattas av GNU General Public License\n" "s som den r publicerad av Free Software Foundation; version 2 eller (om du " -"vill) ngon senare\n" -"version\n" +"vill)\n" +"ngon senare version\n" "\n" "Detta program distribueras med frhoppningen att det skall komma till nytta, " "men\n" @@ -600,7 +719,7 @@ msgid "" msgstr "" "Svensk versttning\n" "av Johan Bengtsson\n" -"E-post: johanb@lls.se\n" +"E-post: jb@goteborg.bostream.se\n" #. TEXT_INFO_BOX msgid "0x0: 0KB" @@ -622,34 +741,61 @@ msgstr "Bilagor:" msgid "Project status:" msgstr "Projekt status:" +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "" + #. TEXT_MEDIUM_DEFINITION_NAME msgid "Medium Name:" -msgstr "" +msgstr "Namn p medium:" #. TEXT_VIEWER_IMAGE_INFO #, c-format msgid "" "Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" msgstr "" - -#. TEXT_X_SCALE_FACTOR -#, fuzzy -msgid "X-Scale factor:" -msgstr "Stll in zoomfaktor" - -#. TEXT_Y_SCALE_FACTOR -#, fuzzy -msgid "Y-Scale factor:" -msgstr "Stll in zoomfaktor" +"Storlek %d x %d pixlar, %d bit/frg, %d frger, %1.0f dpi x %1.0f dpi, %1.1f " +"%s" #. TEXT_DESPECKLE_RADIUS -#, fuzzy msgid "Despeckle radius:" -msgstr "Damma av" +msgstr "Avdammningsradie:" #. TEXT_BLUR_RADIUS msgid "Blur radius:" -msgstr "" +msgstr "Suddradie:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(inget namn)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Omrdesnamn:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Scaninstllning:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "verst till vnster:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Storlek:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Upplsing:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bit-djup:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "som markerat" #. TEXT_SETUP_PRINTER_SEL msgid "Printer selection:" @@ -747,6 +893,10 @@ msgstr "TIFF 8 bit bildkompression" msgid "TIFF lineart image compression" msgstr "TIFF lineart-bildkompression" +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Visa omfng som:" + #. TEXT_SETUP_PREVIEW_OVERSAMPLING msgid "Preview oversampling:" msgstr "versampling vid frhandsgranskning:" @@ -769,7 +919,7 @@ msgstr "F #. TEXT_SETUP_LINEART_MODE msgid "Threshold option:" -msgstr "Instllning av hgkvalitetslge:" +msgstr "Instllning av trskelvrde:" #. TEXT_SETUP_ADF_MODE msgid "Automatic Document Feeder Modus:" @@ -819,6 +969,10 @@ msgstr "Flagga f msgid "Fine mode option:" msgstr "Flagga fr hgkvalitetslge:" +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Stt standardinstllningar fr:" + #. TEXT_SETUP_FAX_VIEWER msgid "Viewer (Postscript):" msgstr "Visare (Postscript):" @@ -860,31 +1014,43 @@ msgid "Viewer (png):" msgstr "Visare (png):" #. TEXT_SETUP_OCR_COMMAND -#, fuzzy msgid "OCR Command:" -msgstr "Kommando:" +msgstr "OCR Kommando:" #. TEXT_SETUP_OCR_INPUTFILE_OPT -#, fuzzy msgid "Inputfile option:" -msgstr "Flagga fr postscriptsfil:" +msgstr "Inmatningsfilsalternativ:" #. TEXT_SETUP_OCR_OUTPUTFILE_OPT -#, fuzzy msgid "Outputfile option:" -msgstr "Flagga fr postscriptsfil:" +msgstr "Utmatningsfilsalternativ:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Anvnd GUI statuslinje:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUI utmating-fd alternativ:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Status nyckelord:" #. TEXT_SETUP_PERMISSION_USER msgid "user" -msgstr "Anvndare" +msgstr "anvndare" #. TEXT_SETUP_PERMISSION_GROUP msgid "group" -msgstr "Grupp" +msgstr "grupp" #. TEXT_SETUP_PERMISSION_ALL msgid "all" -msgstr "Alla" +msgstr "alla" + +msgid "new media" +msgstr "" #. NOTEBOOK_SAVING_OPTIONS msgid "Save" @@ -908,7 +1074,7 @@ msgstr "Post" #. NOTEBOOK_OCR_OPTIONS msgid "OCR" -msgstr "" +msgstr "OCR" #. NOTEBOOK_DISPLAY_OPTIONS msgid "Display" @@ -938,6 +1104,10 @@ msgstr "Visa histogram" msgid "Show gamma curve" msgstr "Visa gammavrdeskurva" +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Visa massinlsning" + #. MENU_ITEM_SHOW_STANDARDOPTIONS msgid "Show standard options" msgstr "Visa standardinstllningar" @@ -990,6 +1160,10 @@ msgstr "Visa uppl msgid "Rotate postscript" msgstr "Rotera postscript" +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "ndra mediedefinition" + #. MENU_ITEM_SAVE_DEVICE_SETTINGS msgid "Save device settings" msgstr "Spara enhetsinstllningar" @@ -1002,9 +1176,13 @@ msgstr "H msgid "Change directory" msgstr "Byt katalog" -#. MENU_ITEM_XSANE_LICENSE -msgid "License" -msgstr "Licens" +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Visa EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Visa licens (GPL)" #. MENU_ITEM_XSANE_DOC msgid "XSane doc" @@ -1054,6 +1232,26 @@ msgstr "JPEG DCT kompression" msgid "pack bits" msgstr "packbits" +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Linje (Skala)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Linje (Rullningslist)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Vred" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Skala och Vred" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Rullningslist och Vred" + #. MENU_ITEM_LINEART_MODE_STANDARD msgid "Standard options window (lineart)" msgstr "Standardinstllningar (grafik)" @@ -1078,20 +1276,29 @@ msgstr "fil msgid "Add selection to list" msgstr "Lgg till utvalt omrde i listan" -#. MENU_ITEM_PRESET_AREA_RENAME -msgid "Rename definiton" -msgstr "Byt namn p instllning" +#. MENU_ITEM_MEDIUM_ADD +#, fuzzy +msgid "Add medium definition" +msgstr "ndra mediedefinition" + +#. MENU_ITEM_RENAME +#, fuzzy +msgid "Rename item" +msgstr "Byt namn p bild" -#. MENU_ITEM_PRESET_AREA_DELETE -msgid "Delete definition" -msgstr "Ta bort instllning" +#. MENU_ITEM_DELETE +#, fuzzy +msgid "Delete item" +msgstr "Ta bort skrivare" -#. MENU_OTEM_PRESET_AREA_MOVE_UP -msgid "Move up" +#. MENU_ITEM_MOVE_UP +#, fuzzy +msgid "Move item up" msgstr "Flytta upp" -#. MENU_OTEM_PRESET_AREA_MOVE_DWN -msgid "Move down" +#. MENU_ITEM_MOVE_DWN +#, fuzzy +msgid "Move item down" msgstr "Flytta ner" #. PROGRESS_SCANNING @@ -1132,9 +1339,8 @@ msgid "Cloning image" msgstr "Klonar bild" #. PROGRESS_SCALING_DATA -#, fuzzy msgid "Scaling image" -msgstr "Sparar bild" +msgstr "Skalar bild" #. PROGRESS_DESPECKLING_DATA msgid "Despeckling image" @@ -1144,6 +1350,10 @@ msgstr "Damma av bild" msgid "Bluring image" msgstr "Sudda till bild" +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR pgr" + #. DESC_SCAN_START msgid "Start scan " msgstr "Starta inlsning " @@ -1162,13 +1372,20 @@ msgstr "Avbryt f #. DESC_XSANE_MODE msgid "" -"save-, view-, photocopy-, fax- or " -"mail-" +"save-, view-, photocopy-, fax- or mail-" msgstr "" +"spara-, visa-, fotokopia-, faxa- eller posta-" +"" msgstr "Vlj skrivardefinition " @@ -1254,8 +1489,8 @@ msgid "Set number of copies" msgstr "Stll in antal kopior" #. DESC_NEGATIVE -msgid "Negative: Invert colors for scanning negatives " -msgstr "Negativ: Invertera frger vid inlsning av negativ " +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negativ: Invertera frger vid inlsning av negativ " #. DESC_GAMMA msgid "Set gamma value" @@ -1312,40 +1547,40 @@ msgstr "St #. DESC_RGB_DEFAULT msgid "" "RGB default: Set enhancement values for red, green and blue to default " -"values :\n" +"values :\n" " gamma = 1.0\n" " brightness = 0\n" " contrast = 0" msgstr "" "RGB standardvrde: Stt bearbetningvrdena fr rtt, grnt och bltt till " -"standardvrden: :\n" +"standardvrden: :\n" " gamma = 1.0\n" " ljus = 0\n" " kontrast = 0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast " -msgstr "Autojustera gamma, ljus och kontrast " +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Autojustera gamma, ljus och kontrast " #. DESC_ENH_DEFAULT msgid "" -"Set default enhancement values :\n" +"Set default enhancement values :\n" "gamma = 1.0\n" "brightness = 0\n" "contrast = 0" msgstr "" -"Stll in standarvrden fr bearbetning :\n" +"Stll in standarvrden fr bearbetning :\n" "gamma = 1.0\n" "ljus = 0\n" "kontrast = 0" #. DESC_ENH_RESTORE -msgid "Restore enhancement values from preferences " -msgstr "terstll korrigeringsvrden " +msgid "Restore enhancement values from preferences " +msgstr "terstll korrigeringsvrden " #. DESC_ENH_STORE -msgid "Store active enhancement values to preferences " -msgstr "Spara de aktiva korrigeringsvrdena " +msgid "Store active enhancement values to preferences " +msgstr "Spara de aktiva korrigeringsvrdena " #. DESC_HIST_INTENSITY msgid "Show histogram of intensity/gray " @@ -1484,6 +1719,18 @@ msgid "" msgstr "" "Om filnamnsrknaren automatiskt uppdateras, s hoppas anvnda nummer ver" +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Nr en 16bits bild skall sparas i pnm format anvnd d asciii format " +"istllet fr ett binrt format. Det binra formatet r ett nytt format som " +"inte stds av alla program. Ascii formatet stds av fler program men " +"producerar vldigt stora filer!!!" + #. DESC_REDUCE_16BIT_TO_8BIT msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" msgstr "Spara bild med 8/bits frg om bildlsare skickar bild med 16 bits/frg" @@ -1528,6 +1775,10 @@ msgid "Use an own colormap for preview if display depth is 8 bpp" msgstr "" "Anvnd egna frginstllningar fr frhandsgranskning om visningslget r 8bpp" +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Vlj hur ett omfng visas" + #. DESC_PREVIEW_OVERSAMPLING msgid "Value with that the calculated preview resolution is multiplied" msgstr "" @@ -1691,20 +1942,34 @@ msgid "Enter command to be executed to view a mail image" msgstr "Kommando som krs fr att visa en brevbild" #. DESC_HTML_MAIL -msgid "Mail is sent in html mode, images are displayed directly" +#, fuzzy +msgid "Mail is sent in html mode, place image with: " msgstr "Post snds i htmllge, bilder visas direkt" #. DESC_OCR_COMMAND msgid "Enter command to start ocr program" -msgstr "" +msgstr "Skriv in kommando som startar ocrprogram" #. DESC_OCR_INPUTFILE_OPT msgid "Enter option of the ocr program to define input file" -msgstr "" +msgstr "Skriv in den flagga som definierar inmatingsfilen fr ocrprogrammet" #. DESC_OCR_OUTPUTFILE_OPT msgid "Enter option of the ocr program to define output file" -msgstr "" +msgstr "Skriv in den flagga som definierar utmatingsfilen fr ocrprogrammet" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Definiera om ocrprogrammet stder gui statuslinje" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "Skriv in ocrprogrammets flagga fr utmatingsfildeskriptor i GUI lge" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Definiera Nyckelord som anvnds fr att markera statusinformation" #. DESC_PERMISSION_READ msgid "read" @@ -1718,6 +1983,10 @@ msgstr "skriv" msgid "execute" msgstr "exekvera" +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Lgg till utvalt omrde i listan fr massinlsning" + #. DESC_PIPETTE_WHITE msgid "Pick white point" msgstr "Vlj vitpunkt" @@ -1740,6 +2009,10 @@ msgid "Zoom 20% out" msgstr "Zooma ut 20%" #. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Klicka dr du vill zooma" + +#. DESC_ZOOM_AREA msgid "Zoom into selected area" msgstr "Zooma in det markerade omrdet" @@ -1755,43 +2028,63 @@ msgstr "Markera det synliga omr msgid "Autoselect scanarea" msgstr "Automatisk val av inlsningsyta" +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Hj inlsningsyta automatiskt" + #. DESC_DELETE_IMAGES msgid "Delete preview image cache" msgstr "Ta bort frhandsgransknings bildcache" #. DESC_PRESET_AREA -msgid "Preset area" -msgstr "Frinstllt omrde" +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" #. DESC_ROTATION msgid "Rotate preview and scan" msgstr "Rotera frhandsgranskning och inlsning" +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Synliga proportioner av markering" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Definiera bildens position fr utskrift" + #. DESC_VIEWER_OCR msgid "Optical Character Recognition" -msgstr "" +msgstr "Optisk Tecken Avlsning" + +#. DESC_VIEWER_UNDO +#, fuzzy +msgid "Undo last change" +msgstr "ngra senaste zoomningen" #. DESC_VIEWER_CLONE msgid "Clone image" msgstr "Klona bild" -#. DESC_VIEWER_ROTATE90 +#. DESC_ROTATE90 msgid "Rotate image 90 degree" msgstr "Rotera bild 90 grader" -#. DESC_VIEWER_ROTATE180 +#. DESC_ROTATE180 msgid "Rotate image 180 degree" msgstr "Rotera bild 180 grader" -#. DESC_VIEWER_ROTATE270 +#. DESC_ROTATE270 msgid "Rotate image 270 degree" msgstr "Rotera bild 270 grader" -#. DESC_VIEWER_MIRROR_X +#. DESC_MIRROR_X msgid "Mirror image at vertical axis" msgstr "Spegla bild vid vertikal axel" -#. DESC_VIEWER_MIRROR_Y +#. DESC_MIRROR_Y msgid "Mirror image at horizontal axis" msgstr "Spegla bild vid horisontell axel" @@ -1800,14 +2093,60 @@ msgid "Zoom image" msgstr "Zooma bild" #. DESC_STORE_MEDIUM -#, fuzzy msgid "Store medium" -msgstr "Byt namn p instllning" +msgstr "Lagra medium" #. DESC_DELETE_MEDIUM -#, fuzzy msgid "Delete active medium" -msgstr "Ta bort instllning" +msgstr "Ta bort aktivt medium" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Skalnings fakor" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "X-skale fakor" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Y-Skale faktor" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Skala bild till bredd [i pixlar]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Skala bild till hjd [i pixlar]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Tom massinlsningslista" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Spara massinlsningslista" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Ladda massinlsningslista" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Byt namn p omrde" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Lgg till utvalt omrde till massinlsningslistan" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Ta bort det makerade omrdet frm massinlsningslistan" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Aktiverar automatlge" #. ERR_HOME_DIR msgid "Failed to determine home directory:" @@ -1815,16 +2154,15 @@ msgstr "Kunde inte hitta hemkatalogen:" #. ERR_CHANGE_WORKING_DIR msgid "Failed to change working directory to" -msgstr "Kunde inte ndra arbetskatalog till:" +msgstr "Kunde inte ndra arbetskatalog till" #. ERR_FILENAME_TOO_LONG msgid "Filename too long" msgstr "Filnamnet r fr lngt" #. ERR_CREATE_TEMP_FILE -#, fuzzy msgid "Could not create temporary file" -msgstr "Kunde inte skapa temporr frhandsgranskningsfil" +msgstr "Kunde inte skapa temporr fil" #. ERR_SET_OPTION msgid "Failed to set value of option" @@ -1872,9 +2210,8 @@ msgid "Failed to open" msgstr "Kunde inte ppna" #. ERR_CREATE_SECURE_FILE -#, fuzzy msgid "Could not create secure file (may be a link does exist):" -msgstr "Kunde inte skapa filnamn fr frhandsgranskningsfiler" +msgstr "Kunde inte skapa en sker fil (kanske en lnk existerar):" #. ERR_FAILED_PRINTER_PIPE msgid "Failed to open pipe for executing printercommand" @@ -1912,6 +2249,11 @@ msgstr "LIBTIFF rapporterar fel" msgid "LIBPNG reports error" msgstr "LIBPNG rapporterar fel" +#. ERR_LIBJPEG +#, fuzzy +msgid "LIBJPEG reports error" +msgstr "LIBPNG rapporterar fel" + #. ERR_UNKNOWN_TYPE msgid "unknown type" msgstr "oknd typ" @@ -1920,6 +2262,14 @@ msgstr "ok msgid "unknown constraint type" msgstr "unknown constraint type" +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" + #. ERR_FAILED_EXEC_DOC_VIEWER msgid "Failed to execute documentation viewer:" msgstr "Kunde inte starta dokumentvisare" @@ -1937,9 +2287,8 @@ msgid "Failed to execute mail image viewer:" msgstr "Kunde inte starta brevbildsvisare:" #. ERR_FAILED_EXEC_OCR_CMD -#, fuzzy msgid "Failed to execute ocr command:" -msgstr "Kunde inte exekvera faxkommando:" +msgstr "Kunde inte exekvera ocrkommando:" #. ERR_BAD_FRAME_FORMAT msgid "bad frame format" @@ -1995,9 +2344,8 @@ msgid "Could not create filenames for preview files" msgstr "Kunde inte skapa filnamn fr frhandsgranskningsfiler" #. ERR_CREATE_FAX_PROJECT -#, fuzzy msgid "Could not create faxproject" -msgstr "Skapa projekt" +msgstr "Kunde inte skapa faxprojekt" #. WARN_COUNTER_UNDERRUN msgid "Filename counter underrun" @@ -2033,6 +2381,10 @@ msgstr "Varning" msgid "Information" msgstr "Information" +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Barnprocess fel" + #. ERR_FAILED_CREATE_FILE msgid "Failed to create file:" msgstr "Kunde inte skapa fil:" @@ -2103,7 +2455,6 @@ msgid "[OPTION]... [DEVICE]" msgstr "[FLAGGA]... [ENHET]" #. TEXT_HELP -#, fuzzy msgid "" "Start up graphical user interface to access SANE (Scanner Access Now Easy) " "devices.\n" @@ -2114,8 +2465,8 @@ msgid "" " -v, --version print version information\n" " -l, --license print license information\n" "\n" -" -d, --device-settings file load device settings from file (without " -"\".drc\")\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" "\n" " -V, --viewer start with viewer-mode active (default)\n" " -s, --save start with save-mode active\n" @@ -2124,8 +2475,6 @@ msgid "" " -m, --mail start with mail-mode active\n" " -n, --no-mode-selection disable menu for XSane mode selection\n" "\n" -" -M, --Medium-calibration enable medium calibration mode\n" -"\n" " -F, --Fixed fixed main window size (overwrite preferences " "value)\n" " -R, --Resizeable resizable, scrolled main window (overwrite " @@ -2143,17 +2492,18 @@ msgstr "" "Startar grafiskt anvndargrnssnitt till SANE (Scanner Access Now Easy) " "enheter.\n" "\n" -"Formatet fr [ENHET] r drivrutinsnamn:enhetsfil (m.a.o. umax:/dev/scanner). " -"\n" +"Formatet fr [ENHET] r drivrutinsnamn:enhetsfil (m.a.o. umax:/dev/" +"scanner). \n" "[FLAGGA] ... kan vara en kombination av fljande flaggor:\n" "-h, --help visa detta hjlpmeddelande och avsluta\n" "-v, --version visa versionsinformation\n" "-l, --licens visa licensinfomation\n" "\n" -"-d, --device-settings file hmta enhetsinstllningar frn en fil (utan " -"\".drc\")\n" +"-d, --device-settings file hmta enhetsinstllningar frn en fil (utan \"." +"drc\")\n" "\n" -"-s, --scan starta med bildlsarlge aktivt\n" +" -V, --viewer starta med visarlge aktivt (standard)\n" +" -s, --save starta med sparlge aktivt\n" "-c, --copy starta med kopiatorlge aktivt\n" "-f, --fax starta med faxlge aktivt\n" " -m, --mail starta med postlge aktivt\n" @@ -2201,6 +2551,26 @@ msgstr "/Xtns/XSane/Enhets dialog..." msgid "/Xtns/XSane/" msgstr "/Xtns/XSane/" +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Mjliga orsaker:\n" +"1) Det finns ingen enhet som stds av SANE\n" +"2) De kompatibla enheter som finns r upptagna\n" +"3) Rttigheterna fr enhetsfilen lter dig inte anvnda den - frsk som " +"root\n" +"4) Drivrutinen laddas inte av SANE (man sane-dll)\n" +"5) Drivrutinen r inte korrekt konfigurerad (man sane-\"backendname\")\n" +"6) Mjligen kan mer n en SANE version vara installerad" + #. strings that are used in structures, so it is not allowed to use _()/gettext() here #. gettext_noop does mark these texts but does not change the string #. MENU_ITEM_SURFACE_FULL_SIZE @@ -2271,52 +2641,125 @@ msgstr "letter portr." msgid "letter land." msgstr "letter landsk." -#. MENU_ITEM_MEDIUM_FULL_RANGE -msgid "Full range" -msgstr "" +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Fullt frgomfng" #. MENU_ITEM_MEDIUM_SLIDE msgid "Slide" -msgstr "" +msgstr "Linje" #. MENU_ITEM_MEDIUM_STANDARD_NEG -#, fuzzy msgid "Standard negative" -msgstr "Standardinstllningar" +msgstr "Standard negativ" #. MENU_ITEM_MEDIUM_AGFA_NEG msgid "Agfa negative" -msgstr "" +msgstr "Agfa negativ" #. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 msgid "Agfa negative XRG 200-4" -msgstr "" +msgstr "Agfa negativ XRG 200-4" #. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 msgid "Agfa negative HDC 100" -msgstr "" +msgstr "Agfa negativ HDC 100" #. MENU_ITEM_MEDIUM_FUJI_NEG -#, fuzzy msgid "Fuji negative" -msgstr "inaktiv" +msgstr "Fuji negativ" #. MENU_ITEM_MEDIUM_KODAK_NEG msgid "Kodak negative" -msgstr "" +msgstr "Kodak negativ" #. MENU_ITEM_MEDIUM_KONICA_NEG -#, fuzzy msgid "Konica negative" -msgstr "inaktiv" +msgstr "Konica negativ" #. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 -#, fuzzy msgid "Konica negative VX 100" -msgstr "inaktiv" +msgstr "Konica negativ VX 100" #. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 msgid "Rossmann negative HR 100" +msgstr "Rossmann negativ HR 100" + +#. TEXT_MAIL_STATUS_NOT_CREATED +#, fuzzy +msgid "Mail project not created" +msgstr "ls" + +#. TEXT_MAIL_STATUS_CREATED +#, fuzzy +msgid "Mail project created" +msgstr "ls" + +#. TEXT_MAIL_STATUS_CHANGED +#, fuzzy +msgid "Mail project changed" +msgstr "Frval av inlsningsyta" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +#, fuzzy +msgid "Error reading mailproject" +msgstr "Skriv in namn fr brevprojekt" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +#, fuzzy +msgid "From entry not accepted" +msgstr "ls" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +#, fuzzy +msgid "Receiver entry not accepted" +msgstr "ls" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "" + +#. TEXT_FAX_STATUS_NOT_CREATED +#, fuzzy +msgid "Fax project not created" +msgstr "ls" + +#. TEXT_FAX_STATUS_CREATED +#, fuzzy +msgid "Fax project created" +msgstr "ls" + +#. TEXT_FAX_STATUS_CHANGED +#, fuzzy +msgid "Fax project changed" +msgstr "Frval av inlsningsyta" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" msgstr "" #. Sane backend messages @@ -2373,31 +2816,3 @@ msgstr "Slut p msgid "Access to resource has been denied" msgstr "Tillgng till resurs nekas" - -#, fuzzy -#~ msgid "Store Medium definition" -#~ msgstr "Ta bort instllning" - -#~ msgid "" -#~ "Use XSane for: SCANning- photoCOPYing- FAXing-" -#~ msgstr "" -#~ "Ls in bilder-, faxa- och gr fotokopior- med " -#~ "XSane..." - -#~ msgid "Width of paper for postscript" -#~ msgstr "Pappersbredd fr postscript" - -#~ msgid "Height of paper for postscript" -#~ msgstr "Pappershjd fr postscript" - -#~ msgid "Left offset for postscript" -#~ msgstr "Vnster marginal fr postscript" - -#~ msgid "Bottom offset for postscript" -#~ msgstr "Marginal frn botten fr postscript" - -#~ msgid "Scan" -#~ msgstr "Ls in" - -#~ msgid "Failed to execute mail command:" -#~ msgstr "Kunde inte exekvera postkommando:" diff --git a/po/tr.gmo b/po/tr.gmo index f22436b..8168c0f 100644 Binary files a/po/tr.gmo and b/po/tr.gmo differ diff --git a/po/tr.po b/po/tr.po index 3d8607b..9f21e81 100644 --- a/po/tr.po +++ b/po/tr.po @@ -1,17 +1,19 @@ +# translation of tr.po to Turkish # Turkish Translation for XSane # TOGAN MUFTUOGLU , 2000. +# Togan Muftuoglu , 2004 # msgid "" msgstr "" -"Project-Id-Version: XSANE 0.84\n" -"POT-Creation-Date: 2002-01-22 23:34+0100\n" -"PO-Revision-Date: 2002-01-15 09:44GMT+02:00\n" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-26 11:08+0200\n" "Last-Translator: Togan Muftuoglu \n" "Language-Team: Turkish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-9\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 0.9.5\n" +"X-Generator: KBabel 1.0.1\n" #. Please translate this to the correct directory name (eg. german=>de) #. XSANE_LANGUAGE_DIR @@ -23,6 +25,10 @@ msgid "(c)" msgstr "(c)" #. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "Klonu" + #. WINDOW_ABOUT_XSANE msgid "About" msgstr "Hakknda" @@ -35,18 +41,34 @@ msgstr "Terc msgid "authorization" msgstr "Otorizasyon" -#. WINDOW_LICENSE -msgid "license" -msgstr "lisans" +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - lisans" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Son Kullanc Lisans Anlamas" #. WINDOW_INFO msgid "info" msgstr "bilgi" +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "sral listeyi ykle" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "sral listeyi sakla" + #. WINDOW_BATCH_SCAN msgid "batch scan" msgstr "sral tarama" +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "Alan yeniden isimlendir" + #. WINDOW_FAX_PROJECT msgid "fax project" msgstr "fax projesi" @@ -61,20 +83,32 @@ msgstr "ps-dosyas #. WINDOW_MAIL_PROJECT msgid "mail project" -msgstr "e-posta projesi" +msgstr "posta projesi" #. WINDOW_MAIL_RENAME msgid "rename mail image" -msgstr "e-posta resmini yeniden isimlendir" +msgstr "posta resmini yeniden isimlendir" #. WINDOW_MAIL_INSERT msgid "insert file into mail" -msgstr "dosyay e-postaya yerletirin" +msgstr "dosyay postaya yerletirin" #. WINDOW_PRESET_AREA_RENAME msgid "rename preset area" msgstr "nceden belirlenmi alan yeniden isimlendir" +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "nceden belirlenmi alan ekle" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "Saklama ortamnn ismini deitir" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "Yeni saklama ortam ekle" + #. WINDOW_SETUP msgid "setup" msgstr "ayarlar" @@ -151,26 +185,42 @@ msgstr "Resmi bulan msgid "Store medium definition" msgstr "Ortam tanmn sakla" +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Hibir aygt mevcut deil" + #. MENU_FILE msgid "File" msgstr "Dosya" #. MENU_PREFERENCES msgid "Preferences" -msgstr "Ayarlar..." +msgstr "Ayarlar" #. MENU_VIEW msgid "View" msgstr "zleme" +#. MENU_WINDOW +msgid "Window" +msgstr "Pencere" + #. MENU_HELP msgid "Help" msgstr "Yardm" +#. MENU_EDIT +msgid "Edit" +msgstr "Dzelt" + #. MENU_FILTERS msgid "Filters" msgstr "Filtreler" +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Geometri" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "Xsane hakknda" @@ -187,9 +237,9 @@ msgstr " msgid "Save image" msgstr "Resmi kaydet" -#. MENU_ITEM_CLOSE -msgid "Close" -msgstr "Kapat" +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - metin olarak sakla" #. MENU_ITEM_CLONE msgid "Clone" @@ -199,6 +249,14 @@ msgstr "Klonla" msgid "Scale" msgstr "Boyutlandrma" +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Kapat" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Geri al" + #. MENU_ITEM_DESPECKLE msgid "Despeckle" msgstr "Beneksizletirme" @@ -207,6 +265,26 @@ msgstr "Beneksizle msgid "Blur" msgstr "Bulanklatrma" +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Dndr 90" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Dndr 180" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Dndr 270" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Ayna" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Ayna-" + #. FRAME_RAW_IMAGE msgid "Raw image" msgstr "Ham resim" @@ -215,9 +293,9 @@ msgstr "Ham resim" msgid "Enhanced image" msgstr "Gelimi resim" -#. BUTTON_START -msgid "Start" -msgstr "Bala" +#. BUTTON_SCAN +msgid "Scan" +msgstr "Tara" #. BUTTON_OK msgid "Ok" @@ -255,9 +333,13 @@ msgstr "G msgid "Overwrite" msgstr "zerine yaz" -#. BUTTON_ADD_AREA -msgid "Add area" -msgstr "Blge ekle" +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Sral listeyi tara" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Seilen alan tara" #. BUTTON_PAGE_DELETE msgid "Delete page" @@ -279,6 +361,10 @@ msgstr "Resmi sil" msgid "Show image" msgstr "Resmi gster" +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Resmi dzelt" + #. BUTTON_IMAGE_RENAME msgid "Rename image" msgstr "Resmi yeniden isimlendir" @@ -351,6 +437,10 @@ msgstr " msgid "Skip existing filenames" msgstr "Varolan dosya isimlerini atla" +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "16bit pnm'yi ascii formatnda sakla" + #. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT msgid "Reduce 16 bit image to 8 bit" msgstr "16 bit resmi 8 bite indirge" @@ -383,6 +473,10 @@ msgstr "Renkleri otomatik d msgid "POP3 authentification" msgstr "POP3 otorizasyon" +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "GUI ilerleme ubuunu kullan" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "aygtlar aryor" @@ -547,6 +641,32 @@ msgstr "GIMP- ile derlenmi msgid "unknown" msgstr "bilinmiyor" +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane, Free Software Foundation GNU Genel Kamu Lisans, \n" +"lisansn 2. srmne gre veya (sizin tercihiniz olarak)daha sonraki bir \n" +"bir srm, altnda datlmaktadr.\n" +"\n" +"Bu program faydal olaca umuduyla datlmaktadr, ama\n" +"HBR GARANT ERMEZ; hatta HERHANG BR AMACA \n" +"UYGUNLUU VEYA RNLETRLMESN bile.\n" +"Eer program hatal karsa, gerekli tm servislerin, tamirlerin veya \n" +"dzeltmelerin maliyetini kabullenirsiniz. Bu program kullanmak iin \n" +"aadaki \"GARANT YOK\" anlamasn okuyup, anlamak ve kabul etmek \n" +"durumundasnz. \n" + #. TEXT_GPL msgid "" "XSane is distributed under the terms of the GNU General Public License\n" @@ -615,6 +735,10 @@ msgstr "Ekler" msgid "Project status:" msgstr "Proje durumu" +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Postalanacak resim dosya tipi:" + #. TEXT_MEDIUM_DEFINITION_NAME msgid "Medium Name:" msgstr "Ortam ismi" @@ -627,14 +751,6 @@ msgstr "" "Boyut %d x %d piksel, %d bit/color, %d renkler, %1.0f dpi x %1.0f dpi, %1.1f " "%s" -#. TEXT_X_SCALE_FACTOR -msgid "X-Scale factor:" -msgstr "X lek arpan" - -#. TEXT_Y_SCALE_FACTOR -msgid "Y-Scale factor:" -msgstr "Y kek arpann ayarla" - #. TEXT_DESPECKLE_RADIUS msgid "Despeckle radius:" msgstr "Beneksizletirme yarap" @@ -643,6 +759,38 @@ msgstr "Beneksizle msgid "Blur radius:" msgstr "Bulanklatrma yarap" +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(adsz)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Alan ad:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Tarama modu" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Sol st" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Boyut" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "znrlk:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Bit derinlii" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "seildii gibi" + #. TEXT_SETUP_PRINTER_SEL msgid "Printer selection:" msgstr "Yazc seimi:" @@ -739,6 +887,10 @@ msgstr "TIFF 8 bit resim s msgid "TIFF lineart image compression" msgstr "TIFF lineart resim sktrmas" +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Aral gsterme ekli:" + #. TEXT_SETUP_PREVIEW_OVERSAMPLING msgid "Preview oversampling:" msgstr "nizleme rnekleme:" @@ -811,6 +963,10 @@ msgstr "Normal mod se msgid "Fine mode option:" msgstr "Hassas mod seenei" +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Program ntanmllarn belirle:" + #. TEXT_SETUP_FAX_VIEWER msgid "Viewer (Postscript):" msgstr "zleyici (Postscript):" @@ -863,6 +1019,18 @@ msgstr "Giren dosya se msgid "Outputfile option:" msgstr "kt dosya seenei" +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "GUI ilerme ubuunu kullan" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "GUI kt seenei:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "lerleme anahtar kelimesi" + #. TEXT_SETUP_PERMISSION_USER msgid "user" msgstr "kullanc" @@ -875,6 +1043,9 @@ msgstr "grup" msgid "all" msgstr "hepsi" +msgid "new media" +msgstr "Yeni medya" + #. NOTEBOOK_SAVING_OPTIONS msgid "Save" msgstr "Kaydet" @@ -927,6 +1098,10 @@ msgstr "Histogram msgid "Show gamma curve" msgstr "Gamma erisini gster" +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Sral taramay gster" + #. MENU_ITEM_SHOW_STANDARDOPTIONS msgid "Show standard options" msgstr "Standart seenekleri gster" @@ -979,6 +1154,10 @@ msgstr " msgid "Rotate postscript" msgstr "Postscripti dndr" +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Ortam tanmn dzelt" + #. MENU_ITEM_SAVE_DEVICE_SETTINGS msgid "Save device settings" msgstr "Aygt ayarlarn sakla " @@ -991,9 +1170,13 @@ msgstr "Ayg msgid "Change directory" msgstr "Dizin deitir" -#. MENU_ITEM_XSANE_LICENSE -msgid "License" -msgstr "lisans" +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "EULA'y gster" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Lisans (GPL) gster" #. MENU_ITEM_XSANE_DOC msgid "XSane doc" @@ -1043,6 +1226,26 @@ msgstr "JPEG DCT s msgid "pack bits" msgstr "bitleri paketle" +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "lek ubuu" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Kaydrma ubuu" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "evirme dmesi" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "lekleme ve evirme dmesi" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Kaydrma ubuu ve evirme dmesi" + #. MENU_ITEM_LINEART_MODE_STANDARD msgid "Standard options window (lineart)" msgstr "Standart seenekleri penceresi (lineart)" @@ -1067,20 +1270,24 @@ msgstr "dosya son tak msgid "Add selection to list" msgstr "Seileni listeye ekle" -#. MENU_ITEM_PRESET_AREA_RENAME -msgid "Rename definiton" -msgstr "Tenm yeniden isimlendir" +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Ortam tanm ekle" + +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Yeniden isimlendir" -#. MENU_ITEM_PRESET_AREA_DELETE -msgid "Delete definition" -msgstr "Tanm silin" +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Sil" -#. MENU_OTEM_PRESET_AREA_MOVE_UP -msgid "Move up" +#. MENU_ITEM_MOVE_UP +msgid "Move item up" msgstr "Yukar ta" -#. MENU_OTEM_PRESET_AREA_MOVE_DWN -msgid "Move down" +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" msgstr "Aa ta" #. PROGRESS_SCANNING @@ -1132,6 +1339,10 @@ msgstr "Resmi beneksizle msgid "Bluring image" msgstr "Resmi bulanklatr" +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "OCR almakta" + #. DESC_SCAN_START msgid "Start scan " msgstr "Taramay balat " @@ -1150,15 +1361,25 @@ msgstr " #. DESC_XSANE_MODE msgid "" -"save-, view-, photocopy-, fax- or " -"mail-" +"save-, view-, photocopy-, fax- or mail-" msgstr "" -"sakla-, izle-, fotokopi-, fax- " -"veyamail-" +"sakla-, izle-, fotokopi-, fax- veyamail-" +"" #. DESC_XSANE_MEDIUM -msgid "Select source medium type" -msgstr "Kaynak ortam tipini sein" +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Kaynak ortam tipini sein. \n" +"Yeniden isimlendirmek, sralamak veya silmek iin, ieril mensn ( sa " +"fare tuu) kullann \n" +"Ortam yaratmak iin, tercihler mensnde ortam tanm dzeltme seeneini " +"etkin kln. " #. DESC_FILENAME_COUNTER_STEP msgid "Value that is added to filenamecounter after scan" @@ -1177,7 +1398,8 @@ msgid "" "Type of image format, the suitable filename extension is automatically added " "to the filename" msgstr "" -"Resim formatnn tipi, uygun olan dosya soneki otomatik olarakdosyaya eklenir" +"Resim formatnn tipi, uygun olan dosya soneki otomatik olarak dosyaya " +"eklenir" #. DESC_FAXPROJECT msgid "Enter name of fax project" @@ -1207,10 +1429,26 @@ msgstr "E-posta adresi girin" msgid "Enter subject of email" msgstr "E-Posta konusu girin" -#. DESC_PRESET_AREA_NAME +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Resim ekleri iin dosya tipini sein" + +#. DESC_PRESET_AREA_RENAME msgid "Enter new name for preset area" msgstr "ncden belirlenen alan iin yeni isim gir" +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "nceden belirlenen yeni alan iin isim gir" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Ortam tanm iin yeni isim gir" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Ortam tanm iin isim gir" + #. DESC_PRINTER_SELECT msgid "Select printerdefinition " msgstr "Yazc tanmn sein " @@ -1244,8 +1482,8 @@ msgid "Set number of copies" msgstr "Kopya saysn belirle" #. DESC_NEGATIVE -msgid "Negative: Invert colors for scanning negatives " -msgstr "Negatif: negatifleri taramak iin renkleri ters evir" +msgid "Negative: Invert colors for scanning negatives " +msgstr "Negatif: negatifleri taramak iin renkleri ters evir" #. DESC_GAMMA msgid "Set gamma value" @@ -1302,41 +1540,41 @@ msgstr "Threshold ayar #. DESC_RGB_DEFAULT msgid "" "RGB default: Set enhancement values for red, green and blue to default " -"values :\n" +"values :\n" " gamma = 1.0\n" " brightness = 0\n" " contrast = 0" msgstr "" "RGB ntanm: krmz,yeil ve mavi iin gelitirme deerlerini ntanma " -"ayarladeerler:\n" +"ayarla deerler:\n" " gamma =1.0\n" " parlaklk =0\n" " kontrast =0" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast " +msgid "Autoadjust gamma, brightness and contrast " msgstr "" -"Seilen alana bal olarak gamma, k ve kontrast otomatik ayarla" +"Seilen alana bal olarak gamma, k ve kontrast otomatik ayarla" #. DESC_ENH_DEFAULT msgid "" -"Set default enhancement values :\n" +"Set default enhancement values :\n" "gamma = 1.0\n" "brightness = 0\n" "contrast = 0" msgstr "" -"Gelimi deerleri ayarla:\n" +"Gelimi deerleri ayarla:\n" "gamma =1.0\n" "parlaklk =0\n" "kontrast =0n" #. DESC_ENH_RESTORE -msgid "Restore enhancement values from preferences " -msgstr "Tercihlerden gelitirilmi deerleri geri ykle " +msgid "Restore enhancement values from preferences " +msgstr "Tercihlerden gelitirilmi deerleri geri ykle " #. DESC_ENH_STORE -msgid "Store active enhancement values to preferences " -msgstr "Etkin gelitirilmi deerleri tercihlere ykle " +msgid "Store active enhancement values to preferences " +msgstr "Etkin gelitirilmi deerleri tercihlere ykle " #. DESC_HIST_INTENSITY msgid "Show histogram of intensity/gray " @@ -1477,6 +1715,18 @@ msgstr "" "Eer dosya ad sayac otomatik olarak artrlyorsa, kullanlan rakamlar " "atlanr" +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"16 bitlik resim pnm formatnda saklanaca zaman binary format yerine ascii " +"formatn kullann. Binary format henz tm programlar tarafndan " +"kullanlmayan yeni bir formattr. Ascii format daha fazla program " +"tarafndan kullanlmasna karn olduka byk dosyalar retir." + #. DESC_REDUCE_16BIT_TO_8BIT msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" msgstr "" @@ -1518,6 +1768,10 @@ msgid "Use an own colormap for preview if display depth is 8 bpp" msgstr "" "Eer ekran derinlii 8 bpp ise ngsterim iin kiisel renk tablosunu kullan" +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Araln nasl gsterileceini sein" + #. DESC_PREVIEW_OVERSAMPLING msgid "Value with that the calculated preview resolution is multiplied" msgstr "Hesaplanm nizleme znrlnn arpld deer " @@ -1590,8 +1844,8 @@ msgstr "Pipette fonksiyonu i msgid "" "Enter command to be executed to display helpfiles, must be a html-viewer!" msgstr "" -"yardm dosyalarn gstermek iin altrlacak komutu girin, " -"html-gstericisi olmaldr!" +"yardm dosyalarn gstermek iin altrlacak komutu girin, html-" +"gstericisi olmaldr!" #. DESC_AUTOENHANCE_GAMMA msgid "Change gamma value when autoenhancement button is pressed" @@ -1674,8 +1928,8 @@ msgid "Enter command to be executed to view a mail image" msgstr "E-posta resmini grmek iin altrlacak komutu yazn" #. DESC_HTML_MAIL -msgid "Mail is sent in html mode, images are displayed directly" -msgstr "E-Posta HTML olarak yolland, resimler direkt olarak gsterilmekte" +msgid "Mail is sent in html mode, place image with: " +msgstr "E-Posta HTML olarak yolland, resmi yerletirmek iin :" #. DESC_OCR_COMMAND msgid "Enter command to start ocr program" @@ -1689,6 +1943,22 @@ msgstr " msgid "Enter option of the ocr program to define output file" msgstr "kt dosyas iin ocr programnn seeneini belirleyin" +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" +"OCR programnn gui ilerleme ubuunu destekleyip desteklemediini tanmlayn" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"kt dosyas tanm iin ocr programnn seeneini GUI konumunda belirleyin" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" +"lerleme bilgisini belirlemek iin kullanlan Anahtar kelimeyi tanmlayn" + #. DESC_PERMISSION_READ msgid "read" msgstr "okuma" @@ -1701,6 +1971,10 @@ msgstr "yazma" msgid "execute" msgstr "altrma" +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Seileni tarama listesine ekle" + #. DESC_PIPETTE_WHITE msgid "Pick white point" msgstr "Beyaz nokta se" @@ -1723,6 +1997,10 @@ msgid "Zoom 20% out" msgstr "% 20 zumla" #. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Zumlanacak noktaya tklayn" + +#. DESC_ZOOM_AREA msgid "Zoom into selected area" msgstr "Seilen alana zum yap" @@ -1738,43 +2016,65 @@ msgstr "G msgid "Autoselect scanarea" msgstr "Tarama alann otomatik se" +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Tarama alann otomatik olarak ne kar" + #. DESC_DELETE_IMAGES msgid "Delete preview image cache" msgstr "nizleme resim kaesini sil" #. DESC_PRESET_AREA -msgid "Preset area" -msgstr "Alan nceden se" +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"ntanml alan: \n" +"Yeni alan eklemek veya varolan alan dzeltmek iin ierik mensn (sa " +"fare tuu) kullann." #. DESC_ROTATION msgid "Rotate preview and scan" msgstr "Dndrmek nizlemek ve taramak" +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Seimin grnm oran:" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Basm iin resim pozisyonunu tanmla" + #. DESC_VIEWER_OCR msgid "Optical Character Recognition" msgstr "Optik karakter okuyucu" +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Son deiiklii geri al" + #. DESC_VIEWER_CLONE msgid "Clone image" msgstr "Resmi oalt" -#. DESC_VIEWER_ROTATE90 +#. DESC_ROTATE90 msgid "Rotate image 90 degree" msgstr "Resmi 90 derece dndr" -#. DESC_VIEWER_ROTATE180 +#. DESC_ROTATE180 msgid "Rotate image 180 degree" msgstr "Resmi 180 derece dndr" -#. DESC_VIEWER_ROTATE270 +#. DESC_ROTATE270 msgid "Rotate image 270 degree" msgstr "Resmi 270 derece dndr" -#. DESC_VIEWER_MIRROR_X +#. DESC_MIRROR_X msgid "Mirror image at vertical axis" msgstr "Dey eksenlerde resmi ters grntle (ayna etkisi)" -#. DESC_VIEWER_MIRROR_Y +#. DESC_MIRROR_Y msgid "Mirror image at horizontal axis" msgstr "Yatay eksenlerde resmi ters grntle (ayna etkisi)" @@ -1790,6 +2090,54 @@ msgstr "Saklama ortam msgid "Delete active medium" msgstr "Aktif ortam silin" +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "lek arpan" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "X lek arpan" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Y lek arpan" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Resmin enini boyutlandr [piksel olarak]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Resmin yksekliini boyutlandr [piksel olarak]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Tarama listesini sil" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Tarama listesini sakla" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Tarama listesini ykle" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Alan yeniden isimlendir" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Seilen nizleme alann listeye ekle" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Seilen nizleme alann listeden sil" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Otomatik modu ethin klar" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "Ev dizinini belirlemede hata:" @@ -1893,13 +2241,25 @@ msgstr "LIBTIFF hata veriyor" msgid "LIBPNG reports error" msgstr "LIBPNG hata veriyor" +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG hata veriyor" + #. ERR_UNKNOWN_TYPE msgid "unknown type" msgstr "bilinmeyen tip" #. ERR_UNKNOWN_CONSTRAINT_TYPE msgid "unknown constraint type" -msgstr "bilinmeyen contraint tipi" +msgstr "bilinmeyen sktrma tipi" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Seenein ismi bo (NULL)" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Bu arkaplan aygt hatas. Ltfen yazar aygt hakknda bilgilendiriniz" #. ERR_FAILED_EXEC_DOC_VIEWER msgid "Failed to execute documentation viewer:" @@ -2012,6 +2372,10 @@ msgstr "Uyar msgid "Information" msgstr "Bilgi" +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Ast sre hatas" + #. ERR_FAILED_CREATE_FILE msgid "Failed to create file:" msgstr "Dosya yaratmada hata:" @@ -2082,7 +2446,6 @@ msgid "[OPTION]... [DEVICE]" msgstr "[SEENEK]...[AYGIT]" #. TEXT_HELP -#, fuzzy msgid "" "Start up graphical user interface to access SANE (Scanner Access Now Easy) " "devices.\n" @@ -2093,8 +2456,8 @@ msgid "" " -v, --version print version information\n" " -l, --license print license information\n" "\n" -" -d, --device-settings file load device settings from file (without " -"\".drc\")\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" "\n" " -V, --viewer start with viewer-mode active (default)\n" " -s, --save start with save-mode active\n" @@ -2103,8 +2466,6 @@ msgid "" " -m, --mail start with mail-mode active\n" " -n, --no-mode-selection disable menu for XSane mode selection\n" "\n" -" -M, --Medium-calibration enable medium calibration mode\n" -"\n" " -F, --Fixed fixed main window size (overwrite preferences " "value)\n" " -R, --Resizeable resizable, scrolled main window (overwrite " @@ -2131,23 +2492,23 @@ msgstr "" " -d, --device-settings file aygt ayarlarn dosyadan ykle (\".drc\" " "olmadan)\n" "\n" -" -V, --viewer ................ izleme modu aktif olarak bala\n" +" -V, --viewer izleme modu aktif olarak bala (n tanml)\n" " -s, --save saklama modu aktif olarak bala\n" " -c, --copy kopyalama modu aktif olarak bala\n" " -f, --fax faks modu aktif olarak bala\n" -" -m, --mail ................ e-posta modu aktif olarak bala\n" +" -m, --mail e-posta modu aktif olarak bala\n" " -n, --no-mode-selection xsane mod seimi mensn pasif kl\n" "\n" -" -F, --Fixed sabit ana pencere boyutu (tercihler deerinin " +"-, --Fixed sabit ana pencere boyutu (tercihler deerinin " "yerine geer)\n" -" -R, --Resizeable yeniden boyutlanadirlabilir, scrolled ana " -"pencere (tercihler deerinin yerine geer)\n" +" -R, --Resizeable yeniden boyutlanadrlabilir, kayan pencere " +"(tercihler deerinin yerine geer)\n" "\n" "-p, --print-filenames Xsane tarafndan yaratlan resim " "dosyalarn bas\n" "-N, --force-filename name dosyaadn kulllan ve kullanc dosyaad seimi " "iptal et\n" -" --display X11-display kty X11-exkranna ynelndir\n" +" --display X11-display kty X11-ekranna ynlendir\n" " --no-xshm paylalan hafza resimleri kullanma\n" " --sync X11 sunucu ile senkronize balant iste" @@ -2181,6 +2542,25 @@ msgstr "/Xtns/XSane/" msgstr "/Xtns/XSane/" +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Olas nedenler: \n" +"1)SANE tarafndan desteklenen aygt yok \n" +"2)Desteklenen aygtlar megul \n" +"3)Aygt dosyas iin eriim izniniz yok, root olarak deneyin \n" +"4)Src SANE tarafndan yklenmemi (man sane-dll)\n" +"5)Src doru ayarlanmam (man sane-\"srcad\")\n" +"6)Birden fazla SANE srm yklenmi olabilir" + #. strings that are used in structures, so it is not allowed to use _()/gettext() here #. gettext_noop does mark these texts but does not change the string #. MENU_ITEM_SURFACE_FULL_SIZE @@ -2251,9 +2631,9 @@ msgstr "mektup dikey" msgid "letter land." msgstr "mektup yatay" -#. MENU_ITEM_MEDIUM_FULL_RANGE -msgid "Full range" -msgstr "Tm alan" +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Tm renk aral" #. MENU_ITEM_MEDIUM_SLIDE msgid "Slide" @@ -2295,6 +2675,74 @@ msgstr "Konica negatif VX 100" msgid "Rossmann negative HR 100" msgstr "Rossmann negatif HR 100" +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "E-Posta projesi yaratlmad" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "E-Posta projesi yaratld" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "E-Posta projesi deiti" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "E-Posta projesini okumada hata" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "POP3 balants kurulamad" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "POP3 login hatal" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "SMTP balants yaplamad" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Gnderen girdisi kabul edilmedi" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Alc girdisi kabul edilmedi" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Posta bilgisi kabul edilmedi" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Posta gnderiliyor" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Posta gnderildi" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Faks projesi yaratlamad" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Faks projesi yaratld" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Faks projesi deitirildi" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Faks kuyrua alnyor" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Faks kuyrukta" + #. Sane backend messages msgid "flatbed scanner" msgstr "flatbed tarayc" diff --git a/po/vi.gmo b/po/vi.gmo new file mode 100644 index 0000000..9aebfc0 Binary files /dev/null and b/po/vi.gmo differ diff --git a/po/vi.po b/po/vi.po new file mode 100644 index 0000000..98e211f --- /dev/null +++ b/po/vi.po @@ -0,0 +1,2835 @@ +# Vietnamese Translation for XSane Catalog. +# Copyright (C) Trinh Minh Thanh , 2002-2003. +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2004-08-26 23:33+0700\n" +"Last-Translator: Trinh Minh Thanh \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +# Please translate this to the correct directory name (eg. german=>de) +# XSANE_LANGUAGE_DIR +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "vi" + +# XSANE_COPYRIGHT_SIGN +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +# can be translated with \251 +# FILENAME_PREFIX_CLONE_OF +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "bản sao của" + +# WINDOW_ABOUT_XSANE +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "Giới thiệu" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "Giới thiệu dịch thuật" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "Chấp thuận giấy phép" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "GPL - giấy phép" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "Chấp thuận giấy phép của người dùng (EULA)" + +#. WINDOW_INFO +msgid "info" +msgstr "thông tin" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "nạp danh sách batch" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "lưu danh sách batch" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "quét batch" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "đổi tên vùng batch" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "dự án fax" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "đổi tên trang fax" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "chèn tập tin ps vào fax" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "dự án thư" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "đổi tên ảnh thư" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "chèn tập tin vào thư" + +# WINDOW_PRESET_AREA_RENAME +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "đổi tên vùng định trước" + +# WINDOW_PRESET_AREA_ADD +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "thêm vùng định trước" + +# WINDOW_MEDIUM_RENAME +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "đổi tên phương tiện" + +# WINDOW_MEDIUM_ADD +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "thêm phương tiện mới" + +#. WINDOW_SETUP +msgid "setup" +msgstr "thiết lập" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "Bảng kê" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Đường cong gamma" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "Tùy chọn chuẩn" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "Tùy chọn nâng cao" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "chọn thiết bị" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "Xem trước" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "Trình xem" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "Trình xem: chọn tên tập tin đầu ra" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "Chọn tên tập tin đầu ra cho tập tin văn bản OCR" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "chọn tên tập tin đầu ra" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "lưu thiết lập thiết bị" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "nạp thiết lập thiết bị" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "thay đổi thư mục làm việc" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "chọn thư mục tạm thời" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "Cân chỉnh ảnh" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "Xóa vết đốm ảnh" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "Làm mờ ảnh" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "Lưu trữ định nghĩa phương tiện" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "Hiện không có thiết bị" + +#. MENU_FILE +msgid "File" +msgstr "Tệp" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "Sở thích" + +#. MENU_VIEW +msgid "View" +msgstr "Xem" + +# MENU_WINDOW +#. MENU_WINDOW +msgid "Window" +msgstr "Cửa sổ" + +#. MENU_HELP +msgid "Help" +msgstr "Trợ giúp" + +# MENU_EDIT +#. MENU_EDIT +msgid "Edit" +msgstr "Hiệu chỉnh" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Trình lọc" + +# MENU_GEOMETRY +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "Hình học" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Giới thiệu XSane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "Thông tin" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "Thoát" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "Lưu ảnh" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - lưu theo văn bản" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "Sao chép" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "Cân chỉnh" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "Đóng" + +# MENU_ITEM_UNDO +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "Hoàn tác" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "Xóa vết đốm" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "Làm mờ" + +# MENU_ITEM_ROTATE90 +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "Xoay 90" + +# MENU_ITEM_ROTATE180 +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "Xoay 180" + +# MENU_ITEM_ROTATE270 +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "Xoay 270" + +# MENU_ITEM_MIRROR_X +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "Phản chiếu |" + +# MENU_ITEM_MIRROR_Y +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "Phản chiếu -" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "Ảnh thô" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Ảnh cải thiện" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "Quét" + +#. BUTTON_OK +msgid "Ok" +msgstr "OK" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "Đồng ý" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "Không đồng ý" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "Áp dụng" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "Bỏ qua" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "Giảm" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "Tiếp tục với rủi ro" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "Duyệt" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "Ghi đè" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "Quét danh sách batch" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "Quét vùng chọn" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "Xóa trang" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "Hiển thị trang" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "Đổi tên trang" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Xóa ảnh" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "Hiển thị ảnh" + +# BUTTON_IMAGE_EDIT +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "Hiệu chỉnh ảnh" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Đổi tên ảnh" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Chèn tập tin" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "Tạo dự án" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "Gửi dự án" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "Xóa dự án" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "Thêm máy in" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "Xóa máy in" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "Quét xem trước" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Thôi xem trước" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "Bỏ ảnh" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "Bỏ mọi ảnh" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "Không đóng" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "Giới hạn cân chỉnh" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "Chế độ tinh xảo" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "Thư dạng html" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "Lưu các sở thích thiết bị và thoát ra" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "Cảnh báo việc ghi đè" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "Nhảy qua các tên tập tin hiện có" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "Lưu 16bit pnm theo định dạng ascii" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "Giảm ảnh 16 bit xuống 8 bit" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "Kích cỡ cửa sổ chính không đổi" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "Tắt gamma xem trước của GIMP" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "Dùng bản đồ màu riêng" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "Tự động cải thiện gamma" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "Chọn trước vùng quét" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "Tự động hiệu chỉnh màu" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "Chứng thực POP3" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "Dùng pipe tiến trình đồ họa" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "đang rà tìm thiết bị" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "Thiết bị hiện có:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "Tùy chọn XSane" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "Chế độ XSane" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "bước" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "Loại" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "Máy quét và backend:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Nhà SX:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "Model:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "Loại:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "Thiết bị:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "Backend đã nạp:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Phiên bản SANE:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "Giá trị hiện thời:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Hiệu chỉnh gamma bởi:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "máy quét" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "phần mềm (XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "không" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "Độ sâu đầu vào gamma:" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "Độ sâu đầu ra gamma:" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "Độ sâu đầu ra máy quét:" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "Định dạng đầu ra của XSane:" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "Định dạng đầu ra 8 bit:" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "Định dạng đầu ra 16 bit:" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp không hỗ trợ độ sâu màu 16 bit.\n" +"Có muốn hạ xuống 8 bit không ?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Không hỗ trợ độ sâu màu 16 bit cho định dạng đầu ra này.\n" +"Có muốn hạ xuống 8 bit không ?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "Yêu cầu chấp thuận giấy phép cho" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "Việc truyền mật khẩu được bảo mật" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Backend yêu cầu mật khẩu dạng văn bản đơn thuần" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "Tên người dùng:" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "Mật khẩu:" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "Tham số không hợp lệ." + +#. TEXT_VERSION +msgid "version:" +msgstr "phiên bản:" + +#. TEXT_PACKAGE +msgid "package" +msgstr "gói tin" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "có hỗ trợ của GIMP" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "không có hỗ trợ của GIMP" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "được biên dịch với GTK-" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "được biên dịch với GIMP-" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "không xác định" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" +"XSane được phân phối dưới các điều khoản của GNU/GPL do\n" +"Tổ Chức Phần Mềm Tự Do phát hành kể từ phiên bản 2 trở đi.\n" +"\n" +"Chương trình này được phân phối với hy vọng là nó hữu ích cho bạn\n" +"nhưng không kèm theo bảo đảm nào, thậm chí không có ý là sẽ\n" +"đảm bảo cho việc thương mại hay cho một mục đích đặc biệt nào.\n" +"Chương chình không tránh khỏi có thiếu sót, bạn có thể tốn kém với\n" +"mọi dịch vụ cần thiết, sửa chữa hay hiệu chỉnh. Để dùng chương trình,\n" +"bạn cần đọc để hiểu và chấp thuận cam kết \"KHÔNG ĐẢM BẢO\" sau.\n" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" +"XSane được phân phối dưới các điều khoản của GNU/GPL do\n" +"Tổ Chức Phần Mềm Tự Do phát hành kể từ phiên bản 2 trở đi.\n" +"\n" +"Chương trình này được phân phối với hy vọng là nó hữu ích cho bạn\n" +"nhưng không kèm theo bảo đảm nào, thậm chí không có ý là sẽ\n" +"đảm bảo cho việc thương mại hay cho một mục đích đặc biệt nào.\n" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "Thư:" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "Trang chủ:" + +#. TEXT_FILE +msgid "File:" +msgstr "Tập tin:" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "Dịch thuật:" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"Dịch sang tiếng Việt bởi:\n" +"Trịnh Minh Thanh\n" +"Email: tmthanh@yahoo.com\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "0x0: 0KB" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "Trang đã quét: " + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "Văn bản email:" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "Đính kèm:" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "Tình trạng dự án:" + +# TEXT_MAIL_FILETYPE +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Loại tập tin đính kèm:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "Tên phương tiện:" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"Kích cỡ %d x %d pixel, %d bit/màu, %d màu, %1.0f dpi x %1.0f dpi, %1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "Xóa vết lốm đốm theo bán kính:" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "Làm mờ theo bán kính:" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "(không tên)" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "Tên vùng:" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "Chế độ quét:" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "Đỉnh trái:" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "Kích thước:" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "Độ phân giải:" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "Độ sâu bit:" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "như đã chọn" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "Chọn máy in:" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "Tên:" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "Lệnh:" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "Đặt số bản sao:" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "Độ phân giải lineart (dpi):" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "Độ phân giải cân bằng xám (dpi):" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "Độ phân giải màu (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "Rộng" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "Cao" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "Offset trái" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "Offset đáy" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Giá trị gamma máy in:" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "Đỏ gamma máy in:" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "Xanh lá cây gamma máy in:" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "Xanh da trời gamma máy in:" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Thư mục tạm" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "Quyền hạn cho tập tin ảnh" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "Quyền hạn cho thư mục" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "Chất lượng ảnh JPEG" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "Nén ảnh PNG" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "Độ dài bộ đếm tên tập tin" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "Nén ảnh 16 bit TIFF" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "Nén ảnh 8 bit TIFF" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "Nén ảnh lineart TIFF" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "Hiển thị khoảng theo:" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "Quá mẫu chuẩn Xem Trước:" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "Gamma Xem Trước:" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "Đỏ gamma Xem Trước:" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "Xanh lá cây gamma Xem Trước:" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "Xanh da trời gamma Xem Trước:" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "Tùy chọn ngưỡng:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "Bộ Khay Nạp Tài Liệu Tự Động:" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "Xem trước khoảng pipette" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "Ngưỡng tối thiểu:" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "Ngưỡng tối đa:" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "Ngưỡng bộ nhân:" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "Ngưỡng offset:" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "Tên chế độ quét cân bằng xám:" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "Trình xem tập tin trợ giúp (html):" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "Tùy chọn người nhận:" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Tùy chọn Postscriptfile:" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "Tùy chọn chế độ bình thường:" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "Tùy chọn chế độ tinh xảo:" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "Đặt mặc định chương trình cho:" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "Trình xem (Postscript):" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "Máy chủ SMTP:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "Cổng SMTP:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "Từ:" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "Trả lời:" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "Máy chủ POP3:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "Cổng POP3:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "Người dùng POP3:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "Mật khẩu POP3:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "Trình xem (png):" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "Lệnh OCR:" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Tùy chọn tập tin đầu vào:" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Tùy chọn tập tin đầu ra:" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "Dùng pipe tiến trình đồ họa:" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "Tùy chọn output-fd đồ họa:" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "Từ khóa tiến trình:" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "người dùng" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "nhóm" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "toàn bộ" + +msgid "new media" +msgstr "phương tiện mới" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "Lưu" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "Ảnh" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "Sao chép" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "Fax" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "Thư" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "Hiển thị" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Cải thiện" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "Email" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "Hiển thị mẹo sử dụng" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "Hiển thị Xem Trước" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "Hiển thị bảng kê" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "Hiển thị đường cong gamma" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "Hiển thị quét batch" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "Hiển thị tùy chọn chuẩn" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "Hiển thị tùy chọn nâng cao" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "Thiết lập" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "Đơn vị dài" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "millimeter" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "centimeter" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "inche" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "Chính sách cập nhật" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "liên tục" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "không liên tục" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "Để trễ" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "Hiển thị danh sách độ phân giải" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "Xoay postscript" + +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "Biên soạn định nghĩa phương tiện" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "Lưu thiết lập thiết bị" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "Nạp thiết lập thiết bị" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "Đổi thư mục" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "Hiển thị EULA" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "Hiển thị giấy phép (GPL)" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Tài liệu XSane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Tài liệu backend" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "Backend hiện có" + +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "Mẹo quét" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "Trục trặc?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "bất hoạt" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "không nén" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "Nén CCITT 1D Huffman" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "Nén CCITT Group 3 Fax" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "Nén CCITT Group 4 Fax" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "Nén JPEG DCT" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "gói các bit" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "Con trượt (Cân chỉnh)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "Con trượt (Thanh cuộn)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Nút xoay" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "Nút Xoay và Cân chỉnh" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "Thanh cuộn và Nút xoay" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "Cửa sổ tùy chọn chuẩn (lineart)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "Cửa sổ chính XSane (lineart)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "Cửa sổ chính XSane (grayscale->lineart)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "(không)" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "theo phần mở rộng" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "Thêm việc chọn vào danh sách" + +# MENU_ITEM_MEDIUM_ADD +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "Bổ sung định nghĩa phương tiện" + +# MENU_ITEM_RENAME +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Đổi tên mục" + +# MENU_ITEM_DELETE +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "Xóa mục" + +# MENU_ITEM_MOVE_UP +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "Chuyển mục lên" + +# MENU_ITEM_MOVE_DWN +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "Chuyển mục xuống" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "Đang quét" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "Đang nhận dữ liệu %s" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "Đang truyền ảnh" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "Đang xoay ảnh" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Đang phản chiếu ảnh" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "Đang đóng gói ảnh" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "Đang chuyển đổi ảnh" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "Đang lưu ảnh" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "Đang sao ảnh" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "Đang cân chỉnh ảnh" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "Đang xóa lốm đốm ảnh" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "Đang làm mờ ảnh" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "Đang chạy OCR" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "Bắt đầu quét " + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "Thôi quét " + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "Quét để Xem Trước " + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "Thôi quét Xem Trước " + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" +"lưu-, xem-, photocopy-, fax- hay thư-" + +# DESC_XSANE_MEDIUM +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" +"Chọn loại phương tiện nguồn.\n" +"Để đổi tên, yêu cầu lại hoặc xóa một mục, hãy dùng menu ngữ cảnh (nút phải " +"chuột).\n" +"Để tạo phương tiện, hãy bật tùy chọn định nghĩa phương tiện trong menu Tùy " +"Thích." + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "Giá trị được thêm vào bộ đếm tên tập tin sau khi quét" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "Duyệt tên tập tin ảnh" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "Tên tập tin cho ảnh đã quét" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" +"Loại định dạng ảnh, phần mở rộng thích hợp của tên tập tin được tự động thêm " +"vào tên tập tin" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "Nhập tên cho dự án Fax" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "Nhập tên mới cho trang Fax" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "Nhập số điện thoại hay địa chỉ người nhận" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "Nhập tên dự án thư" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "Nhập tên mới cho ảnh trong thư" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Nhập địa chỉ thư" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Nhập chủ đề thư" + +# DESC_MAIL_FILETYPE +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "Chọn loại tập tin cho ảnh đính kèm" + +# DESC_PRESET_AREA_RENAME +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Nhập tên mới cho vùng định trước" + +# DESC_PRESET_AREA_ADD +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Nhập tên cho vùng định trước mới" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "Nhập tên mới cho định nghĩa phương tiện" + +# DESC_MEDIUM_ADD +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "Nhập tên cho định nghĩa phương tiện mới" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "Chọn định nghĩa máy in " + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "Đặt độ phân giải khi quét" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "Đặt độ phân giải cho trục X" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "Đặt độ phân giải cho trục Y" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "Đặt zoomfactor" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "Đặt zoomfactor cho trục X" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "Đặt zoomfactor cho trục Y" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "Đặt số lượng bản sao" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "Âm bản: đảo màu để quét âm bản " + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "Đặt giá trị gamma" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "Đặt giá trị gamma cho thành phần màu đỏ" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "Đặt giá trị gamma cho thành phần màu xanh lá cây" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "Đặt giá trị gamma cho thành phần màu xanh da trời" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "Đặt độ sáng" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "Đặt độ sáng cho thành phần màu đỏ" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "Đặt độ sáng cho thành phần màu xanh lá cây" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "Đặt độ sáng cho thành phần màu xanh da trời" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "Đặt độ tương phản" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "Đặt độ tương phản cho thành phần màu đỏ" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "Đặt độ tương phản cho thành phần màu xanh lá cây" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "Đặt độ tương phản cho thành phần màu xanh da trời" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "Đặt ngưỡng" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" +"Mặc định RGB: Đặt các giá trị cải thiện cho màu đỏ, xanh lá cây và xanh da " +"trời thành giá trị mặc định :\n" +" gamma = 1.0\n" +" độ sáng = 0\n" +" độ tương phản = 0" + +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "Tự động hiệu chỉnh gamma, độ sáng và độ tương phản " + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" +"Đặt giá trị cải thiện mặc định :\n" +"gamma = 1.0\n" +"độ sáng = 0\n" +"độ tương phản = 0" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "Khôi phục các giá trị cải thiện từ các tùy thích " + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "Lưu trữ các giá trị cải thiện hoạt động vào Tùy thích " + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "Hiển thị bảng kê cường độ/màu xám " + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "Hiển thị bảng kê của thành phần màu đỏ " + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "Hiển thị bảng kê của thành phần màu xanh lá cây " + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "Hiển thị bảng kê của thành phần màu xanh da trời " + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "Chế độ hiển thị: hiển thị bảng kê theo dòng thay vì pixel " + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "Hiển thị logarithm của pixelcount " + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "Chọn định nghĩa để thay đổi" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "Đặt tên cho việc chọn định nghĩa này" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "Nhập lệnh thực thi trong chế độ sao chép (VD: \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "Nhập số lượng bản sao" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "Độ phân giải để in và lưu ảnh lineart theo dạng postscript" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "Độ phân giải để in và lưu ảnh cân bằng xám theo dạng postscript" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "Độ phân giải để in và lưu ảnh màu theo dạng postscript" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "Chiều rộng vùng in được" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "Chiều cao vùng in được" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "Offset trái từ mép giấy đến vùng in được" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "Offset đáy từ mép giấy đến vùng in được" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "Giá trị gamma thêm cho photocopy" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "Giá trị gamma thêm cho thành phần màu đỏ cho photocopy" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "Giá trị gamma thêm cho thành phần màu xanh lá cây cho photocopy" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "Giá trị gamma thêm cho thành phần màu xanh da trời cho photocopy" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Đường dẫn tới thư mục tạm" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Duyệt tìm thư mục tạm" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" +"Chất lượng theo phần trăm nếu ảnh được lưu là jpeg hay tiff với kiểu nén jpeg" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "Nén nếu ảnh được lưu dạng png" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "Độ dài tối thiểu của bộ đếm trong tên tập tin" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "Kiểu nén nếu ảnh 16 bit được lưu là tiff" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "Kiểu nén nếu ảnh 8 bit được lưu là tiff" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "Kiểu nén nếu ảnh lineart được lưu là tiff" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" +"Lưu các tùy thích phụ thuộc thiết bị vào tập tin mặc định khi thoát khỏi " +"XSane" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "Cảnh báo trước khi ghi đè tập tin hiện có" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "Nếu bộ đếm tên tập tin được tăng tự động, bỏ qua các số đã dùng" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" +"Khi lưu ảnh 16 bit theo định dạng pnm thì sau đó dùng định dạng ascii thay " +"cho định dạng nhị phân. Định dạng nhị phân là định dạng mới không được các " +"chương trình hỗ trợ. Định dạng ascii được nhiều chương trình hỗ trợ nhưng " +"lại tạo các tập tin ảnh lớn !!!" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "Nếu máy quét gửi ảnh 16 bit/màu thì lưu thành 8 bit/màu" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "Bề ngang của trang cho tập tin postscript" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "Chiều cao của trang cho tập tin postscript" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Lề trái offset từ mép giấy đến vùng sử dụng cho tập tin postscript" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "Đáy offset từ mép giấy đến vùng sử dụng cho tập tin postscript" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "" +"Dùng cỡ cửa sổ chính cố định hoặc cửa sổ chính cuộn được và có thể đổi cỡ" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "Tắt Xem trước gamma khi chạy XSane làm plugin của GIMP" + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "Dùng bản đồ màu cho xem trước nếu độ sâu hiển thị là 8 bit" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "Chọn cách hiển thị một chuỗi" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "Giá trị để độ phân giải xem trước đã tính toán được nhân lên" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "Đặt giá trị hiệu chỉnh gamma cho ảnh xem trước" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "Đặt giá trị hiệu chỉnh gamma cho thành phần màu đỏ của ảnh xem trước" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "" +"Đặt giá trị hiệu chỉnh gamma cho thành phần màu xanh lá cây của ảnh xem trước" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "" +"Đặt giá trị hiệu chỉnh gamma cho thành phần màu xanh da trời của ảnh xem " +"trước" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "Định nghĩa cách để XSane xử lý tùy chọn ngưỡng" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" +"Chọn chế độ quét cân bằng xám, dùng để quét xem trước lineart khi cho phép " +"chuyển dạng từ cân bằng xám thành lineart" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "Mức ngưỡng tối thiểu của máy quét theo %" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "Mức ngưỡng tối đa của máy quét theo %" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "Bộ nhân để tạo khoảng ngưỡng của XSane và máy quét là như nhau" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "Offset để tạo khoảng ngưỡng của XSane và máy quét là như nhau" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" +"Chọn nguồn quét cho khay nạp tài liệu tự động. Nếu nguồn quét này được XSane " +"chọn quét đến khi \"Hết giấy\" hay khi gặp lỗi." + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "Cạnh hình vuông được dùng để dung hòa màu cho hàm pipette" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "" +"Nhập lệnh thực thi để hiển thị tập tin trợ giúp, phải là trình xem html!" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "Thay đổi giá trị gamma khi nhấn nút tự động cải thiện" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "Chọn vùng quét sau khi kết thúc việc quét xem trước" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "Hiệu chỉnh màu sau khi kết thúc việc quét xem trước" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "Nhập lệnh thực thi trong chế độ Fax" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Nhập tùy chọn để chỉ ra người nhận" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "Nhập tùy chọn để định ra tập tin postscript sau đây" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "Nhập tùy chọn để định ra chế độ bình thường (độ phân giải thấp)" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "Nhập tùy chọn để định ra chế độ tinh xảo (độ phân giải cao)" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "Nhập lệnh thực thi để xem Fax" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "Gửi Fax có độ phân giải dọc cao (196 lpi thay vì 98 lpi)" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "Địa chỉ IP hay tên miền của máy chủ SMTP" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "cổng nối tới máy chủ SMTP" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "nhập địa chỉ email của bạn" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "nhập địa chỉ email cho các email được trả lời" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "Chứng thực tại máy chủ POP3 trước khi gửi thư" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "Địa chỉ IP hay tên miền của máy chủ POP3" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "cổng nối tới máy chủ POP3" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "tên người dùng cho máy chủ POP3" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "mật khẩu cho máy chủ POP3" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "Nhập lệnh được thực thi để xem ảnh trong thư" + +# DESC_HTML_MAIL +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "Thư gửi theo phương thức HTML, thay ảnh bằng: " + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "nhập lệnh chạy chương trình OCR" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "Nhập tùy chọn của chương trình OCR để định ra tập tin đầu vào" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "Nhập tùy chọn của chương trình OCR để định ra tập tin đầu ra" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "Định nghĩa nếu chương trình OCR hỗ trợ pipe tiến trình đồ họa" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" +"Nhập tùy chọn của chương trình OCR để định ra output filedescripor trong chế " +"độ đồ họa" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "Định ra từ khóa dùng để đánh dấu thông tin tiến trình" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "đọc" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "ghi" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "thực thi" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "Thêm phần chọn cho quét batch" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "Lấy điểm trắng" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "Lấy điểm xám" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "Lấy điểm đen" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "Dùng toàn bộ vùng quét" + +# DESC_ZOOM_OUT +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "Thu nhỏ 20%" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "Nhấp chuột tại vị trí để phóng " + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "Phóng to vùng chọn" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "Thôi việc phóng vừa rồi" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "Chọn vùng hiển thị" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "Tự động chọn vùng quét" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "Tự động nâng vùng quét" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Xóa cache ảnh xem trước" + +# DESC_PRESET_AREA +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" +"Vùng định trước:\n" +"Để thêm vùng mới hay hiệu chỉnh vùng hiện có, hãy dùng menu ngữ cảnh (nút " +"phải chuột)." + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "Xoay ảnh xem trước và quét" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "Tỷ lệ cạnh của vùng chọn" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "Định ra vị trí ảnh để in" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "Nhận Dạng Ký Tự Quang (OCR)" + +# DESC_VIEWER_UNDO +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "Thôi việc thay đổi vừa rồi" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "Sao ảnh" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "Xoay ảnh 90 độ" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "Xoay ảnh 180 độ" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "Xoay ảnh 270 độ" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "Phản chiếu ảnh qua trục dọc" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "Phản chiếu ảnh qua trục ngang" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Phóng ảnh" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "Thiết bị lưu trữ" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Xóa phương tiện hoạt động" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "Tác nhân cân chỉnh" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "Tác nhân cân chỉnh X" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "Tác nhân cân chỉnh Y" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "Cân chỉnh ảnh theo chiều ngang [theo pixel]" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "Cân chỉnh ảnh theo chiều cao [theo pixel]" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Xóa nội dung danh sách batch" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "Lưu danh sách batch" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "Nạp danh sách batch" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Đổi tên vùng" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "Thêm vùng xem trước được chọn vào danh sách batch" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "Xóa vùng được chọn khỏi danh sách batch" + +# DESC_AUTOMATIC +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "Bật chế độ tự động" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "Không xác định được thư mục home:" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "Không đổi được thư mục hoạt động thành" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "Tên tập tin quá dài" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "Không tạo được tập tin tạm thời" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "Không đặt được giá trị tùy chọn" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "Không đạt tới được giá trị tùy chọn" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "Lỗi khi đạt tới số tùy chọn" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "Không mở được thiết bị" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "không có thiết bị" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Lỗi khi đọc:" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "Lỗi khi lưu:" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Không thể xử lý độ sâu" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMP không thể xử lý độ sâu %d bit/màu" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "Không xác định được định dạng tập tin để lưu" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "Không mở được" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "Không thể tạo tập tin bảo mật (có thể một liên kết đang tồn tại):" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "Không mở được pipe để thực thi lệnh máy in" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "Không thực thi được lệnh máy in:" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "Không chạy được máy quét:" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Không nhận được tham số:" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "Không có định dạng đầu ra" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "hết bộ nhớ" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "Backend gửi nhiều dữ liệu ảnh hơn chỉ định trong tham số" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "LIBTIFF báo có lỗi" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "LIBPNG báo có lỗi" + +# ERR_LIBJPEG +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "LIBJPEG báo lỗi" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "loại không xác định" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "Kiểu tự chủ không xác định" + +# ERR_OPTION_NAME_NULL +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "Tùy chọn có tên trống (null)." + +# ERR_BACKEND_BUG +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "Đây là lỗi của backend. Hãy thông báo cho tác giả biết!" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "Không thực thi được trình xem tài liệu:" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "Không thực thi được trình xem Fax:" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "Không thực thi được lệnh Fax:" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "Không thực thi được trình xem ảnh trong thư:" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "Không thực thi được lệnh OCR:" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "định dạng khung hỏng" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "không thể đặt độ phân giải" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "Tập tin mật khẩu (%s) không bảo mật, hãy dùng quyền hạn x00\n" + +#. ERR_ERROR +msgid "error" +msgstr "lỗi" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "Không khớp số phiên bản chính của SANE!" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "phiên bản chính XSane =" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "phiên bản chính backend =" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "*** HỦY BỎ CHƯƠNG TRÌNH ***" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "Không cấp phát bộ nhớ được cho ảnh:" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "Xem trước không thể xử lý độ sâu bit" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "Thiếu hỗ trợ GIMP" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "Không thể tạo tập tin xem trước tạm thời" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "Không thể tạo tên cho tập tin xem trước" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "Không thể tạo dự án fax" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "Chạy dưới bộ đếm tên tập tin" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "cảnh báo: tùy chọn không có tính tự chủ giá trị" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" +"Bạn chạy XSane bằng ROOT, việc này rất NGUY HIỂM!\n" +"\n" +"Không gửi bất kỳ báo lỗi nào nếu có khi chạy bằng root:\n" +"Bạn bị bỏ mặc !" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "Lỗi" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "Cảnh báo" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "Thông tin" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "Lỗi tiến trình con" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "Không tạo được tập tin:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "Lỗi khi nạp thiết lập của thiết bị:" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "không phải device-rc-file !!!" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "Không thực thi được Netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "Gửi fax: chưa chỉ định người nhận" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "đã được tạo ra cho thiết bị" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "bạn muốn dùng nó cho thiết bị" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "Việc này có thể gây trục trặc!" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr "Có %d ảnh chưa được lưu" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "Tập tin %s tồn tại rồi" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "Tập tin %s không tồn tại" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "Tập tin %s không phải dạng postscript" + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "Không hỗ trợ định dạng đầu ra %d-bit: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "Ảnh ở trình xem không được lưu" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "Cách dùng:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "[TÙY CHỌN]... [THIẾT BỊ]" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" +"Khởi chạy giao diện đồ họa để truy cập thiết bị SANE (Scanner Access Now " +"Easy)\n" +"\n" +"Định dạng [Thiết Bị] là tên backend: tập tin thiết bị (VD: umax:/dev/" +"scanner).\n" +"[Tùy Chọn]... có thể là phức hợp của các mục sau đây:\n" +" -h, --help hiển thị thông điệp trợ giúp và thoát ra\n" +" -v, --version in lên màn hình thông tin về phiên bản\n" +" -l, --license in ra màn hình thông tin về giấy phép\n" +"\n" +" -d, --device-settings file nạp thiết lập thiết bị từ tập tin (không có \"." +"drc\")\n" +"\n" +" -V, --viewer chạy kèm hoạt động chế độ của trình xem (mặc " +"định)\n" +" -s, --save chạy kèm hoạt động của chế dộ lưu\n" +" -c, --copy chạy kèm hoạt động của chế độ sao chép\n" +" -f, --fax chạy kèm hoạt động của chế độ fax\n" +" -m, --mail chạy kèm hoạt động của chế độ thư\n" +" -n, --no-mode-selection Tắt menu cho việc chọn chế độ của XSane\n" +"\n" +" -F, --Fixed cố định cỡ cửa sổ chính (ghi đè giá trị tùy " +"thích)\n" +" -R, --Resizeable đổi cỡ và cuộn cửa sổ chính (ghi đè giá trị " +"tùy thích)\n" +"\n" +" -p, --print-filenames in tên tập tin ảnh do XSane tạo ra\n" +" -N, --force-filename name ép buộc tên tập tin và tắt việc chọn tên tập " +"tin của người dùng\n" +"\n" +" --display X11-display đổi hướng đầu ra tới X11-display\n" +" --no-xshm không dùng ảnh bộ nh chia sẻ\n" +" --sync yêu cầu kết nối đồng bộ với máy chủ X11" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "Front-end tới giao diện SANE" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" +"Chức năng này cho phép truy cập máy quét và các thiết bị thu ảnh thông qua " +"giao diện của SANE (Scanner Access Now Easy)." + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "/Tập tin/Nhận từ/XSane: Thoại thiết bị..." + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "/Tập tin/Nhận từ/XSane: " + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "/Xtns/XSane/Thoại thiết bị..." + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "/Xtns/XSane/" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" +"Có thể là những nguyên nhân sau:\n" +"1) Thật sự là không có thiết bị nào được SANE hỗ trợ.\n" +"2) Thiết bị được hỗ trợ đang bận\n" +"3) Quyền hạn cho tập tin thiết bị không cho phép bạn chạy - hãy thử bằng " +"root\n" +"4) SANE không nạp backend (man sane-dll)\n" +"5) Chưa cấu hình đúng backend (man sane-\"backendname\")\n" +"6) Có khả năng là có hơn một phiên bản của SANE đã được cài đặt" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "To hết cỡ" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "DIN A3 dọc" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "DIN A3 ngang" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "DIN A4 dọc" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "DIN A4 ngang" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "DIN A5 dọc" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "DIN A5 ngang" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "13cm x 18cm" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "18cm x 13cm" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "10cm x 15cm" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "15cm x 10cm" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "9cm x 13cm" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "13cm x 9cm" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "Giấy chuẩn dọc" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "Giấy chuẩn ngang" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "Giấy thư dọc" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "Giấy thư ngang" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "Dải màu đầy đủ" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "Slide" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "Âm bản chuẩn" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Âm bản Agfa" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Âm bản Agfa XRG 200-4" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Âm bản Agfa HDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Âm bản Fuji" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "Âm bản Kodak" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "Âm bản Konica" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "Âm bản Konica VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "Âm bản Rossmann HR 100" + +# TEXT_MAIL_STATUS_NOT_CREATED +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "Mail project chưa tạo" + +# TEXT_MAIL_STATUS_CREATED +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "Mail project được tạo" + +# TEXT_MAIL_STATUS_CHANGED +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "Mail project đã đổi" + +# TEXT_MAIL_STATUS_ERR_READ_PROJECT +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "Lỗi đọc mailproject" + +# TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "Không kết nối POP3 được" + +# TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "Không đăng nhập POP3 được" + +# TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "Không kết nối SMTP được" + +# TEXT_MAIL_STATUS_SMTP_ERR_FROM +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "Không chấp nhận mục Từ" + +# TEXT_MAIL_STATUS_SMTP_ERR_RCPT +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "Không chấp nhận mục người nhận" + +# TEXT_MAIL_STATUS_SMTP_ERR_DATA +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "Không chấp nhận dữ liệu thư" + +# TEXT_MAIL_STATUS_SENDING +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "Gửi thư" + +# TEXT_MAIL_STATUS_SENT +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "Thư đã được gửi" + +# TEXT_FAX_STATUS_NOT_CREATED +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "Chưa tạo Fax project" + +# TEXT_FAX_STATUS_CREATED +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "Fax project đã tạo" + +# TEXT_FAX_STATUS_CHANGED +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "Fax project đã thay đổi" + +# TEXT_FAX_STATUS_QUEUEING_FAX +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "Xếp hàng fax" + +# TEXT_FAX_STATUS_FAX_QUEUED +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "Fax được xếp hàng" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "Máy quét để bàn" + +msgid "frame grabber" +msgstr "Trình thu khung ảnh" + +msgid "handheld scanner" +msgstr "Máy quét cầm tay" + +msgid "still camera" +msgstr "camera tĩnh" + +msgid "video camera" +msgstr "video camera" + +msgid "virtual device" +msgstr "thiết bị ảo" + +msgid "Success" +msgstr "Thành công" + +msgid "Operation not supported" +msgstr "Hoạt động không được hỗ trợ" + +msgid "Operation was cancelled" +msgstr "Hoạt động đã bị bỏ qua" + +msgid "Device busy" +msgstr "Thiết bị đang bận" + +msgid "Invalid argument" +msgstr "Đối số không hợp lệ" + +msgid "End of file reached" +msgstr "Đến cuối tập tin" + +msgid "Document feeder jammed" +msgstr "Khay cấp tài liệu bị kẹt" + +msgid "Document feeder out of documents" +msgstr "Khay cấp tài liệu không chứa tài liệu" + +msgid "Scanner cover is open" +msgstr "Nắp máy quét đang mở" + +msgid "Error during device I/O" +msgstr "Lỗi I/O thiết bị" + +msgid "Out of memory" +msgstr "Hết bộ nhớ" + +msgid "Access to resource has been denied" +msgstr "Truy cập đến nguồn bị từ chối" diff --git a/po/xsane.pot b/po/xsane.pot index a38cd0a..d64620a 100644 --- a/po/xsane.pot +++ b/po/xsane.pot @@ -1,18 +1,19 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR Free Software Foundation, Inc. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2002-01-22 23:34+0100\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\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: ENCODING\n" +"Content-Transfer-Encoding: 8bit\n" #. Please translate this to the correct directory name (eg. german=>de) #. XSANE_LANGUAGE_DIR @@ -24,6 +25,10 @@ msgid "(c)" msgstr "" #. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "" + #. WINDOW_ABOUT_XSANE msgid "About" msgstr "" @@ -36,18 +41,34 @@ msgstr "" msgid "authorization" msgstr "" -#. WINDOW_LICENSE -msgid "license" +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "" + +#. WINDOW_EULA +msgid "End User License Agreement" msgstr "" #. WINDOW_INFO msgid "info" msgstr "" +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "" + #. WINDOW_BATCH_SCAN msgid "batch scan" msgstr "" +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "" + #. WINDOW_FAX_PROJECT msgid "fax project" msgstr "" @@ -76,6 +97,18 @@ msgstr "" msgid "rename preset area" msgstr "" +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "" + +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "" + #. WINDOW_SETUP msgid "setup" msgstr "" @@ -152,6 +185,10 @@ msgstr "" msgid "Store medium definition" msgstr "" +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "" + #. MENU_FILE msgid "File" msgstr "" @@ -164,14 +201,26 @@ msgstr "" msgid "View" msgstr "" +#. MENU_WINDOW +msgid "Window" +msgstr "" + #. MENU_HELP msgid "Help" msgstr "" +#. MENU_EDIT +msgid "Edit" +msgstr "" + #. MENU_FILTERS msgid "Filters" msgstr "" +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "" + #. MENU_ITEM_ABOUT_XSANE msgid "About XSane" msgstr "" @@ -188,8 +237,8 @@ msgstr "" msgid "Save image" msgstr "" -#. MENU_ITEM_CLOSE -msgid "Close" +#. MENU_ITEM_OCR +msgid "OCR - save as text" msgstr "" #. MENU_ITEM_CLONE @@ -200,6 +249,14 @@ msgstr "" msgid "Scale" msgstr "" +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "" + #. MENU_ITEM_DESPECKLE msgid "Despeckle" msgstr "" @@ -208,6 +265,26 @@ msgstr "" msgid "Blur" msgstr "" +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr "" + +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "" + +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "" + +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "" + +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "" + #. FRAME_RAW_IMAGE msgid "Raw image" msgstr "" @@ -216,8 +293,8 @@ msgstr "" msgid "Enhanced image" msgstr "" -#. BUTTON_START -msgid "Start" +#. BUTTON_SCAN +msgid "Scan" msgstr "" #. BUTTON_OK @@ -256,8 +333,12 @@ msgstr "" msgid "Overwrite" msgstr "" -#. BUTTON_ADD_AREA -msgid "Add area" +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" msgstr "" #. BUTTON_PAGE_DELETE @@ -280,6 +361,10 @@ msgstr "" msgid "Show image" msgstr "" +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "" + #. BUTTON_IMAGE_RENAME msgid "Rename image" msgstr "" @@ -352,6 +437,10 @@ msgstr "" msgid "Skip existing filenames" msgstr "" +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "" + #. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT msgid "Reduce 16 bit image to 8 bit" msgstr "" @@ -384,6 +473,10 @@ msgstr "" msgid "POP3 authentification" msgstr "" +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "" + #. TEXT_SCANNING_DEVICES msgid "scanning for devices" msgstr "" @@ -544,6 +637,21 @@ msgstr "" msgid "unknown" msgstr "" +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" + #. TEXT_GPL msgid "" "XSane is distributed under the terms of the GNU General Public License\n" @@ -602,6 +710,10 @@ msgstr "" msgid "Project status:" msgstr "" +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "" + #. TEXT_MEDIUM_DEFINITION_NAME msgid "Medium Name:" msgstr "" @@ -612,14 +724,6 @@ msgid "" "Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" msgstr "" -#. TEXT_X_SCALE_FACTOR -msgid "X-Scale factor:" -msgstr "" - -#. TEXT_Y_SCALE_FACTOR -msgid "Y-Scale factor:" -msgstr "" - #. TEXT_DESPECKLE_RADIUS msgid "Despeckle radius:" msgstr "" @@ -628,6 +732,38 @@ msgstr "" msgid "Blur radius:" msgstr "" +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "" + #. TEXT_SETUP_PRINTER_SEL msgid "Printer selection:" msgstr "" @@ -724,6 +860,10 @@ msgstr "" msgid "TIFF lineart image compression" msgstr "" +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "" + #. TEXT_SETUP_PREVIEW_OVERSAMPLING msgid "Preview oversampling:" msgstr "" @@ -796,6 +936,10 @@ msgstr "" msgid "Fine mode option:" msgstr "" +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "" + #. TEXT_SETUP_FAX_VIEWER msgid "Viewer (Postscript):" msgstr "" @@ -848,6 +992,18 @@ msgstr "" msgid "Outputfile option:" msgstr "" +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "" + #. TEXT_SETUP_PERMISSION_USER msgid "user" msgstr "" @@ -860,6 +1016,9 @@ msgstr "" msgid "all" msgstr "" +msgid "new media" +msgstr "" + #. NOTEBOOK_SAVING_OPTIONS msgid "Save" msgstr "" @@ -912,6 +1071,10 @@ msgstr "" msgid "Show gamma curve" msgstr "" +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "" + #. MENU_ITEM_SHOW_STANDARDOPTIONS msgid "Show standard options" msgstr "" @@ -964,6 +1127,10 @@ msgstr "" msgid "Rotate postscript" msgstr "" +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "" + #. MENU_ITEM_SAVE_DEVICE_SETTINGS msgid "Save device settings" msgstr "" @@ -976,8 +1143,12 @@ msgstr "" msgid "Change directory" msgstr "" -#. MENU_ITEM_XSANE_LICENSE -msgid "License" +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" msgstr "" #. MENU_ITEM_XSANE_DOC @@ -1028,6 +1199,26 @@ msgstr "" msgid "pack bits" msgstr "" +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "" + #. MENU_ITEM_LINEART_MODE_STANDARD msgid "Standard options window (lineart)" msgstr "" @@ -1052,20 +1243,24 @@ msgstr "" msgid "Add selection to list" msgstr "" -#. MENU_ITEM_PRESET_AREA_RENAME -msgid "Rename definiton" +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "" + +#. MENU_ITEM_RENAME +msgid "Rename item" msgstr "" -#. MENU_ITEM_PRESET_AREA_DELETE -msgid "Delete definition" +#. MENU_ITEM_DELETE +msgid "Delete item" msgstr "" -#. MENU_OTEM_PRESET_AREA_MOVE_UP -msgid "Move up" +#. MENU_ITEM_MOVE_UP +msgid "Move item up" msgstr "" -#. MENU_OTEM_PRESET_AREA_MOVE_DWN -msgid "Move down" +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" msgstr "" #. PROGRESS_SCANNING @@ -1117,6 +1312,10 @@ msgstr "" msgid "Bluring image" msgstr "" +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "" + #. DESC_SCAN_START msgid "Start scan " msgstr "" @@ -1135,12 +1334,17 @@ msgstr "" #. DESC_XSANE_MODE msgid "" -"save-, view-, photocopy-, fax- or " -"mail-" +"save-, view-, photocopy-, fax- or mail-" msgstr "" #. DESC_XSANE_MEDIUM -msgid "Select source medium type" +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." msgstr "" #. DESC_FILENAME_COUNTER_STEP @@ -1189,10 +1393,26 @@ msgstr "" msgid "Enter subject of email" msgstr "" -#. DESC_PRESET_AREA_NAME +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "" + +#. DESC_PRESET_AREA_RENAME msgid "Enter new name for preset area" msgstr "" +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "" + +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "" + +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "" + #. DESC_PRINTER_SELECT msgid "Select printerdefinition " msgstr "" @@ -1226,7 +1446,7 @@ msgid "Set number of copies" msgstr "" #. DESC_NEGATIVE -msgid "Negative: Invert colors for scanning negatives " +msgid "Negative: Invert colors for scanning negatives " msgstr "" #. DESC_GAMMA @@ -1284,30 +1504,30 @@ msgstr "" #. DESC_RGB_DEFAULT msgid "" "RGB default: Set enhancement values for red, green and blue to default " -"values :\n" +"values :\n" " gamma = 1.0\n" " brightness = 0\n" " contrast = 0" msgstr "" #. DESC_ENH_AUTO -msgid "Autoadjust gamma, brightness and contrast " +msgid "Autoadjust gamma, brightness and contrast " msgstr "" #. DESC_ENH_DEFAULT msgid "" -"Set default enhancement values :\n" +"Set default enhancement values :\n" "gamma = 1.0\n" "brightness = 0\n" "contrast = 0" msgstr "" #. DESC_ENH_RESTORE -msgid "Restore enhancement values from preferences " +msgid "Restore enhancement values from preferences " msgstr "" #. DESC_ENH_STORE -msgid "Store active enhancement values to preferences " +msgid "Store active enhancement values to preferences " msgstr "" #. DESC_HIST_INTENSITY @@ -1442,6 +1662,14 @@ msgid "" "If filename counter is automatically increased, used numbers are skipped" msgstr "" +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" + #. DESC_REDUCE_16BIT_TO_8BIT msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" msgstr "" @@ -1478,6 +1706,10 @@ msgstr "" msgid "Use an own colormap for preview if display depth is 8 bpp" msgstr "" +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "" + #. DESC_PREVIEW_OVERSAMPLING msgid "Value with that the calculated preview resolution is multiplied" msgstr "" @@ -1624,7 +1856,7 @@ msgid "Enter command to be executed to view a mail image" msgstr "" #. DESC_HTML_MAIL -msgid "Mail is sent in html mode, images are displayed directly" +msgid "Mail is sent in html mode, place image with: " msgstr "" #. DESC_OCR_COMMAND @@ -1639,6 +1871,19 @@ msgstr "" msgid "Enter option of the ocr program to define output file" msgstr "" +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" + #. DESC_PERMISSION_READ msgid "read" msgstr "" @@ -1651,6 +1896,10 @@ msgstr "" msgid "execute" msgstr "" +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "" + #. DESC_PIPETTE_WHITE msgid "Pick white point" msgstr "" @@ -1673,6 +1922,10 @@ msgid "Zoom 20% out" msgstr "" #. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "" + +#. DESC_ZOOM_AREA msgid "Zoom into selected area" msgstr "" @@ -1688,43 +1941,62 @@ msgstr "" msgid "Autoselect scanarea" msgstr "" +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "" + #. DESC_DELETE_IMAGES msgid "Delete preview image cache" msgstr "" #. DESC_PRESET_AREA -msgid "Preset area" +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." msgstr "" #. DESC_ROTATION msgid "Rotate preview and scan" msgstr "" +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "" + #. DESC_VIEWER_OCR msgid "Optical Character Recognition" msgstr "" +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "" + #. DESC_VIEWER_CLONE msgid "Clone image" msgstr "" -#. DESC_VIEWER_ROTATE90 +#. DESC_ROTATE90 msgid "Rotate image 90 degree" msgstr "" -#. DESC_VIEWER_ROTATE180 +#. DESC_ROTATE180 msgid "Rotate image 180 degree" msgstr "" -#. DESC_VIEWER_ROTATE270 +#. DESC_ROTATE270 msgid "Rotate image 270 degree" msgstr "" -#. DESC_VIEWER_MIRROR_X +#. DESC_MIRROR_X msgid "Mirror image at vertical axis" msgstr "" -#. DESC_VIEWER_MIRROR_Y +#. DESC_MIRROR_Y msgid "Mirror image at horizontal axis" msgstr "" @@ -1740,6 +2012,54 @@ msgstr "" msgid "Delete active medium" msgstr "" +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "" + #. ERR_HOME_DIR msgid "Failed to determine home directory:" msgstr "" @@ -1841,6 +2161,10 @@ msgstr "" msgid "LIBPNG reports error" msgstr "" +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "" + #. ERR_UNKNOWN_TYPE msgid "unknown type" msgstr "" @@ -1849,6 +2173,14 @@ msgstr "" msgid "unknown constraint type" msgstr "" +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" + #. ERR_FAILED_EXEC_DOC_VIEWER msgid "Failed to execute documentation viewer:" msgstr "" @@ -1955,6 +2287,10 @@ msgstr "" msgid "Information" msgstr "" +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "" + #. ERR_FAILED_CREATE_FILE msgid "Failed to create file:" msgstr "" @@ -2035,8 +2371,8 @@ msgid "" " -v, --version print version information\n" " -l, --license print license information\n" "\n" -" -d, --device-settings file load device settings from file (without " -"\".drc\")\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" "\n" " -V, --viewer start with viewer-mode active (default)\n" " -s, --save start with save-mode active\n" @@ -2045,8 +2381,6 @@ msgid "" " -m, --mail start with mail-mode active\n" " -n, --no-mode-selection disable menu for XSane mode selection\n" "\n" -" -M, --Medium-calibration enable medium calibration mode\n" -"\n" " -F, --Fixed fixed main window size (overwrite preferences " "value)\n" " -R, --Resizeable resizable, scrolled main window (overwrite " @@ -2090,6 +2424,18 @@ msgstr "" msgid "/Xtns/XSane/" msgstr "" +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" + #. strings that are used in structures, so it is not allowed to use _()/gettext() here #. gettext_noop does mark these texts but does not change the string #. MENU_ITEM_SURFACE_FULL_SIZE @@ -2160,8 +2506,8 @@ msgstr "" msgid "letter land." msgstr "" -#. MENU_ITEM_MEDIUM_FULL_RANGE -msgid "Full range" +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" msgstr "" #. MENU_ITEM_MEDIUM_SLIDE @@ -2204,6 +2550,74 @@ msgstr "" msgid "Rossmann negative HR 100" msgstr "" +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "" + +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "" + +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "" + +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "" + +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "" + +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "" + +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "" + #. Sane backend messages msgid "flatbed scanner" msgstr "" diff --git a/po/zh.gmo b/po/zh.gmo new file mode 100644 index 0000000..9e8d409 Binary files /dev/null and b/po/zh.gmo differ diff --git a/po/zh.po b/po/zh.po new file mode 100644 index 0000000..032741b --- /dev/null +++ b/po/zh.po @@ -0,0 +1,2708 @@ +# chines translation for xsane +# Copyright (C) 2004 +# leolarrel +# +msgid "" +msgstr "" +"Project-Id-Version: XSANE 0.96\n" +"POT-Creation-Date: 2004-08-21 15:31+0200\n" +"PO-Revision-Date: 2003-03-27 12:00+0100\n" +"Last-Translator: Wang leolarrel \n" +"Language-Team: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=BIG5\n" +"Content-Transfer-Encoding: 16bit\n" + +#. Please translate this to the correct directory name (eg. german=>de) +#. XSANE_LANGUAGE_DIR +msgid "language_dir" +msgstr "zh_TW" + +#. XSANE_COPYRIGHT_SIGN +msgid "(c)" +msgstr "(c)" + +#. can be translated with \251 +#. FILENAME_PREFIX_CLONE_OF +msgid "clone-of-" +msgstr "" + +#. WINDOW_ABOUT_XSANE +msgid "About" +msgstr "" + +#. WINDOW_ABOUT_TRANSLATION, MENU_ITEM_ABOUT_TRANSLATION +msgid "About translation" +msgstr "½Ķ" + +#. WINDOW_AUTHORIZE +msgid "authorization" +msgstr "v" + +#. WINDOW_GPL +msgid "GPL - the license" +msgstr "" + +#. WINDOW_EULA +msgid "End User License Agreement" +msgstr "׺ݨϥΪ̱" + +#. WINDOW_INFO +msgid "info" +msgstr "T" + +#. WINDOW_LOAD_BATCH_LIST +msgid "load batch list" +msgstr "J妸C" + +#. WINDOW_SAVE_BATCH_LIST +msgid "save batch list" +msgstr "xs妸C" + +#. WINDOW_BATCH_SCAN +msgid "batch scan" +msgstr "妸y" + +#. WINDOW_BATCH_RENAME +msgid "rename batch area" +msgstr "W妸" + +#. WINDOW_FAX_PROJECT +msgid "fax project" +msgstr "ǯuM" + +#. WINDOW_FAX_RENAME +msgid "rename fax page" +msgstr "WǯuM" + +#. WINDOW_FAX_INSERT +msgid "insert ps-file into fax" +msgstr "Jpsɮרǯu" + +#. WINDOW_MAIL_PROJECT +msgid "mail project" +msgstr "qllM" + +#. WINDOW_MAIL_RENAME +msgid "rename mail image" +msgstr "WqllM" + +#. WINDOW_MAIL_INSERT +msgid "insert file into mail" +msgstr "Jɮרqll" + +#. WINDOW_PRESET_AREA_RENAME +msgid "rename preset area" +msgstr "Ww]" + +# +#. WINDOW_PRESET_AREA_ADD +msgid "add preset area" +msgstr "Ww]" + +# +#. WINDOW_MEDIUM_RENAME +msgid "rename medium" +msgstr "WqllM" + +#. WINDOW_MEDIUM_ADD +msgid "add new medium" +msgstr "" + +#. WINDOW_SETUP +msgid "setup" +msgstr "]w" + +#. WINDOW_HISTOGRAM +msgid "Histogram" +msgstr "xι" + +#. WINDOW_GAMMA +msgid "Gamma curve" +msgstr "Gamma u" + +#. WINDOW_STANDARD_OPTIONS +msgid "Standard options" +msgstr "򥻿ﶵ" + +#. WINDOW_ADVANCED_OPTIONS +msgid "Advanced options" +msgstr "iﶵ" + +#. WINDOW_DEVICE_SELECTION +msgid "device selection" +msgstr "˸m" + +#. WINDOW_PREVIEW +msgid "Preview" +msgstr "w" + +#. WINDOW_VIEWER +msgid "Viewer" +msgstr "˵" + +#. WINDOW_VIEWER_OUTPUT_FILENAME +msgid "Viewer: select output filename" +msgstr "˵:ܿXɦW" + +#. WINDOW_OCR_OUTPUT_FILENAME +msgid "Select output filename for OCR text file" +msgstr "OCRrɿܿXɦW" + +#. WINDOW_OUTPUT_FILENAME +msgid "select output filename" +msgstr "ܿXɦW" + +#. WINDOW_SAVE_SETTINGS +msgid "save device settings" +msgstr "xs˸mﶵ" + +#. WINDOW_LOAD_SETTINGS +msgid "load device settings" +msgstr "J˸mﶵ" + +#. WINDOW_CHANGE_WORKING_DIR +msgid "change working directory" +msgstr "u@ؿ" + +#. WINDOW_TMP_PATH +msgid "select temporary directory" +msgstr "ܼȦsؿ" + +#. WINDOW_SCALE +msgid "Scale image" +msgstr "վv" + +#. WINDOW_DESPECKLE +msgid "Despeckle image" +msgstr "" + +#. WINDOW_BLUR +msgid "Blur image" +msgstr "ҽkv" + +#. WINDOW_STORE_MEDIUM +msgid "Store medium definition" +msgstr "xsҳ]w" + +#. WINDOW_NO_DEVICES +msgid "No devices available" +msgstr "S˸miHϥ" + +#. MENU_FILE +msgid "File" +msgstr "ɮ" + +#. MENU_PREFERENCES +msgid "Preferences" +msgstr "n]w" + +#. MENU_VIEW +msgid "View" +msgstr "˵" + +#. MENU_WINDOW +msgid "Window" +msgstr "" + +#. MENU_HELP +msgid "Help" +msgstr "U" + +#. MENU_EDIT +msgid "Edit" +msgstr "s" + +#. MENU_FILTERS +msgid "Filters" +msgstr "Lo" + +#. MENU_GEOMETRY +msgid "Geometry" +msgstr "" + +#. MENU_ITEM_ABOUT_XSANE +msgid "About XSane" +msgstr "Xsane" + +#. MENU_ITEM_INFO +msgid "Info" +msgstr "T" + +#. MENU_ITEM_QUIT +msgid "Quit" +msgstr "}" + +#. MENU_ITEM_SAVE_IMAGE +msgid "Save image" +msgstr "xsv" + +#. MENU_ITEM_OCR +msgid "OCR - save as text" +msgstr "OCR - sr" + +#. MENU_ITEM_CLONE +msgid "Clone" +msgstr "ƻs" + +#. MENU_ITEM_SCALE +msgid "Scale" +msgstr "վ" + +#. MENU_ITEM_CLOSE +msgid "Close" +msgstr "" + +#. MENU_ITEM_UNDO +msgid "Undo" +msgstr "^" + +#. MENU_ITEM_DESPECKLE +msgid "Despeckle" +msgstr "" + +#. MENU_ITEM_BLUR +msgid "Blur" +msgstr "ҽk" + +#. MENU_ITEM_ROTATE90 +msgid "Rotate 90" +msgstr " 90" + +# +#. MENU_ITEM_ROTATE180 +msgid "Rotate 180" +msgstr "180" + +# +#. MENU_ITEM_ROTATE270 +msgid "Rotate 270" +msgstr "270" + +# +#. MENU_ITEM_MIRROR_X +msgid "Mirror |" +msgstr "" + +# +#. MENU_ITEM_MIRROR_Y +msgid "Mirror -" +msgstr "" + +#. FRAME_RAW_IMAGE +msgid "Raw image" +msgstr "ڼv" + +#. FRAME_ENHANCED_IMAGE +msgid "Enhanced image" +msgstr "Wjv" + +#. BUTTON_SCAN +msgid "Scan" +msgstr "y" + +#. BUTTON_OK +msgid "Ok" +msgstr "OK" + +#. BUTTON_ACCEPT +msgid "Accept" +msgstr "" + +#. BUTTON_NOT_ACCEPT +msgid "Not accept" +msgstr "" + +#. BUTTON_APPLY +msgid "Apply" +msgstr "M" + +#. BUTTON_CANCEL +msgid "Cancel" +msgstr "" + +#. BUTTON_REDUCE +msgid "Reduce" +msgstr "٭" + +#. BUTTON_CONT_AT_OWN_RISK +msgid "Continue at your own risk" +msgstr "~Aۤv_I" + +#. BUTTON_BROWSE +msgid "Browse" +msgstr "s" + +#. BUTTON_OVERWRITE +msgid "Overwrite" +msgstr "мg" + +#. BUTTON_BATCH_LIST_SCAN +msgid "Scan batch list" +msgstr "y妸C" + +#. BUTTON_BATCH_AREA_SCAN +msgid "Scan selected area" +msgstr "yܪϰ" + +#. BUTTON_PAGE_DELETE +msgid "Delete page" +msgstr "R" + +#. BUTTON_PAGE_SHOW +msgid "Show page" +msgstr "ܭ" + +#. BUTTON_PAGE_RENAME +msgid "Rename page" +msgstr "W" + +#. BUTTON_IMAGE_DELETE +msgid "Delete image" +msgstr "Rv" + +#. BUTTON_IMAGE_SHOW +msgid "Show image" +msgstr "ܼv" + +# +#. BUTTON_IMAGE_EDIT +msgid "Edit image" +msgstr "sv" + +#. BUTTON_IMAGE_RENAME +msgid "Rename image" +msgstr "Wv" + +#. BUTTON_FILE_INSERT +msgid "Insert file" +msgstr "Jɮ" + +#. BUTTON_CREATE_PROJECT +msgid "Create project" +msgstr "إ߱M" + +#. BUTTON_SEND_PROJECT +msgid "Send project" +msgstr "ǰeM" + +#. BUTTON_DELETE_PROJECT +msgid "Delete project" +msgstr "RM" + +#. BUTTON_ADD_PRINTER +msgid "Add printer" +msgstr "W[C" + +#. BUTTON_DELETE_PRINTER +msgid "Delete printer" +msgstr "RC" + +#. BUTTON_PREVIEW_ACQUIRE +msgid "Acquire preview" +msgstr "ow" + +#. BUTTON_PREVIEW_CANCEL +msgid "Cancel preview" +msgstr "Rw" + +#. BUTTON_DISCARD_IMAGE +msgid "Discard image" +msgstr "߱w" + +#. BUTTON_DISCARD_ALL_IMAGES +msgid "Discard all images" +msgstr "߱Ҧv" + +#. BUTTON_DO_NOT_CLOSE +msgid "Do not close" +msgstr "n" + +#. BUTTON_SCALE_BIND +msgid "Bind scale" +msgstr "" + +#. RADIO_BUTTON_FINE_MODE +msgid "Fine mode" +msgstr "" + +#. RADIO_BUTTON_HTML_MAIL +msgid "HTML mail" +msgstr "HTMLl" + +#. RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT +msgid "Save device preferences at exit" +msgstr "}xs˸mn]w" + +#. RADIO_BUTTON_OVERWRITE_WARNING +msgid "Overwrite warning" +msgstr "мgĵi" + +#. RADIO_BUTTON_SKIP_EXISTING_NRS +msgid "Skip existing filenames" +msgstr "ٲwsbɮ" + +#. RADIO_BUTTON_SAVE_PNM16_AS_ASCII +msgid "Save 16bit pnm in ascii format" +msgstr "xs16줸pnmbascii榡" + +#. RADIO_BUTTON_REDUCE_16BIT_TO_8BIT +msgid "Reduce 16 bit image to 8 bit" +msgstr "²16줸v8줸" + +#. RADIO_BUTTON_WINDOW_FIXED +msgid "Main window size fixed" +msgstr "DjpTw" + +#. RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable gimp preview gamma" +msgstr "gimpwgamma" + +#. RADIO_BUTTON_PRIVATE_COLORMAP +msgid "Use private colormap" +msgstr "ϥΥecolormap" + +#. RADIO_BUTTON_AUTOENHANCE_GAMMA +msgid "Autoenhance gamma" +msgstr "۰ʼWjgamma" + +#. RADIO_BUTTON_PRESELECT_SCANAREA +msgid "Preselect scanarea" +msgstr "wܱy" + +#. RADIO_BUTTON_AUTOCORRECT_COLORS +msgid "Autocorrect colors" +msgstr "۰ʭץC" + +#. RADIO_BUTTON_POP3_AUTHENTIFICATION +msgid "POP3 authentification" +msgstr "" + +#. RADIO_BUTTON_OCR_USE_GUI_PIPE +msgid "Use GUI progress pipe" +msgstr "" + +#. TEXT_SCANNING_DEVICES +msgid "scanning for devices" +msgstr "˸my" + +#. TEXT_AVAILABLE_DEVICES +msgid "Available devices:" +msgstr "iΪ˸m:" + +#. TEXT_XSANE_OPTIONS +msgid "XSane options" +msgstr "XSane ﶵ" + +#. TEXT_XSANE_MODE +msgid "XSane mode" +msgstr "XSane Ҧ" + +#. TEXT_FILENAME_COUNTER_STEP +msgid "Step" +msgstr "BJ" + +#. TEXT_FILETYPE +msgid "Type" +msgstr "A" + +#. TEXT_SCANNER_BACKEND +msgid "Scanner and backend:" +msgstr "yMXʵ{:" + +#. TEXT_VENDOR +msgid "Vendor:" +msgstr "Ѫ:" + +#. TEXT_MODEL +msgid "Model:" +msgstr "˦:" + +#. TEXT_TYPE +msgid "Type:" +msgstr "A:" + +#. TEXT_DEVICE +msgid "Device:" +msgstr "˸m:" + +#. TEXT_LOADED_BACKEND +msgid "Loaded backend:" +msgstr "JXʵ{:" + +#. TEXT_SANE_VERSION +msgid "Sane version:" +msgstr "Sane:" + +#. TEXT_RECENT_VALUES +msgid "Recent values:" +msgstr "̪񪺭:" + +#. TEXT_GAMMA_CORR_BY +msgid "Gamma correction by:" +msgstr "Gammaե:" + +#. TEXT_SCANNER +msgid "scanner" +msgstr "y" + +#. TEXT_SOFTWARE_XSANE +msgid "software (XSane)" +msgstr "n(XSane)" + +#. TEXT_NONE +msgid "none" +msgstr "L" + +#. TEXT_GAMMA_INPUT_DEPTH +msgid "Gamma input depth:" +msgstr "GammaJ`" + +#. TEXT_GAMMA_OUTPUT_DEPTH +msgid "Gamma output depth:" +msgstr "GammaX`" + +#. TEXT_SCANNER_OUTPUT_DEPTH +msgid "Scanner output depth:" +msgstr "yX`" + +#. TEXT_OUTPUT_FORMATS +msgid "XSane output formats:" +msgstr "XSaneX榡" + +#. TEXT_8BIT_FORMATS +msgid "8 bit output formats:" +msgstr "8줸X榡" + +#. TEXT_16BIT_FORMATS +msgid "16 bit output formats:" +msgstr "16줸X榡" + +#. TEXT_GIMP_REDUCE_16BIT_TO_8BIT +msgid "" +"Gimp does not support depth 16 bits/color.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"Gimp 䴩 16줸/m `\n" +"AQn²Ʀ8 줸/m `׶?" + +#. TEXT_REDUCE_16BIT_TO_8BIT +msgid "" +"Bit depth 16 bits/color is not supported for this output format.\n" +"Do you want to reduce the depth to 8 bits/color?" +msgstr "" +"X榡䴩16줸/m `\n" +"AQn²Ʀ8 줸/m `׶?" + +#. TEXT_AUTHORIZATION_REQ +msgid "Authorization required for" +msgstr "" + +#. TEXT_AUTHORIZATION_SECURE +msgid "Password transmission is secure" +msgstr "KXoeOw" + +#. TEXT_AUTHORIZATION_INSECURE +msgid "Backend requests plain-text password" +msgstr "Xʵ{ݭn¤rKX" + +#. TEXT_USERNAME +msgid "Username :" +msgstr "ϥΪ̦W" + +#. TEXT_PASSWORD +msgid "Password :" +msgstr "KX" + +#. TEXT_INVALID_PARAMS +msgid "Invalid parameters." +msgstr "LĪѼ" + +#. TEXT_VERSION +msgid "version:" +msgstr "" + +#. TEXT_PACKAGE +msgid "package" +msgstr "]" + +#. TEXT_WITH_GIMP_SUPPORT +msgid "with GIMP support" +msgstr "GIMP䴩" + +#. TEXT_WITHOUT_GIMP_SUPPORT +msgid "without GIMP support" +msgstr "SGIMP䴩" + +#. TEXT_GTK_VERSION +msgid "compiled with GTK-" +msgstr "" + +#. TEXT_GIMP_VERSION +msgid "compiled with GIMP-" +msgstr "" + +#. TEXT_UNKNOWN +msgid "unknown" +msgstr "" + +#. TEXT_EULA +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +"Should the program prove defective, you assume the cost of all\n" +"necessary servicing, repair or correction. To use this program you\n" +"have to read, understand and accept the following\n" +"\"NO WARRANTY\" agreement.\n" +msgstr "" + +#. TEXT_GPL +msgid "" +"XSane is distributed under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2 of the\n" +"License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful, but\n" +"WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" +msgstr "" + +#. TEXT_EMAIL +msgid "Email:" +msgstr "qll" + +#. TEXT_HOMEPAGE +msgid "Homepage:" +msgstr "" + +#. TEXT_FILE +msgid "File:" +msgstr "ɮ" + +#. TEXT_TRANSLATION +msgid "Translation:" +msgstr "½Ķ" + +#. Please translate this to something like +#. translation to YOUR LANGUAGE\n +#. by YOUR NAME\n +#. Email: your.name@yourdomain.com\n +#. TEXT_TRANSLATION_INFO +msgid "" +"untranslated original english text\n" +"by Oliver Rauch\n" +"Email: Oliver.Rauch@rauch-domain.de\n" +msgstr "" +"½Ķ: ģ\n" +"p½ĶD,Ϊ̱zK½k,ХѤUC e-mail p\n" +"leolarrel@yahoo.com.tw\n" + +#. TEXT_INFO_BOX +msgid "0x0: 0KB" +msgstr "" + +#. TEXT_ADF_PAGES_SCANNED +msgid "Scanned pages: " +msgstr "y" + +#. TEXT_MAIL_TEXT +msgid "Email text:" +msgstr "l󪺤e" + +#. TEXT_ATTACHMENTS +msgid "Attachments:" +msgstr "" + +#. TEXT_MAIL_STATUS +msgid "Project status:" +msgstr "MתA" + +#. TEXT_MAIL_FILETYPE +msgid "Mail image filetype:" +msgstr "Hvɮ׫A:" + +#. TEXT_MEDIUM_DEFINITION_NAME +msgid "Medium Name:" +msgstr "ҦW" + +#. TEXT_VIEWER_IMAGE_INFO +#, c-format +msgid "" +"Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s" +msgstr "" +"jp %d x %d , %d bit/color, %d , %1.0f dpi x %1.0f dpi, %1.1f %s" + +#. TEXT_DESPECKLE_RADIUS +msgid "Despeckle radius:" +msgstr "" + +#. TEXT_BLUR_RADIUS +msgid "Blur radius:" +msgstr "ҽkb|" + +#. TEXT_BATCH_AREA_DEFAULT_NAME +msgid "(no name)" +msgstr "" + +#. TEXT_BATCH_LIST_AREANAME +msgid "Area name:" +msgstr "ϰW" + +#. TEXT_BATCH_LIST_SCANMODE +msgid "Scanmode:" +msgstr "yҦ" + +#. TEXT_BATCH_LIST_GEOMETRY_TL +msgid "Top left:" +msgstr "W" + +#. TEXT_BATCH_LIST_GEOMETRY_SIZE +msgid "Size:" +msgstr "jp" + +#. TEXT_BATCH_LIST_RESOLUTION +msgid "Resolution:" +msgstr "ѪR" + +#. TEXT_BATCH_LIST_BIT_DEPTH +msgid "Bit depth:" +msgstr "줸`" + +#. TEXT_BATCH_LIST_BY_GUI +msgid "as selected" +msgstr "" + +#. TEXT_SETUP_PRINTER_SEL +msgid "Printer selection:" +msgstr "C" + +#. TEXT_SETUP_PRINTER_NAME +msgid "Name:" +msgstr "W" + +#. TEXT_SETUP_PRINTER_CMD, TEXT_SETUP_FAX_CMD +msgid "Command:" +msgstr "RO" + +#. TEXT_SETUP_COPY_NR_OPT +msgid "Copy number option:" +msgstr "" + +#. TEXT_SETUP_PRINTER_LINEART_RES +msgid "Lineart resolution (dpi):" +msgstr "" + +#. TEXT_SETUP_PRINTER_GRAYSCALE_RES +msgid "Grayscale resolution (dpi):" +msgstr "" + +#. TEXT_SETUP_PRINTER_COLOR_RES +msgid "Color resolution (dpi):" +msgstr "mѪR (dpi):" + +#. TEXT_SETUP_PRINTER_WIDTH +msgid "Width" +msgstr "e" + +#. TEXT_SETUP_PRINTER_HEIGHT +msgid "Height" +msgstr "" + +#. TEXT_SETUP_PRINTER_LEFT +msgid "Left offset" +msgstr "tZ" + +#. TEXT_SETUP_PRINTER_BOTTOM +msgid "Bottom offset" +msgstr "UtZ" + +#. TEXT_SETUP_PRINTER_GAMMA +msgid "Printer gamma value:" +msgstr "Cgamma" + +#. TEXT_SETUP_PRINTER_GAMMA_RED +msgid "Printer gamma red:" +msgstr "C gamma" + +#. TEXT_SETUP_PRINTER_GAMMA_GREEN +msgid "Printer gamma green:" +msgstr "C gamma" + +#. TEXT_SETUP_PRINTER_GAMMA_BLUE +msgid "Printer gamma blue:" +msgstr "C Ŧgamma" + +#. TEXT_SETUP_TMP_PATH +msgid "Temporary directory" +msgstr "Ȧsؿ" + +#. TEXT_SETUP_IMAGE_PERMISSION +msgid "Image-file permissions" +msgstr "vɮv" + +#. TEXT_SETUP_DIR_PERMISSION +msgid "Directory permissions" +msgstr "ؿv" + +#. TEXT_SETUP_JPEG_QUALITY +msgid "JPEG image quality" +msgstr "JPEGv~" + +#. TEXT_SETUP_PNG_COMPRESSION +msgid "PNG image compression" +msgstr "PNGvY" + +#. TEXT_SETUP_FILENAME_COUNTER_LEN +msgid "Filename counter length" +msgstr "ɦWpƪ" + +#. TEXT_SETUP_TIFF_COMPRESSION_16 +msgid "TIFF 16 bit image compression" +msgstr "TIFF 16 줸vY" + +#. TEXT_SETUP_TIFF_COMPRESSION_8 +msgid "TIFF 8 bit image compression" +msgstr "TIFF 8 줸vY" + +#. TEXT_SETUP_TIFF_COMPRESSION_1 +msgid "TIFF lineart image compression" +msgstr "" + +#. TEXT_SETUP_SHOW_RANGE_MODE +msgid "Show range as:" +msgstr "ܽdb" + +#. TEXT_SETUP_PREVIEW_OVERSAMPLING +msgid "Preview oversampling:" +msgstr "" + +#. TEXT_SETUP_PREVIEW_GAMMA +msgid "Preview gamma:" +msgstr "wgamma" + +#. TEXT_SETUP_PREVIEW_GAMMA_RED +msgid "Preview gamma red:" +msgstr "w gamma" + +#. TEXT_SETUP_PREVIEW_GAMMA_GREEN +msgid "Preview gamma green:" +msgstr "w gamma" + +#. TEXT_SETUP_PREVIEW_GAMMA_BLUE +msgid "Preview gamma blue:" +msgstr "w Ŧgamma" + +#. TEXT_SETUP_LINEART_MODE +msgid "Threshold option:" +msgstr "ɿﶵ:" + +#. TEXT_SETUP_ADF_MODE +msgid "Automatic Document Feeder Modus:" +msgstr "" + +#. TEXT_SETUP_PREVIEW_PIPETTE_RANGE +msgid "Preview pipette range" +msgstr "wld" + +#. TEXT_SETUP_THRESHOLD_MIN +msgid "Threshold minimum:" +msgstr "̤p" + +#. TEXT_SETUP_THRESHOLD_MAX +msgid "Threshold maximum:" +msgstr "̤j" + +#. TEXT_SETUP_THRESHOLD_MUL +msgid "Threshold multiplier:" +msgstr "" + +#. TEXT_SETUP_THRESHOLD_OFF +msgid "Threshold offset:" +msgstr "ɮtZ" + +#. TEXT_SETUP_GRAYSCALE_SCANMODE +msgid "Name of grayscale scanmode:" +msgstr "DZվ㱽yҦW" + +#. TEXT_SETUP_HELPFILE_VIEWER +msgid "Helpfile viewer (HTML):" +msgstr "ϧU˵(HTML)" + +#. TEXT_SETUP_FAX_RECEIVER_OPTION +msgid "Receiver option:" +msgstr "ﶵ" + +#. TEXT_SETUP_FAX_POSTSCRIPT_OPT +msgid "Postscriptfile option:" +msgstr "Postscriptɮ׿ﶵ" + +#. TEXT_SETUP_FAX_NORMAL_MODE_OPT +msgid "Normal mode option:" +msgstr "`Ҧﶵ" + +#. TEXT_SETUP_FAX_FINE_MODE_OPT +msgid "Fine mode option:" +msgstr "" + +#. TEXT_SETUP_FAX_PROGRAM_DEFAULTS +msgid "Set program defaults for:" +msgstr "" + +#. TEXT_SETUP_FAX_VIEWER +msgid "Viewer (Postscript):" +msgstr "˵(Postscript)" + +#. TEXT_SETUP_SMTP_SERVER +msgid "SMTP server:" +msgstr "SMTPA:" + +#. TEXT_SETUP_SMTP_PORT +msgid "SMTP port:" +msgstr "SMTPqT:" + +#. TEXT_SETUP_MAIL_FROM +msgid "From:" +msgstr "q" + +#. TEXT_SETUP_MAIL_REPLY_TO +msgid "Reply to:" +msgstr "^Ш" + +#. TEXT_SETUP_POP3_SERVER +msgid "POP3 server:" +msgstr "POP3 A:" + +#. TEXT_SETUP_POP3_PORT +msgid "POP3 port:" +msgstr "POP3qT:" + +#. TEXT_SETUP_POP3_USER +msgid "POP3 user:" +msgstr "POP3 b:" + +#. TEXT_SETUP_POP3_PASS +msgid "POP3 password:" +msgstr "POP3KX:" + +#. TEXT_SETUP_MAIL_VIEWER +msgid "Viewer (png):" +msgstr "˵(png)" + +#. TEXT_SETUP_OCR_COMMAND +msgid "OCR Command:" +msgstr "OCR RO" + +#. TEXT_SETUP_OCR_INPUTFILE_OPT +msgid "Inputfile option:" +msgstr "Jɿﶵ" + +#. TEXT_SETUP_OCR_OUTPUTFILE_OPT +msgid "Outputfile option:" +msgstr "Xɿﶵ" + +#. TEXT_SETUP_OCR_USE_GUI_PIPE_OPT +msgid "Use GUI progress pipe:" +msgstr "" + +#. TEXT_SETUP_OCR_OUTFD_OPT +msgid "GUI output-fd option:" +msgstr "" + +#. TEXT_SETUP_OCR_PROGRESS_KEYWORD +msgid "Progress keyword:" +msgstr "" + +#. TEXT_SETUP_PERMISSION_USER +msgid "user" +msgstr "ϥΪ" + +#. TEXT_SETUP_PERMISSION_GROUP +msgid "group" +msgstr "s" + +#. TEXT_SETUP_PERMISSION_ALL +msgid "all" +msgstr "Ҧ" + +msgid "new media" +msgstr "" + +#. NOTEBOOK_SAVING_OPTIONS +msgid "Save" +msgstr "xs" + +#. NOTEBOOK_IMAGE_OPTIONS +msgid "Image" +msgstr "v" + +#. NOTEBOOK_COPY_OPTIONS +msgid "Copy" +msgstr "ƻs" + +#. NOTEBOOK_FAX_OPTIONS +msgid "Fax" +msgstr "ǯu" + +#. NOTEBOOK_MAIL_OPTIONS +msgid "Mail" +msgstr "qll" + +#. NOTEBOOK_OCR_OPTIONS +msgid "OCR" +msgstr "OCR" + +#. NOTEBOOK_DISPLAY_OPTIONS +msgid "Display" +msgstr "" + +#. NOTEBOOK_ENHANCE_OPTIONS +msgid "Enhancement" +msgstr "Wj" + +#. MENU_ITEM_MAIL +msgid "Email" +msgstr "qll" + +#. MENU_ITEM_SHOW_TOOLTIPS +msgid "Show tooltips" +msgstr "ܧֳt" + +#. MENU_ITEM_SHOW_PREVIEW +msgid "Show preview" +msgstr "ܹw" + +#. MENU_ITEM_SHOW_HISTOGRAM +msgid "Show histogram" +msgstr "ܯxι" + +#. MENU_ITEM_SHOW_GAMMA +msgid "Show gamma curve" +msgstr "gammau" + +#. MENU_ITEM_SHOW_BATCH_SCAN +msgid "Show batch scan" +msgstr "ܧ妸y" + +#. MENU_ITEM_SHOW_STANDARDOPTIONS +msgid "Show standard options" +msgstr "ܰ򥻿ﶵ" + +#. MENU_ITEM_SHOW_ADVANCEDOPTIONS +msgid "Show advanced options" +msgstr "ܶiﶵ" + +#. MENU_ITEM_SETUP +msgid "Setup" +msgstr "]w" + +#. MENU_ITEM_LENGTH_UNIT +msgid "Length unit" +msgstr "׳" + +#. SUBMENU_ITEM_LENGTH_MILLIMETERS +msgid "millimeters" +msgstr "" + +#. SUBMENU_ITEM_LENGTH_CENTIMETERS +msgid "centimeters" +msgstr "" + +#. SUBMENU_ITEM_LENGTH_INCHES +msgid "inches" +msgstr "^T" + +#. MENU_ITEM_UPDATE_POLICY +msgid "Update policy" +msgstr "sF" + +#. SUBMENU_ITEM_POLICY_CONTINUOUS +msgid "continuous" +msgstr "~" + +#. SUBMENU_ITEM_POLICY_DISCONTINU +msgid "discontinuous" +msgstr "~" + +#. SUBMENU_ITEM_POLICY_DELAYED +msgid "delayed" +msgstr "" + +#. MENU_ITEM_SHOW_RESOLUTIONLIST +msgid "Show resolution list" +msgstr "ܸѪRצC" + +#. MENU_ITEM_PAGE_ROTATE +msgid "Rotate postscript" +msgstr "" + +# +#. MENU_ITEM_EDIT_MEDIUM_DEF +msgid "Edit medium definition" +msgstr "xsҳ]w" + +#. MENU_ITEM_SAVE_DEVICE_SETTINGS +msgid "Save device settings" +msgstr "xs˸m]w" + +#. MENU_ITEM_LOAD_DEVICE_SETTINGS +msgid "Load device settings" +msgstr "J˸m]w" + +#. MENU_ITEM_CHANGE_WORKING_DIR +msgid "Change directory" +msgstr "ؿ" + +#. MENU_ITEM_XSANE_EULA +msgid "Show EULA" +msgstr "" + +#. MENU_ITEM_XSANE_GPL +msgid "Show license (GPL)" +msgstr "" + +#. MENU_ITEM_XSANE_DOC +msgid "XSane doc" +msgstr "Xsane" + +#. MENU_ITEM_BACKEND_DOC +msgid "Backend doc" +msgstr "Xʵ{" + +#. MENU_ITEM_AVAILABLE_BACKENDS +msgid "Available backends" +msgstr "iΪXʵ{" + +# +#. MENU_ITEM_SCANTIPS +msgid "Scantips" +msgstr "" + +#. MENU_ITEM_PROBLEMS +msgid "Problems?" +msgstr "D?" + +#. MENU_ITEM_COUNTER_LEN_INACTIVE +msgid "inactive" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_NONE +msgid "no compression" +msgstr "Y" + +#. MENU_ITEM_TIFF_COMP_CCITTRLE +msgid "CCITT 1D Huffman compression" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_CCITFAX3 +msgid "CCITT Group 3 Fax compression" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_CCITFAX4 +msgid "CCITT Group 4 Fax compression" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_JPEG +msgid "JPEG DCT compression" +msgstr "" + +#. MENU_ITEM_TIFF_COMP_PACKBITS +msgid "pack bits" +msgstr "" + +#. MENU_ITEM_RANGE_SCALE +msgid "Slider (Scale)" +msgstr "ƴ(Scale)" + +#. MENU_ITEM_RANGE_SCROLLBAR +msgid "Slider (Scrollbar)" +msgstr "ƴ(Scrollbar)" + +#. MENU_ITEM_RANGE_SPINBUTTON +msgid "Spinbutton" +msgstr "Lձ۶s" + +#. MENU_ITEM_RANGE_SCALE_SPIN +msgid "Scale and Spinbutton" +msgstr "ƴλPLձ۶s" + +#. MENU_ITEM_RANGE_SCROLL_SPIN +msgid "Scrollbar and Spinbutton" +msgstr "bPLձ۶s" + +#. MENU_ITEM_LINEART_MODE_STANDARD +msgid "Standard options window (lineart)" +msgstr "򥻿ﶵ(lineart)" + +#. MENU_ITEM_LINEART_MODE_XSANE +msgid "XSane main window (lineart)" +msgstr "XSane D(lineart)" + +#. MENU_ITEM_LINEART_MODE_GRAY +msgid "XSane main window (grayscale->lineart)" +msgstr "XSane D(grayscale->lineart)" + +#. MENU_ITEM_SELECTION_NONE +msgid "(none)" +msgstr "L" + +#. MENU_ITEM_FILETYPE_BY_EXT +msgid "by ext" +msgstr "" + +#. MENU_ITEM_PRESET_AREA_ADD_SEL +msgid "Add selection to list" +msgstr "W[ܨC" + +# +#. MENU_ITEM_MEDIUM_ADD +msgid "Add medium definition" +msgstr "xsҳ]w" + +# +#. MENU_ITEM_RENAME +msgid "Rename item" +msgstr "Wv" + +# +#. MENU_ITEM_DELETE +msgid "Delete item" +msgstr "RC" + +# +#. MENU_ITEM_MOVE_UP +msgid "Move item up" +msgstr "W" + +# +#. MENU_ITEM_MOVE_DWN +msgid "Move item down" +msgstr "U" + +#. PROGRESS_SCANNING +msgid "Scanning" +msgstr "y" + +#. PROGRESS_RECEIVING_FRAME_DATA +#, c-format +msgid "Receiving %s data" +msgstr "%s" + +#. PROGRESS_TRANSFERING_DATA +msgid "Transfering image" +msgstr "ǿv" + +#. PROGRESS_ROTATING_DATA +msgid "Rotating image" +msgstr "ʼv" + +#. PROGRESS_MIRRORING_DATA +msgid "Mirroring image" +msgstr "Mgv" + +#. PROGRESS_PACKING_DATA +msgid "Packing image" +msgstr "]v" + +#. PROGRESS_CONVERTING_DATA +msgid "Converting image" +msgstr "" + +#. PROGRESS_SAVING_DATA +msgid "Saving image" +msgstr "xsv" + +#. PROGRESS_CLONING_DATA +msgid "Cloning image" +msgstr "ƻsv" + +#. PROGRESS_SCALING_DATA +msgid "Scaling image" +msgstr "վv" + +#. PROGRESS_DESPECKLING_DATA +msgid "Despeckling image" +msgstr "" + +#. PROGRESS_BLURING_DATA +msgid "Bluring image" +msgstr "ҽkv" + +#. PROGRESS_OCR +msgid "OCR in progress" +msgstr "" + +#. DESC_SCAN_START +msgid "Start scan " +msgstr "}ly" + +#. DESC_SCAN_CANCEL +msgid "Cancel scan " +msgstr "y" + +#. DESC_PREVIEW_ACQUIRE +msgid "Acquire preview scan " +msgstr "owv" + +#. DESC_PREVIEW_CANCEL +msgid "Cancel preview scan " +msgstr "wv" + +#. DESC_XSANE_MODE +msgid "" +"save-, view-, photocopy-, fax- or mail-" +msgstr "" + +#. DESC_XSANE_MEDIUM +msgid "" +"Select source medium type.\n" +"To rename, reorder or delete an entry use context menu (right mouse " +"button).\n" +"To create a medium enable the option edit medium definition in preferences " +"menu." +msgstr "" + +#. DESC_FILENAME_COUNTER_STEP +msgid "Value that is added to filenamecounter after scan" +msgstr "" + +#. DESC_BROWSE_FILENAME +msgid "Browse for image filename" +msgstr "vɮs" + +#. DESC_FILENAME +msgid "Filename for scanned image" +msgstr "˹LvɮצW" + +#. DESC_FILETYPE +msgid "" +"Type of image format, the suitable filename extension is automatically added " +"to the filename" +msgstr "" + +#. DESC_FAXPROJECT +msgid "Enter name of fax project" +msgstr "JǯuMתW" + +#. DESC_FAXPAGENAME +msgid "Enter new name for faxpage" +msgstr "JǯuMתsW" + +#. DESC_FAXRECEIVER +msgid "Enter receiver phone number or address" +msgstr "JqܸXΦ}" + +#. DESC_MAILPROJECT +msgid "Enter name of mail project" +msgstr "JlMתW" + +#. DESC_MAILIMAGENAME +msgid "Enter new name for mail image" +msgstr "JlMתsW" + +#. DESC_MAILRECEIVER +msgid "Enter email address" +msgstr "Jl}" + +#. DESC_MAILSUBJECT +msgid "Enter subject of email" +msgstr "Jl󪺼D" + +#. DESC_MAIL_FILETYPE +msgid "Select filetype for image attachments" +msgstr "" + +#. DESC_PRESET_AREA_RENAME +msgid "Enter new name for preset area" +msgstr "Jw]ϪsW" + +# +#. DESC_PRESET_AREA_ADD +msgid "Enter name for new preset area" +msgstr "Jw]ϪsW" + +# +#. DESC_MEDIUM_RENAME +msgid "Enter new name for medium definition" +msgstr "ҳ]wJsWr" + +# +#. DESC_MEDIUM_ADD +msgid "Enter name for new medium definition" +msgstr "sҳ]wJWr" + +#. DESC_PRINTER_SELECT +msgid "Select printerdefinition " +msgstr "" + +#. DESC_RESOLUTION +msgid "Set scan resolution" +msgstr "]wyѪR" + +#. DESC_RESOLUTION_X +msgid "Set scan resolution for x direction" +msgstr "" + +#. DESC_RESOLUTION_Y +msgid "Set scan resolution for y direction" +msgstr "" + +#. DESC_ZOOM +msgid "Set zoomfactor" +msgstr "" + +#. DESC_ZOOM_X +msgid "Set zoomfactor for x direction" +msgstr "" + +#. DESC_ZOOM_Y +msgid "Set zoomfactor for y direction" +msgstr "" + +#. DESC_COPY_NUMBER +msgid "Set number of copies" +msgstr "" + +#. DESC_NEGATIVE +msgid "Negative: Invert colors for scanning negatives " +msgstr "" + +#. DESC_GAMMA +msgid "Set gamma value" +msgstr "]wGamma" + +#. DESC_GAMMA_R +msgid "Set gamma value for red component" +msgstr "]w⦨Gamma" + +#. DESC_GAMMA_G +msgid "Set gamma value for green component" +msgstr "]w⦨Gamma" + +#. DESC_GAMMA_B +msgid "Set gamma value for blue component" +msgstr "]wŦ⦨Gamma" + +#. DESC_BRIGHTNESS +msgid "Set brightness" +msgstr "]wG" + +#. DESC_BRIGHTNESS_R +msgid "Set brightness for red component" +msgstr "]w⦨G׭" + +#. DESC_BRIGHTNESS_G +msgid "Set brightness for green component" +msgstr "]w⦨G׭" + +#. DESC_BRIGHTNESS_B +msgid "Set brightness for blue component" +msgstr "]wŦ⦨G׭" + +#. DESC_CONTRAST +msgid "Set contrast" +msgstr "]wϮt" + +#. DESC_CONTRAST_R +msgid "Set contrast for red component" +msgstr "]w⦨Ϯt" + +#. DESC_CONTRAST_G +msgid "Set contrast for green component" +msgstr "]w⦨Ϯt" + +#. DESC_CONTRAST_B +msgid "Set contrast for blue component" +msgstr "]wŦ⦨Ϯt" + +#. DESC_THRESHOLD +msgid "Set threshold" +msgstr "]w" + +#. DESC_RGB_DEFAULT +msgid "" +"RGB default: Set enhancement values for red, green and blue to default " +"values :\n" +" gamma = 1.0\n" +" brightness = 0\n" +" contrast = 0" +msgstr "" + +# +#. DESC_ENH_AUTO +msgid "Autoadjust gamma, brightness and contrast " +msgstr "۰ʽվgamma,GשMϮt" + +#. DESC_ENH_DEFAULT +msgid "" +"Set default enhancement values :\n" +"gamma = 1.0\n" +"brightness = 0\n" +"contrast = 0" +msgstr "" + +#. DESC_ENH_RESTORE +msgid "Restore enhancement values from preferences " +msgstr "" + +#. DESC_ENH_STORE +msgid "Store active enhancement values to preferences " +msgstr "" + +#. DESC_HIST_INTENSITY +msgid "Show histogram of intensity/gray " +msgstr "" + +#. DESC_HIST_RED +msgid "Show histogram of red component " +msgstr "" + +#. DESC_HIST_GREEN +msgid "Show histogram of green component " +msgstr "" + +#. DESC_HIST_BLUE +msgid "Show histogram of blue component " +msgstr "" + +#. DESC_HIST_PIXEL +msgid "Display mode: show histogram with lines instead of pixels " +msgstr "ܼҦ:νuNIܯxι" + +#. DESC_HIST_LOG +msgid "Show logarithm of pixelcount " +msgstr "" + +#. DESC_PRINTER_SETUP +msgid "Select definition to change" +msgstr "" + +#. DESC_PRINTER_NAME +msgid "Define a name for the selection of this definition" +msgstr "ܪwqwq@ӦW" + +#. DESC_PRINTER_COMMAND +msgid "Enter command to be executed in copy mode (e.g. \"lpr\")" +msgstr "JbƻsҦUNQ檺RO(e.g. \"lpr\")" + +#. DESC_COPY_NUMBER_OPTION +msgid "Enter option for copy numbers" +msgstr "" + +#. DESC_PRINTER_LINEART_RESOLUTION +msgid "" +"Resolution with which lineart images are printed and saved in postscript" +msgstr "" + +#. DESC_PRINTER_GRAYSCALE_RESOLUTION +msgid "" +"Resolution with which grayscale images are printed and saved in postscript" +msgstr "" + +#. DESC_PRINTER_COLOR_RESOLUTION +msgid "Resolution with which color images are printed and saved in postscript" +msgstr "" + +#. DESC_PRINTER_WIDTH +msgid "Width of printable area" +msgstr "CLϼe" + +#. DESC_PRINTER_HEIGHT +msgid "Height of printable area" +msgstr "CLϰ" + +#. DESC_PRINTER_LEFTOFFSET +msgid "Left offset from the edge of the paper to the printable area" +msgstr "qtCLϪtZ" + +#. DESC_PRINTER_BOTTOMOFFSET +msgid "Bottom offset from the edge of the paper to the printable area" +msgstr "qtCLϪUtZ" + +#. DESC_PRINTER_GAMMA +msgid "Additional gamma value for photocopy" +msgstr "" + +#. DESC_PRINTER_GAMMA_RED +msgid "Additional gamma value for red component for photocopy" +msgstr "" + +#. DESC_PRINTER_GAMMA_GREEN +msgid "Additional gamma value for green component for photocopy" +msgstr "" + +#. DESC_PRINTER_GAMMA_BLUE +msgid "Additional gamma value for blue component for photocopy" +msgstr "" + +#. DESC_TMP_PATH +msgid "Path to temp directory" +msgstr "Ȧsؿ|" + +#. DESC_BUTTON_TMP_PATH_BROWSE +msgid "Browse for temporary directory" +msgstr "Ȧsؿs" + +#. DESC_JPEG_QUALITY +msgid "" +"Quality in percent if image is saved as jpeg or tiff with jpeg compression" +msgstr "" + +#. DESC_PNG_COMPRESSION +msgid "Compression if image is saved as png" +msgstr "pGspngɪ,NY" + +#. DESC_FILENAME_COUNTER_LEN +msgid "Minimum length of counter in filename" +msgstr "" + +#. DESC_TIFF_COMPRESSION_16 +msgid "Compression type if 16 bit image is saved as tiff" +msgstr "" + +#. DESC_TIFF_COMPRESSION_8 +msgid "Compression type if 8 bit image is saved as tiff" +msgstr "" + +#. DESC_TIFF_COMPRESSION_1 +msgid "Compression type if lineart image is saved as tiff" +msgstr "" + +#. DESC_SAVE_DEVPREFS_AT_EXIT +msgid "Save device dependant preferences in default file at exit of xsane" +msgstr "" + +#. DESC_OVERWRITE_WARNING +msgid "Warn before overwriting an existing file" +msgstr "мg@Ӥwgsbɮפenĵi" + +#. DESC_SKIP_EXISTING +msgid "" +"If filename counter is automatically increased, used numbers are skipped" +msgstr "" + +#. DESC_SAVE_PNM16_AS_ASCII +msgid "" +"When a 16 bit image shall be saved in pnm format then use ascii format " +"instead of binary format. The binary format is a new format that is not " +"supported by all programs. The ascii format is supported by more programs " +"but it produces really huge files!!!" +msgstr "" + +#. DESC_REDUCE_16BIT_TO_8BIT +msgid "If scanner sends image with 16 bits/color save image with 8 bits/color" +msgstr "" + +#. DESC_PSFILE_WIDTH +msgid "Width of paper for postscript files" +msgstr "" + +#. DESC_PSFILE_HEIGHT +msgid "Height of paper for postscript files" +msgstr "" + +#. DESC_PSFILE_LEFTOFFSET +msgid "" +"Left offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" + +#. DESC_PSFILE_BOTTOMOFFSET +msgid "" +"Bottom offset from the edge of the paper to the usable area for postscript " +"files" +msgstr "" + +#. DESC_MAIN_WINDOW_FIXED +msgid "Use fixed main window size or scrolled, resizable main window" +msgstr "ϥΩTwDjp,Ϊ̷ư,Djp" + +#. DESC_DISABLE_GIMP_PREVIEW_GAMMA +msgid "Disable preview gamma when XSane runs as gimp plugin" +msgstr "wgammaXSane]bgimp plugin " + +#. DESC_PREVIEW_COLORMAP +msgid "Use an own colormap for preview if display depth is 8 bpp" +msgstr "p8bpp`׮,ϥΤ@Ӧۤvcolormap" + +#. DESC_SHOW_RANGE_MODE +msgid "Select how a range is displayed" +msgstr "ܤ@ӰϰpQ" + +#. DESC_PREVIEW_OVERSAMPLING +msgid "Value with that the calculated preview resolution is multiplied" +msgstr "" + +#. DESC_PREVIEW_GAMMA +msgid "Set gamma correction value for preview image" +msgstr "wv]wgammaե" + +#. DESC_PREVIEW_GAMMA_RED +msgid "Set gamma correction value for red component of preview image" +msgstr "wv⦨]wgammaե" + +#. DESC_PREVIEW_GAMMA_GREEN +msgid "Set gamma correction value for green component of preview image" +msgstr "wv⦨]wgammaե" + +#. DESC_PREVIEW_GAMMA_BLUE +msgid "Set gamma correction value for blue component of preview image" +msgstr "wvŦ⦨]wgammaե" + +#. DESC_LINEART_MODE +msgid "Define the way XSane shall handle the threshold option" +msgstr "" + +#. DESC_GRAYSCALE_SCANMODE +msgid "" +"Select grayscale scanmode. This scanmode is used for lineart preview scan " +"when transformation from grayscale to lineart is enabled" +msgstr "" + +#. DESC_PREVIEW_THRESHOLD_MIN +#, no-c-format +msgid "The scanner's minimum threshold level in %" +msgstr "" + +#. DESC_PREVIEW_THRESHOLD_MAX +#, no-c-format +msgid "The scanner's maximum threshold level in %" +msgstr "" + +#. DESC_PREVIEW_THRESHOLD_MUL +msgid "" +"Multiplier to make XSane threshold range and scanner threshold range the same" +msgstr "" + +#. DESC_PREVIEW_THRESHOLD_OFF +msgid "" +"Offset to make XSane threshold range and scanner threshold range the same" +msgstr "" + +#. DESC_ADF_MODE +msgid "" +"Select scansource for Automatic Document feeder. If this scansource is " +"selected XSane scans until \"out of paper\" or error." +msgstr "" + +#. DESC_PREVIEW_PIPETTE_RANGE +msgid "dimension of square that is used to average color for pipette function" +msgstr "" + +#. DESC_DOC_VIEWER +msgid "" +"Enter command to be executed to display helpfiles, must be a html-viewer!" +msgstr "JܱϧUɮɭnQ檺RO,O@html˵" + +#. DESC_AUTOENHANCE_GAMMA +msgid "Change gamma value when autoenhancement button is pressed" +msgstr "gammaȦpG۰ʼWjsQU" + +#. DESC_PRESELECT_SCANAREA +msgid "Select scanarea after preview scan has finished" +msgstr "wyܱyϤwgF" + +#. DESC_AUTOCORRECT_COLORS +msgid "Do color correction after preview scan has finished" +msgstr "wy@CեwgF" + +#. DESC_FAX_COMMAND +msgid "Enter command to be executed in fax mode" +msgstr "JbǯuҦUQ檺RO" + +#. DESC_FAX_RECEIVER_OPT +msgid "Enter option to specify receiver" +msgstr "Jﶵw" + +#. DESC_FAX_POSTSCRIPT_OPT +msgid "Enter option to specify postscript files following" +msgstr "" + +#. DESC_FAX_NORMAL_OPT +msgid "Enter option to specify normal mode (low resolution)" +msgstr "" + +#. DESC_FAX_FINE_OPT +msgid "Enter option to specify fine mode (high resolution)" +msgstr "" + +#. DESC_FAX_VIEWER +msgid "Enter command to be executed to view a fax" +msgstr "J˵ǯuɭn檺RO" + +#. DESC_FAX_FINE_MODE +msgid "Send fax with high vertical resolution (196 lpi instead of 98 lpi)" +msgstr "" + +#. DESC_SMTP_SERVER +msgid "IP Address or Domain name of SMTP server" +msgstr "IP }SMTPADW" + +#. DESC_SMTP_PORT +msgid "port to connect to SMTP server" +msgstr "" + +#. DESC_MAIL_FROM +msgid "enter your email address" +msgstr "JAH}" + +#. DESC_MAIL_REPLY_TO +msgid "enter email address for replied emails" +msgstr "" + +#. DESC_POP3_AUTHENTIFICATION +msgid "Authentificate at POP3 server before sending mail" +msgstr "" + +#. DESC_POP3_SERVER +msgid "IP Address or Domain name of POP3 server" +msgstr "" + +#. DESC_POP3_PORT +msgid "port to connect to POP3 server" +msgstr "" + +#. DESC_POP3_USER +msgid "user name for POP3 server" +msgstr "" + +#. DESC_POP3_PASS +msgid "password for POP3 server" +msgstr "" + +#. DESC_MAIL_VIEWER +msgid "Enter command to be executed to view a mail image" +msgstr "J˵@Ӷlvɭn檺RO" + +# +#. DESC_HTML_MAIL +msgid "Mail is sent in html mode, place image with: " +msgstr "lHHTMLǰe,v" + +#. DESC_OCR_COMMAND +msgid "Enter command to start ocr program" +msgstr "J}lOCR{n檺O" + +#. DESC_OCR_INPUTFILE_OPT +msgid "Enter option of the ocr program to define input file" +msgstr "JOCR{ﶵwqJ" + +#. DESC_OCR_OUTPUTFILE_OPT +msgid "Enter option of the ocr program to define output file" +msgstr "JOCR{ﶵwqX" + +#. DESC_OCR_USE_GUI_PIPE_OPT +msgid "Define if the ocr program supports gui progress pipe" +msgstr "" + +#. DESC_OCR_OUTFD_OPT +msgid "" +"Enter option of the ocr program to define output filedescripor in GUI mode" +msgstr "" + +#. DESC_OCR_PROGRESS_KEYWORD +msgid "Define Keyword that is used to mark progress information" +msgstr "" + +#. DESC_PERMISSION_READ +msgid "read" +msgstr "Ū" + +#. DESC_PERMISSION_WRITE +msgid "write" +msgstr "gJ" + +#. DESC_PERMISSION_EXECUTE +msgid "execute" +msgstr "" + +#. DESC_ADD_BATCH +msgid "Add selection for batch scan" +msgstr "妸yW[" + +#. DESC_PIPETTE_WHITE +msgid "Pick white point" +msgstr "" + +#. DESC_PIPETTE_GRAY +msgid "Pick gray point" +msgstr "" + +#. DESC_PIPETTE_BLACK +msgid "Pick black point" +msgstr "" + +#. DESC_ZOOM_FULL +msgid "Use full scanarea" +msgstr "ϥΥy" + +#. DESC_ZOOM_OUT +#, no-c-format +msgid "Zoom 20% out" +msgstr "" + +#. DESC_ZOOM_IN +msgid "Click at position to zoom to" +msgstr "" + +#. DESC_ZOOM_AREA +msgid "Zoom into selected area" +msgstr "" + +#. DESC_ZOOM_UNDO +msgid "Undo last zoom" +msgstr "" + +#. DESC_FULL_PREVIEW_AREA +msgid "Select visible area" +msgstr "ܰ" + +#. DESC_AUTOSELECT_SCANAREA +msgid "Autoselect scanarea" +msgstr "۰ʿﱽy" + +#. DESC_AUTORAISE_SCANAREA +msgid "Autoraise scanarea" +msgstr "۰ʧﱽyϤjp" + +#. DESC_DELETE_IMAGES +msgid "Delete preview image cache" +msgstr "Rwv֨" + +#. DESC_PRESET_AREA +msgid "" +"Preset area:\n" +"To add new area or edit an existing area use contect menu (right mouse " +"button)." +msgstr "" + +#. DESC_ROTATION +msgid "Rotate preview and scan" +msgstr "½wMy" + +#. DESC_RATIO +msgid "Aspect ratio of selection" +msgstr "" + +#. DESC_PAPER_ORIENTATION +msgid "Define image position for printing" +msgstr "" + +#. DESC_VIEWER_OCR +msgid "Optical Character Recognition" +msgstr "" + +#. DESC_VIEWER_UNDO +msgid "Undo last change" +msgstr "" + +#. DESC_VIEWER_CLONE +msgid "Clone image" +msgstr "ƻsv" + +#. DESC_ROTATE90 +msgid "Rotate image 90 degree" +msgstr "½v90" + +#. DESC_ROTATE180 +msgid "Rotate image 180 degree" +msgstr "½v180" + +#. DESC_ROTATE270 +msgid "Rotate image 270 degree" +msgstr "½v270" + +#. DESC_MIRROR_X +msgid "Mirror image at vertical axis" +msgstr "" + +#. DESC_MIRROR_Y +msgid "Mirror image at horizontal axis" +msgstr "" + +#. DESC_VIEWER_ZOOM +msgid "Zoom image" +msgstr "Yv" + +#. DESC_STORE_MEDIUM +msgid "Store medium" +msgstr "" + +#. DESC_DELETE_MEDIUM +msgid "Delete active medium" +msgstr "Rʪ" + +#. DESC_SCALE_FACTOR +msgid "Scale factor" +msgstr "" + +#. DESC_X_SCALE_FACTOR +msgid "X-Scale factor" +msgstr "" + +#. DESC_Y_SCALE_FACTOR +msgid "Y-Scale factor" +msgstr "" + +#. DESC_SCALE_WIDTH +msgid "Scale image to width [in pixel]" +msgstr "" + +#. DESC_SCALE_HEIGHT +msgid "Scale image to height [in pixel]" +msgstr "" + +#. DESC_BATCH_LIST_EMPTY +msgid "Empty batch list" +msgstr "Ū妸C" + +#. DESC_BATCH_LIST_SAVE +msgid "Save batch list" +msgstr "xs妸C" + +#. DESC_BATCH_LIST_LOAD +msgid "Load batch list" +msgstr "J妸C" + +#. DESC_BATCH_RENAME +msgid "Rename area" +msgstr "Wϰ" + +#. DESC_BATCH_ADD +msgid "Add selected preview area to batch list" +msgstr "W[ܪwϰ妸C" + +#. DESC_BATCH_DEL +msgid "Delete selected area from batch list" +msgstr "q妸CRܪϰ" + +#. DESC_AUTOMATIC +msgid "Turns on automatic mode" +msgstr "" + +#. ERR_HOME_DIR +msgid "Failed to determine home directory:" +msgstr "LkMwHomeؿ" + +#. ERR_CHANGE_WORKING_DIR +msgid "Failed to change working directory to" +msgstr "hu@ؿ" + +#. ERR_FILENAME_TOO_LONG +msgid "Filename too long" +msgstr "ɦWӪ" + +#. ERR_CREATE_TEMP_FILE +msgid "Could not create temporary file" +msgstr "إ߼Ȧs" + +#. ERR_SET_OPTION +msgid "Failed to set value of option" +msgstr "h]wﶵ" + +#. ERR_GET_OPTION +msgid "Failed to obtain value of option" +msgstr "" + +#. ERR_OPTION_COUNT +msgid "Error obtaining option count" +msgstr "" + +#. ERR_DEVICE_OPEN_FAILED +msgid "Failed to open device" +msgstr "}Ҹ˸m" + +#. ERR_NO_DEVICES +msgid "no devices available" +msgstr "S˸miHϥ" + +#. ERR_DURING_READ +msgid "Error during read:" +msgstr "Ūɿ~" + +#. ERR_DURING_SAVE +msgid "Error during save:" +msgstr "xsɿ~" + +#. ERR_BAD_DEPTH +msgid "Can't handle depth" +msgstr "Lko`" + +#. ERR_GIMP_BAD_DEPTH +#, c-format +msgid "GIMP can't handle depth %d bits/color" +msgstr "GIMPo` %d bits/color" + +#. ERR_UNKNOWN_SAVING_FORMAT +msgid "Unknown file format for saving" +msgstr "xsɮ׮榡" + +#. ERR_OPEN_FAILED +msgid "Failed to open" +msgstr "}ҥ" + +#. ERR_CREATE_SECURE_FILE +msgid "Could not create secure file (may be a link does exist):" +msgstr "إߦw(iswgsb)" + +#. ERR_FAILED_PRINTER_PIPE +msgid "Failed to open pipe for executing printercommand" +msgstr "}Һ޽uFCLRO" + +#. ERR_FAILED_EXEC_PRINTER_CMD +msgid "Failed to execute printercommand:" +msgstr "CLRO" + +#. ERR_FAILED_START_SCANNER +msgid "Failed to start scanner:" +msgstr "}ly" + +#. ERR_FAILED_GET_PARAMS +msgid "Failed to get parameters:" +msgstr "Ѽ" + +#. ERR_NO_OUTPUT_FORMAT +msgid "No output format given" +msgstr "SoX榡" + +#. ERR_NO_MEM +msgid "out of memory" +msgstr "O餣" + +#. ERR_TOO_MUCH_DATA +msgid "Backend sends more image data than it defined in parameters" +msgstr "" + +#. ERR_LIBTIFF +msgid "LIBTIFF reports error" +msgstr "" + +#. ERR_LIBPNG +msgid "LIBPNG reports error" +msgstr "" + +#. ERR_LIBJPEG +msgid "LIBJPEG reports error" +msgstr "" + +#. ERR_UNKNOWN_TYPE +msgid "unknown type" +msgstr "A" + +#. ERR_UNKNOWN_CONSTRAINT_TYPE +msgid "unknown constraint type" +msgstr "" + +#. ERR_OPTION_NAME_NULL +msgid "Option has empty name (NULL)." +msgstr "" + +#. ERR_BACKEND_BUG +msgid "This is a backend bug. Please inform the author of the backend!" +msgstr "" + +#. ERR_FAILED_EXEC_DOC_VIEWER +msgid "Failed to execute documentation viewer:" +msgstr "˵" + +#. ERR_FAILED_EXEC_FAX_VIEWER +msgid "Failed to execute fax viewer:" +msgstr "ǯu˵" + +#. ERR_FAILED_EXEC_FAX_CMD +msgid "Failed to execute fax command:" +msgstr "ǯuRO" + +#. ERR_FAILED_EXEC_MAIL_VIEWER +msgid "Failed to execute mail image viewer:" +msgstr "lv˵" + +#. ERR_FAILED_EXEC_OCR_CMD +msgid "Failed to execute ocr command:" +msgstr "ocrRO" + +#. ERR_BAD_FRAME_FORMAT +msgid "bad frame format" +msgstr "ꪺج[榡" + +#. ERR_FAILED_SET_RESOLUTION +msgid "unable to set resolution" +msgstr "ܸѪR" + +#. ERR_PASSWORD_FILE_INSECURE +#, c-format +msgid "Password file (%s) is insecure, use permission x00\n" +msgstr "KX(%s)w,ϥx00v\n" + +#. ERR_ERROR +msgid "error" +msgstr "~" + +#. ERR_MAJOR_VERSION_NR_CONFLICT +msgid "Sane major version number mismatch!" +msgstr "" + +#. ERR_XSANE_MAJOR_VERSION +msgid "XSane major version =" +msgstr "" + +#. ERR_BACKEND_MAJOR_VERSION +msgid "backend major version =" +msgstr "" + +#. ERR_PROGRAM_ABORTED +msgid "*** PROGRAM ABORTED ***" +msgstr "" + +#. ERR_FAILED_ALLOCATE_IMAGE +msgid "Failed to allocate image memory:" +msgstr "htmvO" + +#. ERR_PREVIEW_BAD_DEPTH +msgid "Preview cannot handle bit depth" +msgstr "wo줸`" + +#. ERR_GIMP_SUPPORT_MISSING +msgid "GIMP support missing" +msgstr "GIMP䴩" + +#. ERR_CREATE_PREVIEW_FILE +msgid "Could not create temporary preview files" +msgstr "إ߼Ȧsw" + +#. ERR_CREATE_PREVIEW_FILENAME +msgid "Could not create filenames for preview files" +msgstr "إ߹wɪɦW" + +#. ERR_CREATE_FAX_PROJECT +msgid "Could not create faxproject" +msgstr "إ߶ǯuM" + +#. WARN_COUNTER_UNDERRUN +msgid "Filename counter underrun" +msgstr "" + +#. WARN_NO_VALUE_CONSTRAINT +msgid "warning: option has no value constraint" +msgstr "" + +#. WARN_XSANE_AS_ROOT +msgid "" +"You try to run XSane as ROOT, that really is DANGEROUS!\n" +"\n" +"Do not send any bug reports when you\n" +"have any problem while running XSane as root:\n" +"YOU ARE ALONE!" +msgstr "" + +#. ERR_HEADER_ERROR +msgid "Error" +msgstr "~" + +#. ERR_HEADER_WARNING +msgid "Warning" +msgstr "ĵi" + +#. ERR_HEADER_INFO +msgid "Information" +msgstr "T" + +#. ERR_HEADER_CHILD_PROCESS_ERROR +msgid "Child process error" +msgstr "l{~" + +#. ERR_FAILED_CREATE_FILE +msgid "Failed to create file:" +msgstr "إɮ:" + +#. ERR_LOAD_DEVICE_SETTINGS +msgid "Error while loading device settings:" +msgstr "J˸m]wɿ~" + +#. ERR_NO_DRC_FILE +msgid "is not a device-rc-file !!!" +msgstr "O@Ӹ˸mrc file" + +#. ERR_NETSCAPE_EXECUTE_FAIL +msgid "Failed to execute netscape!" +msgstr "netscape!" + +#. ERR_SENDFAX_RECEIVER_MISSING +msgid "Send fax: no receiver defined" +msgstr "ǰeǯu: Swq" + +#. ERR_CREATED_FOR_DEVICE +msgid "has been created for device" +msgstr "" + +#. ERR_USED_FOR_DEVICE +msgid "you want to use it for device" +msgstr "" + +#. ERR_MAY_CAUSE_PROBLEMS +msgid "this may cause problems!" +msgstr "" + +#. WARN_UNSAVED_IMAGES +#, c-format +msgid "There are %d unsaved images" +msgstr " %d xsɮ" + +#. WARN_FILE_EXISTS +#, c-format +msgid "File %s already exists" +msgstr "ɮ %s wgsb" + +#. ERR_FILE_NOT_EXISTS +#, c-format +msgid "File %s does not exist" +msgstr "ɮ %s sb" + +#. ERR_FILE_NOT_POSTSCRIPT +#, c-format +msgid "File %s is not a postscript file" +msgstr "%s O@postscript " + +#. ERR_UNSUPPORTED_OUTPUT_FORMAT +#, c-format +msgid "Unsupported %d-bit output format: %s" +msgstr "䴩 %d -bit X榡: %s" + +#. WARN_VIEWER_IMAGE_NOT_SAVED +msgid "viewer image is not saved" +msgstr "˵vSxs" + +#. TEXT_USAGE +msgid "Usage:" +msgstr "ϥ:" + +#. TEXT_USAGE_OPTIONS +msgid "[OPTION]... [DEVICE]" +msgstr "" + +#. TEXT_HELP +msgid "" +"Start up graphical user interface to access SANE (Scanner Access Now Easy) " +"devices.\n" +"\n" +"The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n" +"[OPTION]... can be a combination of the following items:\n" +" -h, --help display this help message and exit\n" +" -v, --version print version information\n" +" -l, --license print license information\n" +"\n" +" -d, --device-settings file load device settings from file (without \".drc" +"\")\n" +"\n" +" -V, --viewer start with viewer-mode active (default)\n" +" -s, --save start with save-mode active\n" +" -c, --copy start with copy-mode active\n" +" -f, --fax start with fax-mode active\n" +" -m, --mail start with mail-mode active\n" +" -n, --no-mode-selection disable menu for XSane mode selection\n" +"\n" +" -F, --Fixed fixed main window size (overwrite preferences " +"value)\n" +" -R, --Resizeable resizable, scrolled main window (overwrite " +"preferences value)\n" +"\n" +" -p, --print-filenames print image filenames created by XSane\n" +" -N, --force-filename name force filename and disable user filename " +"selection\n" +"\n" +" --display X11-display redirect output to X11-display\n" +" --no-xshm do not use shared memory images\n" +" --sync request a synchronous connection with the X11 " +"server" +msgstr "" + +#. strings for gimp plugin +#. XSANE_GIMP_INSTALL_BLURB +msgid "Front-end to the SANE interface" +msgstr "" + +#. XSANE_GIMP_INSTALL_HELP +msgid "" +"This function provides access to scanners and other image acquisition " +"devices through the SANE (Scanner Access Now Easy) interface." +msgstr "" + +#. Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" +#. XSANE_GIMP_MENU_DIALOG +msgid "/File/Acquire/XSane: Device dialog..." +msgstr "" + +#. XSANE_GIMP_MENU +msgid "/File/Acquire/XSane: " +msgstr "" + +#. XSANE_GIMP_MENU_DIALOG_OLD +msgid "/Xtns/XSane/Device dialog..." +msgstr "" + +#. XSANE_GIMP_MENU_OLD +msgid "/Xtns/XSane/" +msgstr "" + +#. HELP_NO_DEVICES +msgid "" +"Possible reasons:\n" +"1) There really is no device that is supported by SANE\n" +"2) Supported devices are busy\n" +"3) The permissions for the device file do not allow you to use it - try as " +"root\n" +"4) The backend is not loaded by SANE (man sane-dll)\n" +"5) The backend is not configured correct (man sane-\"backendname\")\n" +"6) Possibly there is more than one SANE version installed" +msgstr "" + +#. strings that are used in structures, so it is not allowed to use _()/gettext() here +#. gettext_noop does mark these texts but does not change the string +#. MENU_ITEM_SURFACE_FULL_SIZE +msgid "full size" +msgstr "jp" + +#. MENU_ITEM_SURFACE_DIN_A3P +msgid "DIN A3 port." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A3L +msgid "DIN A3 land." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A4P +msgid "DIN A4 port." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A4L +msgid "DIN A4 land." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A5P +msgid "DIN A5 port." +msgstr "" + +#. MENU_ITEM_SURFACE_DIN_A5L +msgid "DIN A5 land." +msgstr "" + +#. MENU_ITEM_SURFACE_13cmx18cm +msgid "13cm x 18cm" +msgstr "" + +#. MENU_ITEM_SURFACE_18cmx13cm +msgid "18cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_10cmx15cm +msgid "10cm x 15cm" +msgstr "" + +#. MENU_ITEM_SURFACE_15cmx10cm +msgid "15cm x 10cm" +msgstr "" + +#. MENU_ITEM_SURFACE_9cmx13cm +msgid "9cm x 13cm" +msgstr "" + +#. MENU_ITEM_SURFACE_13cmx9cm +msgid "13cm x 9cm" +msgstr "" + +#. MENU_ITEM_SURFACE_legal_P +msgid "legal port." +msgstr "" + +#. MENU_ITEM_SURFACE_legal_L +msgid "legal land." +msgstr "" + +#. MENU_ITEM_SURFACE_letter_P +msgid "letter port." +msgstr "" + +#. MENU_ITEM_SURFACE_letter_L +msgid "letter land." +msgstr "" + +#. MENU_ITEM_MEDIUM_FULL_COLOR_RANGE +msgid "Full color range" +msgstr "d" + +#. MENU_ITEM_MEDIUM_SLIDE +msgid "Slide" +msgstr "ۿO()" + +#. MENU_ITEM_MEDIUM_STANDARD_NEG +msgid "Standard negative" +msgstr "зǭt" + +#. MENU_ITEM_MEDIUM_AGFA_NEG +msgid "Agfa negative" +msgstr "Agfa t" + +#. MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4 +msgid "Agfa negative XRG 200-4" +msgstr "Agfa tXRG 200-4 " + +#. MENU_ITEM_MEDIUM_AGFA_NEG_HDC_100 +msgid "Agfa negative HDC 100" +msgstr "Agfa tHDC 100" + +#. MENU_ITEM_MEDIUM_FUJI_NEG +msgid "Fuji negative" +msgstr "Ih(Fuji)t" + +#. MENU_ITEM_MEDIUM_KODAK_NEG +msgid "Kodak negative" +msgstr "_F(Kodak)t" + +#. MENU_ITEM_MEDIUM_KONICA_NEG +msgid "Konica negative" +msgstr "_d(Konica)t" + +#. MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 +msgid "Konica negative VX 100" +msgstr "_d(Konica)t VX 100" + +#. MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 +msgid "Rossmann negative HR 100" +msgstr "" + +# +#. TEXT_MAIL_STATUS_NOT_CREATED +msgid "Mail project not created" +msgstr "HMץإ" + +# +#. TEXT_MAIL_STATUS_CREATED +msgid "Mail project created" +msgstr "HMפwإ" + +# +#. TEXT_MAIL_STATUS_CHANGED +msgid "Mail project changed" +msgstr "HMקF" + +# +#. TEXT_MAIL_STATUS_ERR_READ_PROJECT +msgid "Error reading mailproject" +msgstr "" + +#. TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED +msgid "POP3 connection failed" +msgstr "" + +#. TEXT_MAIL_STATUS_POP3_LOGIN_FAILED +msgid "POP3 login failed" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED +msgid "SMTP connection failed" +msgstr "" + +# +#. TEXT_MAIL_STATUS_SMTP_ERR_FROM +msgid "From entry not accepted" +msgstr "" + +# +#. TEXT_MAIL_STATUS_SMTP_ERR_RCPT +msgid "Receiver entry not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SMTP_ERR_DATA +msgid "Mail data not accepted" +msgstr "" + +#. TEXT_MAIL_STATUS_SENDING +msgid "Sending mail" +msgstr "" + +#. TEXT_MAIL_STATUS_SENT +msgid "Mail has been sent" +msgstr "" + +# +#. TEXT_FAX_STATUS_NOT_CREATED +msgid "Fax project not created" +msgstr "" + +# +#. TEXT_FAX_STATUS_CREATED +msgid "Fax project created" +msgstr "" + +# +#. TEXT_FAX_STATUS_CHANGED +msgid "Fax project changed" +msgstr "" + +#. TEXT_FAX_STATUS_QUEUEING_FAX +msgid "Queueing Fax" +msgstr "" + +#. TEXT_FAX_STATUS_FAX_QUEUED +msgid "Fax is queued" +msgstr "" + +#. Sane backend messages +msgid "flatbed scanner" +msgstr "xy" + +msgid "frame grabber" +msgstr "" + +msgid "handheld scanner" +msgstr "y" + +msgid "still camera" +msgstr "" + +msgid "video camera" +msgstr "" + +msgid "virtual device" +msgstr "˸m" + +msgid "Success" +msgstr "" + +msgid "Operation not supported" +msgstr "x䴩" + +msgid "Operation was cancelled" +msgstr "xwg" + +msgid "Device busy" +msgstr "˸mL" + +msgid "Invalid argument" +msgstr "LĪѼ" + +msgid "End of file reached" +msgstr "" + +msgid "Document feeder jammed" +msgstr "" + +msgid "Document feeder out of documents" +msgstr "" + +msgid "Scanner cover is open" +msgstr "" + +msgid "Error during device I/O" +msgstr "˸mI/Oɿ~" + +msgid "Out of memory" +msgstr "O餣" + +msgid "Access to resource has been denied" +msgstr "귽sQT" diff --git a/specfiles/fedora-core-1/xsane.spec b/specfiles/fedora-core-1/xsane.spec new file mode 100644 index 0000000..1b79f38 --- /dev/null +++ b/specfiles/fedora-core-1/xsane.spec @@ -0,0 +1,277 @@ +%define desktop_vendor endur +%define name xsane +%define version 0.93 +%define release 1 + + +Summary: An X Window System front-end for the SANE scanner interface. +Name: %{name} +Version: %{version} +Release: %{release} +Source: http://www.xsane.org/download/%{name}-%{version}.tar.gz +URL: http://www.xsane.org/ +License: GPL +Group: Applications/Multimedia +BuildPrereq: sane-backends-devel, gimp-devel +BuildPrereq: libpng-devel, libjpeg-devel +BuildRequires: desktop-file-utils >= 0.2.92 +ExcludeArch: s390 s390x + +Buildroot: %{_tmppath}/%{name}-%{version}-buildroot + +%description +XSane is an X based interface for the SANE (Scanner Access Now Easy) +library, which provides access to scanners, digital cameras, and other +capture devices. XSane is written in GTK+ and provides control for +performing the scan and then manipulating the captured image. + +%package gimp +Summary: A GIMP plug-in which provides the SANE scanner interface. +Group: Applications/Multimedia +Prereq: /usr/bin/awk sh-utils fileutils + +%description gimp +This package provides the regular XSane frontend for the SANE scanner +interface, but it works as a GIMP plug-in. You must have GIMP +installed to use this package. + +%prep +rm -rf %{buildroot} +%setup -q + + +%build +%{expand:%%define optflags %{optflags} -DGIMP_ENABLE_COMPAT_CRUFT=1} +%configure --with-install-root=%{buildroot} +make %{?_smp_mflags} + +mv src/xsane src/xsane-gimp + +make clean +%configure --with-install-root=%{buildroot} --disable-gimp +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +%makeinstall +install src/xsane-gimp %{buildroot}%{_bindir} +mkdir -p %{buildroot}/etc/X11/applnk/Graphics + +cat > %{name}.desktop << EOF +[Desktop Entry] +Encoding=UTF-8 +Name=Scanning +Name[sv]=XSane +Comment=XSane +Type=Application +Description=A GIMP plugin which provides a scanner interface. +Description[de]=Ein GIMP-Plugin zum Scannen. +Description[sv]=Ett GIMP-insticksprogram som erbjuder ett bildlsargrnssnitt. +Exec=%{name} +Icon=/usr/share/pixmaps/sane.png +EOF +mkdir %{buildroot}%{_datadir}/applications +desktop-file-install --vendor %{desktop_vendor} --delete-original \ + --dir %{buildroot}%{_datadir}/applications \ + --add-category X-Red-Hat-Base \ + --add-category Graphics \ + --add-category Application \ + %{name}.desktop + +%find_lang %{name} + +%clean +rm -rf %{buildroot} + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/xsane +%{_datadir}/sane +%{_datadir}/applications/* +%{_mandir}/man1/* +%doc %{name}.[A-Z]* + +%files gimp +%defattr(-,root,root) +%{_bindir}/xsane-gimp + +%post gimp +if [ -x /usr/bin/gimp-config ]; then + GIMPPLUGINDIR=`/usr/bin/gimp-config --gimpplugindir` +elif [ -x /usr/bin/gimptool-* ]; then + GIMPPLUGINDIR=`/usr/bin/gimptool-* --gimpplugindir` +fi +if [ -z "$GIMPPLUGINDIR" ]; then + GIMPPLUGINDIR=%{_libdir}/gimp/2.0 +fi +RELPATH=`echo $GIMPPLUGINDIR | awk ' + BEGIN { FS="/"; i = 1} {while (i < NF) { printf("../"); i = i + 1} }'` +if [ ! -s $GIMPPLUGINDIR/plug-ins/xsane ]; then + ln -s $RELPATH/bin/xsane-gimp $GIMPPLUGINDIR/plug-ins/xsane +fi + +%postun gimp +if [ $1 = 0 ]; then + rm -f %{_libdir}/gimp/2.0/plug-ins/xsane + rm -f %{_libdir}/gimp/1.3/plug-ins/xsane + rm -f %{_libdir}/gimp/1.2/plug-ins/xsane + rm -f %{_libdir}/gimp/1.1/plug-ins/xsane + rm -f %{_libdir}/gimp/1.0/plug-ins/xsane +fi + + +%changelog +* Fri May 07 2004 Matthias Haase +- Update to 0.93 +- Patch for gimp2 removed + +* Sat Apr 04 2004 Matthias Haase +- Rebuild for Fedora Core 1 with patch for gimp-plugin (Gimp 2.0) +- Some minor changes for Gimp 2.0, matches now the "own style" + +* Sun Nov 09 2003 Matthias Haase +- Rebuild for Fedora Core 1 + +* Sat Aug 30 2003 Matthias Haase +- Update to 0.92 + +* Thu May 09 2003 Matthias Haase 0.91-1 +- Rebuild for 0.91 + +* Sat Apr 09 2003 Matthias Haase 0.90-1 +- Rebuild of 0.90 for RH9 + +* Wed Dec 18 2002 Matthias Haase 0.90-1 +- Rebuild for 0.90 + +* Tue Dec 03 2002 Matthias Haase 0.89-1 +- smp flag added + +* Sat Oct 26 2002 Matthias Haase 0.89-1 +- Rebuild for xsane 0.89, internationalization macro and a short + German description for the desktop link added + +* Fri Aug 30 2002 Tim Waugh 0.84-8 +- Don't require gimp-devel (cf. bug #70754). + +* Tue Jul 23 2002 Tim Waugh 0.84-7 +- Desktop file fixes (bug #69555). + +* Mon Jul 15 2002 Tim Waugh 0.84-6 +- Use desktop-file-install. + +* Fri Jun 21 2002 Tim Powers 0.84-5 +- automated rebuild + +* Wed Jun 12 2002 Tim Waugh 0.84-4 +- Rebuild to fix bug #66132. + +* Thu May 23 2002 Tim Powers 0.84-3 +- automated rebuild + +* Thu Feb 21 2002 Tim Waugh 0.84-2 +- Rebuild in new environment. + +* Wed Jan 23 2002 Tim Waugh 0.84-1 +- 0.84. +- Remove explicit sane-backends dependency, since it is automatically + found by rpm. + +* Wed Jan 09 2002 Tim Powers 0.83-2 +- automated rebuild + +* Tue Jan 8 2002 Tim Waugh 0.83-1 +- 0.83. + +* Tue Dec 11 2001 Tim Waugh 0.82-3.1 +- 0.82. +- Some extra patches from Oliver Rauch. +- Require sane not sane-backends since it's available throughout 7.x. +- Built for Red Hat Linux 7.1, 7.2. + +* Tue Jul 24 2001 Tim Waugh 0.77-4 +- Build requires libpng-devel, libjpeg-devel (#bug 49760). + +* Tue Jul 17 2001 Preston Brown 0.77-3 +- add an icon to the desktop entry + +* Tue Jun 19 2001 Florian La Roche +- add ExcludeArch: s390 s390x + +* Mon Jun 11 2001 Tim Waugh 0.77-1 +- 0.77. + +* Sun Jun 3 2001 Tim Waugh 0.76-2 +- Require sane-backends, not all of sane. + +* Wed May 23 2001 Tim Waugh 0.76-1 +- 0.76. + +* Thu May 3 2001 Tim Waugh 0.75-1 +- 0.75 +- Fix summary/description to match specspo. + +* Mon Jan 8 2001 Matt Wilson +- fix post script of gimp subpackage to install into the correct location + +* Mon Dec 25 2000 Matt Wilson +- rebuilt against gimp 1.2.0 + +* Thu Dec 21 2000 Matt Wilson +- rebuilt against gimp 1.1.32 +- use -DGIMP_ENABLE_COMPAT_CRUFT=1 to build with compat macros + +* Thu Oct 12 2000 Than Ngo +- 0.62 + +* Wed Aug 23 2000 Matt Wilson +- rebuilt against gimp-1.1.25 + +* Mon Aug 07 2000 Than Ngo +- added swedish translation (Bug #15316) + +* Fri Aug 4 2000 Than Ngo +- fix, shows error dialogbox if no scanner exists (Bug #15445) +- update to 0.61 + +* Wed Aug 2 2000 Matt Wilson +- rebuilt against new libpng + +* Thu Jul 13 2000 Prospector +- automatic rebuild + +* Mon Jul 3 2000 Matt Wilson +- rebuilt against gimp 1.1.24 +- make clean before building non gimp version + +* Fri Jun 30 2000 Preston Brown +- made gimp subpkg + +* Wed Jun 14 2000 Preston Brown +- desktop entry added + +* Tue Jun 13 2000 Preston Brown +- fixed gimp link +- FHS paths + +* Tue May 30 2000 Karsten Hopp +- update to 0.59 + +* Sat Jan 29 2000 TIm Powers +- fixed bug 8948 + +* Thu Dec 2 1999 Tim Powers +- updated to 0.47 +- gzip man pages + +* Mon Aug 30 1999 Tim Powers +- changed group + +* Mon Jul 26 1999 Tim Powers +- update to 0.30 +- added %defattr +- built for 6.1 + +* Thu Apr 22 1999 Preston Brown +- initial RPM for PowerTools 6.0 diff --git a/src/Makefile.in b/src/Makefile.in index 620859c..62916b7 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -32,7 +32,7 @@ INSTALL_DATA = @INSTALL_DATA@ CC = @CC@ INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include @INCLUDES@ DEFS = @DEFS@ -DLOCALEDIR=$(datadir)/locale -CPPFLAGS = @CPPFLAGS@ -DPATH_XSANE_DOC_DIR=\$(xsanedocdir) -DPATH_SANE_DATA_DIR=\$(sanedatadir) +CPPFLAGS = @CPPFLAGS@ -DPATH_XSANE_DOC_DIR=$(xsanedocdir) -DPATH_SANE_DATA_DIR=$(sanedatadir) CFLAGS = @CFLAGS@ @SANE_CFLAGS@ @GIMP_CFLAGS@ @GTK_CFLAGS@ LDFLAGS = @LDFLAGS@ @SANE_LDFLAGS@ LIBS = @SANE_LIBS@ @GIMP_LIBS@ @GTK_LIBS@ @INTLLIBS@ @LIBS@ @@ -49,9 +49,9 @@ LIBLIB = ../lib/liblib.a XSANE_OBJS = xsane-back-gtk.o xsane-front-gtk.o xsane-gamma.o \ xsane-preview.o xsane-viewer.o \ - xsane-rc-io.o xsane-device-preferences.o \ + xsane-rc-io.o xsane-device-preferences.o xsane-batch-scan.o \ xsane-preferences.o xsane-setup.o xsane-save.o xsane-scan.o \ - xsane-icons.o xsane.o + xsane-icons.o xsane.o @XSANE_ICON@ .c.o: @@ -68,7 +68,8 @@ install: $(PROGRAMS) $(INSTALL_DATA) $(srcdir)/xsane-startimage.pnm $(sanedatadir)/xsane/xsane-startimage.pnm $(INSTALL_DATA) $(srcdir)/xsane-calibration.pnm $(sanedatadir)/xsane/xsane-calibration.pnm $(INSTALL_DATA) $(srcdir)/xsane-logo.xpm $(sanedatadir)/xsane/xsane-logo.xpm - $(INSTALL_DATA) $(srcdir)/xsane-license.txt $(sanedatadir)/xsane/xsane-license.txt + $(INSTALL_DATA) $(srcdir)/xsane-gpl.txt $(sanedatadir)/xsane/xsane-gpl.txt + $(INSTALL_DATA) $(srcdir)/xsane-eula.txt $(sanedatadir)/xsane/xsane-eula.txt @for logo in *-logo.xpm; do \ echo installing $(sanedatadir)/xsane/$${logo}; \ $(INSTALL_DATA) $(srcdir)/$${logo} $(sanedatadir)/xsane/$${logo}; \ @@ -96,6 +97,8 @@ xsane: $(XSANE_OBJS) $(LIBLIB) $(LINK) $(XSANE_OBJS) \ $(LIBLIB) $(LIBS) $(SANE_LIBS) +xsane-icon.opc: xsane-icon.rc xsane.ico + windres -i xsane-icon.rc -o xsane-icon.opc clean: rm -f *.o *~ .*~ *.bak @@ -108,3 +111,104 @@ depend: makedepend $(INCLUDES) *.c .PHONY: all install depend clean distclean + +xsane.o: xsane.h +xsane.o: xsane-back-gtk.h +xsane.o: xsane-front-gtk.h +xsane.o: xsane-preview.h +xsane.o: xsane-save.h +xsane.o: xsane-gamma.h +xsane.o: xsane-setup.h +xsane.o: xsane-scan.h +xsane.o: xsane-rc-io.h +xsane.o: xsane-device-preferences.h +xsane.o: xsane-preferences.h +xsane.o: xsane-icons.h +xsane.o: xsane-batch-scan.h + +xsane-back-gtk.o: xsane.h +xsane-back-gtk.o: xsane-back-gtk.h +xsane-back-gtk.o: xsane-front-gtk.h +xsane-back-gtk.o: xsane-preferences.h +xsane-back-gtk.o: xsane-gamma.h + +xsane-front-gtk.o: xsane.h +xsane-front-gtk.o: xsane-back-gtk.h +xsane-front-gtk.o: xsane-preferences.h +xsane-front-gtk.o: xsane-preview.h +xsane-front-gtk.o: xsane-save.h +xsane-front-gtk.o: xsane-gamma.h +xsane-front-gtk.o: xsane-setup.h + +xsane-batch-scan.o: xsane.h +xsane-batch-scan.o: xsane-scan.h +xsane-batch-scan.o: xsane-batch-scan.h +xsane-batch-scan.o: xsane-back-gtk.h +xsane-batch-scan.o: xsane-front-gtk.h +xsane-batch-scan.o: xsane-rc-io.h +xsane-batch-scan.o: xsane-preview.h +xsane-batch-scan.o: xsane-gamma.h + +xsane-preview.o: xsane.h +xsane-preview.o: xsane-back-gtk.h +xsane-preview.o: xsane-front-gtk.h +xsane-preview.o: xsane-batch-scan.h +xsane-preview.o: xsane-preview.h +xsane-preview.o: xsane-preferences.h +xsane-preview.o: xsane-gamma.h + +xsane-preferecnes.o: xsane.h +xsane-preferecnes.o: xsane-preferences.h +xsane-preferecnes.o: xsane-rc-io.h + +xsane-device-preferences.o: xsane.h +xsane-device-preferences.o: xsane-rc-io.h +xsane-device-preferences.o: xsane-back-gtk.h +xsane-device-preferences.o: xsane-front-gtk.h +xsane-device-preferences.o: xsane-gamma.h + +xsane-rc-io.o: xsane.h +xsane-rc-io.o: xsane-rc-io.h + +xsane-save.o: xsane.h +xsane-save.o: xsane-back-gtk.h +xsane-save.o: xsane-front-gtk.h + +xsane-scan.o: xsane.h +xsane-scan.o: xsane-back-gtk.h +xsane-scan.o: xsane-front-gtk.h +xsane-scan.o: xsane-preferences.h +xsane-scan.o: xsane-preview.h +xsane-scan.o: xsane-viewer.h +xsane-scan.o: xsane-save.h +xsane-scan.o: xsane-gamma.h +xsane-scan.o: xsane-setup.h + +xsane-gamma.o: xsane.h +xsane-gamma.o: xsane-back-gtk.h +xsane-gamma.o: xsane-front-gtk.h +xsane-gamma.o: xsane-preferences.h +xsane-gamma.o: xsane-preview.h +xsane-gamma.o: xsane-save.h + +xsane-setup.o: xsane.h +xsane-setup.o: xsane-back-gtk.h +xsane-setup.o: xsane-front-gtk.h +xsane-setup.o: xsane-preferences.h +xsane-setup.o: xsane-device-preferences.h +xsane-setup.o: xsane-preview.h +xsane-setup.o: xsane-save.h +xsane-setup.o: xsane-gamma.h +xsane-setup.o: xsane-batch-scan.h + +xsane-viewer.o: xsane.h +xsane-viewer.o: xsane-back-gtk.h +xsane-viewer.o: xsane-front-gtk.h +xsane-viewer.o: xsane-preferences.h +xsane-viewer.o: xsane-viewer.h +xsane-viewer.o: xsane-gamma.h +xsane-viewer.o: xsane-icons.h +xsane-viewer.o: xsane-save.h + + + diff --git a/src/Makefile.in.WIN32 b/src/Makefile.in.WIN32 index 46619d3..77c5320 100644 --- a/src/Makefile.in.WIN32 +++ b/src/Makefile.in.WIN32 @@ -19,7 +19,7 @@ INSTALL_DATA = @INSTALL_DATA@ CC = @CC@ -mwindows INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include \ @GTK_CFLAGS@ @INCLUDES@ -I/usr/include -I/usr/include/gdk -DEFS = -D_WIN32 @DEFS@ -DXSANE_FIXED_HOME_PATH=$(sanedir)'\\'home -DTEMP_PATH=c:'\\'temp -DSLASH=92 -DBUGGY_GDK_INPUT_EXCEPTION -DLOCALEDIR=share/locale +DEFS = -D_WIN32 @DEFS@ -DXSANE_FIXED_HOME_PATH=$(sanedir)'\\'home -DTEMP_PATH=c:'\\'temp -DSLASH=92 -DBUGGY_GDK_INPUT_EXCEPTION -DLOCALEDIR=/cygdrive/c/sane/share/locale CPPFLAGS = @CPPFLAGS@ -DPATH_XSANE_DOC_DIR=\$(xsanedocdir) -DPATH_SANE_DATA_DIR=\$(sanedatadir) CFLAGS = @CFLAGS@ -fnative-struct LDFLAGS = @LDFLAGS@ @@ -40,7 +40,7 @@ PROGRAMS = $(BINPROGS) LIBLIB = ../lib/liblib.a XSANE_OBJS = xsane-back-gtk.o xsane-front-gtk.o xsane-gamma.o xsane-preview.o \ - xsane-viewer.o xsane-rc-io.o xsane-device-preferences.o \ + xsane-viewer.o xsane-rc-io.o xsane-device-preferences.o xsane-batch-scan.o \ xsane-preferences.o xsane-setup.o xsane-save.o xsane-scan.o \ xsane-icons.o xsane.o @@ -59,7 +59,8 @@ install: $(PROGRAMS) $(INSTALL_DATA) $(srcdir)/xsane-startimage.pnm $(sanedatadir)/xsane/xsane-startimage.pnm $(INSTALL_DATA) $(srcdir)/xsane-calibration.pnm $(sanedatadir)/xsane/xsane-calibration.pnm $(INSTALL_DATA) $(srcdir)/xsane-logo.xpm $(sanedatadir)/xsane/xsane-logo.xpm - $(INSTALL_DATA) $(srcdir)/xsane-license.txt $(sanedatadir)/xsane/xsane-license.txt + $(INSTALL_DATA) $(srcdir)/xsane-gpl.txt $(sanedatadir)/xsane/xsane-gpl.txt + $(INSTALL_DATA) $(srcdir)/xsane-eula.txt $(sanedatadir)/xsane/xsane-eula.txt @for logo in *-logo.xpm; do \ echo installing $(sanedatadir)/xsane/$${logo}; \ $(INSTALL_DATA) $(srcdir)/$${logo} $(sanedatadir)/xsane/$${logo}; \ diff --git a/src/Makefile.in.orig b/src/Makefile.in.orig new file mode 100644 index 0000000..b171027 --- /dev/null +++ b/src/Makefile.in.orig @@ -0,0 +1,213 @@ +SHELL = /bin/sh + +VPATH = @srcdir@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +top_builddir = .. + +sane_prefix = @SANE_PREFIX@ +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 +configdir = ${sysconfdir}/sane.d +sanedatadir = ${datadir}/sane +xsanedocdir = ${datadir}/sane/xsane/doc + +MKINSTALLDIRS = @MKINSTALLDIRS@ +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ + +CC = @CC@ +INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include @INCLUDES@ +DEFS = @DEFS@ -DLOCALEDIR=$(datadir)/locale +CPPFLAGS = @CPPFLAGS@ -DPATH_XSANE_DOC_DIR=\$(xsanedocdir) -DPATH_SANE_DATA_DIR=\$(sanedatadir) +CFLAGS = @CFLAGS@ @SANE_CFLAGS@ @GIMP_CFLAGS@ @GTK_CFLAGS@ +LDFLAGS = @LDFLAGS@ @SANE_LDFLAGS@ +LIBS = @SANE_LIBS@ @GIMP_LIBS@ @GTK_LIBS@ @INTLLIBS@ @LIBS@ + +COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) +LINK = $(CC) $(LDFLAGS) -o $@ + +BINPROGS = @BINPROGS@ + +@SET_MAKE@ + +PROGRAMS = $(BINPROGS) +LIBLIB = ../lib/liblib.a + +XSANE_OBJS = xsane-back-gtk.o xsane-front-gtk.o xsane-gamma.o \ + xsane-preview.o xsane-viewer.o \ + xsane-rc-io.o xsane-device-preferences.o xsane-batch-scan.o \ + xsane-preferences.o xsane-setup.o xsane-save.o xsane-scan.o \ + xsane-icons.o xsane.o + + +.c.o: + $(COMPILE) $< + +all: $(PROGRAMS) + +install: $(PROGRAMS) + $(MKINSTALLDIRS) $(bindir) $(sbindir) $(datadir) $(sanedatadir) $(xsanedocdir) $(sanedatadir)/xsane + @for program in $(BINPROGS); do \ + $(INSTALL_PROGRAM) $${program} $(bindir)/$${program}; \ + done + $(INSTALL_DATA) $(srcdir)/xsane-style.rc $(sanedatadir)/xsane/xsane-style.rc + $(INSTALL_DATA) $(srcdir)/xsane-startimage.pnm $(sanedatadir)/xsane/xsane-startimage.pnm + $(INSTALL_DATA) $(srcdir)/xsane-calibration.pnm $(sanedatadir)/xsane/xsane-calibration.pnm + $(INSTALL_DATA) $(srcdir)/xsane-logo.xpm $(sanedatadir)/xsane/xsane-logo.xpm + $(INSTALL_DATA) $(srcdir)/xsane-gpl.txt $(sanedatadir)/xsane/xsane-gpl.txt + $(INSTALL_DATA) $(srcdir)/xsane-eula.txt $(sanedatadir)/xsane/xsane-eula.txt + @for logo in *-logo.xpm; do \ + echo installing $(sanedatadir)/xsane/$${logo}; \ + $(INSTALL_DATA) $(srcdir)/$${logo} $(sanedatadir)/xsane/$${logo}; \ + done + +uninstall: + @for program in $(BINPROGS); do \ + echo uninstalling $(bindir)/$${program}...; \ + rm -f $(bindir)/$${program}; \ + done + echo uninstalling $(sanedatadir)/xsane/xsane-style.rc... + rm -f $(sanedatadir)/xsane/xsane-style.rc + echo uninstalling $(sanedatadir)/xsane/xsane-startimage.pnm... + rm -f $(sanedatadir)/xsane/xsane-startimage.pnm + echo uninstalling $(sanedatadir)/xsane/xsane-calibration.pnm... + rm -f $(sanedatadir)/xsane/xsane-calibration.pnm + echo uninstalling $(sanedatadir)/xsane/xsane-logo.xpm... + rm -f $(sanedatadir)/xsane/xsane-logo.xpm + @for logo in *-logo.xpm; do \ + echo uninstalling $(sanedatadir)/xsane/$${logo}; \ + rm -f $(sanedatadir)/xsane/$${logo}; \ + done + +xsane: $(XSANE_OBJS) $(LIBLIB) + $(LINK) $(XSANE_OBJS) \ + $(LIBLIB) $(LIBS) $(SANE_LIBS) + + +clean: + rm -f *.o *~ .*~ *.bak + rm -rf .libs + +distclean: clean + rm -f Makefile $(PROGRAMS) + +depend: + makedepend $(INCLUDES) *.c + +.PHONY: all install depend clean distclean + +xsane.o: xsane.h +xsane.o: xsane-back-gtk.h +xsane.o: xsane-front-gtk.h +xsane.o: xsane-preview.h +xsane.o: xsane-save.h +xsane.o: xsane-gamma.h +xsane.o: xsane-setup.h +xsane.o: xsane-scan.h +xsane.o: xsane-rc-io.h +xsane.o: xsane-device-preferences.h +xsane.o: xsane-preferences.h +xsane.o: xsane-icons.h +xsane.o: xsane-batch-scan.h + +xsane-back-gtk.o: xsane.h +xsane-back-gtk.o: xsane-back-gtk.h +xsane-back-gtk.o: xsane-front-gtk.h +xsane-back-gtk.o: xsane-preferences.h +xsane-back-gtk.o: xsane-gamma.h + +xsane-front-gtk.o: xsane.h +xsane-front-gtk.o: xsane-back-gtk.h +xsane-front-gtk.o: xsane-preferences.h +xsane-front-gtk.o: xsane-preview.h +xsane-front-gtk.o: xsane-save.h +xsane-front-gtk.o: xsane-gamma.h +xsane-front-gtk.o: xsane-setup.h + +xsane-batch-scan.o: xsane.h +xsane-batch-scan.o: xsane-scan.h +xsane-batch-scan.o: xsane-batch-scan.h +xsane-batch-scan.o: xsane-back-gtk.h +xsane-batch-scan.o: xsane-front-gtk.h +xsane-batch-scan.o: xsane-rc-io.h +xsane-batch-scan.o: xsane-preview.h +xsane-batch-scan.o: xsane-gamma.h + +xsane-preview.o: xsane.h +xsane-preview.o: xsane-back-gtk.h +xsane-preview.o: xsane-front-gtk.h +xsane-preview.o: xsane-batch-scan.h +xsane-preview.o: xsane-preview.h +xsane-preview.o: xsane-preferences.h +xsane-preview.o: xsane-gamma.h + +xsane-preferecnes.o: xsane.h +xsane-preferecnes.o: xsane-preferences.h +xsane-preferecnes.o: xsane-rc-io.h + +xsane-device-preferences.o: xsane.h +xsane-device-preferences.o: xsane-rc-io.h +xsane-device-preferences.o: xsane-back-gtk.h +xsane-device-preferences.o: xsane-front-gtk.h +xsane-device-preferences.o: xsane-gamma.h + +xsane-rc-io.o: xsane.h +xsane-rc-io.o: xsane-rc-io.h + +xsane-save.o: xsane.h +xsane-save.o: xsane-back-gtk.h +xsane-save.o: xsane-front-gtk.h + +xsane-scan.o: xsane.h +xsane-scan.o: xsane-back-gtk.h +xsane-scan.o: xsane-front-gtk.h +xsane-scan.o: xsane-preferences.h +xsane-scan.o: xsane-preview.h +xsane-scan.o: xsane-viewer.h +xsane-scan.o: xsane-save.h +xsane-scan.o: xsane-gamma.h +xsane-scan.o: xsane-setup.h + +xsane-gamma.o: xsane.h +xsane-gamma.o: xsane-back-gtk.h +xsane-gamma.o: xsane-front-gtk.h +xsane-gamma.o: xsane-preferences.h +xsane-gamma.o: xsane-preview.h +xsane-gamma.o: xsane-save.h + +xsane-setup.o: xsane.h +xsane-setup.o: xsane-back-gtk.h +xsane-setup.o: xsane-front-gtk.h +xsane-setup.o: xsane-preferences.h +xsane-setup.o: xsane-device-preferences.h +xsane-setup.o: xsane-preview.h +xsane-setup.o: xsane-save.h +xsane-setup.o: xsane-gamma.h +xsane-setup.o: xsane-batch-scan.h + +xsane-viewer.o: xsane.h +xsane-viewer.o: xsane-back-gtk.h +xsane-viewer.o: xsane-front-gtk.h +xsane-viewer.o: xsane-preferences.h +xsane-viewer.o: xsane-viewer.h +xsane-viewer.o: xsane-gamma.h +xsane-viewer.o: xsane-icons.h +xsane-viewer.o: xsane-save.h + + + + diff --git a/src/Plustek-logo.xpm b/src/Plustek-logo.xpm index 21b0897..6b3f8a0 100644 --- a/src/Plustek-logo.xpm +++ b/src/Plustek-logo.xpm @@ -1,75 +1,198 @@ /* XPM */ -static char * plustek_logo_2_xpm[] = { -"256 48 24 1", -" c None", -". c #3A4A52", -"+ c #3E4E56", -"@ c #3E4E52", -"# c #42525A", -"$ c #46565E", -"% c #3E4A52", -"& c #46525A", -"* c #4A5A62", -"= c #46565A", -"- c #723A42", -"; c #6A2A32", -"> c #6A2A36", -", c #6E363E", -"' c #6E323E", -") c #6E323A", -"! c #723642", -"~ c #6A2E36", -"{ c #72363E", -"] c #4A565E", -"^ c #424E56", -"/ c #4A5A5E", -"( c #425256", -"_ c #763A42", -" ", -" . +@ ", -" ... #... ", -" .@.@. $....% ", -" ......+ &..@@..@ ", -" .@.@@%..%% ..+@...@@. ", -" .......@@.@# %@...@.....@ ", -" .@..@........* +............. ", -" *...@@....%@.%. #%%@.@...@@..@. ", -" +....@.@.@@@@%%.....@@...@# ", -" =@.@.......@.@.@...@.. - ", -" #.........@....... ;;;;;;;;;;;;;;;;;>>;> ;;;;;;;;; ;;;;;;;;> ", -" =@....@...@.@... ;;;;;;;;;;;;;;;>;;;;;>, ;;;;;;;;, ' ;;;;;;;;; ", -" @.@@@@.......@@.$ >>>>>>>>>>>>>;;;;;;>>;;) >>>>>>>; !;>;; >>>>>>>;; ", -"%@$ #.......@.@.@...@@.@= #% ;;;;;;;;;;~~~>;;;>;;;;;;{ ;;;;;;;; ~;;>;>;; ;;;;;;>>; ", -"...%# @%.+.......@.........@%.# @+.. ;;;;;;;;; ~>;;;;;;;> ;;;;;;>; ;;;;;;;; ;;;;;;;;; ", -"@.....] ^.+..@....@...@.@.......%.../ +..%@@ ;;;;;;;>> ;;;>>;>;; ;;;;;;;; >;;>;>>> ;;;;;;;;> ", -".@@%%@.@ #@@..@..@@@@..@ .@@..@.@.%%@.. ^....@.. >>>>>>>;; ;>>;;>;;; ~>>>>>;>> );;;;;;;;;;;;;;;;;>;>;;;;;;;;;;;; ,;;>>;;;) ;>>>>;;>; ~;;;;;;;; ", -"...@.@.@.@* &.............@ $@@...@....@@@@* &@.@.....@ ;;;;;;;;~ ;;;;;;;;; ;;;;;;;;; ;;;;;;;;; ;;;;;;;; );;;;;;;;;;;;;;;;;;;;;;>;>;;;;;;;;;; );>>>;;>;;>>>>~ ;;;;>>;;; ~;;;;;;;; ", -"..@........%^ /@.@@..@..@....$ #@..@@......@.( /@.@...@@.... -;;;;;;;>- ;;;;;;>>> ;;;;;>;;> >>>>>>>>- ;>>>>>>> ;>;>>;>>>>>>>>>>>>>>>;;;;;;;;;;;>>>;~ ~;;;;;;;;;;;;;;;;;> ;;;;;;;;; ~;>>>>>>~ ", -"..........@...@ ..@.....@..@.. +...@.......@.. /..@..@....@@.@ -;;;;;>;> ;>>;>;;;> ;;;;;;;;; ;;;;;;;; ;;;;;;;; ;;;;>;;;;;~~~~~~~~~~>>;;>;>>;>>~~~~~ ;;;;;;;> ;;;;;;;> ;;;;;;>>; ;>;;;;;;~ ", -"@..@.@.@.@..@...+@%.....@@..@../ @@....@.@...@.@@..@.......@.... ,>>>>>;;; ->>;;>;;;> >>>>;>>;; ;;;;;;;; ;;;;;;;; ;>;;;;;;; -;;;;;>;; ;;;>>;;> >>;;;;;; >>>;;>;;> ~;;;;;;;~ ", -".@.@.@.@..@.@.....@@.........# @@@...............@.@.....@.@ ~;;;;;>;> >>>;;;;;;;;;~ ;;;;;;;;; ;;;;;;>; ;;;;;;>; ;;;;;;;;; ;>;;;;;; ~;>;;>>; ;>>>>;;; ;;>>;;;;> ,;;;;;;;; ", -"@............@@..@...@@..@.@ ..@.@.@..@.@@..@...@@...... ~>;;;;;;; ~;;;;;;;;>>' ;;;>;;>>> >>>>>>;; >>>>>>;> ;>>;>>>>; ~;;;;;;;; >>;;;;;~ ;;;;;;;>, ;;;;;;;;; ,>;;>>>>; ", -" #......@.....@....@..... $.@..@.....@..@....@@.@./ ;;;;>;>;> >>;>>;>~, ;;;;;;;; ;;;;;;>> ;;;;;;;> ,;;;;;;>>; >;>>;>;;; ;;;;;;;;>-- -;;;;>>;;; ;;;;>>;;> ~;>>;;;;> ", -" +.@.@..@....@......@@( ...@..@..@.......@...] ;>>>;;;>; ~;>,, >>;>>;;; ;;;;;;;; ,;;;;;;;; ;;;;>;;>;) >>;;>;;;; >;;>>;;;;;>;;;;;;;;;;;;;;> >;;>;;>;; ~;;;;;;;; ", -" @..@.@.....@@....... (...........@.@.....$ ;;;;>;;;~ ;;;;;;;; >;;;>;;> >;;;;>;;~ ~;;;;;;>;; ;;;;;>;>> ;>;;>>;;>;>;;;;;>>>>;;;;;' >>;;;;>;; ;;;;;;;>, ", -" ....@@..@...@@...@.% &.@.@..@.@@..@...@@.@ ;;;;;;;;> ;>;;>>>> ;>>>;;;; ;>>>>;;;~ ;;;;>;;;;_ ;;;;;;>;; >;;;;;>;, ;;;;;;;;> ,;>>>>;;> ", -" @..@....@........%.@ =@..@%.@.....@..@...+ ;;>;>;>;, ;;;;;;;> ;;;;>>;> ;;;;;>;;, ~>;;;;;>>! >>;>;;;;; ;;;;;;>;- ;;>>;;>;; ~;;;>;;;~ ", -" =.@......@+ @+@.@.@ ....@.. &.@..@....@ >>;;;>;; ;>>;;;>; ;;;;;;;;, ;;;;;;;>; ;;;>>;;;; ;;>;;;;;> ;>>;;;;;~ ;>;;>;;;> ~;;;;;;;; ", -" $@@.... ..@...%.+ ......... $....@. ;;>;;;;; >;;;;;;;; ;;>;;>;>;, >>;;;>;;;> ;>;;>;;;> ;;;>;>>;> ;;>>;;>;; ;;;;>;;;; ;;>>>>;; ", -" #.@ ....@..@@.= +..@@@..@.. +.@ ;;;;;;>> ;;;>>>;>; >>;;;;>;;>;;;;;>>>;;;>; ) >;;;;;;;; ;;;;>;;;; ;;;>;;>>; ;;;;;;>;; ,;;;;;;>; ", -" ....@@...@.@/ ^.@....@..@@@ >;>;>;;; >;;;;;;;; ;;>>;;;;;;;;;;;;;;>;;;; >>;>>;;~;;;;;>>>;; ;>;;;;;;;;;;>> ;;;>;;;>;;; -~;; >>;;>;;;> ;;;;>;;;) ", -" @.@.....@.....& (%...@....@.... ;;;>;;;; ;>;;;>;>> ;;;;;;;>;>;>;;~;;;;>;;> ;;;;;;;;;;>>;;;;>' ~;;;;;>;;>;>;; ~;;;;;;;;>;;;>>;>;;;> ;;>;;;>>; ;;;;;;;;- ", -" @........@..%.%%...@%............ -~;;;;;>; ;;;;;;;;> ;;>;>;;;>;>~ ;>;;;>;; );;;>;;;>;;>;;;~ ~;>>;>>;>;;>, ;;;;>>;;;>;;;;;>>;, ;;>;;;;;> ,>;;>;;>; ", -" ..@..@@....@.@@.@...@..@@@..@...@ ,>;;;>>;> ;>>>;>;;; >;>;;>;;; >;;;>;;> >>>;>>>;;;;;~ ~;;;;;;;;;; >;;;;;;;;;;;>;;; ;;;;>;;;; ;;>;>;;;; ", -" ..@@...@.@.@..@..@..@....@..@@@.@ ,~;;, -,~,, ,,~,,, '~;>>>;~ ", -" /.....@.........@....@....@..... ", -" (...@.........@...........$ ", -" #...@.@@.@...@..@@@..+ ", -" (.@..@..@..@....@.* ", -" .....@....@...$ ", -" ....@.....+ ", -" $+.@.+ ", -" + ", -" ", -" ", -" "}; +static char * plustek_logo_3_xpm[] = { +"256 48 147 2", +" c None", +". c #969EA2", +"+ c #929A9E", +"@ c #6E7A82", +"# c #8A969A", +"$ c #3A4A52", +"% c #525E66", +"& c #7A868A", +"* c #3E4E56", +"= c #3E4E52", +"- c #5A666E", +"; c #AEB6BA", +"> c #42525A", +", c #869296", +"' c #5A666A", +") c #828E92", +"! c #6A7A7E", +"~ c #46565E", +"{ c #3E4A52", +"] c #4E5E62", +"^ c #626E72", +"/ c #46525A", +"( c #768286", +"_ c #B2B6BA", +": c #5A6A6E", +"< c #868E92", +"[ c #AAB2B2", +"} c #66767A", +"| c #4A5A62", +"1 c #7E868A", +"2 c #A2AAAE", +"3 c #6A767E", +"4 c #AEB6B6", +"5 c #4E5A62", +"6 c #5E6E72", +"7 c #6A767A", +"8 c #9AA2A6", +"9 c #626E76", +"0 c #9EA6AA", +"a c #46565A", +"b c #BA9EA2", +"c c #763E46", +"d c #8A5A62", +"e c #8E6266", +"f c #AA868E", +"g c #CAB6B6", +"h c #763A46", +"i c #723A42", +"j c #966A72", +"k c #526266", +"l c #828A92", +"m c #AE8E92", +"n c #6A2A32", +"o c #6A2A36", +"p c #824E52", +"q c #9E767A", +"r c #CAB2B6", +"s c #8E5E66", +"t c #5E6A6E", +"u c #6E363E", +"v c #A6828A", +"w c #8E626A", +"x c #AA828A", +"y c #966E72", +"z c #8A5E62", +"A c #7E4A52", +"B c #6E323E", +"C c #9E7A7E", +"D c #56666A", +"E c #6E7A7E", +"F c #8A9296", +"G c #AAB2B6", +"H c #6E323A", +"I c #B69A9E", +"J c #824E56", +"K c #92666E", +"L c #7A464A", +"M c #723642", +"N c #9E767E", +"O c #7E8A8E", +"P c #5E6A72", +"Q c #6A2E36", +"R c #72363E", +"S c #86525A", +"T c #A27E82", +"U c #A68286", +"V c #AA8A8E", +"W c #9A727A", +"X c #4A565E", +"Y c #424E56", +"Z c #4A5A5E", +"` c #A6AEB2", +" . c #76424A", +".. c #C2AAAE", +"+. c #B6969A", +"@. c #B2969A", +"#. c #B6969E", +"$. c #C6AAAE", +"%. c #A67E86", +"&. c #AA868A", +"*. c #BAA2A6", +"=. c #969EA6", +"-. c #4E5E66", +";. c #7E868E", +">. c #667276", +",. c #86565E", +"'. c #C6B2B6", +"). c #7A424A", +"!. c #C6AEB2", +"~. c #86565A", +"{. c #AE8A8E", +"]. c #8A565E", +"^. c #BEA2A6", +"/. c #A27A7E", +"(. c #BEA6AA", +"_. c #B29296", +":. c #BA9A9E", +"<. c #66727A", +"[. c #425256", +"}. c #966A6E", +"|. c #8E5E62", +"1. c #A6868A", +"2. c #727E82", +"3. c #627276", +"4. c #7A464E", +"5. c #92666A", +"6. c #BEA6A6", +"7. c #B2929A", +"8. c #CAB6BA", +"9. c #A2A6AA", +"0. c #727E86", +"a. c #C2A6AA", +"b. c #767E86", +"c. c #763A42", +"d. c #9A7276", +"e. c #8E969A", +"f. c #CEB6BA", +"g. c #9A6E76", +"h. c #8A5A5E", +"i. c #A27A82", +"j. c #C6B2B2", +"k. c #7A828A", +"l. c #9E727A", +"m. c #B28E92", +"n. c #9EA2A6", +"o. c #C6AEAE", +"p. c #92626A", +" . + @ ", +" # $ % . & * = ", +" # $ $ $ - + ; & > $ $ $ ", +" , $ = $ = $ ' ) ! ~ $ $ $ $ { ", +" # $ $ $ $ $ $ * ] & ^ / $ $ = = $ $ = ", +" , $ = $ = = { $ $ { { ( _ : $ $ * = $ $ $ = = $ ", +" , $ $ $ $ $ $ $ = = $ = > < [ } { = $ $ $ = $ $ $ $ $ = ", +" # $ = $ $ = $ $ $ $ $ $ $ $ | 1 2 3 * $ $ $ $ $ $ $ $ $ $ $ $ $ ", +" 4 | $ $ $ = = $ $ $ $ { = $ { $ 5 6 > { { = $ = $ $ $ = = $ $ = $ 7 ", +" 8 ] * $ $ $ $ = $ = $ = = = = { { $ $ $ $ $ = = $ $ $ = > 9 ", +" 0 6 a = $ = $ $ $ $ $ $ $ = $ = $ = $ $ $ = $ $ ] ( b c c c c c c c c c c c c c c c c c d e f g f c c c c c c c c h c c c c c c c c i j ", +" 0 3 > $ $ $ $ $ $ $ $ $ = $ $ $ $ $ $ $ k l m n n n n n n n n n n n n n n n n n o o n o p b q n n n n n n n n n r n n n n n n n n o s ", +" 2 a = $ $ $ $ = $ $ $ = $ = $ $ $ t m n n n n n n n n n n n n n n n o n n n n n o u v w n n n n n n n n u b x y z A B n n n n n n n n n C ", +"D , E = $ = = = = $ $ $ $ $ $ $ = = $ ~ F 7 G m o o o o o o o o o o o o o n n n n n n o o n n H I J o o o o o o o n A K A L M n o n n c o o o o o o o n n N ", +"{ = ~ O 6 > $ $ $ $ $ $ $ = $ = $ = $ $ $ = = $ = a , P > { 0 y n n n n n n n n n n Q Q Q o n n n o n n n n n n R A n n n n n n n n S Q n n o n o n n A n n n n n n o o n T ", +"$ $ $ { > ) } = { $ * $ $ $ $ $ $ $ = $ $ $ $ $ $ $ $ $ = { $ > , ; 6 = * $ $ 0 w n n n n n n n n n z U m V W J Q o n n n n n n n o b A n n n n n n o n q n n n n n n n n A n n n n n n n n n I ", +"= $ $ $ $ $ X < G E Y $ * $ $ = $ $ $ $ = $ $ $ = $ = $ $ $ $ $ $ $ { $ $ $ Z F ` E * $ $ { = = 0 w n n n n n n n o o y n n n o o n o n n y .n n n n n n n n C ..I +.+.+.+.+.+.+.+.+.+.+.+.+.+.@.#.C o n n o n o o o c @.+.+.+.#. $.I V T T %.&.#... n n n n n n n n o *. I +.+.+.+.+.+.+.+.#. ", +"$ = = { { = $ = ] 1 2 ! > = = $ $ = $ $ = = = = $ $ = ! =.-.$ = = $ $ = $ = $ { { = $ $ % ;. 0 >.Y $ $ $ $ = $ $ 0 w o o o o o o o n n n o o n n o n n n ,. Q o o o o o n o o @. '.).).).).).).).).). !.).).).).).).).).~. {.d .H n n n n n n n n n n n n n n n n n o n o n n n n n n n n n n n n +.K A u n n o o n n n H c ].C n o o o o n n o n ^. /.Q n n n n n n n n T ", +"$ $ $ = $ = $ = $ = | E 2 t / $ $ $ $ $ $ $ $ $ $ $ $ $ = : . ~ = = $ $ $ = $ $ $ $ = = = = | ( 8 - / = $ = $ $ $ $ $ = 0 ,.n n n n n n n n Q n n n n n n n n n z n n n n n n n n n b (.n n n n n n n n n _.n n n n n n n n d w H n n n n n n n n n n n n n n n n n n n n n n o n o n n n n n n n n n n :.A H n o o o n n o n n o o o o Q .q n n n n o o n n n *. v Q n n n n n n n n W ", +"$ $ = $ $ $ $ $ $ $ $ { Y 9 0 Z = $ = = $ $ = $ $ = $ $ $ $ ~ <. 8 k > = $ $ = = $ $ $ $ $ $ = $ [.<. 8 Z = $ = $ $ $ = = $ $ $ $ 0 i n n n n n n n o i [ n n n n n n o o o V n n n n n o n n o (.o o o o o o o o i V n o o o o o o o }. _.n o n o o n o o o o o o o o o o o o o o o n n n n n n n n n n n o o o n Q |.Q n n n n n n n n n n n n n n n n n o J n n n n n n n n n 1.Q n o o o o o o Q q ", +"$ $ $ $ $ $ $ $ $ $ = $ $ $ = <. 0 k $ $ = $ $ $ $ $ = $ $ = $ $ ] 2. 8 3.* $ $ $ = $ $ $ $ $ $ $ = $ $ 2. + Z $ $ = $ $ = $ $ $ $ = = $ = 0 i n n n n n o n o z ).n o o n o n n n o n n n n n n n n n (.n n n n n n n n 4. m n n n n n n n n V J n n n n o n n n n n Q Q Q Q Q Q Q Q Q Q o o n n o n o o n o o Q Q Q Q Q . d n n n n n n n o A 5.y w A n n n n n n n o s n n n n n n o o n m n o n n n n n n Q N ", +"= $ $ = $ = $ = $ = $ $ = $ $ $ * = { $ $ $ $ $ = = $ $ = $ $ Z O 2 } = = $ $ $ $ = $ = $ $ $ = $ = = $ $ = $ $ $ $ $ $ $ = $ $ $ $ 0 u o o o o o n n n y @.+.V y i o o n n o n n n o ~. o o o o n o o n n 6.n n n n n n n n w T n n n n n n n n I .n o n n n n n n n z 1.@.m @.m @.m @.m _._.+ i n n n n n o n n w _._._._.b W n n n o o n n o q A o o n n n n n n '. o o o n n o n n o 7.Q n n n n n n n Q N ", +"$ = $ = $ = $ = $ $ = $ = $ $ $ $ $ = = $ $ $ $ $ $ $ $ $ > O ` 9 = = = $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ = $ = $ $ $ $ $ = $ = 0 Q n n n n n o n o 1. }.o o o n n n n n n n n n Q 8.n n n n n n n n n V n n n n n n o n y K n n n n n n o n '. ,.n n n n n n n n n @. p n o n n n n n n 9. Q n o n n o o n ,. b n o o o o n n n K n n o o n n n n o b u n n n n n n n n W ", +"= $ $ $ $ $ $ $ $ $ $ $ $ = = $ $ = $ $ $ = = $ $ = $ = ( G k $ $ = $ = $ = $ $ = $ = = $ $ = $ $ $ = = $ $ $ $ $ $ 0 Q o n n n n n n n ^. Q n n n n n n n n o o B '. 9.n n n o n n o o o C o o o o o o n n &. z o o o o o o n o *.n o o n o o o o n L Q n n n n n n n n d o o n n n n n Q '. n n n n n n n o u n n n n n n n n n !.u o n n o o o o n }. ", +"k > $ $ $ $ $ $ = $ $ $ $ $ = $ $ $ $ = $ $ $ $ $ ] ;. 6 ~ $ = $ $ = $ $ $ $ $ = $ $ = $ $ $ $ = = $ = $ Z G n n n n o n o n o 8. K o o n o o n o Q u z b n n n n n n n n . T n n n n n n o o I c n n n n n n n o U u n n n n n n o o n e o n o o n o n n n n n n n n n n n o i i c c c c h i n n n n o o n n n n n n n o o n n o v Q n o o n n n n o K ", +" + 6 * $ = $ = $ $ = $ $ $ $ = $ $ $ $ $ $ = = [.8 ! $ $ $ = $ $ = $ $ = $ $ $ $ $ $ $ = $ $ $ X 0.; n o o o n n n o n Q n o u u 4.,.C C o o n o o n n n 4. C n n n n n n n n a. u n n n n n n n n F .n n n n o n n o n H N o o n n o n n n n 6.o n n o o n n n n n o n n n n n n n n n n n n n n o o n n o n n o n n q Q n n n n n n n n m ", +" 0 9 = $ $ = $ = $ $ $ $ $ = = $ $ $ $ $ $ $ D # [ b.[.$ $ $ $ $ $ $ $ $ $ $ = $ = $ $ $ $ $ ~ O n n n n o n n n Q b @.@.` .. C n n n n n n n n z T o n n n o n n o o n n n n o n n Q y Q n n n n n n o n n A 6. n n n n n o n o o 1.n o n n o o n n o n o n n n n n o o o o n n n n n B o o n n n n o n n K n n n n n n n o u ", +" ` : $ $ $ $ = = $ $ = $ $ $ = = $ $ $ = $ { k ;. G 7 / $ = $ = $ $ = $ = = $ $ = $ $ $ = = $ = & n n n n n n n n o ' n o n n o o o o y C n o o o n n n n r (.n o o o o n n n Q 2 ~.n n n n o n n n n c.:. ` n n n n n n o n n y o n n n n n o n u K 5.K K K K w w w 5.w w w w K 5.C n n n n n n n n o u n o o o o n n o ,. ", +" ` -.= $ $ = $ $ $ $ = $ $ $ $ $ $ $ $ { $ = 5 ( [ t a = $ $ = { $ = $ $ $ $ $ = $ $ = $ $ $ * 0. !.n n o n o n o n u S n n n n n n n o d. d n n n n o o n o V ~.n n n n n o n n u 1.Q o n n n n n o o M ^.o o n o n n n n n j n n n n n n o n i n n o o n n o n n ..Q n n n o n n n Q f ", +" G >.a $ = $ $ $ $ $ $ = * -.( } = * = $ = $ = E ` k $ $ $ $ = $ $ 0 9 / $ = $ $ = $ $ $ $ = % & e.o o n n n o n n ,. .n o o n n n o n 7. ~.n n n n n n n n u y n n n n n n n o n ,. [ n n n o o n n n n y . n n o n n n n n o . n o o n n n n n Q n o n n o n n n o b.Q n n n n n n n n f. ", +" G @ ~ = = $ $ $ $ k ) , $ $ = $ $ $ { $ * & 2 t $ $ $ $ $ $ $ $ $ ` ! ~ $ $ $ $ = $ D , {.n n o n n n n n ,. o n n n n n n n n I ,.n n o n n o n o n u j g.A o o n n n o n n n o h. r n o n n o n n n o A i.n n n o n o o n o b $.n n o o n n o n n J n n n n o n n n n ~.n n o o o o n n 4. ", +" ( > $ = ] # F $ $ $ $ = $ $ = = $ a b._ 8 3.* $ $ = = = $ $ = $ $ 0.* $ = k + y n n n n n n o o y n n n o o o n o n I J o o n n n n o n n o n n n n n o o o n n n o n K j.H 4.s W T T U W J o n n n n n n n n ). k.n n n n o n n n n c q U C j 1. .n n n o n n o o n A 1.r a.m i.w f 2 n n n n n n o n n u n n n n n n o n l. ", +" ( e. , $ $ $ $ = = $ $ $ = $ = Z ! ; e.: Y $ = $ $ $ $ = $ $ = = = @ 8 j o n o n o n n n T o n n n n n n n n y n n o o n n n n n n n n n n n n n n o n n n n T o o n o o n n Q n n n n n o o o n n j m.n o n n n n n n n n n n o o m n.n n n o n n n o n n n c A J J J A L i Q n n I *.o o n n o n n n o m n n n n o n n n H o. ", +" # = $ = $ $ $ $ $ = $ $ $ $ $ / - ) 5 [.{ $ $ $ = $ $ $ $ = $ $ $ $ .n n n o n n n n U n o n n n o n o o n.n n n n n n n o n o n o n n Q n n n n o n n o U n n n n n n n n n n o o n n n n o B Q n n n n n o n n o n o n n 7 Q n n n n n n n n o n n n o o n o n n n o n.n n o n n n o o n ,.n n n n n n n n i ", +" , = $ $ $ $ $ $ $ $ = $ $ { $ { { $ $ $ = { $ $ $ $ $ $ $ $ $ $ $ $ i Q n n n n n o n U ..n n n n n n n n o A n n o n o n n n o n o Q ~.t n o n n n o n n U H n n n o n n n o n n o n n n Q .(. z Q n o o n o o n o n n o u U .n n n n o o n n n o n n n n n o o n u U n n o n n n n n o u o n n o n n o n d ", +" F $ $ = $ $ = = $ $ $ $ = $ = = $ = $ $ $ = $ $ = = = $ $ = $ $ $ = u o n n n o o n o T e.n o o o n o n n n A o n o n n o n n n .1. e.o n n n o n n o U 4.o o o n o o o n n n n n Q .W - Q n n n n n n n n n n ~. G y .o n n n n n n n n n n n o n n n ,. b.n n n n o n n n n e.n n o n o n n n n V ", +" F $ $ = = $ $ $ = $ = $ = $ $ = $ $ = $ $ = $ $ $ $ = $ $ = = = $ = z w t w w w w z K b *.w w w t 5.z w K K e.,.u Q n n u ~.1 $.w z w w w w w K !. 8.@.C w J i u Q u u .J y n. 6.y J u u Q u u u A w .. @.C ,. .B Q n o o o n Q c A e W !. I w w ^ z w w w K K d.w w w w K w K p.g. ", +" Z $ $ $ $ $ = $ $ $ $ $ $ $ $ $ = $ $ $ $ = $ $ $ $ = $ $ $ $ $ } 8. 8. ", +" 0 k [.$ $ $ = $ $ $ $ $ $ $ $ $ = $ $ $ $ $ $ $ $ $ $ $ ~ ! ", +" 0 3.> $ $ $ = $ = = $ = $ $ $ = $ $ = = = $ $ * ] ( ", +" 2 ! [.$ = $ $ = $ $ = $ $ = $ $ $ $ = $ | ) ", +" 4 7 $ $ $ $ $ = $ $ $ $ = $ $ $ ~ F ", +" 6 $ $ $ $ = $ $ $ $ $ * l ", +" } ~ * $ = $ * ] , ", +" 0.5 * P # ", +" 0 ", +" ", +" "}; diff --git a/src/cursor/cursor_autoraise_scanarea.xbm b/src/cursor/cursor_autoraise_scanarea.xbm new file mode 100644 index 0000000..d5895f7 --- /dev/null +++ b/src/cursor/cursor_autoraise_scanarea.xbm @@ -0,0 +1,7 @@ +/* Erzeugt mit Gimp */ +#define cursor_autoraise_scanare_width 16 +#define cursor_autoraise_scanare_height 16 +static unsigned char cursor_autoraise_scanare_bits[] = { + 0xaa, 0x2a, 0xc1, 0x41, 0xe0, 0x03, 0x81, 0x40, 0x80, 0x00, 0x85, 0x50, + 0x86, 0x30, 0x7f, 0x7f, 0x86, 0x30, 0x85, 0x50, 0x80, 0x00, 0x81, 0x40, + 0xe0, 0x03, 0xc1, 0x41, 0xaa, 0x2a, 0x00, 0x00 }; diff --git a/src/cursor/cursor_autoraise_scanarea_mask.xbm b/src/cursor/cursor_autoraise_scanarea_mask.xbm new file mode 100644 index 0000000..e4adeda --- /dev/null +++ b/src/cursor/cursor_autoraise_scanarea_mask.xbm @@ -0,0 +1,7 @@ +/* Erzeugt mit Gimp */ +#define cursor_autoraise_scanare_width 16 +#define cursor_autoraise_scanare_height 16 +static unsigned char cursor_autoraise_scanare_bits[] = { + 0xea, 0x2b, 0xe1, 0x43, 0xf0, 0x07, 0xc1, 0x41, 0xc4, 0x11, 0xc7, 0x71, + 0xff, 0x7f, 0x7f, 0x7f, 0xff, 0x7f, 0xc7, 0x71, 0xc4, 0x11, 0xc1, 0x41, + 0xf0, 0x07, 0xe1, 0x43, 0xea, 0x2b, 0x00, 0x00 }; diff --git a/src/cursor/cursor_zoom_select.xbm b/src/cursor/cursor_zoom_select.xbm new file mode 100644 index 0000000..4c88a36 --- /dev/null +++ b/src/cursor/cursor_zoom_select.xbm @@ -0,0 +1,7 @@ +/* Erzeugt mit Gimp */ +#define cursor_zoom_select_width 16 +#define cursor_zoom_select_height 16 +static unsigned char cursor_zoom_select_bits[] = { + 0x00, 0x00, 0xf0, 0x01, 0x08, 0x02, 0x44, 0x04, 0x42, 0x08, 0x42, 0x08, + 0xba, 0x0b, 0x42, 0x08, 0x42, 0x08, 0x44, 0x04, 0x08, 0x06, 0xf0, 0x0f, + 0x00, 0x1c, 0x00, 0x38, 0x00, 0x70, 0x00, 0xe0 }; diff --git a/src/cursor/cursor_zoom_select_mask.xbm b/src/cursor/cursor_zoom_select_mask.xbm new file mode 100644 index 0000000..81f1b9c --- /dev/null +++ b/src/cursor/cursor_zoom_select_mask.xbm @@ -0,0 +1,7 @@ +/* Erzeugt mit Gimp */ +#define cursor_zoom_select_mask_width 16 +#define cursor_zoom_select_mask_height 16 +static unsigned char cursor_zoom_select_mask_bits[] = { + 0xf0, 0x01, 0xf8, 0x03, 0x0c, 0x06, 0x46, 0x0c, 0x53, 0x19, 0xe3, 0x18, + 0xbb, 0x1b, 0xe3, 0x18, 0x53, 0x19, 0x46, 0x0c, 0x0c, 0x0e, 0xf8, 0x1f, + 0xf0, 0x3f, 0x00, 0x7c, 0x00, 0xf8, 0x00, 0xf0 }; diff --git a/src/xsane-16x16.png b/src/xsane-16x16.png new file mode 100644 index 0000000..2341807 Binary files /dev/null and b/src/xsane-16x16.png differ diff --git a/src/xsane-16x16.xpm b/src/xsane-16x16.xpm new file mode 100644 index 0000000..14c2f13 --- /dev/null +++ b/src/xsane-16x16.xpm @@ -0,0 +1,88 @@ +/* XPM */ +static char * xsane_16x16_xpm[] = { +"16 16 69 1", +" c None", +". c #CECAB6", +"+ c #DED6B2", +"@ c #B6AA82", +"# c #D2CAA2", +"$ c #CABE96", +"% c #AEA67E", +"& c #C2B68E", +"* c #CEC29A", +"= c #C6BA92", +"- c #BAAE86", +"; c #CEC69E", +"> c #CAC29A", +", c #B2A67E", +"' c #BEB28A", +") c #968E6A", +"! c #E2D6B2", +"~ c #B2AA86", +"{ c #AEA27E", +"] c #867A5E", +"^ c #2E2A1E", +"/ c #221E16", +"( c #322E22", +"_ c #665E46", +": c #AAA27E", +"< c #A29672", +"[ c #625E46", +"} c #020206", +"| c #D6CEA6", +"1 c #E2DAB6", +"2 c #8A8262", +"3 c #A69A76", +"4 c #9E9272", +"5 c #BEB68E", +"6 c #C6BE96", +"7 c #A69E7A", +"8 c #1A1A12", +"9 c #1E1A16", +"0 c #EAE2C2", +"a c #867E5E", +"b c #4E4A36", +"c c #3E3A2A", +"d c #7E765A", +"e c #8E8666", +"f c #524A3A", +"g c #222EFA", +"h c #423E2E", +"i c #726A52", +"j c #2632FA", +"k c #A6BAFE", +"l c #1E22FA", +"m c #D6CAA6", +"n c #566AFE", +"o c #FAFAF6", +"p c #5E72FE", +"q c #F2EED6", +"r c #EAE6C6", +"s c #26261E", +"t c #465AFE", +"u c #161EFA", +"v c #DAD2AE", +"w c #AA9E7A", +"x c #AEA682", +"y c #DACEAA", +"z c #C2BA92", +"A c #524E3A", +"B c #9E9672", +"C c #9A8E6E", +"D c #222216", +" ", +" .+@#$%#&%* ", +" =-;@->,';@'>) ", +" !~&'{]^/(_:='<[", +" $:$} |-:&", +" 1,@- 23$@4", +" 5=67 {8", +" -$9 0=|= ; ", +" abc(bd: ;e ", +" fg7 $h", +" ijklm ,@", +" 0 }nopq ==", +" rs ;tnub v$e", +" |wx 2=8 y-$x ", +" 36&'>$z;='=2 ", +" A4B&=:CD "}; diff --git a/src/xsane-32x32.png b/src/xsane-32x32.png new file mode 100644 index 0000000..8cfaff5 Binary files /dev/null and b/src/xsane-32x32.png differ diff --git a/src/xsane-48x48.png b/src/xsane-48x48.png new file mode 100644 index 0000000..febbd0b Binary files /dev/null and b/src/xsane-48x48.png differ diff --git a/src/xsane-WIN32.txt b/src/xsane-WIN32.txt index e7476dc..5e5a79f 100644 --- a/src/xsane-WIN32.txt +++ b/src/xsane-WIN32.txt @@ -1,9 +1,7 @@ README for xsane for win32: -This is an early Version of xsane for win32. -It may have several bugs. It is not tested very well -but short tests looked very good. +This is a win32 of xsane. It may have some bugs. This version supports: - preview scan, preview zoom @@ -11,19 +9,19 @@ This version supports: - handling of all backend options - helpfiles - copy mode (printing via ghostscript, see section "copy mode") - - gimp-plugin + - gimp-plugin (if compiled in) It does not support: - fax mode (no compatible faxsoftware) - - internationalization not set up correct Installation: ============= - unpack the archiv to c:\ that creates the directory c:\Sane with several files - you do not need to copy any files, simply call xsane or scanimage + you do not need to copy any files, simply call c:\sane\bin\xsane or + c:\sane\bin\scanimage - Sane MUST BE installed in c:\sane because the paths are hardcoded. Xsane will not work correct if you install it at any other place! @@ -31,10 +29,10 @@ Installation: - make sure you have a directory c:\temp (or whatever you define as temporary directory in xsane's setup) - - there are two icons (xsane-32x32.ico and xsane-48x48.ico) - that you can use if you set a link from xsane.exe to your desktop, - for that use right mouse button and change properties of the link, - change icon and select "c:\sane\xsane-??x??.ico" + - there are three icons (xsane.ico, xsane-32x32.ico and xsane-48x48.ico) + in c:\sane\bin that you can use if you set a link from xsane.exe to + your desktop, for that use right mouse button and change properties + of the link, change icon and select "c:\sane\bin\xsane-??x??.ico" Configuration: @@ -45,38 +43,49 @@ Configuration: system IP-addresses are not accepted; if you experience any problems try the NetBUI names. -example for net.conf: -myhost1 -myhost2.mydomain.com -192.168.0.1 -192.169.1.73 + example for net.conf: + myhost1 + myhost2.mydomain.com + 192.168.0.1 + 192.169.1.73 - you also can start xsane with host:backend:device given as command line option: - xsane 192.168.0.1:umax:/dev/scanner -or - xsane myhost:umax:/dev/scanner + you also can start xsane with net:host:backend:device given as command line option: + xsane net:192.168.0.1:umax:/dev/scanner + or + xsane net:myhost:umax:/dev/scanner + + +Localisation: +============= + You have to set the environment variable LANG to the language + you want to select, for e.g. german this looks like this: + set LANG=de + xsane + It is a good idea to do this in a script that is started at system boot, + e.g. in autoexec.bat Copy-Mode: =========== -If you want to use copy mode, you need ghostscript for win32. -You can download it e.g. from http://www.cs.wisc.edu/~ghost/ -Enter Setup/Copy options: -enter as Command: + If you want to use copy mode, you need ghostscript for win32. + You can download it e.g. from http://www.cs.wisc.edu/~ghost/ + Enter Setup/Copy options: + enter as Command: c:/gs/gs6.50/bin/gswin32c -sDEVICE=mswinpr2 -dNOPAUSE - -Pay attention: you have to use "/", dont use "\". -With sDEVICE=mswinpr2 you select the Printer Dialog of Windows. + Pay attention: you have to use "/", dont use "\". + With sDEVICE=mswinpr2 you select the Printer Dialog of Windows. -You also can enter DEVICE-name of your printer (e.g. laserjet). -To get a list of available device names open a dos box, -and call c:\gs\gs6.50\bin\gswin32c -h + You also can enter DEVICE-name of your printer (e.g. laserjet). + To get a list of available device names open a dos box, + and call c:\gs\gs6.50\bin\gswin32c -h Gimp-Plugin: =========== -If you want to use xsane as gimp plugin, -copy xsane.exe and *.dll to the GIMPs plug-ins driectory -(e.g. c:\Program Files\GIMP\plug-ins) + (Does only work when xsane.exe is compiled as gimp plugin) + If you want to use xsane as gimp plugin, + copy xsane.exe and *.dll to the GIMPs plug-ins driectory + (e.g. c:\Program Files\GIMP\plug-ins) Support: @@ -100,24 +109,26 @@ Licence: * The sourcecode of xsane can be found at http://www.xsane.org - * The sourcecode of sane can be found at http://www.mostang.com/sane + * The sourcecode of sane can be found at http://www.sane-project.org * For any information about cygwin take a look at http://cygwin.com * For any information about gtk/gdk for win32 take a look at - http://user.sgic.fi/~tml/gimp/win32/ + http://www.gtk.org or http://www.gimp.org/win32/ Compile it yourself: ==================== - * In xsane.WIN32-compilation I wrote down what I did to create xsane.exe + * There is an instruction in the file xsane.WIN32-compilation Contact: ======== You can contact me via email: Oliver.Rauch@rauch-domain.de - but don`t ask for help/support for xsane-win32, I do not have the - time to give support to it and want to use my free time to - work on the code - please understand that. + bugreports, bugfixes and feature requests (that are not + already listed) are welcome. Please don`t ask for help/support + for xsane-win32, I do not have the time to give support for it, + I want to use my free time to work on the code - please understand + that. Oliver Rauch diff --git a/src/xsane-back-gtk.c b/src/xsane-back-gtk.c index bced94d..0aa382e 100644 --- a/src/xsane-back-gtk.c +++ b/src/xsane-back-gtk.c @@ -3,7 +3,7 @@ xsane-back-gtk.c Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -172,6 +172,22 @@ SANE_Status xsane_control_option(SANE_Handle handle, SANE_Int option, SANE_Actio { SANE_Status status; +#if 1 + /* I am not sure about a correct and intelligent way to handle an option that has not defined SANE_CAP_SOFT_DETECT */ + /* the test backend creates an option without SANE_CAP_SOFT_DETECT that causes an error message when I do not do the following */ + if (action == SANE_ACTION_GET_VALUE) + { + const SANE_Option_Descriptor *opt; + + opt = xsane_get_option_descriptor(xsane.dev, option); + if ((opt) && (!(opt->cap & SANE_CAP_SOFT_DETECT))) + { + DBG(DBG_warning, "WARNING: xsane_control_option(option = %d, action = %d): SANE_CAP_SOFT_DETECT is not set\n", option, action); + return SANE_STATUS_GOOD; + } + } +#endif + status = sane_control_option(handle, option, action, val, info); if (status) { @@ -207,7 +223,7 @@ const char *xsane_back_gtk_unit_string(SANE_Unit unit) return "in"; } return "mm"; - case SANE_UNIT_MICROSECOND: return "\265s"; + case SANE_UNIT_MICROSECOND: return "\302\265s"; /* UTF8 µs */ } return 0; } @@ -236,13 +252,13 @@ int xsane_back_gtk_make_path(size_t buf_size, char *buf, const char *prog_name, if (location == XSANE_PATH_LOCAL_SANE) /* make path to local file */ { - if (getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)) != NULL) + if (getenv(STRINGIFY(ENVIRONMENT_APPDATA_DIR_NAME)) != NULL) { - snprintf(buf, buf_size-2, "%s%c.sane", getenv(STRINGIFY(ENVIRONMENT_HOME_DIR_NAME)), SLASH); + snprintf(buf, buf_size-2, "%s%c.sane", getenv(STRINGIFY(ENVIRONMENT_APPDATA_DIR_NAME)), SLASH); } else { - snprintf(buf, buf_size-2, "%s", STRINGIFY(XSANE_FIXED_HOME_PATH)); + snprintf(buf, buf_size-2, "%s", STRINGIFY(XSANE_FIXED_APPDATA_DIR)); } mkdir(buf, 0777); /* ensure ~/.sane directory exists */ } @@ -317,7 +333,7 @@ int xsane_back_gtk_make_path(size_t buf_size, char *buf, const char *prog_name, if (dev_name) { - /* Turn devicename into valid filename by replacing slashes by "_", "_" gets "__", spaces are erased */ + /* Turn devicename into valid filename by replacing slashes and other forbidden characters by "_", "_" gets "__", spaces are erased */ for (i = 0; dev_name[i]; ++i) { @@ -384,7 +400,7 @@ int xsane_back_gtk_make_path(size_t buf_size, char *buf, const char *prog_name, int fd; uid = getuid(); - snprintf(tmpbuf, sizeof(tmpbuf), "-%d-", uid); + snprintf(tmpbuf, sizeof(tmpbuf), "-%d-", (int) uid); extra = strlen(tmpbuf); if (len + extra >= buf_size) @@ -473,6 +489,10 @@ void xsane_back_gtk_set_option(int opt_num, void *val, SANE_Action action) update_gamma = TRUE; /* scanner gamma correction may have changed, medium may need update */ } + else if (info & SANE_INFO_INEXACT) + { + /* XXXXXXXXXXXXXX this also has to be handled XXXXXXXXXXXXXXX */ + } if (xsane.xsane_colors != old_colors) { @@ -489,60 +509,190 @@ void xsane_back_gtk_set_option(int opt_num, void *val, SANE_Action action) /* ----------------------------------------------------------------------------------------------------------------- */ -void xsane_back_gtk_close_dialog_callback(GtkWidget * widget, gpointer data) +int xsane_back_gtk_get_option_double(int option, double *val, SANE_Int *unit) +/* return values: */ +/* 0 = OK */ +/* -1 = option number < 0 */ +/* -2 = failed to set option */ { - DBG(DBG_proc, "xsane_back_gtk_close_dialog_callback\n"); + const SANE_Option_Descriptor *opt; + SANE_Handle dev; + SANE_Word word; + + DBG(DBG_proc, "xsane_back_gtk_get_option_double\n"); + + if (option <= 0) + { + return -1; + } + + if (xsane_control_option(xsane.dev, option, SANE_ACTION_GET_VALUE, &word, 0) == SANE_STATUS_GOOD) + { + dev = xsane.dev; + opt = xsane_get_option_descriptor(dev, option); + + if (unit) + { + *unit = opt->unit; + } + + if (val) + { + if (opt->type == SANE_TYPE_FIXED) + { + *val = (float) word / 65536.0; + } + else + { + *val = (float) word; + } + } - gtk_widget_destroy(data); - xsane.back_gtk_message_dialog_active = 0; + return 0; + } + else if (val) + { + *val = 0; + } + return -2; } /* ----------------------------------------------------------------------------------------------------------------- */ -static gint decision_flag; -static GtkWidget *decision_dialog; +int xsane_back_gtk_set_option_double(int option, double value) +{ + const SANE_Option_Descriptor *opt; + SANE_Word word; + + DBG(DBG_proc, "xsane_set_option_double\n"); + + if (option <= 0 || value <= -INF || value >= INF) + { + return -1; + } + + opt = xsane_get_option_descriptor(xsane.dev, option); + if (opt) + { + if (opt->type == SANE_TYPE_FIXED) + { + word = SANE_FIX(value); + } + else + { + word = value + 0.5; + } -void xsane_back_gtk_decision_callback(GtkWidget * widget, gpointer data) + if (xsane_control_option(xsane.dev, option, SANE_ACTION_SET_VALUE, &word, 0)) + { + return -2; + } + } + else + { + return -1; + } + + return 0; +} + +/* ----------------------------------------------------------------------------------------------------------------- */ + +static int xsane_back_gtk_decision_delete_event(GtkWidget * widget, GdkEvent *event, gpointer data) +{ + gint *decision_flag = (gint *) data; + + DBG(DBG_proc, "xsane_back_gtk_decision_delete_event\n"); + + xsane.back_gtk_message_dialog_active--; + + if (decision_flag) + { + *decision_flag = -1; + } + + return FALSE; /* continue with original delete even routine */ +} + +/* ----------------------------------------------------------------------------------------------------------------- */ + +static void xsane_back_gtk_decision_ok_callback(GtkWidget *widget, gpointer data) { - DBG(DBG_proc, "xsane_back_gtk_decision_callback\n"); + gint *decision_flag = (gint *) data; + + DBG(DBG_proc, "xsane_back_gtk_decision_ok_callback\n"); + + gtk_widget_destroy(widget->parent->parent->parent->parent); + xsane.back_gtk_message_dialog_active--; - gtk_widget_destroy(decision_dialog); - xsane.back_gtk_message_dialog_active = 0; - decision_flag = (long) data; + if (decision_flag) + { + *decision_flag = 1; + } +} + +/* ----------------------------------------------------------------------------------------------------------------- */ + +static void xsane_back_gtk_decision_reject_callback(GtkWidget *widget, gpointer data) +{ + gint *decision_flag = (gint *) data; + + DBG(DBG_proc, "xsane_back_gtk_decision_reject_callback\n"); + + gtk_widget_destroy(widget->parent->parent->parent->parent); + xsane.back_gtk_message_dialog_active--; + + if (decision_flag) + { + *decision_flag = -1; + } } /* ----------------------------------------------------------------------------------------------------------------- */ gint xsane_back_gtk_decision(gchar *title, gchar **xpm_d, gchar *message, gchar *oktext, gchar *rejecttext, int wait) { - GtkWidget *main_vbox, *hbox, *label, *button; + GtkWidget *main_vbox, *hbox, *label, *button, *frame; GdkPixmap *pixmap; GdkBitmap *mask; GtkWidget *pixmapwidget; + GtkWidget *decision_dialog; + GtkAccelGroup *accelerator_group; + gint decision_flag; + gint *decision_flag_ptr = NULL; DBG(DBG_proc, "xsane_back_gtk_decision\n"); - if (xsane.back_gtk_message_dialog_active) + if (wait) { - DBG(DBG_error0, "%s: %s\n", title, message); - return TRUE; + decision_flag_ptr = &decision_flag; } - xsane.back_gtk_message_dialog_active = 1; - decision_dialog = gtk_window_new(GTK_WINDOW_DIALOG); + + xsane.back_gtk_message_dialog_active++; + decision_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_position(GTK_WINDOW(decision_dialog), GTK_WIN_POS_MOUSE); gtk_window_set_title(GTK_WINDOW(decision_dialog), title); - gtk_signal_connect(GTK_OBJECT(decision_dialog), "delete_event", - GTK_SIGNAL_FUNC(xsane_back_gtk_decision_callback), (void *) -1); /* -1 = cancel */ + g_signal_connect(GTK_OBJECT(decision_dialog), "delete_event", GTK_SIGNAL_FUNC(xsane_back_gtk_decision_delete_event), (void *) decision_flag_ptr); xsane_set_window_icon(decision_dialog, 0); + accelerator_group = gtk_accel_group_new(); + gtk_window_add_accel_group(GTK_WINDOW(decision_dialog), accelerator_group); + + /* create a frame */ + frame = gtk_frame_new(NULL); + gtk_container_set_border_width(GTK_CONTAINER(frame), 10); + gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); + gtk_container_add(GTK_CONTAINER(decision_dialog), frame); + gtk_widget_show(frame); + /* create the main vbox */ - main_vbox = gtk_vbox_new(TRUE, 5); + main_vbox = gtk_vbox_new(FALSE, 5); gtk_container_set_border_width(GTK_CONTAINER(main_vbox), 5); gtk_widget_show(main_vbox); + gtk_container_add(GTK_CONTAINER(frame), main_vbox); - gtk_container_add(GTK_CONTAINER(decision_dialog), main_vbox); - + /* create a horizontal box to put the icon and the text insode */ hbox = gtk_hbox_new(FALSE, 2); gtk_container_set_border_width(GTK_CONTAINER(hbox), 4); gtk_box_pack_start(GTK_BOX(main_vbox), hbox, FALSE, FALSE, 0); @@ -551,10 +701,10 @@ gint xsane_back_gtk_decision(gchar *title, gchar **xpm_d, gchar *message, gchar if (xpm_d) { pixmap = gdk_pixmap_create_from_xpm_d(decision_dialog->window, &mask, xsane.bg_trans, xpm_d); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 10); gtk_widget_show(pixmapwidget); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); } /* the message */ @@ -572,7 +722,7 @@ gint xsane_back_gtk_decision(gchar *title, gchar **xpm_d, gchar *message, gchar /* the confirmation button */ button = gtk_button_new_with_label(oktext); GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_back_gtk_decision_callback, (void *) 1 /* confirm */); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_back_gtk_decision_ok_callback, (void *) decision_flag_ptr); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 5); gtk_widget_grab_default(button); gtk_widget_show(button); @@ -581,14 +731,19 @@ gint xsane_back_gtk_decision(gchar *title, gchar **xpm_d, gchar *message, gchar if (rejecttext) /* the rejection button */ { button = gtk_button_new_with_label(rejecttext); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_back_gtk_decision_callback, (void *) -1 /* reject */); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_back_gtk_decision_reject_callback, (void *) decision_flag_ptr); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 5); gtk_widget_show(button); } - gtk_widget_show(hbox); + /* if rejectbutton is available then the following command is valid for the reject button */ + /* otherwise it is valid for the ok button */ + gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); + + gtk_widget_show(hbox); gtk_widget_show(decision_dialog); + while (gtk_events_pending()) { gtk_main_iteration(); @@ -621,11 +776,26 @@ gint xsane_back_gtk_decision(gchar *title, gchar **xpm_d, gchar *message, gchar /* ----------------------------------------------------------------------------------------------------------------- */ +void xsane_back_gtk_ipc_dialog_callback(gpointer data, gint source, GdkInputCondition cond) +{ + char message[256]; + size_t bytes; + + DBG(DBG_proc, "xsane_back_gtk_message\n"); + + bytes = read(xsane.ipc_pipefd[0], message, 255); + message[bytes] = 0; + + xsane_back_gtk_decision(ERR_HEADER_CHILD_PROCESS_ERROR, (gchar **) error_xpm, message, BUTTON_CLOSE, 0 /* no reject text */, FALSE); +} + +/* ----------------------------------------------------------------------------------------------------------------- */ + void xsane_back_gtk_message(gchar *title, gchar **icon_xpm, gchar *message, int wait) { DBG(DBG_proc, "xsane_back_gtk_message\n"); - xsane_back_gtk_decision(title, icon_xpm, message, BUTTON_OK, 0 /* no reject text */, wait); + xsane_back_gtk_decision(title, icon_xpm, message, BUTTON_CLOSE, 0 /* no reject text */, wait); } /* ----------------------------------------------------------------------------------------------------------------- */ @@ -688,6 +858,231 @@ void xsane_back_gtk_info(gchar *info, int wait) } } +/* ---------------------------------------------------------------------------------------------------------------------- */ + +GtkWidget *fileselection; +char *fileselection_filetype = NULL; + +static void xsane_back_gtk_filetype_callback(GtkWidget *widget, gpointer data) +{ + char *extension, *filename; + char buffer[256]; + char *new_filetype = (char *) data; + + DBG(DBG_proc, "xsane_filetype_callback\n"); + + filename = strdup(gtk_file_selection_get_filename(GTK_FILE_SELECTION(fileselection))); + + if ((new_filetype) && (*new_filetype)) + { + extension = strrchr(filename, '.'); + + if ((extension) && (extension != filename)) + { + if ( (!strcasecmp(extension, ".pnm")) || (!strcasecmp(extension, ".raw")) + || (!strcasecmp(extension, ".png")) || (!strcasecmp(extension, ".ps")) + || (!strcasecmp(extension, ".rgba")) + || (!strcasecmp(extension, ".tiff")) || (!strcasecmp(extension, ".tif")) + || (!strcasecmp(extension, ".text")) || (!strcasecmp(extension, ".txt")) + || (!strcasecmp(extension, ".jpg")) || (!strcasecmp(extension, ".jpeg")) + ) /* remove filetype extension */ + { + *extension = 0; /* remove extension */ + } + } + snprintf(buffer, sizeof(buffer), "%s%s", filename, new_filetype); + free(filename); + filename = strdup(buffer); + } + + if (fileselection_filetype) + { + free(fileselection_filetype); + fileselection_filetype = NULL; + } + + if (data) + { + fileselection_filetype = strdup(new_filetype); + } + + gtk_file_selection_set_filename(GTK_FILE_SELECTION(fileselection), filename); + + free(filename); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +void xsane_back_gtk_filetype_menu_set_history(GtkWidget *xsane_filetype_option_menu, char *filetype) +{ + int filetype_nr; + int select_item; + + filetype_nr = 0; + select_item = 0; + +#ifdef HAVE_LIBJPEG + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_JPEG)) ) + { + select_item = filetype_nr; + } +#endif + +#ifdef HAVE_LIBPNG +#ifdef HAVE_LIBZ + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_PNG)) ) + { + select_item = filetype_nr; + } +#endif +#endif + + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_PNM)) ) + { + select_item = filetype_nr; + } + + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_PS)) ) + { + select_item = filetype_nr; + } + +#ifdef SUPPORT_RGBA + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_RGBA)) ) + { + select_item = filetype_nr; + } +#endif + + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_TEXT)) ) + { + select_item = filetype_nr; + } + +#ifdef HAVE_LIBTIFF + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_TIFF)) ) + { + select_item = filetype_nr; + } +#endif + + gtk_option_menu_set_history(GTK_OPTION_MENU(xsane_filetype_option_menu), select_item); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +GtkWidget *xsane_back_gtk_filetype_menu_new(char *filetype, GtkSignalFunc filetype_callback) +{ + GtkWidget *xsane_filetype_menu, *xsane_filetype_item; + GtkWidget *xsane_filetype_option_menu; + int filetype_nr; + int select_item; + + xsane_filetype_menu = gtk_menu_new(); + + xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_BY_EXT); + gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); + g_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", filetype_callback, (void *) XSANE_FILETYPE_BY_EXT); + gtk_widget_show(xsane_filetype_item); + + filetype_nr = 0; + select_item = 0; + +#ifdef HAVE_LIBJPEG + xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_JPEG); + gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); + g_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", filetype_callback, (void *) XSANE_FILETYPE_JPEG); + gtk_widget_show(xsane_filetype_item); + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_JPEG)) ) + { + select_item = filetype_nr; + } +#endif + +#ifdef HAVE_LIBPNG +#ifdef HAVE_LIBZ + xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_PNG); + gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); + g_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", filetype_callback, (void *) XSANE_FILETYPE_PNG); + gtk_widget_show(xsane_filetype_item); + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_PNG)) ) + { + select_item = filetype_nr; + } +#endif +#endif + + xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_PNM); + gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); + g_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", filetype_callback, (void *) XSANE_FILETYPE_PNM); + gtk_widget_show(xsane_filetype_item); + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_PNM)) ) + { + select_item = filetype_nr; + } + + xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_PS); + gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); + g_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", filetype_callback, (void *) XSANE_FILETYPE_PS); + gtk_widget_show(xsane_filetype_item); + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_PS)) ) + { + select_item = filetype_nr; + } + +#ifdef SUPPORT_RGBA + xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_RGBA); + gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); + g_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", filetype_callback, (void *) XSANE_FILETYPE_RGBA); + gtk_widget_show(xsane_filetype_item); + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_RGBA)) ) + { + select_item = filetype_nr; + } +#endif + + xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_TEXT); + gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); + g_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", filetype_callback, (void *) XSANE_FILETYPE_TEXT); + gtk_widget_show(xsane_filetype_item); + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_TEXT)) ) + { + select_item = filetype_nr; + } + +#ifdef HAVE_LIBTIFF + xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_TIFF); + gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); + g_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", filetype_callback, (void *) XSANE_FILETYPE_TIFF); + gtk_widget_show(xsane_filetype_item); + filetype_nr++; + if ( (filetype) && (!strcasecmp(filetype, XSANE_FILETYPE_TIFF)) ) + { + select_item = filetype_nr; + } +#endif + + xsane_filetype_option_menu = gtk_option_menu_new(); + xsane_back_gtk_set_tooltip(xsane.tooltips, xsane_filetype_option_menu, DESC_FILETYPE); + gtk_option_menu_set_menu(GTK_OPTION_MENU(xsane_filetype_option_menu), xsane_filetype_menu); + gtk_option_menu_set_history(GTK_OPTION_MENU(xsane_filetype_option_menu), select_item); + + return (xsane_filetype_option_menu); +} + /* ----------------------------------------------------------------------------------------------------------------- */ static void xsane_back_gtk_get_filename_button_clicked(GtkWidget *w, gpointer data) @@ -700,41 +1095,56 @@ static void xsane_back_gtk_get_filename_button_clicked(GtkWidget *w, gpointer da /* ----------------------------------------------------------------------------------------------------------------- */ -int xsane_back_gtk_get_filename(const char *label, const char *default_name, size_t max_len, char *filename, - int show_fileopts, int shorten_path, int hide_file_list) +int xsane_back_gtk_get_filename(const char *label, const char *default_name, size_t max_len, char *filename, char **filetype, + int show_fileopts, int shorten_path, int select_directory, int show_filetype_menu) { int cancel = 0, ok = 0, destroy = 0; - GtkWidget *fileselection; GtkAccelGroup *accelerator_group; + GtkWidget *xsane_filetype_option_menu; DBG(DBG_proc, "xsane_back_gtk_get_filename\n"); + if (fileselection) + { + gdk_beep(); + return -1; /* cancel => do not allow to open more than one fileselection dialog */ + } fileselection = gtk_file_selection_new((char *) label); accelerator_group = gtk_accel_group_new(); - gtk_accel_group_attach(accelerator_group, GTK_OBJECT(fileselection)); + gtk_window_add_accel_group(GTK_WINDOW(fileselection), accelerator_group); - gtk_signal_connect(GTK_OBJECT(fileselection), - "destroy", GTK_SIGNAL_FUNC(xsane_back_gtk_get_filename_button_clicked), &destroy); + g_signal_connect(GTK_OBJECT(fileselection), "destroy", GTK_SIGNAL_FUNC(xsane_back_gtk_get_filename_button_clicked), &destroy); - gtk_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(fileselection)->cancel_button), - "clicked", (GtkSignalFunc) xsane_back_gtk_get_filename_button_clicked, &cancel); + g_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(fileselection)->cancel_button), "clicked", (GtkSignalFunc) xsane_back_gtk_get_filename_button_clicked, &cancel); gtk_widget_add_accelerator(GTK_FILE_SELECTION(fileselection)->cancel_button, "clicked", - accelerator_group, GDK_Escape, 0, GTK_ACCEL_LOCKED); + accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); - gtk_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(fileselection)->ok_button), - "clicked", (GtkSignalFunc) xsane_back_gtk_get_filename_button_clicked, &ok); - if (default_name) - { - DBG(DBG_info, "xsane_back_gtk_get_filename: default_name =%s\n", default_name); - gtk_file_selection_set_filename(GTK_FILE_SELECTION(fileselection), (char *) default_name); - } + g_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(fileselection)->ok_button), "clicked", (GtkSignalFunc) xsane_back_gtk_get_filename_button_clicked, &ok); - if (hide_file_list) + if (select_directory) { - DBG(DBG_info, "xsane_back_gtk_get_filename: hiding file-list and delete-file-widget\n"); + DBG(DBG_info, "xsane_back_gtk_get_filename: select directory\n"); gtk_widget_hide(GTK_FILE_SELECTION(fileselection)->file_list->parent); gtk_widget_hide(GTK_FILE_SELECTION(fileselection)->fileop_del_file); + gtk_widget_hide(GTK_FILE_SELECTION(fileselection)->fileop_ren_file); + gtk_widget_hide(GTK_FILE_SELECTION(fileselection)->selection_entry); + + gtk_widget_set_size_request(GTK_FILE_SELECTION(fileselection)->dir_list, 280, 230); + + if (default_name) /* add "/." to end of directory name so that the gtkfilesel* behaves correct */ + { + char directory_name[PATH_MAX]; + + snprintf(directory_name, sizeof(directory_name), "%s%c", default_name, SLASH); + DBG(DBG_info, "xsane_back_gtk_get_filename: directory_name =%s\n", directory_name); + gtk_file_selection_set_filename(GTK_FILE_SELECTION(fileselection), (char *) directory_name); + } + } + else if (default_name) /* select file */ + { + DBG(DBG_info, "xsane_back_gtk_get_filename: default_name =%s\n", default_name); + gtk_file_selection_set_filename(GTK_FILE_SELECTION(fileselection), (char *) default_name); } if (show_fileopts) @@ -748,15 +1158,51 @@ int xsane_back_gtk_get_filename(const char *label, const char *default_name, siz gtk_file_selection_hide_fileop_buttons(GTK_FILE_SELECTION(fileselection)); } + if (show_filetype_menu) + { + GtkWidget *hbox; + GtkWidget *vbox; + GtkWidget *label; + + DBG(DBG_info, "xsane_back_gtk_get_filename: showing filetype menu\n"); + + if (fileselection_filetype) + { + free(fileselection_filetype); + } + + if ((filetype) && (*filetype)) + { + fileselection_filetype = strdup(*filetype); + } + else + { + fileselection_filetype = NULL; + } + + vbox = gtk_vbox_new(FALSE, 2); + gtk_box_pack_start(GTK_BOX(GTK_FILE_SELECTION(fileselection)->action_area), vbox, TRUE, TRUE, 0); + gtk_widget_show(vbox); + + hbox = gtk_hbox_new(FALSE, 2); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); + gtk_widget_show(hbox); + + label = gtk_label_new(TEXT_FILETYPE); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); + gtk_widget_show(label); + + xsane_filetype_option_menu = xsane_back_gtk_filetype_menu_new(fileselection_filetype, (GtkSignalFunc) xsane_back_gtk_filetype_callback); + gtk_box_pack_start(GTK_BOX(hbox), xsane_filetype_option_menu, TRUE, TRUE, 2); + gtk_widget_show(xsane_filetype_option_menu); + } + gtk_widget_show(fileselection); DBG(DBG_info, "xsane_back_gtk_get_filename: waiting for user action\n"); while (!cancel && !ok && !destroy) { - if (gtk_events_pending()) - { - gtk_main_iteration(); - } + gtk_main_iteration(); } if (ok) @@ -766,7 +1212,33 @@ int xsane_back_gtk_get_filename(const char *label, const char *default_name, siz DBG(DBG_info, "ok button pressed\n"); + if ((filetype) && (*filetype)) + { + free(*filetype); + *filetype = NULL; + } + + if (fileselection_filetype) + { + if (filetype) + { + *filetype = strdup(fileselection_filetype); + } + + free(fileselection_filetype); + fileselection_filetype = NULL; + } + strncpy(filename, gtk_file_selection_get_filename(GTK_FILE_SELECTION(fileselection)), max_len - 1); + +#ifndef HAVE_GTK2 + /* in gtk1 we have to remove the text that is defined in the selection entry to get a proper behaviour */ + if (select_directory) + { + *(filename+strlen(filename)-strlen(gtk_entry_get_text(GTK_ENTRY(GTK_FILE_SELECTION(fileselection)->selection_entry)))) = '\0'; + } +#endif + filename[max_len - 1] = '\0'; len = strlen(filename); @@ -790,12 +1262,14 @@ int xsane_back_gtk_get_filename(const char *label, const char *default_name, siz gtk_widget_destroy(fileselection); } + fileselection = NULL; + return ok ? 0 : -1; } /* ----------------------------------------------------------------------------------------------------------------- */ -static gint xsane_back_gtk_autobutton_update(GtkWidget *widget, GSGDialogElement *elem) +static gint xsane_back_gtk_autobutton_update(GtkWidget *widget, DialogElement *elem) { int opt_num = elem - xsane.element; const SANE_Option_Descriptor *opt; @@ -809,9 +1283,23 @@ static gint xsane_back_gtk_autobutton_update(GtkWidget *widget, GSGDialogElement if (GTK_TOGGLE_BUTTON(widget)->active) { xsane_back_gtk_set_option(opt_num, 0, SANE_ACTION_SET_AUTO); + + gtk_widget_set_sensitive(elem->widget, FALSE); + + if (elem->widget2) + { + gtk_widget_set_sensitive(elem->widget2, FALSE); + } } else { + gtk_widget_set_sensitive(elem->widget, TRUE); + + if (elem->widget2) + { + gtk_widget_set_sensitive(elem->widget2, TRUE); + } + status = xsane_control_option(xsane.dev, opt_num, SANE_ACTION_GET_VALUE, &val, 0); if (status != SANE_STATUS_GOOD) { @@ -825,32 +1313,26 @@ static gint xsane_back_gtk_autobutton_update(GtkWidget *widget, GSGDialogElement /* ----------------------------------------------------------------------------------------------------------------- */ -static void xsane_back_gtk_autobutton_new(GtkWidget *parent, GSGDialogElement *elem, - GtkWidget *label, GtkTooltips *tooltips) +static void xsane_back_gtk_autobutton_new(GtkWidget *parent, DialogElement *elem, + GtkTooltips *tooltips) { - GtkWidget *button, *alignment; + GtkWidget *button; DBG(DBG_proc, "xsane_back_gtk_autobutton_new\n"); button = gtk_check_button_new(); gtk_container_set_border_width(GTK_CONTAINER(button), 0); - gtk_widget_set_usize(button, 20, 20); - gtk_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_back_gtk_autobutton_update, elem); - xsane_back_gtk_set_tooltip(tooltips, button, "Turns on automatic mode."); - - alignment = gtk_alignment_new(0.0, 1.0, 0.5, 0.5); - gtk_container_add(GTK_CONTAINER(alignment), button); - - gtk_box_pack_end(GTK_BOX(parent), label, FALSE, FALSE, 0); - gtk_box_pack_end(GTK_BOX(parent), alignment, FALSE, FALSE, 2); + gtk_widget_set_size_request(button, 20, 20); + g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_back_gtk_autobutton_update, elem); + xsane_back_gtk_set_tooltip(tooltips, button, DESC_AUTOMATIC); - gtk_widget_show(alignment); + gtk_box_pack_end(GTK_BOX(parent), button, FALSE, FALSE, 2); gtk_widget_show(button); } /* ----------------------------------------------------------------------------------------------------------------- */ -static gint xsane_back_gtk_button_update(GtkWidget * widget, GSGDialogElement * elem) +static gint xsane_back_gtk_button_update(GtkWidget * widget, DialogElement * elem) { int opt_num = elem - xsane.element; const SANE_Option_Descriptor *opt; @@ -871,7 +1353,7 @@ static gint xsane_back_gtk_button_update(GtkWidget * widget, GSGDialogElement * /* ----------------------------------------------------------------------------------------------------------------- */ void xsane_back_gtk_button_new(GtkWidget * parent, const char *name, SANE_Word val, - GSGDialogElement * elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable) + DialogElement * elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable) { GtkWidget *button; @@ -879,34 +1361,35 @@ void xsane_back_gtk_button_new(GtkWidget * parent, const char *name, SANE_Word v button = gtk_check_button_new_with_label((char *) name); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), val); - gtk_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_back_gtk_button_update, elem); + g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_back_gtk_button_update, elem); gtk_box_pack_start(GTK_BOX(parent), button, FALSE, TRUE, 0); gtk_widget_show(button); xsane_back_gtk_set_tooltip(tooltips, button, desc); gtk_widget_set_sensitive(button, settable); - elem->widget = button; + elem->widget = button; } /* ----------------------------------------------------------------------------------------------------------------- */ -static void xsane_back_gtk_scale_update(GtkAdjustment * adj_data, GSGDialogElement * elem) +/* called from xsane_back_gtk_value_new and xsane_back_gtk_range_new */ +static void xsane_back_gtk_value_update(GtkAdjustment *adj_data, DialogElement *elem) { const SANE_Option_Descriptor *opt; SANE_Word val, new_val; int opt_num; double d; - DBG(DBG_proc, "xsane_back_gtk_scale_update\n"); + DBG(DBG_proc, "xsane_back_gtk_value_update\n"); opt_num = elem - xsane.element; opt = xsane_get_option_descriptor(xsane.dev, opt_num); switch(opt->type) { case SANE_TYPE_INT: - val = adj_data->value + 0.5; - break; + val = adj_data->value; /* OLD: + 0.5 but this mad problems with negative values */ + break; case SANE_TYPE_FIXED: d = adj_data->value; @@ -915,109 +1398,249 @@ static void xsane_back_gtk_scale_update(GtkAdjustment * adj_data, GSGDialogEleme d *= preferences.length_unit; } val = SANE_FIX(d); - break; + break; default: - DBG(DBG_error, "xsane_back_gtk_scale_update: %s %d\n", ERR_UNKNOWN_TYPE, opt->type); - return; + DBG(DBG_error, "xsane_back_gtk_value_update: %s %d\n", ERR_UNKNOWN_TYPE, opt->type); + return; } xsane_back_gtk_set_option(opt_num, &val, SANE_ACTION_SET_VALUE); xsane_control_option(xsane.dev, opt_num, SANE_ACTION_GET_VALUE, &new_val, 0); + if (new_val != val) { val = new_val; - goto value_changed; - } - return; /* value didn't change */ - -value_changed: - switch(opt->type) + switch(opt->type) { - case SANE_TYPE_INT: - adj_data->value = val; - break; + case SANE_TYPE_INT: + adj_data->value = val; + break; - case SANE_TYPE_FIXED: - d = SANE_UNFIX(val); - if (opt->unit == SANE_UNIT_MM) - { - d /= preferences.length_unit; - } - adj_data->value = d; - break; + case SANE_TYPE_FIXED: + d = SANE_UNFIX(val); + if (opt->unit == SANE_UNIT_MM) + { + d /= preferences.length_unit; + } + adj_data->value = d; + break; - default: - break; + default: + break; } - /* Let widget know that value changed _again_. This must converge - quickly---otherwise things would get very slow very quickly (as - in "infinite recursion"): */ - gtk_signal_emit_by_name(GTK_OBJECT(adj_data), "value_changed"); - return; + g_signal_emit_by_name(GTK_OBJECT(adj_data), "value_changed"); + } + + return; /* value didn't change */ } /* ----------------------------------------------------------------------------------------------------------------- */ -void xsane_back_gtk_scale_new(GtkWidget * parent, const char *name, gfloat val, +static void xsane_back_gtk_range_display_value_right_callback(GtkAdjustment *adjust, gpointer data) +{ + gchar buf[256]; + int digits = (int) data; + GtkLabel *label; + + snprintf(buf, sizeof(buf), "%1.*f", digits, adjust->value); + label = (GtkLabel *) gtk_object_get_data(GTK_OBJECT(adjust), "value-label"); + gtk_label_set_text(label, buf); +} +/* ----------------------------------------------------------------------------------------------------------------- */ + +void xsane_back_gtk_range_new(GtkWidget *parent, const char *name, gfloat val, gfloat min, gfloat max, gfloat quant, int automatic, - GSGDialogElement * elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable) + DialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable) { - GtkWidget *hbox, *label, *scale; + GtkWidget *hbox, *label, *slider = NULL, *spinbutton, *value_label; + int digits; - DBG(DBG_proc, "xsane_back_gtk_scale_new(%s)\n", name); + DBG(DBG_proc, "xsane_back_gtk_range_new(%s)\n", name); + + if (quant - (int) quant == 0.0) + { + digits = 0; + } + else + { + digits = (int) (log10(1/quant)+0.8); /* set number of digits in dependance of quantization */ + } + + if (digits < 0) + { + digits = 0; + } hbox = gtk_hbox_new(FALSE, 2); - gtk_container_set_border_width(GTK_CONTAINER(hbox), 0); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); gtk_box_pack_start(GTK_BOX(parent), hbox, FALSE, FALSE, 0); label = gtk_label_new((char *) name); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); - elem->data = gtk_adjustment_new(val, min, max, quant, quant*10, 0.0); - scale = gtk_hscale_new(GTK_ADJUSTMENT(elem->data)); - xsane_back_gtk_set_tooltip(tooltips, scale, desc); - gtk_widget_set_usize(scale, 150, 0); + elem->data = gtk_adjustment_new(val, min, max, quant, quant*10, (max-min) * 1e-30); + /* 1e-30 => hscrollbar has an unwanted side effect: the maximum is not the maximum */ + /* of the given range, it is reduced by the page_size, so it has to be very small */ + + /* value label */ + if (preferences.show_range_mode & 8) + { + value_label = gtk_label_new(""); + gtk_widget_set_size_request(value_label, 45, -1); + gtk_box_pack_end(GTK_BOX(hbox), value_label, FALSE, FALSE, 1); + + g_signal_connect(elem->data, "value_changed", (GtkSignalFunc) xsane_back_gtk_range_display_value_right_callback, (void *) digits); + gtk_object_set_data(GTK_OBJECT(elem->data), "value-label", value_label); + g_signal_emit_by_name(GTK_OBJECT(elem->data), "value_changed"); /* update value */ + gtk_widget_show(value_label); + gtk_widget_set_sensitive(value_label, settable); + } + + /* spinbutton */ + if (preferences.show_range_mode & 4) + { +#ifndef HAVE_GTK2 + if (digits > 5) + { + digits = 5; + } +#endif + spinbutton = gtk_spin_button_new(GTK_ADJUSTMENT(elem->data), 0, digits); + + if (preferences.show_range_mode & 3) /* slider also visible */ + { + gtk_widget_set_size_request(spinbutton, 70, -1); + } + else /* slider not visible */ + { + gtk_widget_set_size_request(spinbutton, 100, -1); + } + + xsane_back_gtk_set_tooltip(xsane.tooltips, spinbutton, desc); + gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spinbutton), FALSE); + gtk_box_pack_end(GTK_BOX(hbox), spinbutton, FALSE, FALSE, 5); /* make spinbutton not sizeable */ + gtk_widget_show(spinbutton); + gtk_widget_set_sensitive(spinbutton, settable); + elem->widget = spinbutton; + } + + /* slider */ + if (preferences.show_range_mode & 3) + { + if (preferences.show_range_mode & 1) /* bit 0 (val 1) : scale */ + { + slider = gtk_hscale_new(GTK_ADJUSTMENT(elem->data)); + gtk_scale_set_draw_value(GTK_SCALE(slider), FALSE); + } + else /* bit 1 (val 2) : scrollbar */ + { + slider = gtk_hscrollbar_new(GTK_ADJUSTMENT(elem->data)); + } + xsane_back_gtk_set_tooltip(xsane.tooltips, slider, desc); + gtk_widget_set_size_request(slider, 140, -1); + /* GTK_UPDATE_CONTINUOUS, GTK_UPDATE_DISCONTINUOUS, GTK_UPDATE_DELAYED */ + gtk_range_set_update_policy(GTK_RANGE(slider), preferences.gtk_update_policy); + gtk_box_pack_end(GTK_BOX(hbox), slider, FALSE, FALSE, 5); /* make slider not sizeable */ + gtk_widget_show(slider); + gtk_widget_set_sensitive(slider, settable); + } if (automatic) { - xsane_back_gtk_autobutton_new(hbox, elem, scale, tooltips); + xsane_back_gtk_autobutton_new(hbox, elem, tooltips); + } + + g_signal_connect(elem->data, "value_changed", (GtkSignalFunc) xsane_back_gtk_value_update, elem); + + gtk_widget_show(label); + gtk_widget_show(hbox); + + if (elem->widget) + { + elem->widget2 = slider; /* widget is used by spinbutton */ } else { - gtk_box_pack_end(GTK_BOX(hbox), scale, FALSE, FALSE, 0); /* make scales fixed */ -/* gtk_box_pack_end(GTK_BOX(hbox), scale, TRUE, TRUE, 0); */ /* make scales sizeable */ + elem->widget = slider; /* we do not have a spinbutton */ } +} - gtk_range_set_update_policy(GTK_RANGE(scale), GTK_UPDATE_CONTINUOUS); - gtk_scale_set_value_pos(GTK_SCALE(scale), GTK_POS_TOP); +/* ----------------------------------------------------------------------------------------------------------------- */ + +void xsane_back_gtk_value_new(GtkWidget *parent, const char *name, gfloat val, + gfloat quant, int automatic, + DialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable) +{ + GtkWidget *hbox, *label, *spinbutton; + int digits; + + DBG(DBG_proc, "xsane_back_gtk_value_new(%s)\n", name); if (quant - (int) quant == 0.0) { - gtk_scale_set_digits(GTK_SCALE(scale), 0); + digits = 0; } else { - /* set number of digits in dependacne of quantization */ - gtk_scale_set_digits(GTK_SCALE(scale), (int) log10(1/quant)+0.8); + digits = (int) (log10(1/quant)+0.8); /* set number of digits in dependance of quantization */ } - gtk_signal_connect(elem->data, "value_changed", (GtkSignalFunc) xsane_back_gtk_scale_update, elem); + if (digits < 0) + { + digits = 0; + } - gtk_widget_show(label); - gtk_widget_show(scale); - gtk_widget_show(hbox); + hbox = gtk_hbox_new(FALSE, 2); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); + gtk_box_pack_start(GTK_BOX(parent), hbox, FALSE, FALSE, 0); - gtk_widget_set_sensitive(scale, settable); + label = gtk_label_new((char *) name); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + + elem->data = gtk_adjustment_new(val, -1e29, 1e29, 1, 10, 1e-30); - elem->widget = scale; + /* spinbutton */ +#ifndef HAVE_GTK2 + if (digits > 5) + { + digits = 5; + } +#endif + spinbutton = gtk_spin_button_new(GTK_ADJUSTMENT(elem->data), 0, digits); + + if (preferences.show_range_mode & 3) /* sliders are visible */ + { + gtk_widget_set_size_request(spinbutton, 70, -1); + } + else /* sliders not visible */ + { + gtk_widget_set_size_request(spinbutton, 100, -1); + } + + xsane_back_gtk_set_tooltip(xsane.tooltips, spinbutton, desc); + gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spinbutton), FALSE); + gtk_box_pack_end(GTK_BOX(hbox), spinbutton, FALSE, FALSE, 5); /* make spinbutton not sizeable */ + gtk_widget_show(spinbutton); + gtk_widget_set_sensitive(spinbutton, settable); + elem->widget = spinbutton; + + if (automatic) + { + xsane_back_gtk_autobutton_new(hbox, elem, tooltips); + } + + g_signal_connect(elem->data, "value_changed", (GtkSignalFunc) xsane_back_gtk_value_update, elem); + + gtk_widget_show(label); + gtk_widget_show(hbox); } /* ----------------------------------------------------------------------------------------------------------------- */ void xsane_back_gtk_push_button_callback(GtkWidget * widget, gpointer data) { - GSGDialogElement *elem = data; + DialogElement *elem = data; int opt_num; DBG(DBG_proc, "xsane_back_gtk_push_button_callback\n"); @@ -1028,13 +1651,13 @@ void xsane_back_gtk_push_button_callback(GtkWidget * widget, gpointer data) /* ----------------------------------------------------------------------------------------------------------------- */ -static int xsane_back_gtk_option_menu_lookup(GSGMenuItem menu_items[], const char *string) +static int xsane_back_gtk_option_menu_lookup(MenuItem menu_items[], const char *string) { int i; DBG(DBG_proc, "xsane_back_gtk_option_menu_lookup\n"); - for (i = 0; strcmp(menu_items[i].label, string) != 0; ++i); + for (i = 0; (menu_items[i].label) && strcmp(menu_items[i].label, string) != 0; ++i); return i; } @@ -1043,8 +1666,8 @@ static int xsane_back_gtk_option_menu_lookup(GSGMenuItem menu_items[], const cha static void xsane_back_gtk_option_menu_callback(GtkWidget * widget, gpointer data) { - GSGMenuItem *menu_item = data; - GSGDialogElement *elem = menu_item->elem; + MenuItem *menu_item = data; + DialogElement *elem = menu_item->elem; const SANE_Option_Descriptor *opt; int opt_num; double dval; @@ -1059,20 +1682,20 @@ static void xsane_back_gtk_option_menu_callback(GtkWidget * widget, gpointer dat { case SANE_TYPE_INT: sscanf(menu_item->label, "%d", &val); - break; + break; case SANE_TYPE_FIXED: sscanf(menu_item->label, "%lg", &dval); val = SANE_FIX(dval); - break; + break; case SANE_TYPE_STRING: valp = menu_item->label; - break; + break; default: DBG(DBG_error, "xsane_back_gtk_option_menu_callback: %s %d\n", ERR_UNKNOWN_TYPE, opt->type); - break; + break; } xsane_back_gtk_set_option(opt_num, valp, SANE_ACTION_SET_VALUE); } @@ -1080,11 +1703,11 @@ static void xsane_back_gtk_option_menu_callback(GtkWidget * widget, gpointer dat /* ----------------------------------------------------------------------------------------------------------------- */ void xsane_back_gtk_option_menu_new(GtkWidget *parent, const char *name, char *str_list[], - const char *val, GSGDialogElement * elem, + const char *val, DialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable) { GtkWidget *hbox, *label, *option_menu, *menu, *item; - GSGMenuItem *menu_items; + MenuItem *menu_items; int i, num_items; DBG(DBG_proc, "xsane_back_gtk_option_menu_new(%s)\n", name); @@ -1096,15 +1719,18 @@ void xsane_back_gtk_option_menu_new(GtkWidget *parent, const char *name, char *s label = gtk_label_new((char *) name); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); - for (num_items = 0; str_list[num_items]; ++num_items); - menu_items = malloc(num_items * sizeof(menu_items[0])); + for (num_items = 0; str_list[num_items]; ++num_items) + { + } + + menu_items = malloc((num_items + 1) * sizeof(menu_items[0])); menu = gtk_menu_new(); for (i = 0; i < num_items; ++i) { item = gtk_menu_item_new_with_label(_BGT(str_list[i])); gtk_container_add(GTK_CONTAINER(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_back_gtk_option_menu_callback, menu_items + i); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_back_gtk_option_menu_callback, menu_items + i); gtk_widget_show(item); @@ -1113,6 +1739,11 @@ void xsane_back_gtk_option_menu_new(GtkWidget *parent, const char *name, char *s menu_items[i].index = i; } + /* add empty element as end of list marker */ + menu_items[i].label = NULL; + menu_items[i].elem = NULL; + menu_items[i].index = 0; + option_menu = gtk_option_menu_new(); gtk_box_pack_end(GTK_BOX(hbox), option_menu, FALSE, FALSE, 2); gtk_option_menu_set_menu(GTK_OPTION_MENU(option_menu), menu); @@ -1125,7 +1756,7 @@ void xsane_back_gtk_option_menu_new(GtkWidget *parent, const char *name, char *s gtk_widget_set_sensitive(option_menu, settable); - elem->widget = option_menu; + elem->widget = option_menu; elem->menu_size = num_items; elem->menu = menu_items; } @@ -1134,9 +1765,9 @@ void xsane_back_gtk_option_menu_new(GtkWidget *parent, const char *name, char *s static void xsane_back_gtk_text_entry_callback(GtkWidget *w, gpointer data) { - GSGDialogElement *elem = data; + DialogElement *elem = data; const SANE_Option_Descriptor *opt; - gchar *text; + const gchar *text; int opt_num; char *buf; @@ -1165,7 +1796,7 @@ static void xsane_back_gtk_text_entry_callback(GtkWidget *w, gpointer data) /* ----------------------------------------------------------------------------------------------------------------- */ -void xsane_back_gtk_text_entry_new(GtkWidget * parent, const char *name, const char *val, GSGDialogElement *elem, +void xsane_back_gtk_text_entry_new(GtkWidget * parent, const char *name, const char *val, DialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable) { GtkWidget *hbox, *text, *label; @@ -1183,7 +1814,7 @@ void xsane_back_gtk_text_entry_new(GtkWidget * parent, const char *name, const c gtk_entry_set_text(GTK_ENTRY(text), (char *) val); /* gtk_box_pack_start(GTK_BOX(hbox), text, FALSE, TRUE, 0); */ /* text entry fixed */ gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 0); /* text entry sizeable */ - gtk_signal_connect(GTK_OBJECT(text), "changed", (GtkSignalFunc) xsane_back_gtk_text_entry_callback, elem); + g_signal_connect(GTK_OBJECT(text), "changed", (GtkSignalFunc) xsane_back_gtk_text_entry_callback, elem); xsane_back_gtk_set_tooltip(tooltips, text, desc); gtk_widget_show(hbox); @@ -1192,7 +1823,7 @@ void xsane_back_gtk_text_entry_new(GtkWidget * parent, const char *name, const c gtk_widget_set_sensitive(text, settable); - elem->widget = text; + elem->widget = text; } /* ----------------------------------------------------------------------------------------------------------------- */ @@ -1230,15 +1861,25 @@ static void tooltips_destroy(void) static void xsane_back_gtk_panel_destroy(void) { const SANE_Option_Descriptor *opt; - GSGDialogElement *elem; + DialogElement *elem; int i, j; DBG(DBG_proc, "xsane_back_gtk_panel_destroy\n"); + if (!xsane.xsane_hbox) + { + DBG(DBG_proc, "xsane_back_gtk_panel_destroy: panel does not exist\n"); + return; + } + gtk_widget_destroy(xsane.xsane_hbox); gtk_widget_destroy(xsane.standard_hbox); gtk_widget_destroy(xsane.advanced_hbox); + xsane.xsane_hbox = NULL; + xsane.standard_hbox = NULL; + xsane.advanced_hbox = NULL; + /* free the menu labels of integer/fix-point word-lists: */ for (i = 0; i < xsane.num_elements; ++i) { @@ -1266,12 +1907,6 @@ static void xsane_back_gtk_panel_destroy(void) /* ----------------------------------------------------------------------------------------------------------------- */ -/* When an setting an option changes the dialog, everything may - change: the option titles, the activity-status of the option, its - constraints or what not. Thus, rather than trying to be clever in - detecting what exactly changed, we use a brute-force method of - rebuilding the entire dialog. */ - static void xsane_back_gtk_panel_rebuild(void) { DBG(DBG_proc, "xsane_back_gtk_panel_rebuild\n"); @@ -1296,7 +1931,7 @@ void xsane_back_gtk_update_scan_window(void) { const SANE_Option_Descriptor *opt; double old_val, new_val; - GSGDialogElement *elem; + DialogElement *elem; SANE_Status status; SANE_Word word; int i, optnum; @@ -1340,7 +1975,7 @@ void xsane_back_gtk_update_scan_window(void) if (old_val != new_val) { - gtk_signal_emit_by_name(GTK_OBJECT(elem->data), "value_changed"); + g_signal_emit_by_name(GTK_OBJECT(elem->data), "value_changed"); } break; @@ -1366,65 +2001,6 @@ void xsane_back_gtk_update_scan_window(void) /* ----------------------------------------------------------------------------------------------------------------- */ -/* Ensure sure the device has up-to-date option values. Except for - vectors, all option values are kept current. Vectors are - downloaded into the device during this call. */ -void xsane_back_gtk_sync(void) -{ - const SANE_Option_Descriptor *opt; - gfloat val, *vector; - SANE_Word *optval; - int i, j, optlen; - GtkWidget *curve; - - DBG(DBG_proc, "xsane_back_gtk_sync\n"); - - for (i = 1; i < xsane.num_elements; ++i) - { - opt = xsane_get_option_descriptor(xsane.dev, i); - - if (!SANE_OPTION_IS_ACTIVE(opt->cap)) - { - continue; - } - - if (opt->type != SANE_TYPE_INT && opt->type != SANE_TYPE_FIXED) - { - continue; - } - - if (opt->size == sizeof(SANE_Word)) - { - continue; - } - - /* ok, we're dealing with an active vector */ - - optlen = opt->size / sizeof(SANE_Word); - optval = alloca(optlen * sizeof(optval[0])); - vector = alloca(optlen * sizeof(vector[0])); - - curve = GTK_GAMMA_CURVE(xsane.element[i].widget)->curve; - gtk_curve_get_vector(GTK_CURVE(curve), optlen, vector); - for (j = 0; j < optlen; ++j) - { - val = vector[j]; - if (opt->type == SANE_TYPE_FIXED) - { - optval[j] = SANE_FIX(val); - } - else - { - optval[j] = val + 0.5; - } - } - - xsane_back_gtk_set_option(i, optval, SANE_ACTION_SET_VALUE); - } -} - -/* ----------------------------------------------------------------------------------------------------------------- */ - void xsane_back_gtk_update_vector(int opt_num, SANE_Int *vector) { const SANE_Option_Descriptor *opt; @@ -1533,17 +2109,27 @@ void xsane_back_gtk_set_sensitivity(int sensitive) void xsane_set_sensitivity(SANE_Int sensitivity) { - DBG(DBG_proc, "xsane_set_sensitivity\n"); + DBG(DBG_proc, "xsane_set_sensitivity(%d)\n", sensitivity); if (xsane.shell) { + /* clear or rebuild histogram */ + if (sensitivity) + { + xsane_update_histogram(TRUE /* update raw */); + } + else + { + xsane_clear_histogram(&xsane.histogram_raw); + xsane_clear_histogram(&xsane.histogram_enh); + } + gtk_widget_set_sensitive(xsane.menubar, sensitivity); gtk_widget_set_sensitive(xsane.xsane_window, sensitivity); gtk_widget_set_sensitive(GTK_WIDGET(xsane.start_button), sensitivity); gtk_widget_set_sensitive(xsane.standard_options_shell, sensitivity); gtk_widget_set_sensitive(xsane.advanced_options_shell, sensitivity); gtk_widget_set_sensitive(xsane.histogram_dialog, sensitivity); - #ifdef HAVE_WORKING_GTK_GAMMACURVE gtk_widget_set_sensitive(xsane.gamma_dialog, sensitivity); #endif @@ -1552,6 +2138,7 @@ void xsane_set_sensitivity(SANE_Int sensitivity) if (xsane.preview) { gtk_widget_set_sensitive(xsane.preview->button_box, sensitivity); /* button box at top of window */ + gtk_widget_set_sensitive(xsane.preview->menu_box, sensitivity); /* menu box at top of window */ #if 1 gtk_widget_set_sensitive(xsane.preview->viewport, sensitivity); /* Preview image selection */ #endif @@ -1560,16 +2147,26 @@ void xsane_set_sensitivity(SANE_Int sensitivity) if (xsane.fax_dialog) { - gtk_widget_set_sensitive(xsane.fax_dialog, sensitivity); + /* do not change sensitivity of fax_dialog, we want the progress bar */ + /* to be sensitive */ + gtk_widget_set_sensitive(xsane.fax_project_box, sensitivity); + gtk_widget_set_sensitive(xsane.fax_project_exists, sensitivity); + gtk_widget_set_sensitive(xsane.fax_project_entry_box, sensitivity); } -#if 0 - xsane_back_gtk_set_sensitivity(sensitivity); -#endif + if (xsane.mail_dialog) + { + /* do not change sensitivity of mail_dialog, we want the progress bar */ + /* to be sensitive */ + gtk_widget_set_sensitive(xsane.mail_project_box, sensitivity); + gtk_widget_set_sensitive(xsane.mail_project_exists, sensitivity); + gtk_widget_set_sensitive(xsane.mail_project_entry_box, sensitivity); + } - while (gtk_events_pending()) /* make sure set_sensitivity is displayed */ + if (xsane.batch_scan_dialog) { - gtk_main_iteration(); + gtk_widget_set_sensitive(xsane.batch_scan_button_box, sensitivity); + gtk_widget_set_sensitive(xsane.batch_scan_action_box, sensitivity); } xsane.sensitivity = sensitivity; diff --git a/src/xsane-back-gtk.h b/src/xsane-back-gtk.h index feb52e9..584e6d5 100644 --- a/src/xsane-back-gtk.h +++ b/src/xsane-back-gtk.h @@ -3,7 +3,7 @@ xsane-back-gtk.h Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -28,6 +28,7 @@ /* ---------------------------------------------------------------------------------------------------------------------- */ #include "xsane.h" +#include "xsane-batch-scan.h" /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -38,7 +39,7 @@ typedef enum xsane_back_gtk_BR_X, /* bottom-right x */ xsane_back_gtk_BR_Y /* bottom-right y */ } -GSGCornerCoordinates; +CornerCoordinates; /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -54,15 +55,17 @@ extern const SANE_Option_Descriptor *xsane_get_option_descriptor(SANE_Handle han extern SANE_Status xsane_control_option(SANE_Handle handle, SANE_Int option, SANE_Action action, void *val, SANE_Int *info); extern int xsane_back_gtk_make_path(size_t max_len, char *filename_ret, const char *prog_name, const char *dir_name, const char *prefix, const char *dev_name, const char *postfix, int local); -extern gint xsane_back_gtk_decision(gchar *title, gchar** icon_xpm, gchar *message, gchar *oktext, gchar *rejecttext, int wait); -extern void xsane_back_gtk_message(gchar *title, gchar** icon_xpm, gchar *message, int wait); +extern gint xsane_back_gtk_decision(gchar *title, gchar **icon_xpm, gchar *message, gchar *oktext, gchar *rejecttext, int wait); +extern void xsane_back_gtk_ipc_dialog_callback(gpointer data, gint source, GdkInputCondition cond); +extern void xsane_back_gtk_message(gchar *title, gchar **icon_xpm, gchar *message, int wait); extern void xsane_back_gtk_error(gchar *error_message, int wait); extern void xsane_back_gtk_warning(gchar *warning_message, int wait); extern void xsane_back_gtk_info(gchar *info_message, int wait); -extern int xsane_back_gtk_get_filename(const char *label, const char *default_name, size_t max_len, char *filename, - int show_fileopts, int shorten_path, int hide_file_list); +extern void xsane_back_gtk_filetype_menu_set_history(GtkWidget *xsane_filetype_option_menu, char *filetype); +extern GtkWidget *xsane_back_gtk_filetype_menu_new(char *filetype, GtkSignalFunc filetype_callback); +extern int xsane_back_gtk_get_filename(const char *label, const char *default_name, size_t max_len, char *filename, char **filetype, + int show_fileopts, int shorten_path, int hide_file_list, int show_filetype_menu); -extern void xsane_back_gtk_sync(void); extern void xsane_back_gtk_update_vector(int opt_num, SANE_Int *vector); extern void xsane_back_gtk_refresh_dialog(void); /* extern void xsane_back_gtk_vector_new(GtkWidget *box, int num_vopts, int *vopts); */ @@ -74,18 +77,26 @@ extern void xsane_back_gtk_set_sensitivity(int sensitive); extern void xsane_set_sensitivity(SANE_Int sensitivity); extern void xsane_back_gtk_destroy_dialog(void); extern void xsane_back_gtk_set_option(int opt_num, void *val, SANE_Action action); -extern GtkWidget *xsane_back_gtk_group_new (GtkWidget *parent, const char * title); -extern void xsane_back_gtk_button_new(GtkWidget * parent, const char *name, SANE_Word val, - GSGDialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable); -extern void xsane_back_gtk_scale_new(GtkWidget * parent, const char *name, gfloat val, +extern int xsane_back_gtk_set_option_double(int option, double value); +extern int xsane_back_gtk_get_option_double(int option, double *val, SANE_Int *unit); +extern void xsane_back_gtk_set_option(int opt_num, void *val, SANE_Action action); +extern void xsane_back_gtk_get_batch_parameters(Batch_Scan_Parameters *parameters, SANE_Int *unit); +extern void xsane_back_gtk_establish_batch_parameters(Batch_Scan_Parameters *parameters, int panel_rebuild, int set_scanmode, int set_resolution); +extern GtkWidget *xsane_back_gtk_group_new (GtkWidget *parent, const char *title); +extern void xsane_back_gtk_button_new(GtkWidget *parent, const char *name, SANE_Word val, + DialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable); +extern void xsane_back_gtk_range_new(GtkWidget *parent, const char *name, gfloat val, gfloat min, gfloat max, gfloat quant, int automatic, - GSGDialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable); + DialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable); +extern void xsane_back_gtk_value_new(GtkWidget *parent, const char *name, gfloat val, + gfloat quant, int automatic, + DialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable); extern void xsane_back_gtk_option_menu_new(GtkWidget *parent, const char *name, char *str_list[], - const char *val, GSGDialogElement * elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable); + const char *val, DialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable); extern void xsane_back_gtk_text_entry_new(GtkWidget *parent, const char *name, const char *val, - GSGDialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable); -extern void xsane_back_gtk_push_button_callback(GtkWidget * widget, gpointer data); + DialogElement *elem, GtkTooltips *tooltips, const char *desc, SANE_Int settable); +extern void xsane_back_gtk_push_button_callback(GtkWidget *widget, gpointer data); extern const char *xsane_back_gtk_unit_string(SANE_Unit unit); -void xsane_set_window_icon(GtkWidget *gtk_window, gchar **xpm_d); +extern void xsane_set_window_icon(GtkWidget *gtk_window, gchar **xpm_d); #endif diff --git a/src/xsane-batch-scan.c b/src/xsane-batch-scan.c new file mode 100644 index 0000000..bf5f57c --- /dev/null +++ b/src/xsane-batch-scan.c @@ -0,0 +1,1041 @@ +/* xsane -- a graphical (X11, gtk) scanner-oriented SANE frontend + + xsane-batch-scan.c + + Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch + This file is part of the XSANE package. + + 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#include "xsane.h" +#include "xsane-scan.h" +#include "xsane-batch-scan.h" +#include "xsane-back-gtk.h" +#include "xsane-front-gtk.h" +#include "xsane-rc-io.h" +#include "xsane-preview.h" +#include "xsane-gamma.h" + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static GtkWidget *xsane_batch_scan_create_list_entry(Batch_Scan_Parameters *parameters); + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#define BOFFSET(field) ((char *) &((Batch_Scan_Parameters *) 0)->field - (char *) 0) + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static struct + { + SANE_String name; + void (*codec) (Wire *w, void *p, long offset); + long offset; + } +desc[] = + { + {"name", xsane_rc_pref_string, BOFFSET(name)}, + {"scanmode", xsane_rc_pref_string, BOFFSET(scanmode)}, + {"tl-x", xsane_rc_pref_double, BOFFSET(tl_x)}, + {"tl-y", xsane_rc_pref_double, BOFFSET(tl_y)}, + {"br-x", xsane_rc_pref_double, BOFFSET(br_x)}, + {"br-y", xsane_rc_pref_double, BOFFSET(br_y)}, + {"unit", xsane_rc_pref_int, BOFFSET(unit)}, + {"rotation", xsane_rc_pref_int, BOFFSET(rotation)}, + {"resolution-x", xsane_rc_pref_double, BOFFSET(resolution_x)}, + {"resolution-y", xsane_rc_pref_double, BOFFSET(resolution_y)}, + {"bit-depth", xsane_rc_pref_int, BOFFSET(bit_depth)}, + {"gamma", xsane_rc_pref_double, BOFFSET(gamma)}, + {"gamma-red", xsane_rc_pref_double, BOFFSET(gamma_red)}, + {"gamma-green", xsane_rc_pref_double, BOFFSET(gamma_green)}, + {"gamma-blue", xsane_rc_pref_double, BOFFSET(gamma_blue)}, + {"contrast", xsane_rc_pref_double, BOFFSET(contrast)}, + {"contrast-red", xsane_rc_pref_double, BOFFSET(contrast_red)}, + {"contrast-green", xsane_rc_pref_double, BOFFSET(contrast_green)}, + {"contrast-blue", xsane_rc_pref_double, BOFFSET(contrast_blue)}, + {"brightness", xsane_rc_pref_double, BOFFSET(brightness)}, + {"brightness-red", xsane_rc_pref_double, BOFFSET(brightness_red)}, + {"brightness-green", xsane_rc_pref_double, BOFFSET(brightness_green)}, + {"brightness-blue", xsane_rc_pref_double, BOFFSET(brightness_blue)}, + {"enhancement-rgb-default", xsane_rc_pref_int, BOFFSET(enhancement_rgb_default)}, + {"negative", xsane_rc_pref_int, BOFFSET(negative)}, + {"BATCH_END", xsane_rc_pref_string, 0} + }; + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_batch_scan_get_parameters(Batch_Scan_Parameters *parameters) +{ + char buf[255]; + SANE_Int unit; + + DBG(DBG_proc, "xsane_batch_scan_get_parameters\n"); + + xsane_back_gtk_get_option_double(xsane.well_known.coord[0], ¶meters->tl_x, &unit); + xsane_back_gtk_get_option_double(xsane.well_known.coord[1], ¶meters->tl_y, &unit); + xsane_back_gtk_get_option_double(xsane.well_known.coord[2], ¶meters->br_x, &unit); + xsane_back_gtk_get_option_double(xsane.well_known.coord[3], ¶meters->br_y, &unit); + + parameters->unit = unit; + + if (!xsane_back_gtk_get_option_double(xsane.well_known.dpi_x, ¶meters->resolution_x, NULL)) + { + if (xsane_back_gtk_get_option_double(xsane.well_known.dpi_y, ¶meters->resolution_y, NULL)) + { + parameters->resolution_y = parameters->resolution_x; + } + } + else /* only one resolution available */ + { + xsane_back_gtk_get_option_double(xsane.well_known.dpi, ¶meters->resolution_x, NULL); + parameters->resolution_y = parameters->resolution_x; + } + + + if (xsane_control_option(xsane.dev, xsane.well_known.bit_depth, SANE_ACTION_GET_VALUE, ¶meters->bit_depth, 0)) + { + parameters->bit_depth = -1; + } + + if (xsane_control_option(xsane.dev, xsane.well_known.scanmode, SANE_ACTION_GET_VALUE, buf, 0)) + { + parameters->scanmode = NULL; + } + else + { + parameters->scanmode = strdup(buf); + } + + parameters->rotation = xsane.preview->rotation; + + parameters->gamma = xsane.gamma; + parameters->gamma_red = xsane.gamma_red; + parameters->gamma_green = xsane.gamma_green; + parameters->gamma_blue = xsane.gamma_blue; + + parameters->brightness = xsane.brightness; + parameters->brightness_red = xsane.brightness_red; + parameters->brightness_green = xsane.brightness_green; + parameters->brightness_blue = xsane.brightness_blue; + + parameters->contrast = xsane.contrast; + parameters->contrast_red = xsane.contrast_red; + parameters->contrast_green = xsane.contrast_green; + parameters->contrast_blue = xsane.contrast_blue; + + parameters->enhancement_rgb_default = xsane.enhancement_rgb_default; + parameters->negative = xsane.negative; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +void xsane_batch_scan_establish_parameters(Batch_Scan_Parameters *parameters, int panel_rebuild) +{ + SANE_Int info = 0; + + if ( (parameters->scanmode) && (xsane.batch_scan_use_stored_scanmode) ) + { + xsane_control_option(xsane.dev, xsane.well_known.scanmode, SANE_ACTION_SET_VALUE, parameters->scanmode, &info); + } + + xsane_back_gtk_set_option_double(xsane.well_known.coord[0], parameters->tl_x); + xsane_back_gtk_set_option_double(xsane.well_known.coord[1], parameters->tl_y); + xsane_back_gtk_set_option_double(xsane.well_known.coord[2], parameters->br_x); + xsane_back_gtk_set_option_double(xsane.well_known.coord[3], parameters->br_y); + + xsane.scan_rotation = parameters->rotation; + + if (xsane.batch_scan_use_stored_resolution) + { + if (!xsane_back_gtk_set_option_double(xsane.well_known.dpi_x, parameters->resolution_x)) + { + xsane_back_gtk_set_option_double(xsane.well_known.dpi_y, parameters->resolution_y); + } + else /* only one resolution */ + { + xsane_back_gtk_set_option_double(xsane.well_known.dpi, parameters->resolution_x); + } + } + + if (xsane.batch_scan_use_stored_bit_depth) + { + /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */ + } + + if (info & SANE_INFO_RELOAD_OPTIONS) + { + xsane_refresh_dialog(); + preview_update_surface(xsane.preview, 0); + } + + xsane_update_param(0); + xsane_update_gamma_curve(TRUE); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static int xsane_batch_scan_list_item_activated_callback(GtkObject *list_item, gpointer data) + +{ + Batch_Scan_Parameters *parameters; + + if (list_item) + { + parameters = gtk_object_get_data(list_item, "parameters"); + + if (parameters) + { + xsane_batch_scan_establish_parameters(parameters, TRUE); + } + } + + return 0; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_batch_scan_empty_list(void) +{ + GtkObject *list_item; + GList *list = GTK_LIST(xsane.batch_scan_list)->children; + Batch_Scan_Parameters *parameters = NULL; + + while (list) + { + list_item = GTK_OBJECT(list->data); + + parameters = gtk_object_get_data(list_item, "parameters"); + + if (parameters) + { + free(parameters); + } + + list = list->next; + + gtk_widget_destroy(GTK_WIDGET(list_item)); /* delete list element */ + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static int xsane_batch_scan_read_parameters(Wire *w, Batch_Scan_Parameters *parameters) +/* returns 0 if ok, otherwise error/eof */ +{ + SANE_String name; + int i; + + DBG(DBG_proc, "batch_scan_read_parameters\n"); + + while (1) + { + xsane_rc_io_w_space(w, 3); + if (w->status) + { + return -1; + } + + xsane_rc_io_w_string(w, &name); + if (w->status || !name) + { + return -2; + } + + if (!strcmp(name, "BATCH_END")) + { + return 0; /* ok */ + } + + for (i = 0; i < NELEMS (desc); ++i) + { + if (strcmp(name, desc[i].name) == 0) + { + DBG(DBG_info2, "reading batch-scan-parameter for %s\n", desc[i].name); + (*desc[i].codec) (w, parameters, desc[i].offset); + break; + } + } + } + + return -3; /* we should never come here */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +/* returns 0 if OK, -1 if file could not be loaded */ +int xsane_batch_scan_load_list_from_file(char *filename) +{ + Batch_Scan_Parameters *parameters = NULL; + int fd; + int eof = 0; + Wire w; + + DBG(DBG_proc, "xsane_batch_scan_load_list_from_file(%s)\n", filename); + + xsane_batch_scan_empty_list(); + + fd = open(filename, O_RDONLY); + + if (fd > 0) + { + w.io.fd = fd; + w.io.read = read; + w.io.write = write; + xsane_rc_io_w_init(&w); + xsane_rc_io_w_set_dir(&w, WIRE_DECODE); + + while (!eof) + { + eof = 1; + + parameters = calloc(1, sizeof(Batch_Scan_Parameters)); + + if (parameters) + { + eof = xsane_batch_scan_read_parameters(&w, parameters); + + if (!eof) + { + xsane_batch_scan_create_list_entry(parameters); + } + } + } + free(parameters); /* last one is unused */ + + xsane_rc_io_w_exit(&w); + + close(fd); + + /* scroll list to beginning */ + gtk_adjustment_set_value(xsane.batch_scan_vadjustment, xsane.batch_scan_vadjustment->lower); + gtk_adjustment_value_changed(xsane.batch_scan_vadjustment); + + return 0; + } + + return -1; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_batch_scan_load_list(void) +{ + char filename[PATH_MAX]; + char windowname[256]; + + DBG(DBG_proc, "xsane_batch_scan_load_list\n"); + + xsane_set_sensitivity(FALSE); + + sprintf(windowname, "%s %s %s", xsane.prog_name, WINDOW_LOAD_BATCH_LIST, xsane.device_text); + xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", "batch-lists", 0, "default", ".xbl", XSANE_PATH_LOCAL_SANE); + + if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, FALSE, FALSE, FALSE, FALSE)) + { + if (xsane_batch_scan_load_list_from_file(filename)) /* error while loading file ? */ + { + char buf[256]; + + snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); + xsane_back_gtk_error(buf, TRUE); + } + } + + xsane_set_sensitivity(TRUE); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_batch_scan_write_parameters(Wire *w, Batch_Scan_Parameters *parameters) +{ + int i; + + DBG(DBG_proc, "batch_scan_parameters_save\n"); + + for (i = 0; i < NELEMS(desc)-1; ++i) + { + DBG(DBG_info2, "saving batch-scan-parameter for %s\n", desc[i].name); + xsane_rc_io_w_string(w, &desc[i].name); + (*desc[i].codec) (w, parameters, desc[i].offset); + } + + xsane_rc_io_w_string(w, &desc[NELEMS(desc)-1].name); /* write BATCH_END */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_batch_scan_save_list(void) +{ + GtkObject *list_item; + GList *list = GTK_LIST(xsane.batch_scan_list)->children; + Batch_Scan_Parameters *parameters = NULL; + int fd; + Wire w; + char filename[PATH_MAX]; + char windowname[256]; + + DBG(DBG_proc, "xsane_batch_scan_save_list\n"); + + xsane_set_sensitivity(FALSE); + + sprintf(windowname, "%s %s %s", xsane.prog_name, WINDOW_SAVE_BATCH_LIST, xsane.device_text); + xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", "batch-lists", 0, "default", ".xbl", XSANE_PATH_LOCAL_SANE); + + if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, FALSE, FALSE, FALSE, FALSE)) + { + fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0600); + + if (fd > 0) + { + w.io.fd = fd; + w.io.read = read; + w.io.write = write; + xsane_rc_io_w_init(&w); + xsane_rc_io_w_set_dir(&w, WIRE_ENCODE); + + while (list) + { + list_item = GTK_OBJECT(list->data); + + parameters = gtk_object_get_data(list_item, "parameters"); + + if (parameters) + { + xsane_batch_scan_write_parameters(&w, parameters); + } + + list = list->next; + } + + xsane_rc_io_w_set_dir(&w, WIRE_DECODE); /* flush it out */ + xsane_rc_io_w_exit(&w); + + close(fd); + } + else + { + char buf[256]; + + snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); + xsane_back_gtk_error(buf, TRUE); + } + } + + xsane_set_sensitivity(TRUE); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_batch_scan_scan_list(void) +{ + GtkObject *list_item; + GList *list = GTK_LIST(xsane.batch_scan_list)->children; + Batch_Scan_Parameters *parameters = NULL; + SANE_Int val_start = SANE_TRUE; + SANE_Int val_loop = SANE_TRUE; + SANE_Int val_end = SANE_FALSE; + SANE_Word val_next_tl_y = SANE_FIX(0.0); + + gtk_list_scroll_vertical(GTK_LIST(xsane.batch_scan_list), GTK_SCROLL_JUMP, 0.0); + + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + + + while (list) + { + if (!list->next) /* last scan */ + { + val_loop = SANE_FALSE; + val_end = SANE_TRUE; + val_next_tl_y = SANE_FIX(0.0); + } + else /* not last scan */ + { + parameters = gtk_object_get_data(GTK_OBJECT(list->next->data), "parameters"); + if (parameters) + { + val_next_tl_y = SANE_FIX(parameters->tl_y); + } + } + xsane_control_option(xsane.dev, xsane.well_known.batch_scan_start, SANE_ACTION_SET_VALUE, &val_start, NULL); + xsane_control_option(xsane.dev, xsane.well_known.batch_scan_loop, SANE_ACTION_SET_VALUE, &val_loop, NULL); + xsane_control_option(xsane.dev, xsane.well_known.batch_scan_end, SANE_ACTION_SET_VALUE, &val_end, NULL); + xsane_control_option(xsane.dev, xsane.well_known.batch_scan_next_tl_y, SANE_ACTION_SET_VALUE, &val_next_tl_y, NULL); + + val_start = SANE_FALSE; + + xsane.batch_loop = val_loop; /* tell scanning routine if we have more scans */ + + list_item = GTK_OBJECT(list->data); + + gtk_list_select_child(GTK_LIST(xsane.batch_scan_list), GTK_WIDGET(list_item)); + /* selecting the child normally does establish the parameters, but not always for the first element! */ + + parameters = gtk_object_get_data(list_item, "parameters"); + + if (parameters) + { + xsane_batch_scan_establish_parameters(parameters, FALSE); + } + + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + + xsane_scan_dialog(); + + while (xsane.scanning) + { +#if 0 + if (gtk_events_pending()) + { + gtk_main_iteration(); + } +#elseif + gtk_main_iteration(); +#endif + } + + if ( (xsane.status_of_last_scan != SANE_STATUS_GOOD) && (xsane.status_of_last_scan != SANE_STATUS_EOF) ) + { + break; /* cancel or error occured */ + } + + list = list->next; + + gtk_list_scroll_vertical(GTK_LIST(xsane.batch_scan_list), GTK_SCROLL_STEP_FORWARD, 1.0); + } + + val_start = SANE_FALSE; + val_loop = SANE_FALSE; + val_end = SANE_FALSE; + val_next_tl_y = SANE_FIX(0.0); + + /* make sure all batch scan options are reset */ + xsane_control_option(xsane.dev, xsane.well_known.batch_scan_start, SANE_ACTION_SET_VALUE, &val_start, NULL); + xsane_control_option(xsane.dev, xsane.well_known.batch_scan_loop, SANE_ACTION_SET_VALUE, &val_loop, NULL); + xsane_control_option(xsane.dev, xsane.well_known.batch_scan_end, SANE_ACTION_SET_VALUE, &val_end, NULL); + xsane_control_option(xsane.dev, xsane.well_known.batch_scan_next_tl_y, SANE_ACTION_SET_VALUE, &val_next_tl_y, NULL); + + xsane.batch_loop = FALSE; /* make sure we reset the batch scan loop flag */ + + if (parameters) + { + xsane_batch_scan_establish_parameters(parameters, FALSE); + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_batch_scan_scan_selected(void) +{ + GList *select; + GtkObject *list_item; + Batch_Scan_Parameters *parameters = NULL; + + select = GTK_LIST(xsane.batch_scan_list)->selection; + if (select) + { + list_item = GTK_OBJECT(select->data); + + parameters = gtk_object_get_data(list_item, "parameters"); + + if (parameters) + { + xsane_batch_scan_establish_parameters(parameters, TRUE); + } + + xsane_scan_dialog(); + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_batch_scan_delete(void) +{ + GList *select; + GtkObject *list_item; + Batch_Scan_Parameters *parameters = NULL; + + DBG(DBG_proc, "xsane_batch_scan_delete\n"); + + select = GTK_LIST(xsane.batch_scan_list)->selection; + if (select) + { + list_item = GTK_OBJECT(select->data); + + parameters = gtk_object_get_data(list_item, "parameters"); + + if (parameters) + { + free(parameters); + } + + gtk_widget_destroy(GTK_WIDGET(list_item)); + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_batch_scan_update_label(Batch_Scan_Parameters *parameters) +{ + char buf[256]; + const char *unit_str; + double tl_x = parameters->tl_x; + double tl_y = parameters->tl_y; + double br_x = parameters->br_x; + double br_y = parameters->br_y; + char areaname_str[100]; + char geometry_tl_str[100]; + char geometry_size_str[100]; + char scanmode_str[100]; + char resolution_str[100]; + char bit_depth_str[100]; + + + snprintf(areaname_str, sizeof(areaname_str), "%s %s", TEXT_BATCH_LIST_AREANAME, parameters->name); + + if (xsane.batch_scan_use_stored_scanmode) + { + snprintf(scanmode_str, sizeof(scanmode_str), "%s %s", TEXT_BATCH_LIST_SCANMODE, parameters->scanmode); + } + else + { + snprintf(scanmode_str, sizeof(scanmode_str), "%s %s", TEXT_BATCH_LIST_SCANMODE, TEXT_BATCH_LIST_BY_GUI); + } + + unit_str = xsane_back_gtk_unit_string(parameters->unit); + if (parameters->unit == SANE_UNIT_MM) + { + tl_x /= preferences.length_unit; + tl_y /= preferences.length_unit; + br_x /= preferences.length_unit; + br_y /= preferences.length_unit; + } + snprintf(geometry_tl_str, sizeof(geometry_tl_str), "%s %0.2f %s, %0.2f %s", TEXT_BATCH_LIST_GEOMETRY_TL, + tl_x, unit_str, tl_y, unit_str); + + snprintf(geometry_size_str, sizeof(geometry_size_str), "%s %0.2f %s x %0.2f %s", TEXT_BATCH_LIST_GEOMETRY_SIZE, + br_x - tl_x, unit_str, br_y - tl_y, unit_str); + + if (xsane.batch_scan_use_stored_resolution) + { + snprintf(resolution_str, sizeof(resolution_str), "%s %3.0f dpi x %3.0f dpi", TEXT_BATCH_LIST_RESOLUTION, + parameters->resolution_x, parameters->resolution_y); + } + else + { + snprintf(resolution_str, sizeof(resolution_str), "%s %s", TEXT_BATCH_LIST_RESOLUTION, TEXT_BATCH_LIST_BY_GUI); + } + + if (xsane.batch_scan_use_stored_bit_depth) + { + snprintf(bit_depth_str, sizeof(bit_depth_str), "%s %d", TEXT_BATCH_LIST_BIT_DEPTH, parameters->bit_depth); + } + else + { + snprintf(bit_depth_str, sizeof(bit_depth_str), "%s %s", TEXT_BATCH_LIST_BIT_DEPTH, TEXT_BATCH_LIST_BY_GUI); + } + + snprintf(buf, sizeof(buf), "%s\n" /* name */ + "%s\n" /* scanmode */ + "%s\n" /* geometry_tl */ + "%s\n" /* geometry_size */ + "%s\n" /* resolution */ + "%s", /* bit_depth */ + areaname_str, + scanmode_str, + geometry_tl_str, + geometry_size_str, + resolution_str, + bit_depth_str); + + gtk_label_set_text(GTK_LABEL(parameters->label), buf); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static GtkWidget *xsane_batch_scan_create_list_entry(Batch_Scan_Parameters *parameters) +{ + GtkWidget *list_item; + GtkWidget *hbox; + int size = 120; + char *data; + + list_item = gtk_list_item_new(); + + hbox = gtk_hbox_new(FALSE, 10); + gtk_container_add(GTK_CONTAINER(list_item), hbox); + gtk_widget_show(hbox); + + data = calloc(size, size); + + parameters->gtk_preview = gtk_preview_new(GTK_PREVIEW_COLOR); + gtk_preview_size(GTK_PREVIEW(parameters->gtk_preview), size, size); + gtk_box_pack_start(GTK_BOX(hbox), parameters->gtk_preview, FALSE, FALSE, 0); + gtk_widget_show(parameters->gtk_preview); + + parameters->gtk_preview_size = size; + + preview_create_batch_icon(xsane.preview, parameters); + + + parameters->label = gtk_label_new(""); + gtk_box_pack_start(GTK_BOX(hbox), parameters->label, FALSE, FALSE, 0); + gtk_label_set_justify(GTK_LABEL(parameters->label), GTK_JUSTIFY_LEFT); + gtk_widget_show(parameters->label); + xsane_batch_scan_update_label(parameters); + + gtk_object_set_data(GTK_OBJECT(list_item), "parameters", parameters); + g_signal_connect(GTK_OBJECT(list_item), "select", (GtkSignalFunc) xsane_batch_scan_list_item_activated_callback, NULL); + gtk_container_add(GTK_CONTAINER(xsane.batch_scan_list), list_item); + gtk_widget_show(list_item); + + return(list_item); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +void xsane_batch_scan_add() +{ + Batch_Scan_Parameters *parameters; + GtkWidget *list_item; + + DBG(DBG_proc, "xsane_batch_scan_add\n"); + + parameters = calloc(1, sizeof(Batch_Scan_Parameters)); + + if (parameters) + { + xsane_batch_scan_get_parameters(parameters); + + parameters->name = strdup(TEXT_BATCH_AREA_DEFAULT_NAME); + } + + list_item = xsane_batch_scan_create_list_entry(parameters); + + /* scroll list to end */ + gtk_adjustment_set_value(xsane.batch_scan_vadjustment, xsane.batch_scan_vadjustment->upper); + gtk_adjustment_value_changed(xsane.batch_scan_vadjustment); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +void xsane_batch_scan_update_label_list(void) +{ + GtkObject *list_item; + GList *list = GTK_LIST(xsane.batch_scan_list)->children; + Batch_Scan_Parameters *parameters = NULL; + + while (list) + { + list_item = GTK_OBJECT(list->data); + + parameters = gtk_object_get_data(list_item, "parameters"); + + if (parameters) + { + xsane_batch_scan_update_label(parameters); + } + + list = list->next; + } + + gtk_widget_queue_draw(xsane.batch_scan_list); /* update gtk_pixmap widgets */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +void xsane_batch_scan_update_icon_list(void) +{ + GtkObject *list_item; + GList *list = GTK_LIST(xsane.batch_scan_list)->children; + Batch_Scan_Parameters *parameters = NULL; + + while (list) + { + list_item = GTK_OBJECT(list->data); + + parameters = gtk_object_get_data(list_item, "parameters"); + + if (parameters) + { + preview_create_batch_icon(xsane.preview, parameters); + } + + list = list->next; + } + + gtk_widget_queue_draw(xsane.batch_scan_list); /* update gtk_pixmap widgets */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_batch_scan_rotate_mirror(GtkWidget *widget, gpointer data) +{ + GList *select; + GtkObject *list_item; + Batch_Scan_Parameters *parameters = NULL; + int rotate_info = (int) data; + int rotate, mirror; + + DBG(DBG_proc, "xsane_batch_scan_rotate_mirror\n"); + + select = GTK_LIST(xsane.batch_scan_list)->selection; + if (select) + { + list_item = GTK_OBJECT(select->data); + + parameters = gtk_object_get_data(list_item, "parameters"); + + if (parameters) + { + rotate = parameters->rotation & 3; + mirror = parameters->rotation & 4; + + if (parameters->rotation < 4) + { + parameters->rotation = ( (rotate + rotate_info) & 3 ) + ( (mirror+ rotate_info) & 4); + } + else + { + parameters->rotation = ( (rotate - rotate_info) & 3 ) + ( (mirror+ rotate_info) & 4); + } + + xsane_batch_scan_update_icon_list(); + } + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ +int xsane_batch_scan_rename; + +static void xsane_batch_scan_rename_button_callback(GtkWidget *widget, gpointer data) +{ + DBG(DBG_proc, "xsane_batch_scan_rename\n"); + + xsane_batch_scan_rename = (int) data; +} + + +static void xsane_batch_scan_rename_callback(GtkWidget *widget, gpointer data) +{ + GList *select; + GtkObject *list_item; + Batch_Scan_Parameters *parameters = NULL; + GtkWidget *rename_dialog; + GtkWidget *text; + GtkWidget *button; + GtkWidget *vbox, *hbox; + char buf[256]; + + DBG(DBG_proc, "xsane_batch_scan_rename\n"); + + select = GTK_LIST(xsane.batch_scan_list)->selection; + if (select) + { + list_item = GTK_OBJECT(select->data); + + parameters = gtk_object_get_data(list_item, "parameters"); + + if (parameters) + { + xsane_set_sensitivity(FALSE); + + rename_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); + xsane_set_window_icon(rename_dialog, 0); + + /* set the main vbox */ + vbox = gtk_vbox_new(FALSE, 0); + gtk_container_set_border_width(GTK_CONTAINER(vbox), 0); + gtk_container_add(GTK_CONTAINER(rename_dialog), vbox); + gtk_widget_show(vbox); + + /* set the main hbox */ + hbox = gtk_hbox_new(FALSE, 0); + xsane_separator_new(vbox, 2); + gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); + gtk_widget_show(hbox); + + gtk_window_set_position(GTK_WINDOW(rename_dialog), GTK_WIN_POS_CENTER); + gtk_window_set_resizable(GTK_WINDOW(rename_dialog), FALSE); + snprintf(buf, sizeof(buf), "%s %s", xsane.prog_name, WINDOW_BATCH_RENAME); + gtk_window_set_title(GTK_WINDOW(rename_dialog), buf); + g_signal_connect(GTK_OBJECT(rename_dialog), "delete_event", (GtkSignalFunc) xsane_batch_scan_rename_button_callback,(void *) -1); + gtk_widget_show(rename_dialog); + + text = gtk_entry_new(); + xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_BATCH_RENAME); + gtk_entry_set_max_length(GTK_ENTRY(text), 64); + gtk_entry_set_text(GTK_ENTRY(text), parameters->name); + gtk_widget_set_size_request(text, 300, -1); + gtk_box_pack_start(GTK_BOX(vbox), text, TRUE, TRUE, 4); + gtk_widget_show(text); + +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_OK); +#else + button = gtk_button_new_with_label(BUTTON_OK); +#endif + GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_batch_scan_rename_button_callback, (void *) 1); + gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); + gtk_widget_grab_default(button); + gtk_widget_show(button); + + +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); +#else + button = gtk_button_new_with_label(BUTTON_CANCEL); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_batch_scan_rename_button_callback, (void *) -1); + gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); + gtk_widget_show(button); + + xsane_batch_scan_rename = 0; + + while (xsane_batch_scan_rename == 0) + { + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + } + + if (xsane_batch_scan_rename == 1) + { + free(parameters->name); + parameters->name = strdup(gtk_entry_get_text(GTK_ENTRY(text))); + xsane_batch_scan_update_label(parameters); + } + gtk_widget_destroy(rename_dialog); + + xsane_set_sensitivity(TRUE); + } + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static gint xsane_batch_scan_win_delete(GtkWidget *widget, gpointer data) +{ + DBG(DBG_proc, "xsane_batch_scan_win_delete\n"); + + gtk_widget_hide(widget); + preferences.show_batch_scan = FALSE; + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.show_batch_scan_widget), preferences.show_batch_scan); + return TRUE; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +void xsane_create_batch_scan_dialog(const char *devicetext) +{ + GtkWidget *batch_scan_vbox, *button, *scrolled_window; + char buf[64]; + + DBG(DBG_proc, "xsane_batch_scan_dialog\n"); + + xsane.batch_scan_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); + xsane_set_window_icon(xsane.batch_scan_dialog, 0); + gtk_window_add_accel_group(GTK_WINDOW(xsane.batch_scan_dialog), xsane.accelerator_group); + + snprintf(buf, sizeof(buf), "%s %s", WINDOW_BATCH_SCAN, devicetext); + gtk_window_set_title(GTK_WINDOW(xsane.batch_scan_dialog), buf); + gtk_widget_set_size_request(xsane.batch_scan_dialog, 400, -1); + + g_signal_connect(GTK_OBJECT(xsane.batch_scan_dialog), "delete_event", GTK_SIGNAL_FUNC(xsane_batch_scan_win_delete), NULL); + + /* set the main vbox */ + batch_scan_vbox = gtk_vbox_new(FALSE, 0); + gtk_container_set_border_width(GTK_CONTAINER(batch_scan_vbox), 5); + gtk_container_add(GTK_CONTAINER(xsane.batch_scan_dialog), batch_scan_vbox); + gtk_widget_show(batch_scan_vbox); + + /* set the hbox for load/save */ + xsane.batch_scan_button_box = gtk_hbox_new(FALSE, 0); + gtk_box_pack_start(GTK_BOX(batch_scan_vbox), xsane.batch_scan_button_box, FALSE, FALSE, 0); + gtk_container_set_border_width(GTK_CONTAINER(xsane.batch_scan_button_box), 0); + gtk_widget_show(xsane.batch_scan_button_box); + + xsane_button_new_with_pixmap(xsane.batch_scan_dialog->window, xsane.batch_scan_button_box, empty_batch_xpm, DESC_BATCH_LIST_EMPTY, (GtkSignalFunc) xsane_batch_scan_empty_list, NULL); + xsane_button_new_with_pixmap(xsane.batch_scan_dialog->window, xsane.batch_scan_button_box, load_xpm, DESC_BATCH_LIST_LOAD, (GtkSignalFunc) xsane_batch_scan_load_list, NULL); + xsane_button_new_with_pixmap(xsane.batch_scan_dialog->window, xsane.batch_scan_button_box, save_xpm, DESC_BATCH_LIST_SAVE, (GtkSignalFunc) xsane_batch_scan_save_list, NULL); + + xsane_vseparator_new(xsane.batch_scan_button_box, 3); + + xsane_button_new_with_pixmap(xsane.batch_scan_dialog->window, xsane.batch_scan_button_box, add_batch_xpm, DESC_BATCH_ADD, (GtkSignalFunc) xsane_batch_scan_add, NULL); + + xsane_vseparator_new(xsane.batch_scan_button_box, 3); + + xsane_button_new_with_pixmap(xsane.batch_scan_dialog->window, xsane.batch_scan_button_box, del_batch_xpm, DESC_BATCH_DEL, (GtkSignalFunc) xsane_batch_scan_delete, NULL); + + xsane_button_new_with_pixmap(xsane.batch_scan_dialog->window, xsane.batch_scan_button_box, ascii_xpm, DESC_BATCH_RENAME, (GtkSignalFunc) xsane_batch_scan_rename_callback, NULL); + xsane_button_new_with_pixmap(xsane.batch_scan_dialog->window, xsane.batch_scan_button_box, rotate90_xpm, DESC_ROTATE90, (GtkSignalFunc) xsane_batch_scan_rotate_mirror, (void *) 1); + xsane_button_new_with_pixmap(xsane.batch_scan_dialog->window, xsane.batch_scan_button_box, rotate180_xpm, DESC_ROTATE180, (GtkSignalFunc) xsane_batch_scan_rotate_mirror, (void *) 2); + xsane_button_new_with_pixmap(xsane.batch_scan_dialog->window, xsane.batch_scan_button_box, rotate270_xpm, DESC_ROTATE270, (GtkSignalFunc) xsane_batch_scan_rotate_mirror, (void *) 3); + xsane_button_new_with_pixmap(xsane.batch_scan_dialog->window, xsane.batch_scan_button_box, mirror_x_xpm, DESC_MIRROR_X, (GtkSignalFunc) xsane_batch_scan_rotate_mirror, (void *) 4); + xsane_button_new_with_pixmap(xsane.batch_scan_dialog->window, xsane.batch_scan_button_box, mirror_y_xpm, DESC_MIRROR_Y, (GtkSignalFunc) xsane_batch_scan_rotate_mirror, (void *) 6); + + + /* the scolled window with the list */ + scrolled_window = gtk_scrolled_window_new(0, 0); + gtk_widget_set_size_request(scrolled_window, 400, 200); + gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_container_add(GTK_CONTAINER(batch_scan_vbox), scrolled_window); + gtk_widget_show(scrolled_window); + + xsane.batch_scan_list = gtk_list_new(); + + gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scrolled_window), xsane.batch_scan_list); + + xsane.batch_scan_vadjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(scrolled_window)); + gtk_container_set_focus_vadjustment(GTK_CONTAINER(xsane.batch_scan_list), xsane.batch_scan_vadjustment); + + gtk_widget_show(xsane.batch_scan_list); + + + xsane_separator_new(batch_scan_vbox, 2); + + + /* set the hbox for scan all / scan selected */ + xsane.batch_scan_action_box = gtk_hbox_new(TRUE, 0); + gtk_box_pack_start(GTK_BOX(batch_scan_vbox), xsane.batch_scan_action_box, FALSE, FALSE, 0); + gtk_container_set_border_width(GTK_CONTAINER(xsane.batch_scan_action_box), 0); + gtk_widget_show(xsane.batch_scan_action_box); + + button = gtk_button_new_with_label(BUTTON_BATCH_LIST_SCAN); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_batch_scan_scan_list, NULL); + gtk_box_pack_start(GTK_BOX(xsane.batch_scan_action_box), button, TRUE, TRUE, 0); + gtk_widget_show(button); + + button = gtk_button_new_with_label(BUTTON_BATCH_AREA_SCAN); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_batch_scan_scan_selected, NULL); + gtk_box_pack_start(GTK_BOX(xsane.batch_scan_action_box), button, TRUE, TRUE, 0); + gtk_widget_show(button); + + gtk_widget_realize(xsane.batch_scan_dialog); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ diff --git a/src/xsane-batch-scan.h b/src/xsane-batch-scan.h new file mode 100644 index 0000000..7437ae8 --- /dev/null +++ b/src/xsane-batch-scan.h @@ -0,0 +1,74 @@ +/* xsane -- a graphical (X11, gtk) scanner-oriented SANE frontend + + xsane-batch-scan.h + + Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch + This file is part of the XSANE package. + + 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#ifndef xsane_batch_scan_h +#define xsane_batch_scan_h + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#include + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +typedef struct +{ + char *name; + char *scanmode; + double tl_x; + double tl_y; + double br_x; + double br_y; + SANE_Unit unit; + int rotation; + double resolution_x; + double resolution_y; + int bit_depth; + double gamma; + double gamma_red; + double gamma_green; + double gamma_blue; + double contrast; + double contrast_red; + double contrast_green; + double contrast_blue; + double brightness; + double brightness_red; + double brightness_green; + double brightness_blue; + int enhancement_rgb_default; + int negative; + GtkWidget *label; + GtkWidget *gtk_preview; + int gtk_preview_size; +} Batch_Scan_Parameters; + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +extern void xsane_batch_scan_add(); +extern void xsane_create_batch_scan_dialog(const char *devicetext); +extern void xsane_batch_scan_update_label_list(void); +extern void xsane_batch_scan_update_icon_list(void); +extern int xsane_batch_scan_load_list_from_file(char *filename); + +#endif /* batch_scan_h */ diff --git a/src/xsane-device-preferences.c b/src/xsane-device-preferences.c index 7f6a80e..f70590b 100644 --- a/src/xsane-device-preferences.c +++ b/src/xsane-device-preferences.c @@ -3,7 +3,7 @@ xsane-device-preferences.c Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -65,6 +65,9 @@ desc_xsane_device[] = {"xsane-gamma-window-x-position", xsane_rc_pref_int, DPOFFSET(gamma_dialog_posx)}, {"xsane-gamma-window-y-position", xsane_rc_pref_int, DPOFFSET(gamma_dialog_posy)}, + {"xsane-batch-window-x-position", xsane_rc_pref_int, DPOFFSET(batch_dialog_posx)}, + {"xsane-batch-window-y-position", xsane_rc_pref_int, DPOFFSET(batch_dialog_posy)}, + {"xsane-preview-window-x-position", xsane_rc_pref_int, DPOFFSET(preview_dialog_posx)}, {"xsane-preview-window-y-position", xsane_rc_pref_int, DPOFFSET(preview_dialog_posy)}, {"xsane-preview-window-width", xsane_rc_pref_int, DPOFFSET(preview_dialog_width)}, @@ -162,7 +165,7 @@ static int xsane_device_preferences_load_values(Wire *w, SANE_Handle device) status = SANE_STATUS_GOOD; info = 0; - for (i = 1; (opt = xsane_get_option_descriptor(device, i)); ++i) /* search all options */ + for (i = 1; (i < num_options) && (opt = xsane_get_option_descriptor(device, i)); ++i) /* search all options */ { if (!opt->name || strcmp(opt->name, name) != 0) /* test if option names are equal */ { @@ -240,10 +243,13 @@ static int xsane_device_preferences_save_values(Wire *w, SANE_Handle device) SANE_String str = 0; SANE_Word word; int i; + SANE_Int num_options; DBG(DBG_proc, "xsane_device_preferences_save_values\n"); - for (i = 0; (opt = xsane_get_option_descriptor(device, i)); ++i) + xsane_control_option(device, 0, SANE_ACTION_GET_VALUE, &num_options, 0); + + for (i = 0; (i < num_options) && (opt = xsane_get_option_descriptor(device, i)); ++i) { if ((opt->cap & (SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT)) != (SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT) || !opt->name) @@ -384,6 +390,12 @@ void xsane_device_preferences_load_file(char *filename) xsane.histogram_dialog_posx = XSANE_HISTOGRAM_POS_X; xsane.histogram_dialog_posy = XSANE_HISTOGRAM_POS_Y; + xsane.gamma_dialog_posx = XSANE_GAMMA_POS_X; + xsane.gamma_dialog_posy = XSANE_GAMMA_POS_Y; + + xsane.batch_dialog_posx = XSANE_BATCH_POS_X; + xsane.batch_dialog_posy = XSANE_BATCH_POS_Y; + xsane.preview_dialog_posx = XSANE_PREVIEW_POS_X; xsane.preview_dialog_posy = XSANE_PREVIEW_POS_Y; xsane.preview_dialog_width = XSANE_PREVIEW_WIDTH; @@ -483,58 +495,6 @@ void xsane_device_preferences_load_file(char *filename) return; } - -#if 0 -/* add here: read version info */ -#if 0 - while (!feof(file)) - { - fgets(option, sizeof(option), file); /* get option name */ - option[strlen(option)-1] = 0; /* remove cr */ - if (strcmp(option, "\"xsane-version\"") == 0) - { - fgets(option, sizeof(option), file); /* get version */ - option[strlen(option)-1] = 0; /* remove cr */ - len = strlen(option); - if (len) - { - if (option[len-1] == 34) - { - option[len-1] = 0; /* remove " */ - } - } - version = strdup(option+1); - } - else - { - fgets(option, sizeof(option), file); /* skip option */ - } - } -#endif - - - if (version) - { - if (strcmp(version, XSANE_VERSION)) - { - snprintf(buf, sizeof(buf), "File: \"%s\"\n" - "has been saved with xsane-%s,\n" - "this may cause problems!", filename, version); - xsane_back_gtk_warning(buf, TRUE); - } - free(version); - } - else - { - snprintf(buf, sizeof(buf), "File: \"%s\"\n" - "has been saved with xsane before version 0.40,\n" - "this may cause problems!", filename); - xsane_back_gtk_warning(buf, TRUE); - } -#endif - - - while (1) /* read device dependant xsane options */ { xsane_rc_io_w_space(&w, 3); @@ -592,12 +552,16 @@ void xsane_device_preferences_load_file(char *filename) } } } - gtk_widget_set_uposition(xsane.shell, xsane.shell_posx, xsane.shell_posy); + gtk_window_move(GTK_WINDOW(xsane.shell), xsane.shell_posx, xsane.shell_posy); gtk_window_set_default_size(GTK_WINDOW(xsane.shell), xsane.shell_width, xsane.shell_height); - gtk_widget_set_uposition(xsane.standard_options_shell, xsane.standard_options_shell_posx, xsane.standard_options_shell_posy); - gtk_widget_set_uposition(xsane.advanced_options_shell, xsane.advanced_options_shell_posx, xsane.advanced_options_shell_posy); - gtk_widget_set_uposition(xsane.histogram_dialog, xsane.histogram_dialog_posx, xsane.histogram_dialog_posy); - gtk_widget_set_uposition(xsane.preview->top, xsane.preview_dialog_posx, xsane.preview_dialog_posy); + gtk_window_move(GTK_WINDOW(xsane.standard_options_shell), xsane.standard_options_shell_posx, xsane.standard_options_shell_posy); + gtk_window_move(GTK_WINDOW(xsane.advanced_options_shell), xsane.advanced_options_shell_posx, xsane.advanced_options_shell_posy); + gtk_window_move(GTK_WINDOW(xsane.histogram_dialog), xsane.histogram_dialog_posx, xsane.histogram_dialog_posy); +#if 0 + gtk_window_move(GTK_WINDOW(xsane.gamma_dialog), xsane.gamma_dialog_posx, xsane.gamma_dialog_posy); +#endif + gtk_window_move(GTK_WINDOW(xsane.batch_scan_dialog), xsane.batch_dialog_posx, xsane.batch_dialog_posy); + gtk_window_move(GTK_WINDOW(xsane.preview->top), xsane.preview_dialog_posx, xsane.preview_dialog_posy); gtk_window_set_default_size(GTK_WINDOW(xsane.preview->top), xsane.preview_dialog_width, xsane.preview_dialog_height); xsane_update_param(0); @@ -636,14 +600,12 @@ void xsane_device_preferences_load(void) DBG(DBG_proc, "xsane_device_preferences_load\n"); - xsane_clear_histogram(&xsane.histogram_raw); - xsane_clear_histogram(&xsane.histogram_enh); xsane_set_sensitivity(FALSE); sprintf(windowname, "%s %s %s", xsane.prog_name, WINDOW_LOAD_SETTINGS, xsane.device_text); xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, 0, xsane.device_set_filename, ".drc", XSANE_PATH_LOCAL_SANE); - if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, FALSE, FALSE, FALSE)) + if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, FALSE, FALSE, FALSE, FALSE)) { xsane_device_preferences_load_file(filename); } @@ -693,25 +655,33 @@ void xsane_device_preferences_save_file(char *filename) XSANE_RC_IO_W_STRINGCONST(&w, XSANE_VERSION); /* make geometry and position values up to date */ - xsane_widget_get_uposition(xsane.shell, &xsane.shell_posx, &xsane.shell_posy); - gdk_window_get_size(xsane.shell->window, &xsane.shell_width, &xsane.shell_height); - gtk_widget_set_uposition(xsane.shell, xsane.shell_posx, xsane.shell_posy); /* geometry used when window closed and opened again */ + xsane_window_get_position(xsane.shell, &xsane.shell_posx, &xsane.shell_posy); + gdk_drawable_get_size(xsane.shell->window, &xsane.shell_width, &xsane.shell_height); + gtk_window_move(GTK_WINDOW(xsane.shell), xsane.shell_posx, xsane.shell_posy); /* geometry used when window closed and opened again */ gtk_window_set_default_size(GTK_WINDOW(xsane.shell), xsane.shell_width, xsane.shell_height); - xsane_widget_get_uposition(xsane.standard_options_shell, &xsane.standard_options_shell_posx, &xsane.standard_options_shell_posy); - gtk_widget_set_uposition(xsane.standard_options_shell, xsane.standard_options_shell_posx, xsane.standard_options_shell_posy); + xsane_window_get_position(xsane.standard_options_shell, &xsane.standard_options_shell_posx, &xsane.standard_options_shell_posy); + gtk_window_move(GTK_WINDOW(xsane.standard_options_shell), xsane.standard_options_shell_posx, xsane.standard_options_shell_posy); - xsane_widget_get_uposition(xsane.advanced_options_shell, &xsane.advanced_options_shell_posx, &xsane.advanced_options_shell_posy); - gtk_widget_set_uposition(xsane.advanced_options_shell, xsane.advanced_options_shell_posx, xsane.advanced_options_shell_posy); + xsane_window_get_position(xsane.advanced_options_shell, &xsane.advanced_options_shell_posx, &xsane.advanced_options_shell_posy); + gtk_window_move(GTK_WINDOW(xsane.advanced_options_shell), xsane.advanced_options_shell_posx, xsane.advanced_options_shell_posy); + + xsane_window_get_position(xsane.histogram_dialog, &xsane.histogram_dialog_posx, &xsane.histogram_dialog_posy); + gtk_window_move(GTK_WINDOW(xsane.histogram_dialog), xsane.histogram_dialog_posx, xsane.histogram_dialog_posy); + +#if 0 + xsane_window_get_position(xsane.gamma_dialog, &xsane.gamma_dialog_posx, &xsane.gamma_dialog_posy); + gtk_window_move(GTK_WINDOW(xsane.gamma_dialog), xsane.gamma_dialog_posx, xsane.gamma_dialog_posy); +#endif - xsane_widget_get_uposition(xsane.histogram_dialog, &xsane.histogram_dialog_posx, &xsane.histogram_dialog_posy); - gtk_widget_set_uposition(xsane.histogram_dialog, xsane.histogram_dialog_posx, xsane.histogram_dialog_posy); + xsane_window_get_position(xsane.batch_scan_dialog, &xsane.batch_dialog_posx, &xsane.batch_dialog_posy); + gtk_window_move(GTK_WINDOW(xsane.batch_scan_dialog), xsane.batch_dialog_posx, xsane.batch_dialog_posy); if (xsane.preview) { - xsane_widget_get_uposition(xsane.preview->top, &xsane.preview_dialog_posx, &xsane.preview_dialog_posy); - gdk_window_get_size(xsane.preview->top->window, &xsane.preview_dialog_width, &xsane.preview_dialog_height); - gtk_widget_set_uposition(xsane.preview->top, xsane.preview_dialog_posx, xsane.preview_dialog_posy); + xsane_window_get_position(xsane.preview->top, &xsane.preview_dialog_posx, &xsane.preview_dialog_posy); + gdk_drawable_get_size(xsane.preview->top->window, &xsane.preview_dialog_width, &xsane.preview_dialog_height); + gtk_window_move(GTK_WINDOW(xsane.preview->top), xsane.preview_dialog_posx, xsane.preview_dialog_posy); gtk_window_set_default_size(GTK_WINDOW(xsane.preview->top), xsane.preview_dialog_width, xsane.preview_dialog_height); } @@ -749,14 +719,12 @@ void xsane_device_preferences_save(void) DBG(DBG_proc, "xsane_device_preferences_save\n"); - xsane_clear_histogram(&xsane.histogram_raw); - xsane_clear_histogram(&xsane.histogram_enh); xsane_set_sensitivity(FALSE); sprintf(windowname, "%s %s %s", xsane.prog_name, WINDOW_SAVE_SETTINGS, xsane.device_text); xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, 0, xsane.device_set_filename, ".drc", XSANE_PATH_LOCAL_SANE); - if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, FALSE, FALSE, FALSE)) + if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, FALSE, FALSE, FALSE, FALSE)) { xsane_device_preferences_save_file(filename); } diff --git a/src/xsane-device-preferences.h b/src/xsane-device-preferences.h index 053c2a8..e980d47 100644 --- a/src/xsane-device-preferences.h +++ b/src/xsane-device-preferences.h @@ -3,7 +3,7 @@ xsane-device-preferences.h Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify diff --git a/src/xsane-eula.txt b/src/xsane-eula.txt new file mode 100644 index 0000000..504fc82 --- /dev/null +++ b/src/xsane-eula.txt @@ -0,0 +1,10 @@ + + NO WARRANTY + +1. 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. + + +2. 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 diff --git a/src/xsane-fixedtext.h b/src/xsane-fixedtext.h index 2bff8cc..baa318b 100644 --- a/src/xsane-fixedtext.h +++ b/src/xsane-fixedtext.h @@ -3,7 +3,7 @@ xsane-fixedtext.h Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -33,18 +33,19 @@ # define XSANE_FILETYPE_TIFF ".tiff" #endif +#define XSANE_FILETYPE_BY_EXT "" #define XSANE_FILETYPE_PNG ".png" #define XSANE_FILETYPE_PNM ".pnm" #define XSANE_FILETYPE_PS ".ps" -#define XSANE_FILETYPE_RAW ".raw" #define XSANE_FILETYPE_RGBA ".rgba" +#define XSANE_FILETYPE_TEXT ".txt" #define MENU_ITEM_FILETYPE_JPEG "JPEG" #define MENU_ITEM_FILETYPE_TIFF "TIFF" #define MENU_ITEM_FILETYPE_PNG "PNG" #define MENU_ITEM_FILETYPE_PNM "PNM" #define MENU_ITEM_FILETYPE_PS "PostScript" -#define MENU_ITEM_FILETYPE_RAW "RAW" #define MENU_ITEM_FILETYPE_RGBA "RGBA" +#define MENU_ITEM_FILETYPE_TEXT "TEXT" #endif diff --git a/src/xsane-front-gtk.c b/src/xsane-front-gtk.c index b4373ed..3695db8 100644 --- a/src/xsane-front-gtk.c +++ b/src/xsane-front-gtk.c @@ -3,7 +3,7 @@ xsane-front-gtk.c Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -68,20 +68,22 @@ void xsane_option_menu_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *str_list[], const char *val, GtkObject **data, int option, void *option_menu_callback, SANE_Int settable, const gchar *widget_name); -void xsane_scale_new(GtkBox *parent, char *labeltext, const char *desc, - float min, float max, float quant, float step, float page_step, - int digits, double *val, GtkObject **data, void *xsane_scale_callback, SANE_Int settable); -void xsane_scale_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, - float min, float max, float quant, float step, float page_step, int digits, - double *val, GtkObject **data, int option, void *xsane_scale_callback, SANE_Int settable); +void xsane_range_new(GtkBox *parent, char *labeltext, const char *desc, + float min, float max, float quant, float page_step, + int digits, double *val, GtkObject **data, void *xsane_range_callback, SANE_Int settable); +void xsane_range_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, + float min, float max, float quant, float page_step, int digits, + double *val, GtkObject **data, int option, void *xsane_range_callback, SANE_Int settable); +static void xsane_outputfilename_changed_callback(GtkWidget *widget, gpointer data); +void xsane_set_filename(gchar *filename); void xsane_separator_new(GtkWidget *xsane_parent, int dist); +void xsane_vseparator_new(GtkWidget *xsane_parent, int dist); GtkWidget *xsane_info_table_text_new(GtkWidget *table, gchar *text, int row, int colomn); GtkWidget *xsane_info_text_new(GtkWidget *parent, gchar *text); void xsane_refresh_dialog(void); -void xsane_set_sensitivity(SANE_Int sensitivity); void xsane_update_param(void *arg); void xsane_define_output_filename(void); -int xsane_identify_output_format(char *filename, char **ext); +int xsane_identify_output_format(char *filename, char *filetype, char **ext); /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -141,7 +143,7 @@ void xsane_get_bounds(const SANE_Option_Descriptor *opt, double *minp, double *m case SANE_CONSTRAINT_RANGE: min = opt->constraint.range->min; max = opt->constraint.range->max; - break; + break; case SANE_CONSTRAINT_WORD_LIST: min = INF; @@ -333,8 +335,11 @@ int xsane_set_resolution(int well_known_option, double resolution) return 1; /* error */ } + /* it makes problems to call xsane_back_gtk_set_option. This would allow a */ + /* panel_rebuild that can mess up a lot at this place*/ xsane_control_option(xsane.dev, well_known_option, SANE_ACTION_SET_VALUE, &dpi, 0); - return 0; /* everything is ok */ + + return 0; /* everything is ok */ } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -345,15 +350,6 @@ void xsane_set_all_resolutions(void) DBG(DBG_proc, "xsane_set_all_resolutions\n"); -#if 0 - xsane_set_resolution(xsane.well_known.dpi_y, xsane.resolution_y); /* set y resolution if possible */ - if (xsane_set_resolution(xsane.well_known.dpi_x, xsane.resolution_x)) /* set x resolution if possible */ - { - xsane_set_resolution(xsane.well_known.dpi, xsane.resolution); /* set common resolution if necessary */ - xsane.resolution_x = xsane.resolution; - xsane.resolution_y = xsane.resolution; - } -#else if (xsane_set_resolution(xsane.well_known.dpi_y, xsane.resolution_y)) /* set y resolution if possible */ { xsane_set_resolution(xsane.well_known.dpi, xsane.resolution); /* set common resolution if necessary */ @@ -364,7 +360,6 @@ void xsane_set_all_resolutions(void) { xsane_set_resolution(xsane.well_known.dpi_x, xsane.resolution_x); /* set x resolution if possible */ } -#endif switch (xsane.param.format) { @@ -377,7 +372,7 @@ void xsane_set_all_resolutions(void) { printer_resolution = preferences.printer[preferences.printernr]->grayscale_resolution; } - break; + break; case SANE_FRAME_RGB: case SANE_FRAME_RED: @@ -385,7 +380,7 @@ void xsane_set_all_resolutions(void) case SANE_FRAME_BLUE: default: printer_resolution = preferences.printer[preferences.printernr]->color_resolution; - break; + break; } xsane.zoom = xsane.resolution / printer_resolution; @@ -410,45 +405,47 @@ void xsane_define_maximum_output_size() case XSANE_SAVE: xsane_define_output_filename(); - xsane.xsane_output_format = xsane_identify_output_format(xsane.output_filename, 0); + xsane.xsane_output_format = xsane_identify_output_format(xsane.output_filename, preferences.filetype, 0); - preview_set_maximum_output_size(xsane.preview, INF, INF); + preview_set_maximum_output_size(xsane.preview, INF, INF, 0); break; case XSANE_VIEWER: - preview_set_maximum_output_size(xsane.preview, INF, INF); + preview_set_maximum_output_size(xsane.preview, INF, INF, 0); break; case XSANE_COPY: - if (preferences.psrotate) /* rotate: landscape */ + if (preferences.paper_orientation >= 8) /* rotate: landscape */ { preview_set_maximum_output_size(xsane.preview, preferences.printer[preferences.printernr]->height / xsane.zoom_y, - preferences.printer[preferences.printernr]->width / xsane.zoom_x); + preferences.printer[preferences.printernr]->width / xsane.zoom_x, + preferences.paper_orientation); } else /* do not rotate: portrait */ { preview_set_maximum_output_size(xsane.preview, preferences.printer[preferences.printernr]->width / xsane.zoom_x, - preferences.printer[preferences.printernr]->height / xsane.zoom_y); + preferences.printer[preferences.printernr]->height / xsane.zoom_y, + preferences.paper_orientation); } break; case XSANE_FAX: - preview_set_maximum_output_size(xsane.preview, preferences.fax_width, preferences.fax_height); + preview_set_maximum_output_size(xsane.preview, preferences.fax_width, preferences.fax_height, 0); break; case XSANE_MAIL: - preview_set_maximum_output_size(xsane.preview, INF, INF); + preview_set_maximum_output_size(xsane.preview, INF, INF, 0); break; default: - preview_set_maximum_output_size(xsane.preview, INF, INF); + preview_set_maximum_output_size(xsane.preview, INF, INF, 0); } } else { - preview_set_maximum_output_size(xsane.preview, INF, INF); + preview_set_maximum_output_size(xsane.preview, INF, INF, 0); } } @@ -483,7 +480,7 @@ gint xsane_authorization_callback(SANE_String_Const resource, GtkWidget *authorize_dialog, *vbox, *hbox, *button, *label; GtkWidget *username_widget, *password_widget; char buf[SANE_MAX_PASSWORD_LEN+SANE_MAX_USERNAME_LEN+128]; - char *input; + const gchar *input; char *resource_string; int len; int resource_len; @@ -586,11 +583,10 @@ gint xsane_authorization_callback(SANE_String_Const resource, if (query_user) { - authorize_dialog = gtk_window_new(GTK_WINDOW_DIALOG); + authorize_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_position(GTK_WINDOW(authorize_dialog), GTK_WIN_POS_CENTER); - gtk_window_set_policy(GTK_WINDOW(authorize_dialog), FALSE, FALSE, FALSE); - gtk_signal_connect(GTK_OBJECT(authorize_dialog), "delete_event", - GTK_SIGNAL_FUNC(xsane_authorization_button_callback), (void *) -1); /* -1 = cancel */ + gtk_window_set_resizable(GTK_WINDOW(authorize_dialog), FALSE); + g_signal_connect(GTK_OBJECT(authorize_dialog), "delete_event", GTK_SIGNAL_FUNC(xsane_authorization_button_callback), (void *) -1); /* -1 = cancel */ snprintf(buf, sizeof(buf), "%s %s", xsane.prog_name, WINDOW_AUTHORIZE); gtk_window_set_title(GTK_WINDOW(authorize_dialog), buf); xsane_set_window_icon(authorize_dialog, 0); @@ -627,7 +623,7 @@ gint xsane_authorization_callback(SANE_String_Const resource, gtk_widget_show(label); username_widget = gtk_entry_new_with_max_length(SANE_MAX_USERNAME_LEN-1); - gtk_widget_set_usize(username_widget, 250, 0); + gtk_widget_set_size_request(username_widget, 250, -1); gtk_entry_set_text(GTK_ENTRY(username_widget), ""); gtk_box_pack_end(GTK_BOX(hbox), username_widget, FALSE, FALSE, 10); /* x-space around input filed */ gtk_widget_show(username_widget); @@ -644,7 +640,7 @@ gint xsane_authorization_callback(SANE_String_Const resource, password_widget = gtk_entry_new_with_max_length(SANE_MAX_PASSWORD_LEN-1); gtk_entry_set_visibility(GTK_ENTRY(password_widget), FALSE); /* make entered text invisible */ - gtk_widget_set_usize(password_widget, 250, 0); + gtk_widget_set_size_request(password_widget, 250, -1); gtk_entry_set_text(GTK_ENTRY(password_widget), ""); gtk_box_pack_end(GTK_BOX(hbox), password_widget, FALSE, FALSE, 10); /* x-space around input filed */ gtk_widget_show(password_widget); @@ -654,15 +650,23 @@ gint xsane_authorization_callback(SANE_String_Const resource, hbox = gtk_hbox_new(TRUE, 10); /* x-space between buttons */ gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 10); /* y-space around buttons */ +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_OK); +#else button = gtk_button_new_with_label(BUTTON_OK); +#endif GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(xsane_authorization_button_callback), (void *) 1); + g_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(xsane_authorization_button_callback), (void *) 1); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 10); /* x-space around OK-button */ gtk_widget_grab_default(button); gtk_widget_show(button); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); +#else button = gtk_button_new_with_label(BUTTON_CANCEL); - gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(xsane_authorization_button_callback), (void *) -1); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(xsane_authorization_button_callback), (void *) -1); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 10); /* x-space around cancel-button */ gtk_widget_show(button); @@ -742,7 +746,7 @@ void xsane_progress_new(char *bar_text, char *info, GtkSignalFunc callback, int gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.progress_bar), 0.0); gtk_widget_set_sensitive(GTK_WIDGET(xsane.cancel_button), TRUE); gtk_object_set_data(GTK_OBJECT(xsane.cancel_button), "progress-cancel-data-pointer", cancel_data_pointer); - gtk_signal_connect(GTK_OBJECT(xsane.cancel_button), "clicked", (GtkSignalFunc) xsane_progress_cancel, callback); + g_signal_connect(GTK_OBJECT(xsane.cancel_button), "clicked", (GtkSignalFunc) xsane_progress_cancel, callback); xsane.cancel_callback = callback; } @@ -759,7 +763,7 @@ void xsane_progress_clear() if (xsane.cancel_callback) { - gtk_signal_disconnect_by_func(GTK_OBJECT(xsane.cancel_button), (GtkSignalFunc) xsane_progress_cancel, xsane.cancel_callback); + g_signal_handlers_disconnect_by_func(GTK_OBJECT(xsane.cancel_button), (GtkSignalFunc) xsane_progress_cancel, xsane.cancel_callback); xsane.cancel_callback = 0; } } @@ -792,7 +796,7 @@ GtkWidget *xsane_vendor_pixmap_new(GdkWindow *window, GtkWidget *parent) char filename[PATH_MAX]; GtkWidget *hbox, *vbox; GtkWidget *pixmapwidget = NULL; - GdkBitmap *mask; + GdkBitmap *mask = NULL; GdkPixmap *pixmap = NULL; if (xsane.devlist[xsane.selected_dev]->vendor) @@ -824,9 +828,9 @@ GtkWidget *xsane_vendor_pixmap_new(GdkWindow *window, GtkWidget *parent) gtk_container_set_border_width(GTK_CONTAINER(hbox), 0); gtk_widget_show(hbox); - pixmapwidget = gtk_pixmap_new(pixmap, mask); /* now add the pixmap */ + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); /* now add the pixmap */ gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE /* expand */, FALSE /* fill */, 2); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); gtk_widget_show(pixmapwidget); } @@ -849,13 +853,13 @@ GtkWidget *xsane_toggle_button_new_with_pixmap(GdkWindow *window, GtkWidget *par xsane_back_gtk_set_tooltip(xsane.tooltips, button, desc); pixmap = gdk_pixmap_create_from_xpm_d(window, &mask, xsane.bg_trans, (gchar **) xpm_d); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_container_add(GTK_CONTAINER(button), pixmapwidget); gtk_widget_show(pixmapwidget); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), *state); - gtk_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_toggle_button_callback, (GtkObject *) state); + g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_toggle_button_callback, (GtkObject *) state); gtk_box_pack_start(GTK_BOX(parent), button, FALSE, FALSE, 0); gtk_widget_show(button); @@ -878,14 +882,14 @@ GtkWidget *xsane_button_new_with_pixmap(GdkWindow *window, GtkWidget *parent, co xsane_back_gtk_set_tooltip(xsane.tooltips, button, desc); pixmap = gdk_pixmap_create_from_xpm_d(window, &mask, xsane.bg_trans, (gchar **) xpm_d); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_container_add(GTK_CONTAINER(button), pixmapwidget); gtk_widget_show(pixmapwidget); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); if (xsane_button_callback) { - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_button_callback, data); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_button_callback, data); } gtk_box_pack_start(GTK_BOX(parent), button, FALSE, FALSE, 0); gtk_widget_show(button); @@ -895,22 +899,25 @@ GtkWidget *xsane_button_new_with_pixmap(GdkWindow *window, GtkWidget *parent, co /* ---------------------------------------------------------------------------------------------------------------------- */ -static int xsane_option_menu_lookup(GSGMenuItem menu_items[], const char *string) +static int xsane_option_menu_lookup(MenuItem menu_items[], const char *string) { int i; DBG(DBG_proc, "xsane_option_menu_lookup\n"); - for (i = 0; strcmp(menu_items[i].label, string) != 0; ++i); - return i; + for (i = 0; (menu_items[i].label) && strcmp(menu_items[i].label, string); ++i) + { + } + + return i; } /* ---------------------------------------------------------------------------------------------------------------------- */ static void xsane_option_menu_callback(GtkWidget *widget, gpointer data) { - GSGMenuItem *menu_item = data; - GSGDialogElement *elem = menu_item->elem; + MenuItem *menu_item = data; + DialogElement *elem = menu_item->elem; const SANE_Option_Descriptor *opt; int opt_num; double dval; @@ -925,20 +932,20 @@ static void xsane_option_menu_callback(GtkWidget *widget, gpointer data) { case SANE_TYPE_INT: sscanf(menu_item->label, "%d", &val); - break; + break; case SANE_TYPE_FIXED: sscanf(menu_item->label, "%lg", &dval); val = SANE_FIX(dval); - break; + break; case SANE_TYPE_STRING: valp = menu_item->label; - break; + break; default: DBG(DBG_error, "xsane_option_menu_callback: %s %d\n", ERR_UNKNOWN_TYPE, opt->type); - break; + break; } xsane_back_gtk_set_option(opt_num, valp, SANE_ACTION_SET_VALUE); } @@ -949,16 +956,19 @@ void xsane_option_menu_new(GtkWidget *parent, char *str_list[], const char *val, void *option_menu_callback, SANE_Int settable, const gchar *widget_name) { GtkWidget *option_menu, *menu, *item; - GSGMenuItem *menu_items; - GSGDialogElement *elem; + MenuItem *menu_items; + DialogElement *elem; int i, num_items; DBG(DBG_proc, "xsane_option_menu_new\n"); elem = xsane.element + option_number; - for (num_items = 0; str_list[num_items]; ++num_items); - menu_items = malloc(num_items * sizeof(menu_items[0])); + for (num_items = 0; str_list[num_items]; ++num_items) + { + } + + menu_items = malloc((num_items + 1) * sizeof(menu_items[0])); menu = gtk_menu_new(); if (widget_name) @@ -973,11 +983,11 @@ void xsane_option_menu_new(GtkWidget *parent, char *str_list[], const char *val, if (option_menu_callback) { - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) option_menu_callback, menu_items + i); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) option_menu_callback, menu_items + i); } else { - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_option_menu_callback, menu_items + i); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_option_menu_callback, menu_items + i); } gtk_widget_show(item); @@ -987,6 +997,11 @@ void xsane_option_menu_new(GtkWidget *parent, char *str_list[], const char *val, menu_items[i].index = i; } + /* add empty element as end of list marker */ + menu_items[i].label = NULL; + menu_items[i].elem = NULL; + menu_items[i].index = 0; + option_menu = gtk_option_menu_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, option_menu, desc); gtk_box_pack_end(GTK_BOX(parent), option_menu, FALSE, FALSE, 2); @@ -997,7 +1012,7 @@ void xsane_option_menu_new(GtkWidget *parent, char *str_list[], const char *val, gtk_widget_set_sensitive(option_menu, settable); - elem->widget = option_menu; + elem->widget = option_menu; elem->menu_size = num_items; elem->menu = menu_items; } @@ -1020,7 +1035,7 @@ void xsane_option_menu_new_with_pixmap(GdkWindow *window, GtkBox *parent, const gtk_box_pack_start(parent, hbox, FALSE, FALSE, 0); pixmap = gdk_pixmap_create_from_xpm_d(window, &mask, xsane.bg_trans, (gchar **) xpm_d); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); gtk_widget_show(pixmapwidget); @@ -1030,97 +1045,431 @@ void xsane_option_menu_new_with_pixmap(GdkWindow *window, GtkBox *parent, const /* ---------------------------------------------------------------------------------------------------------------------- */ -void xsane_scale_new(GtkBox *parent, char *labeltext, const char *desc, - float min, float max, float quant, float page_step, float page_size, - int digits, double *val, GtkObject **data, void *xsane_scale_callback, SANE_Int settable) +static void xsane_range_display_value_right_callback(GtkAdjustment *adjust, gpointer data) +{ + gchar buf[256]; + int digits = (int) data; + GtkLabel *label; + + snprintf(buf, sizeof(buf), "%1.*f", digits, adjust->value); + label = (GtkLabel *) gtk_object_get_data(GTK_OBJECT(adjust), "value-label"); + gtk_label_set_text(label, buf); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +void xsane_range_new(GtkBox *parent, char *labeltext, const char *desc, + float min, float max, float quant, float page_step, + int digits, double *val, GtkObject **data, void *xsane_range_callback, SANE_Int settable) { GtkWidget *hbox; GtkWidget *label; - GtkWidget *scale; + GtkWidget *slider = NULL; + GtkWidget *spinbutton; + GtkWidget *value_label; - DBG(DBG_proc, "xsane_scale_new\n"); + DBG(DBG_proc, "xsane_range_new\n"); hbox = gtk_hbox_new(FALSE, 5); - gtk_box_pack_start(parent, hbox, FALSE, FALSE, 0); + gtk_box_pack_start(parent, hbox, FALSE, FALSE, 2); label = gtk_label_new(labeltext); - gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 1); - *data = gtk_adjustment_new(*val, min, max, quant, page_step, page_size); - scale = gtk_hscale_new(GTK_ADJUSTMENT(*data)); - xsane_back_gtk_set_tooltip(xsane.tooltips, scale, desc); - gtk_widget_set_usize(scale, 201, 0); /* minimum scale with = 201 pixels */ - gtk_range_set_update_policy(GTK_RANGE(scale), preferences.gtk_update_policy); - /* GTK_UPDATE_CONTINUOUS, GTK_UPDATE_DISCONTINUOUS, GTK_UPDATE_DELAYED */ - gtk_scale_set_value_pos(GTK_SCALE(scale), GTK_POS_TOP); - gtk_scale_set_digits(GTK_SCALE(scale), digits); - gtk_box_pack_end(GTK_BOX(hbox), scale, FALSE, TRUE, 5); /* make scale not sizeable */ + *data = gtk_adjustment_new(*val, min, max, quant, page_step, (max-min) * 1e-30); + /* 1e-30 => hscrollbar has an unwanted side effect: the maximum is not the maximum */ + /* of the given range, it is reduced by the page_size, so it has to be very small */ - if (xsane_scale_callback) + /* value label */ + if (preferences.show_range_mode & 8) { - gtk_signal_connect(*data, "value_changed", (GtkSignalFunc) xsane_scale_callback, val); + value_label = gtk_label_new(""); + gtk_widget_set_size_request(value_label, 35, -1); + gtk_box_pack_end(GTK_BOX(hbox), value_label, FALSE, FALSE, 1); + + g_signal_connect(*data, "value_changed", (GtkSignalFunc) xsane_range_display_value_right_callback, (void *) digits); + gtk_object_set_data(GTK_OBJECT(*data), "value-label", value_label); + g_signal_emit_by_name(GTK_OBJECT(*data), "value_changed"); /* update value */ + gtk_widget_show(value_label); + gtk_widget_set_sensitive(value_label, settable); } - gtk_widget_show(label); - gtk_widget_show(scale); - gtk_widget_show(hbox); + /* spinbutton */ + if (preferences.show_range_mode & 4) + { + spinbutton = gtk_spin_button_new(GTK_ADJUSTMENT(*data), 0, digits); + if (preferences.show_range_mode & 3) /* slider also visible */ + { + gtk_widget_set_size_request(spinbutton, 60, -1); + } + else /* slider not visible */ + { + gtk_widget_set_size_request(spinbutton, 100, -1); + } + xsane_back_gtk_set_tooltip(xsane.tooltips, spinbutton, desc); + gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spinbutton), FALSE); + gtk_box_pack_end(GTK_BOX(hbox), spinbutton, FALSE, FALSE, 5); /* make spinbutton not sizeable */ + gtk_widget_show(spinbutton); + gtk_widget_set_sensitive(spinbutton, settable); + } + + /* slider */ + if (preferences.show_range_mode & 3) + { + if (preferences.show_range_mode & 1) /* bit 0 (val 1) : scale */ + { + slider = gtk_hscale_new(GTK_ADJUSTMENT(*data)); + gtk_scale_set_draw_value(GTK_SCALE(slider), FALSE); + gtk_scale_set_digits(GTK_SCALE(slider), digits); + } + else /* bit 1 (val 2) : scrollbar */ + { + slider = gtk_hscrollbar_new(GTK_ADJUSTMENT(*data)); + } + xsane_back_gtk_set_tooltip(xsane.tooltips, slider, desc); + gtk_widget_set_size_request(slider, 180, -1); + /* GTK_UPDATE_CONTINUOUS, GTK_UPDATE_DISCONTINUOUS, GTK_UPDATE_DELAYED */ + gtk_range_set_update_policy(GTK_RANGE(slider), preferences.gtk_update_policy); + gtk_box_pack_end(GTK_BOX(hbox), slider, FALSE, FALSE, 5); /* make slider not sizeable */ + gtk_widget_show(slider); + gtk_widget_set_sensitive(slider, settable); + } - gtk_widget_set_sensitive(scale, settable); + if (xsane_range_callback) + { + g_signal_connect(*data, "value_changed", (GtkSignalFunc) xsane_range_callback, val); + } + gtk_widget_show(label); + gtk_widget_show(hbox); } /* ---------------------------------------------------------------------------------------------------------------------- */ -void xsane_scale_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, - float min, float max, float quant, float page_step, float page_size, - int digits, double *val, GtkObject **data, int option, void *xsane_scale_callback, SANE_Int settable) +void xsane_range_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, + float min, float max, float quant, float page_step, + int digits, double *val, GtkObject **data, int option, void *xsane_range_callback, SANE_Int settable) { GtkWidget *hbox; - GtkWidget *scale; + GtkWidget *slider = NULL; + GtkWidget *spinbutton; GtkWidget *pixmapwidget; GdkBitmap *mask; GdkPixmap *pixmap; + GtkWidget *value_label; - DBG(DBG_proc, "xsane_scale_new_with_pixmap\n"); + DBG(DBG_proc, "xsane_slider_new_with_pixmap\n"); hbox = gtk_hbox_new(FALSE, 5); - gtk_box_pack_start(parent, hbox, FALSE, FALSE, 0); + gtk_box_pack_start(parent, hbox, FALSE, FALSE, 1); pixmap = gdk_pixmap_create_from_xpm_d(window, &mask, xsane.bg_trans, (gchar **) xpm_d); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); + gtk_widget_show(pixmapwidget); + gdk_drawable_unref(pixmap); - *data = gtk_adjustment_new(*val, min, max, quant, page_step, page_size); - scale = gtk_hscale_new(GTK_ADJUSTMENT(*data)); - xsane_back_gtk_set_tooltip(xsane.tooltips, scale, desc); - gtk_widget_set_usize(scale, 201, 0); /* minimum scale with = 201 pixels */ - gtk_range_set_update_policy(GTK_RANGE(scale), preferences.gtk_update_policy); - /* GTK_UPDATE_CONTINUOUS, GTK_UPDATE_DISCONTINUOUS, GTK_UPDATE_DELAYED */ - gtk_scale_set_value_pos(GTK_SCALE(scale), GTK_POS_TOP); - gtk_scale_set_digits(GTK_SCALE(scale), digits); - gtk_box_pack_end(GTK_BOX(hbox), scale, TRUE, TRUE, 5); /* make scale sizeable */ + *data = gtk_adjustment_new(*val, min, max, quant, page_step, (max-min) * 1e-30); + /* 1e-30 => hscrollbar has an unwanted side effect: the maximum is not the maximum */ + /* of the given range, it is reduced by the page_size, so it has to be very small */ - if (xsane_scale_callback) + /* value label */ + if (preferences.show_range_mode & 8) { - gtk_signal_connect(*data, "value_changed", (GtkSignalFunc) xsane_scale_callback, val); + value_label = gtk_label_new(""); + gtk_widget_set_size_request(value_label, 35, -1); + gtk_box_pack_end(GTK_BOX(hbox), value_label, FALSE, FALSE, 1); + + g_signal_connect(*data, "value_changed", (GtkSignalFunc) xsane_range_display_value_right_callback, (void *) digits); + gtk_object_set_data(GTK_OBJECT(*data), "value-label", value_label); + g_signal_emit_by_name(GTK_OBJECT(*data), "value_changed"); /* update value */ + gtk_widget_show(value_label); + gtk_widget_set_sensitive(value_label, settable); } - gtk_widget_show(pixmapwidget); - gtk_widget_show(scale); - gtk_widget_show(hbox); + /* spinbutton */ + if (preferences.show_range_mode & 4) + { + spinbutton = gtk_spin_button_new(GTK_ADJUSTMENT(*data), 0, digits); + gtk_widget_set_size_request(spinbutton, 60, -1); + xsane_back_gtk_set_tooltip(xsane.tooltips, spinbutton, desc); + gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spinbutton), FALSE); + if (preferences.show_range_mode & 3) /* slider also visible */ + { + gtk_box_pack_end(GTK_BOX(hbox), spinbutton, FALSE, FALSE, 5); /* make spinbutton not sizeable */ + } + else /* slider not visible */ + { + gtk_box_pack_end(GTK_BOX(hbox), spinbutton, TRUE, TRUE, 5); /* make spinbutton sizeable */ + } + gtk_widget_show(spinbutton); + gtk_widget_set_sensitive(spinbutton, settable); + } - gtk_widget_set_sensitive(scale, settable); + /* slider */ + if (preferences.show_range_mode & 3) + { + if (preferences.show_range_mode & 1) /* bit 0 (val 1) : scale */ + { + slider = gtk_hscale_new(GTK_ADJUSTMENT(*data)); + gtk_scale_set_draw_value(GTK_SCALE(slider), FALSE); + gtk_scale_set_digits(GTK_SCALE(slider), digits); + } + else /* bit 1 (val 2) : scrollbar */ + { + slider = gtk_hscrollbar_new(GTK_ADJUSTMENT(*data)); + } + xsane_back_gtk_set_tooltip(xsane.tooltips, slider, desc); + gtk_widget_set_size_request(slider, 170, -1); + /* GTK_UPDATE_CONTINUOUS, GTK_UPDATE_DISCONTINUOUS, GTK_UPDATE_DELAYED */ + gtk_range_set_update_policy(GTK_RANGE(slider), preferences.gtk_update_policy); + gtk_box_pack_end(GTK_BOX(hbox), slider, TRUE, TRUE, 5); /* make slider sizeable */ + gtk_widget_show(slider); + gtk_widget_set_sensitive(slider, settable); + } - gdk_pixmap_unref(pixmap); + if (xsane_range_callback) + { + g_signal_connect(*data, "value_changed", (GtkSignalFunc) xsane_range_callback, val); + } + + gtk_widget_show(hbox); if (option) { - GSGDialogElement *elem; + DialogElement *elem; elem=xsane.element + option; - elem->data = *data; - elem->widget = scale; + elem->data = *data; + elem->widget = slider; + } +} + +/* ----------------------------------------------------------------------------------------------------------------- */ + +static void xsane_browse_filename_callback(GtkWidget *widget, gpointer data) +{ + char filename[1024]; + char windowname[256]; + + DBG(DBG_proc, "xsane_browse_filename_callback\n"); + + xsane_set_sensitivity(FALSE); + + if (preferences.filename) /* make sure a correct filename is defined */ + { + strncpy(filename, preferences.filename, sizeof(filename)); + filename[sizeof(filename) - 1] = '\0'; + } + else /* no filename given, take standard filename */ + { + strcpy(filename, OUT_FILENAME); + } + + snprintf(windowname, sizeof(windowname), "%s %s %s", xsane.prog_name, WINDOW_OUTPUT_FILENAME, xsane.device_text); + + umask((mode_t) preferences.directory_umask); /* define new file permissions */ + xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, &preferences.filetype, TRUE, TRUE, FALSE, TRUE); + umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ + + if (preferences.filename) + { + free((void *) preferences.filename); + } + + preferences.filename = strdup(filename); + + xsane_set_sensitivity(TRUE); + + xsane_back_gtk_filetype_menu_set_history(xsane.filetype_option_menu, preferences.filetype); + + /* correct length of filename counter if it is shorter than minimum length */ + xsane_update_counter_in_filename(&preferences.filename, FALSE, 0, preferences.filename_counter_len); + + xsane_set_filename(preferences.filename); + + xsane_define_maximum_output_size(); /* is necessary in postscript mode */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +void xsane_set_filename(gchar *filename) +{ + g_signal_handlers_block_by_func(GTK_OBJECT(xsane.outputfilename_entry), (GtkSignalFunc) xsane_outputfilename_changed_callback, NULL); + gtk_entry_set_text(GTK_ENTRY(xsane.outputfilename_entry), (char *) filename); /* update filename in entry */ + gtk_entry_set_position(GTK_ENTRY(xsane.outputfilename_entry), strlen(filename)); /* set cursor to right position of filename */ + + g_signal_handlers_unblock_by_func(GTK_OBJECT(xsane.outputfilename_entry), (GtkSignalFunc) xsane_outputfilename_changed_callback, NULL); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_filename_counter_step_callback(GtkWidget *widget, gpointer data) +{ + DBG(DBG_proc, "xsane_filename_counter_step_callback\n"); + + preferences.filename_counter_step = (int) data; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_filetype_callback(GtkWidget *widget, gpointer data) +{ + char *new_filetype = (char *) data; + char buffer[PATH_MAX]; + char *filename; + + DBG(DBG_proc, "xsane_filetype_callback\n"); + + filename = preferences.filename; + + if ((new_filetype) && (*new_filetype)) /* filetype exists and is not empty (by ext) */ + { + char *extension; + + extension = strrchr(preferences.filename, '.'); + + if ((extension) && (extension != preferences.filename)) + { + if ( (!strcasecmp(extension, ".pnm")) || (!strcasecmp(extension, ".raw")) + || (!strcasecmp(extension, ".png")) || (!strcasecmp(extension, ".ps")) + || (!strcasecmp(extension, ".rgba")) + || (!strcasecmp(extension, ".tiff")) || (!strcasecmp(extension, ".tif")) + || (!strcasecmp(extension, ".text")) || (!strcasecmp(extension, ".txt")) + || (!strcasecmp(extension, ".jpg")) || (!strcasecmp(extension, ".jpeg")) + ) /* remove filetype extension */ + { + *extension = 0; /* remove extension */ + } + } + snprintf(buffer, sizeof(buffer), "%s%s", filename, new_filetype); + free(filename); + preferences.filename = strdup(buffer); + } + + if (preferences.filetype) + { + free(preferences.filetype); + preferences.filetype = NULL; + } + + if (new_filetype) + { + preferences.filetype = strdup(new_filetype); + } + + /* correct length of filename counter if it is shorter than minimum length */ + xsane_update_counter_in_filename(&preferences.filename, FALSE, 0, preferences.filename_counter_len); + xsane_set_filename(preferences.filename); + xsane_define_maximum_output_size(); /* is necessary in postscript mode */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_outputfilename_changed_callback(GtkWidget *widget, gpointer data) +{ + DBG(DBG_proc, "xsane_outputfilename_changed_callback\n"); + + if (preferences.filename) + { + free((void *) preferences.filename); + } + preferences.filename = strdup(gtk_entry_get_text(GTK_ENTRY(widget))); + + xsane_define_maximum_output_size(); /* is necessary in postscript mode */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +void xsane_outputfilename_new(GtkWidget *vbox) +{ + GtkWidget *hbox; + GtkWidget *text; + GtkWidget *button; + GtkWidget *xsane_filename_counter_step_option_menu; + GtkWidget *xsane_filename_counter_step_menu; + GtkWidget *xsane_filename_counter_step_item; + GtkWidget *xsane_label; + gchar buf[200]; + int i,j; + int select_item = 0; + + DBG(DBG_proc, "xsane_outputfilename_new\n"); + + /* first line: disk icon, filename box */ + + hbox = gtk_hbox_new(FALSE, 2); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + + button = xsane_button_new_with_pixmap(xsane.xsane_window->window, hbox, file_xpm, DESC_BROWSE_FILENAME, + (GtkSignalFunc) xsane_browse_filename_callback, NULL); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_B, GDK_CONTROL_MASK, DEF_GTK_ACCEL_LOCKED); + + text = gtk_entry_new(); + gtk_widget_set_size_request(text, 80, -1); /* set minimum size */ + xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FILENAME); + gtk_entry_set_max_length(GTK_ENTRY(text), 255); + gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.filename); + gtk_entry_set_position(GTK_ENTRY(text), strlen(preferences.filename)); /* set cursor to right position of filename */ + + gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 4); + g_signal_connect(GTK_OBJECT(text), "changed", (GtkSignalFunc) xsane_outputfilename_changed_callback, NULL); + + xsane.outputfilename_entry = text; + + gtk_widget_show(text); + gtk_widget_show(hbox); + + + /* second line: Step, Type */ + + hbox = gtk_hbox_new(FALSE, 2); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + + /* filename counter step */ + + xsane_label = gtk_label_new(TEXT_FILENAME_COUNTER_STEP); + gtk_box_pack_start(GTK_BOX(hbox), xsane_label, FALSE, FALSE, 2); + gtk_widget_show(xsane_label); + + xsane_filename_counter_step_option_menu = gtk_option_menu_new(); + xsane_back_gtk_set_tooltip(xsane.tooltips, xsane_filename_counter_step_option_menu, DESC_FILENAME_COUNTER_STEP); + gtk_box_pack_start(GTK_BOX(hbox), xsane_filename_counter_step_option_menu, FALSE, FALSE, 2); + gtk_widget_show(xsane_filename_counter_step_option_menu); + gtk_widget_show(hbox); + + xsane_filename_counter_step_menu = gtk_menu_new(); + + select_item = 0; + j = -2; + for (i=0; i < 5; i++) + { + snprintf(buf, sizeof(buf), "%+d", j); + xsane_filename_counter_step_item = gtk_menu_item_new_with_label(buf); + gtk_container_add(GTK_CONTAINER(xsane_filename_counter_step_menu), xsane_filename_counter_step_item); + g_signal_connect(GTK_OBJECT(xsane_filename_counter_step_item), "activate", (GtkSignalFunc) xsane_filename_counter_step_callback, (void *) j); + gtk_widget_show(xsane_filename_counter_step_item); + if (preferences.filename_counter_step == j++) + { + select_item = i; + } } + + gtk_option_menu_set_menu(GTK_OPTION_MENU(xsane_filename_counter_step_option_menu), xsane_filename_counter_step_menu); + gtk_option_menu_set_history(GTK_OPTION_MENU(xsane_filename_counter_step_option_menu), select_item); + + xsane.filetype_option_menu = xsane_back_gtk_filetype_menu_new(preferences.filetype, (GtkSignalFunc) xsane_filetype_callback); + gtk_box_pack_end(GTK_BOX(hbox), xsane.filetype_option_menu, FALSE, FALSE, 2); + gtk_widget_show(xsane.filetype_option_menu); + + xsane_label = gtk_label_new(TEXT_FILETYPE); /* opposite order because of box_pack_end */ + gtk_box_pack_end(GTK_BOX(hbox), xsane_label, FALSE, FALSE, 2); + gtk_widget_show(xsane_label); + + gtk_widget_show(text); + gtk_widget_show(hbox); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -1138,6 +1487,20 @@ void xsane_separator_new(GtkWidget *xsane_parent, int dist) /* ---------------------------------------------------------------------------------------------------------------------- */ +void xsane_vseparator_new(GtkWidget *xsane_parent, int dist) +{ + GtkWidget *xsane_vseparator; + + DBG(DBG_proc, "xsane_vseparator_new\n"); + + xsane_vseparator = gtk_vseparator_new(); + gtk_box_pack_start(GTK_BOX(xsane_parent), xsane_vseparator, FALSE, FALSE, dist); + gtk_widget_show(xsane_vseparator); + +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + GtkWidget *xsane_info_table_text_new(GtkWidget *table, gchar *text, int row, int colomn) { GtkWidget *hbox, *label; @@ -1293,8 +1656,6 @@ void xsane_update_param(void *arg) void xsane_define_output_filename(void) { - char buffer[256]; - DBG(DBG_proc, "xsane_define_output_filename\n"); if (xsane.output_filename) @@ -1305,52 +1666,44 @@ void xsane_define_output_filename(void) if (!xsane.force_filename) { - if (xsane.filetype) - { - snprintf(buffer, sizeof(buffer), "%s%s", preferences.filename, xsane.filetype); - xsane.output_filename = strdup(buffer); - } - else - { - xsane.output_filename = strdup(preferences.filename); - } + xsane.output_filename = strdup(preferences.filename); } else { - xsane.output_filename = strdup(xsane.external_filename); + xsane.output_filename = strdup(xsane.external_filename); } } /* ---------------------------------------------------------------------------------------------------------------------- */ -int xsane_identify_output_format(char *filename, char **ext) +int xsane_identify_output_format(char *filename, char *filetype, char **ext) { char *extension; int output_format=-1; DBG(DBG_proc, "xsane_identify_output_format\n"); - extension = strrchr(filename, '.'); - if (extension) + if ((filetype) && (*filetype)) { - extension++; /* skip "." */ + extension = filetype+1; /* go to filetype, skip leading dot */ + } + else + { + extension = strrchr(filename, '.'); + if (extension) + { + extension++; /* skip "." */ + } } output_format = XSANE_UNKNOWN; if (extension) { - if (!strcasecmp(extension, "raw")) + if ( (!strcasecmp(extension, "pnm")) || (!strcasecmp(extension, "ppm")) || + (!strcasecmp(extension, "pgm")) || (!strcasecmp(extension, "pbm")) ) { - if (xsane.param.depth == 16) - { - output_format = XSANE_RAW16; - } - } - else if ( (!strcasecmp(extension, "pnm")) || (!strcasecmp(extension, "ppm")) || - (!strcasecmp(extension, "pgm")) || (!strcasecmp(extension, "pbm")) ) - { - if (xsane.param.depth == 16) + if ((xsane.param.depth == 16) && (!preferences.reduce_16bit_to_8bit) ) { output_format = XSANE_PNM16; } @@ -1359,6 +1712,10 @@ int xsane_identify_output_format(char *filename, char **ext) output_format = XSANE_PNM; } } + else if ( (!strcasecmp(extension, "txt")) || (!strcasecmp(extension, "text")) ) + { + output_format = XSANE_TEXT; + } #ifdef HAVE_LIBPNG #ifdef HAVE_LIBZ else if (!strcasecmp(extension, "png")) @@ -1420,7 +1777,7 @@ void xsane_change_working_directory(void) sprintf(windowname, "%s %s %s", xsane.prog_name, WINDOW_CHANGE_WORKING_DIR, xsane.device_text); if (getcwd(filename, sizeof(filename))) { - xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, TRUE, FALSE, TRUE); + xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, TRUE, FALSE, TRUE, FALSE); if (chdir(filename)) { char buf[256]; @@ -1430,6 +1787,14 @@ void xsane_change_working_directory(void) xsane_set_sensitivity(TRUE); return; } + else + { + if (preferences.working_directory) + { + free(preferences.working_directory); + } + preferences.working_directory = strdup(filename); + } } xsane_set_sensitivity(TRUE); @@ -1437,55 +1802,79 @@ void xsane_change_working_directory(void) /* ---------------------------------------------------------------------------------------------------------------------- */ -static int license_flag; -static GtkWidget *license_dialog = NULL; +static int eula_accept_flag; +static GtkWidget *eula_dialog = NULL; -static void xsane_license_button_callback(GtkWidget *widget, gpointer data) +static gboolean xsane_eula_delete_event(GtkWidget *widget, GdkEvent *event, gpointer data) { - license_flag = (int) data; + eula_accept_flag = (int) data; - DBG(DBG_proc ,"xsane_license_button_callback(%d)\n", license_flag); + DBG(DBG_proc ,"xsane_eula_delete_event(%d)\n", eula_accept_flag); + eula_dialog = NULL; - gtk_widget_destroy(license_dialog); - license_dialog = NULL; + return FALSE; /* continue with original delete even routine */ } -/* ---------------------------------------------------------------------------------------------------------------------- */ +/* -------------------------------------- */ + +static void xsane_eula_button_callback(GtkWidget *widget, gpointer data) +{ + eula_accept_flag = (int) data; + + DBG(DBG_proc ,"xsane_eula_button_callback(%d)\n", eula_accept_flag); + + gtk_widget_destroy(eula_dialog); + eula_dialog = NULL; +} + +/* -------------------------------------- */ -int xsane_display_license(int ask_for_accept) +int xsane_display_eula(int ask_for_accept) /* returns FALSE if accepted, TRUE if not accepted */ { - GtkWidget *vbox, *hbox, *button, *label; - GtkWidget *text, *vscrollbar; + GtkWidget *vbox, *hbox, *button, *label, *frame; GtkAccelGroup *accelerator_group; char buf[1024]; char filename[PATH_MAX]; FILE *infile; - DBG(DBG_proc, "xsane_display_license(%d)\n", ask_for_accept); + DBG(DBG_proc, "xsane_display_eula(%d)\n", ask_for_accept); - if (license_dialog) /* make sure the dialog is only opend once */ + if (eula_dialog) /* make sure the dialog is only opend once */ { return 0; } - license_dialog = gtk_window_new(GTK_WINDOW_DIALOG); - gtk_widget_set_usize(license_dialog, 550, 580); - gtk_window_set_position(GTK_WINDOW(license_dialog), GTK_WIN_POS_CENTER); - gtk_window_set_policy(GTK_WINDOW(license_dialog), FALSE, TRUE, FALSE); - gtk_signal_connect(GTK_OBJECT(license_dialog), "delete_event", - GTK_SIGNAL_FUNC(xsane_license_button_callback), (void *) -1); /* -1 = cancel */ - snprintf(buf, sizeof(buf), "%s %s", xsane.prog_name, WINDOW_LICENSE); - gtk_window_set_title(GTK_WINDOW(license_dialog), buf); - xsane_set_window_icon(license_dialog, 0); - + eula_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); + gtk_widget_set_size_request(eula_dialog, 550, 580); + gtk_window_set_position(GTK_WINDOW(eula_dialog), GTK_WIN_POS_CENTER); + gtk_window_set_resizable(GTK_WINDOW(eula_dialog), TRUE); + g_signal_connect(GTK_OBJECT(eula_dialog), "delete_event", GTK_SIGNAL_FUNC(xsane_eula_delete_event), (void *) -1); /* -1 = cancel */ + snprintf(buf, sizeof(buf), "%s %s", xsane.prog_name, WINDOW_EULA); + gtk_window_set_title(GTK_WINDOW(eula_dialog), buf); accelerator_group = gtk_accel_group_new(); - gtk_accel_group_attach(accelerator_group, GTK_OBJECT(license_dialog)); + gtk_window_add_accel_group(GTK_WINDOW(eula_dialog), accelerator_group); + +#if 0 + xsane_set_window_icon(eula_dialog, 0); +#endif + + /* create a frame */ + frame = gtk_frame_new(NULL); + gtk_container_set_border_width(GTK_CONTAINER(frame), 10); + gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); + gtk_container_add(GTK_CONTAINER(eula_dialog), frame); + gtk_widget_show(frame); vbox = gtk_vbox_new(FALSE, 5); gtk_container_set_border_width(GTK_CONTAINER(vbox), 5); - gtk_container_add(GTK_CONTAINER(license_dialog), vbox); + gtk_container_add(GTK_CONTAINER(frame), vbox); gtk_widget_show(vbox); +#if 1 + /* this is normally done directly after gtk_window_set_title() */ + /* but gtk crashes when we would do that and select a text with the mouse */ + xsane_set_window_icon(eula_dialog, 0); +#endif /* display XSane copyright message */ snprintf(buf, sizeof(buf), "XSane %s %s\n" @@ -1496,7 +1885,7 @@ int xsane_display_license(int ask_for_accept) "%s %s\n", TEXT_VERSION, XSANE_VERSION, XSANE_COPYRIGHT_SIGN, XSANE_COPYRIGHT_TXT, - TEXT_GPL, + TEXT_EULA, TEXT_HOMEPAGE, XSANE_HOMEPAGE, TEXT_EMAIL, XSANE_EMAIL); @@ -1504,52 +1893,103 @@ int xsane_display_license(int ask_for_accept) gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0); gtk_widget_show(label); - /* add hbox with text and scrollbar to display the license text */ + /* add hbox with text and scrollbar to display the eula text */ hbox = gtk_hbox_new(FALSE, 2); gtk_container_set_border_width(GTK_CONTAINER(hbox), 4); gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, TRUE, 0); gtk_widget_show(hbox); + +#ifdef HAVE_GTK_TEXT_VIEW_H + { + GtkWidget *scrolled_window, *text_view; + GtkTextBuffer *text_buffer; + + /* create a scrolled window to get a vertical scrollbar */ + scrolled_window = gtk_scrolled_window_new(NULL, NULL); + gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled_window), + GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); + gtk_container_add(GTK_CONTAINER(hbox), scrolled_window); + gtk_widget_show(scrolled_window); - /* Create the GtkText widget */ - text = gtk_text_new(NULL, NULL); - gtk_text_set_editable(GTK_TEXT(text), FALSE); /* text is not editable */ - gtk_text_set_word_wrap(GTK_TEXT(text), TRUE); /* wrap complete words */ - gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 0); - gtk_widget_show(text); + /* create the gtk_text_view widget */ + text_view = gtk_text_view_new(); + gtk_text_view_set_editable(GTK_TEXT_VIEW(text_view), FALSE); + gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(text_view), GTK_WRAP_WORD); + gtk_container_add(GTK_CONTAINER(scrolled_window), text_view); + gtk_widget_show(text_view); + + /* get the text_buffer widget and insert the text from file */ + text_buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_view)); + + xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, "xsane-eula", 0, ".txt", XSANE_PATH_SYSTEM); + infile = fopen(filename, "r"); + + if (infile) + { + char buffer[4096]; + int nchars; + + while (!feof(infile)) + { + nchars = fread(buffer, 1, 4096, infile); + gtk_text_buffer_insert_at_cursor(text_buffer, buffer, nchars); + } - /* Add a vertical scrollbar to the GtkText widget */ - vscrollbar = gtk_vscrollbar_new(GTK_TEXT(text)->vadj); - gtk_box_pack_start(GTK_BOX(hbox), vscrollbar, FALSE, FALSE, 0); - gtk_widget_show(vscrollbar); + fclose(infile); + } + else + { + DBG(DBG_error0, "ERROR: eula text not found. Looks like xsane is not installed correct.\n"); + return TRUE; + } + + } +#else /* we do not have gtk_text_view, so we use gtk_text */ + { + GtkWidget *text, *vscrollbar; + + /* Create the gtk_text widget */ + text = gtk_text_new(NULL, NULL); + gtk_text_set_editable(GTK_TEXT(text), FALSE); /* text is not editable */ + gtk_text_set_word_wrap(GTK_TEXT(text), TRUE); /* wrap complete words */ + gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 0); + gtk_widget_show(text); + + /* Add a vertical scrollbar to the GtkText widget */ + vscrollbar = gtk_vscrollbar_new(GTK_TEXT(text)->vadj); + gtk_box_pack_start(GTK_BOX(hbox), vscrollbar, FALSE, FALSE, 0); + gtk_widget_show(vscrollbar); - /* Freeze the text widget, ready for multiple updates */ - gtk_text_freeze(GTK_TEXT(text)); + /* Freeze the text widget, ready for multiple updates */ + gtk_text_freeze(GTK_TEXT(text)); - /* Load the file text.c into the text window */ - xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, "xsane-license", 0, ".txt", XSANE_PATH_SYSTEM); - infile = fopen(filename, "r"); + /* Load the file text.c into the text window */ + xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, "xsane-eula", 0, ".txt", XSANE_PATH_SYSTEM); + infile = fopen(filename, "r"); - if (infile) - { - char buffer[4096]; - int nchars; + if (infile) + { + char buffer[4096]; + int nchars; + + while (!feof(infile)) + { + nchars = fread(buffer, 1, 4096, infile); + gtk_text_insert(GTK_TEXT(text), NULL, NULL, NULL, buffer, nchars); + } - while (!feof(infile)) + fclose(infile); + } + else { - nchars = fread(buffer, 1, 4096, infile); - gtk_text_insert(GTK_TEXT(text), NULL, NULL, NULL, buffer, nchars); + DBG(DBG_error0, "ERROR: eula text not found. Looks like xsane is not installed correct.\n"); + return TRUE; } - - fclose(infile); - } - else - { - DBG(DBG_error0, "ERROR: license text not found. Looks like xsane is not installed correct.\n"); - return TRUE; - } - /* Thaw the text widget, allowing the updates to become visible */ - gtk_text_thaw(GTK_TEXT(text)); + /* Thaw the text widget, allowing the updates to become visible */ + gtk_text_thaw(GTK_TEXT(text)); + } +#endif @@ -1560,24 +2000,28 @@ int xsane_display_license(int ask_for_accept) if (ask_for_accept) /* show accept + not accept buttons */ { button = gtk_button_new_with_label(BUTTON_ACCEPT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_license_button_callback, (void *) 0 /* accept */); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_eula_button_callback, (void *) 0 /* accept */); gtk_container_add(GTK_CONTAINER(hbox), button); gtk_widget_show(button); button = gtk_button_new_with_label(BUTTON_NOT_ACCEPT); - gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_license_button_callback, (void *) 1 /* not accept */); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_eula_button_callback, (void *) 1 /* not accept */); gtk_container_add(GTK_CONTAINER(hbox), button); gtk_widget_grab_default(button); gtk_widget_show(button); } else /* show close button */ { +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_CLOSE); +#else button = gtk_button_new_with_label(BUTTON_CLOSE); - gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, GTK_ACCEL_LOCKED); +#endif + gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_license_button_callback, (void *) 0 /* ok = accept */); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_eula_button_callback, (void *) 0 /* ok = accept */); gtk_container_add(GTK_CONTAINER(hbox), button); gtk_widget_grab_default(button); gtk_widget_show(button); @@ -1585,16 +2029,16 @@ int xsane_display_license(int ask_for_accept) gtk_widget_show(hbox); gtk_widget_show(vbox); - gtk_widget_show(license_dialog); + gtk_widget_show(eula_dialog); if (ask_for_accept == 0) /* do not ask for accept */ { return 0; } - license_flag = -255; + eula_accept_flag = -255; - while(license_flag == -255) + while(eula_accept_flag == -255) { gtk_main_iteration(); /* allow gtk to react to user action */ } @@ -1604,29 +2048,241 @@ int xsane_display_license(int ask_for_accept) gtk_main_iteration(); } - return license_flag; + return eula_accept_flag; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static GtkWidget *license_dialog = NULL; + +static void xsane_close_license_dialog_callback(GtkWidget *widget, gpointer data) +{ + DBG(DBG_proc ,"xsane_close_license_dialog_callback\n"); + + gtk_widget_destroy(license_dialog); + license_dialog = NULL; +} + +/* ------------------------------------------------ */ + +static gboolean xsane_license_dialog_delete_event(GtkWidget *widget, GdkEvent *event, gpointer data) +{ + DBG(DBG_proc ,"xsane_license_dialog_delete_event\n"); + + license_dialog = NULL; + + return FALSE; /* continue with original delete even routine */ +} + +/* ------------------------------------------------ */ + +void xsane_display_gpl(void) +{ + GtkWidget *vbox, *hbox, *button, *label, *frame; + GtkAccelGroup *accelerator_group; + char buf[1024]; + char filename[PATH_MAX]; + FILE *infile; + + if (license_dialog) /* make sure the dialog is only opend once */ + { + return; + } + + license_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); + gtk_widget_set_size_request(license_dialog, 550, 580); + gtk_window_set_position(GTK_WINDOW(license_dialog), GTK_WIN_POS_CENTER); + gtk_window_set_resizable(GTK_WINDOW(license_dialog), TRUE); + g_signal_connect(GTK_OBJECT(license_dialog), "delete_event", GTK_SIGNAL_FUNC(xsane_license_dialog_delete_event), NULL); + snprintf(buf, sizeof(buf), "%s: %s", xsane.prog_name, WINDOW_GPL); + gtk_window_set_title(GTK_WINDOW(license_dialog), buf); + accelerator_group = gtk_accel_group_new(); + gtk_window_add_accel_group(GTK_WINDOW(license_dialog), accelerator_group); + +#if 0 + xsane_set_window_icon(license_dialog, 0); +#endif + + /* create a frame */ + frame = gtk_frame_new(NULL); + gtk_container_set_border_width(GTK_CONTAINER(frame), 10); + gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); + gtk_container_add(GTK_CONTAINER(license_dialog), frame); + gtk_widget_show(frame); + + vbox = gtk_vbox_new(FALSE, 5); + gtk_container_set_border_width(GTK_CONTAINER(vbox), 5); + gtk_container_add(GTK_CONTAINER(frame), vbox); + gtk_widget_show(vbox); +#if 1 + /* this is normally done directly after gtk_window_set_title() */ + /* but gtk crashes when we would do that and select a text with the mouse */ + xsane_set_window_icon(license_dialog, 0); +#endif + + /* display XSane copyright message */ + snprintf(buf, sizeof(buf), "XSane %s %s\n" + "%s %s\n" + "\n" + "%s\n" + "%s %s\n" + "%s %s\n", + TEXT_VERSION, XSANE_VERSION, + XSANE_COPYRIGHT_SIGN, XSANE_COPYRIGHT_TXT, + TEXT_GPL, + TEXT_HOMEPAGE, XSANE_HOMEPAGE, + TEXT_EMAIL, XSANE_EMAIL); + + label = gtk_label_new(buf); + gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0); + gtk_widget_show(label); + + /* add hbox with text and scrollbar to display the license text */ + hbox = gtk_hbox_new(FALSE, 2); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 4); + gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, TRUE, 0); + gtk_widget_show(hbox); + +#ifdef HAVE_GTK_TEXT_VIEW_H + { + GtkWidget *scrolled_window, *text_view; + GtkTextBuffer *text_buffer; + + /* create a scrolled window to get a vertical scrollbar */ + scrolled_window = gtk_scrolled_window_new(NULL, NULL); + gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled_window), + GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); + gtk_container_add(GTK_CONTAINER(hbox), scrolled_window); + gtk_widget_show(scrolled_window); + + /* create the gtk_text_view widget */ + text_view = gtk_text_view_new(); + gtk_text_view_set_editable(GTK_TEXT_VIEW(text_view), FALSE); + gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(text_view), GTK_WRAP_WORD); + gtk_container_add(GTK_CONTAINER(scrolled_window), text_view); + gtk_widget_show(text_view); + + /* get the text_buffer widget and insert the text from file */ + text_buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_view)); + + xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, "xsane-gpl", 0, ".txt", XSANE_PATH_SYSTEM); + infile = fopen(filename, "r"); + + if (infile) + { + char buffer[4096]; + int nchars; + + while (!feof(infile)) + { + nchars = fread(buffer, 1, 4096, infile); + gtk_text_buffer_insert_at_cursor(text_buffer, buffer, nchars); + } + + fclose(infile); + } + else + { + DBG(DBG_error0, "ERROR: license text not found. Looks like xsane is not installed correct.\n"); + return; + } + + } +#else /* we do not have gtk_text_view, so we use gtk_text */ + { + GtkWidget *text, *vscrollbar; + + /* Create the gtk_text widget */ + text = gtk_text_new(NULL, NULL); + gtk_text_set_editable(GTK_TEXT(text), FALSE); /* text is not editable */ + gtk_text_set_word_wrap(GTK_TEXT(text), TRUE); /* wrap complete words */ + gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 0); + gtk_widget_show(text); + + /* Add a vertical scrollbar to the GtkText widget */ + vscrollbar = gtk_vscrollbar_new(GTK_TEXT(text)->vadj); + gtk_box_pack_start(GTK_BOX(hbox), vscrollbar, FALSE, FALSE, 0); + gtk_widget_show(vscrollbar); + + /* Freeze the text widget, ready for multiple updates */ + gtk_text_freeze(GTK_TEXT(text)); + + /* Load the file text.c into the text window */ + xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, "xsane-gpl", 0, ".txt", XSANE_PATH_SYSTEM); + infile = fopen(filename, "r"); + + if (infile) + { + char buffer[4096]; + int nchars; + + while (!feof(infile)) + { + nchars = fread(buffer, 1, 4096, infile); + gtk_text_insert(GTK_TEXT(text), NULL, NULL, NULL, buffer, nchars); + } + + fclose(infile); + } + else + { + DBG(DBG_error0, "ERROR: license text not found. Looks like xsane is not installed correct.\n"); + return; + } + + /* Thaw the text widget, allowing the updates to become visible */ + gtk_text_thaw(GTK_TEXT(text)); + } +#endif + + + + hbox = gtk_hbox_new(FALSE, 2); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 4); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); + +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_CLOSE); +#else + button = gtk_button_new_with_label(BUTTON_CLOSE); +#endif + gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); + GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_close_license_dialog_callback, (void *) 0 /* ok = accept */); + gtk_container_add(GTK_CONTAINER(hbox), button); + gtk_widget_grab_default(button); + gtk_widget_show(button); + + gtk_widget_show(hbox); + gtk_widget_show(vbox); + gtk_widget_show(license_dialog); } /* ---------------------------------------------------------------------------------------------------------------------- */ -void xsane_widget_get_uposition(GtkWidget *gtk_window, gint *x, gint *y) +void xsane_window_get_position(GtkWidget *gtk_window, gint *x, gint *y) { +#ifdef USE_GTK2_WINDOW_GET_POSITION + gtk_window_get_position(GTK_WINDOW(gtk_window), x, y); +#else if (xsane.get_deskrelative_origin) { - DBG(DBG_proc, "xsane_widget_get_uposition(deskrelative)\n"); + DBG(DBG_proc, "xsane_window_get_position(deskrelative)\n"); gdk_window_get_deskrelative_origin(gtk_window->window, x, y); } else { - DBG(DBG_proc, "xsane_widget_get_uposition(root)\n"); + DBG(DBG_proc, "xsane_window_get_position(root)\n"); gdk_window_get_root_origin(gtk_window->window, x, y); } +#endif } /* ---------------------------------------------------------------------------------------------------------------------- */ void xsane_widget_test_uposition(GtkWidget *gtk_window) { +#ifndef USE_GTK2_WINDOW_GET_POSITION gint x, y, x_orig, y_orig; DBG(DBG_proc, "xsane_widget_test_uposition\n"); @@ -1638,16 +2294,16 @@ void xsane_widget_test_uposition(GtkWidget *gtk_window) gtk_main_iteration(); } - xsane_widget_get_uposition(gtk_window, &x, &y); - xsane_widget_get_uposition(gtk_window, &x, &y); + xsane_window_get_position(gtk_window, &x, &y); + xsane_window_get_position(gtk_window, &x, &y); DBG(DBG_info, "xsane_widget_test_uposition: original position = %d, %d\n", x, y); x_orig = x; y_orig = y; - gtk_widget_set_uposition(gtk_window, x, y); + gtk_window_move(GTK_WINDOW(gtk_window), x, y); - xsane_widget_get_uposition(gtk_window, &x, &y); + xsane_window_get_position(gtk_window, &x, &y); DBG(DBG_info, "xsane_widget_test_uposition: new position = %d, %d\n", x, y); if ( (x != x_orig) || (y != y_orig) ) @@ -1659,6 +2315,132 @@ void xsane_widget_test_uposition(GtkWidget *gtk_window) { DBG(DBG_proc, "xsane_widget_test_uposition: using root function\n"); } +#endif } /* ---------------------------------------------------------------------------------------------------------------------- */ + +static int xsane_front_gtk_getname_button; + +static void xsane_front_gtk_getname_button_callback(GtkWidget *widget, gpointer data) +{ + DBG(DBG_proc, "xsane_front_gtk_getname_button_callback\n"); + + xsane_front_gtk_getname_button = (int) data; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +int xsane_front_gtk_getname_dialog(const char *dialog_title, const char *desc_text, char *oldname, char **newname) +{ + GtkWidget *getname_dialog; + GtkWidget *text; + GtkWidget *button; + GtkWidget *vbox, *hbox; + GtkAccelGroup *accelerator_group; + char buf[256]; + + DBG(DBG_proc, "xsane_getname_dialog, oldname = %s\n", oldname); + + getname_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); + xsane_set_window_icon(getname_dialog, 0); + + /* set getname dialog */ + gtk_window_set_position(GTK_WINDOW(getname_dialog), GTK_WIN_POS_CENTER); + gtk_window_set_resizable(GTK_WINDOW(getname_dialog), FALSE); + snprintf(buf, sizeof(buf), "%s %s", xsane.prog_name, dialog_title); + gtk_window_set_title(GTK_WINDOW(getname_dialog), buf); + g_signal_connect(GTK_OBJECT(getname_dialog), "delete_event", (GtkSignalFunc) xsane_front_gtk_getname_button_callback, (void *) -1); + gtk_widget_show(getname_dialog); + + /* set the main vbox */ + vbox = gtk_vbox_new(FALSE, 0); + gtk_container_set_border_width(GTK_CONTAINER(vbox), 0); + gtk_container_add(GTK_CONTAINER(getname_dialog), vbox); + gtk_widget_show(vbox); + + /* set the main hbox */ + hbox = gtk_hbox_new(FALSE, 0); + xsane_separator_new(vbox, 2); + gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); + gtk_widget_show(hbox); + + text = gtk_entry_new_with_max_length(64); + xsane_back_gtk_set_tooltip(xsane.tooltips, text, desc_text); + gtk_entry_set_text(GTK_ENTRY(text), oldname); + gtk_widget_set_size_request(text, 300, -1); + gtk_box_pack_start(GTK_BOX(vbox), text, TRUE, TRUE, 4); + gtk_widget_show(text); + + accelerator_group = gtk_accel_group_new(); + gtk_window_add_accel_group(GTK_WINDOW(getname_dialog), accelerator_group); + +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_OK); +#else + button = gtk_button_new_with_label(BUTTON_OK); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_front_gtk_getname_button_callback, (void *) 1); + GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); + gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); + gtk_widget_show(button); + +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); +#else + button = gtk_button_new_with_label(BUTTON_CANCEL); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_front_gtk_getname_button_callback, (void *) -1); + gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); /* ESC */ + gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); + gtk_widget_show(button); + + xsane_front_gtk_getname_button = 0; + + while (xsane_front_gtk_getname_button == 0) + { + while (gtk_events_pending()) + { + DBG(DBG_info, "xsane_getname_dialog: calling gtk_main_iteration\n"); + gtk_main_iteration(); + } + } + + *newname = strdup(gtk_entry_get_text(GTK_ENTRY(text))); + + gtk_widget_destroy(getname_dialog); + + xsane_set_sensitivity(TRUE); + + if (xsane_front_gtk_getname_button == 1) /* OK button has been pressed */ + { + DBG(DBG_info, "renaming %s to %s\n", oldname, *newname); + return 0; /* OK */ + } + + return 1; /* Escape */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ +#ifdef XSANE_ACTIVATE_MAIL +void xsane_front_gtk_mail_project_update_lockfile_status() +{ + FILE *lockfile; + char filename[PATH_MAX]; + + snprintf(filename, sizeof(filename), "%s/lockfile", preferences.mail_project); + lockfile = fopen(filename, "wb"); + + if (lockfile) + { + fprintf(lockfile, "%s\n", xsane.mail_status); /* first line is status of mail */ + fprintf(lockfile, "%3d\n", (int) (xsane.mail_progress_val * 100)); + } + + fclose(lockfile); +} +#endif +/* ---------------------------------------------------------------------------------------------------------------------- */ + + diff --git a/src/xsane-front-gtk.h b/src/xsane-front-gtk.h index b894b06..19aad87 100644 --- a/src/xsane-front-gtk.h +++ b/src/xsane-front-gtk.h @@ -3,7 +3,7 @@ xsane-front-gtk.h Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -59,23 +59,30 @@ extern void xsane_option_menu_new_with_pixmap(GdkWindow *window, GtkBox *parent, char *str_list[], const char *val, GtkObject **data, int option, void *option_menu_callback, SANE_Int settable, const gchar *widget_name); -extern void xsane_scale_new(GtkBox *parent, char *labeltext, const char *desc, - float min, float max, float quant, float page_step, float page_size, - int digits, double *val, GtkObject **data, void *xsane_scale_callback, SANE_Int settable); -extern void xsane_scale_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, - float min, float max, float quant, float page_step, float page_size, int digits, - double *val, GtkObject **data, int option, void *xsane_scale_callback, SANE_Int settable); +extern void xsane_range_new(GtkBox *parent, char *labeltext, const char *desc, + float min, float max, float quant, float page_step, + int digits, double *val, GtkObject **data, void *xsane_range_callback, SANE_Int settable); +extern void xsane_range_new_with_pixmap(GdkWindow *window, GtkBox *parent, const char *xpm_d[], const char *desc, + float min, float max, float quant, float page_step, int digits, + double *val, GtkObject **data, int option, void *xsane_range_callback, SANE_Int settable); +extern void xsane_set_filename(gchar *filename); +extern void xsane_outputfilename_new(GtkWidget *vbox); extern void xsane_separator_new(GtkWidget *xsane_parent, int dist); +extern void xsane_vseparator_new(GtkWidget *xsane_parent, int dist); extern GtkWidget *xsane_info_table_text_new(GtkWidget *table, gchar *text, int row, int colomn); extern GtkWidget *xsane_info_text_new(GtkWidget *parent, gchar *text); extern void xsane_refresh_dialog(void); extern void xsane_update_param(void *arg); extern void xsane_define_output_filename(void); -extern int xsane_identify_output_format(char *filename, char **ext); +extern int xsane_identify_output_format(char *filename, char *filetype, char **ext); extern void xsane_change_working_directory(void); -extern int xsane_display_license(int ask_for_accept); -extern void xsane_widget_get_uposition(GtkWidget *gtk_window, gint *x, gint *y); +extern int xsane_display_eula(int ask_for_accept); +extern int xsane_display_gpl(void); +extern void xsane_window_get_position(GtkWidget *gtk_window, gint *x, gint *y); extern void xsane_widget_test_uposition(GtkWidget *gtk_window); +extern int xsane_front_gtk_getname_dialog(const char *dialog_title, const char *desc_text, char *oldname, char **newname); +extern void xsane_front_gtk_mail_project_update_lockfile_status(); + /* ---------------------------------------------------------------------------------------------------------------------- */ diff --git a/src/xsane-gamma.c b/src/xsane-gamma.c index d47f6b7..d43eecf 100644 --- a/src/xsane-gamma.c +++ b/src/xsane-gamma.c @@ -3,7 +3,7 @@ xsane-gamma.c Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -55,7 +55,8 @@ void xsane_update_sliders(void); static gint xsane_slider_callback(GtkWidget *widget, GdkEvent *event, XsaneSlider *slider); void xsane_create_slider(XsaneSlider *slider); void xsane_create_histogram(GtkWidget *parent, const char *title, int width, int height, XsanePixmap *hist); -void xsane_get_free_gamma_curve(gfloat *free_color_gamma_data, SANE_Int *gammadata, +/* void xsane_get_free_gamma_curve(gfloat *free_color_gamma_data, SANE_Int *gammadata, */ +void xsane_get_free_gamma_curve(gfloat *free_color_gamma_data, u_char *gammadata, int negative, double gamma, double brightness, double contrast, int len, int maxout); static void xsane_calculate_auto_enhancement(SANE_Int *count_raw, @@ -96,19 +97,12 @@ void xsane_set_auto_enhancement(void); void xsane_clear_histogram(XsanePixmap *hist) { - GdkRectangle rect; - DBG(DBG_proc, "xsane_clear_histogram\n"); if(hist->pixmap) { - rect.x=0; - rect.y=0; - rect.width = HIST_WIDTH; - rect.height = HIST_HEIGHT; - gdk_draw_rectangle(hist->pixmap, xsane.gc_backg, TRUE, 0, 0, HIST_WIDTH, HIST_HEIGHT); - gtk_widget_draw(hist->pixmapwid, &rect); + gtk_widget_queue_draw(hist->pixmapwid); } } @@ -118,7 +112,6 @@ static void xsane_draw_histogram_with_points(XsanePixmap *hist, SANE_Int *count, SANE_Int *count_red, SANE_Int *count_green, SANE_Int *count_blue, int show_red, int show_green, int show_blue, int show_inten, double scale) { - GdkRectangle rect; int i; int inten, red, green, blue; @@ -129,11 +122,6 @@ static void xsane_draw_histogram_with_points(XsanePixmap *hist, if(hist->pixmap) { - rect.x=0; - rect.y=0; - rect.width = HIST_WIDTH; - rect.height = HIST_HEIGHT; - gdk_draw_rectangle(hist->pixmap, xsane.gc_backg, TRUE, 0, 0, HIST_WIDTH, HIST_HEIGHT); red = 0; @@ -170,7 +158,25 @@ static void xsane_draw_histogram_with_points(XsanePixmap *hist, gdk_draw_rectangle(hist->pixmap, xsane.gc_black, TRUE, i, HIST_HEIGHT - inten, XD, YD); } - gtk_widget_draw(hist->pixmapwid, &rect); +#ifdef HAVE_GTK2 + gtk_widget_queue_draw(hist->pixmapwid); + + if (hist->pixmapwid->window) + { + gdk_window_process_updates(hist->pixmapwid->window, FALSE); + } +#else + { + GdkRectangle rect; + + rect.x=0; + rect.y=0; + rect.width = HIST_WIDTH; + rect.height = HIST_HEIGHT; + + gtk_widget_draw(hist->pixmapwid, &rect); + } +#endif } } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -179,7 +185,6 @@ static void xsane_draw_histogram_with_lines(XsanePixmap *hist, SANE_Int *count, SANE_Int *count_red, SANE_Int *count_green, SANE_Int *count_blue, int show_red, int show_green, int show_blue, int show_inten, double scale) { - GdkRectangle rect; int i, j, k; int inten, red, green, blue; int inten0=0, red0=0, green0=0, blue0=0; @@ -193,11 +198,6 @@ static void xsane_draw_histogram_with_lines(XsanePixmap *hist, if (hist->pixmap) { - rect.x=0; - rect.y=0; - rect.width = HIST_WIDTH; - rect.height = HIST_HEIGHT; - gdk_draw_rectangle(hist->pixmap, xsane.gc_backg, TRUE, 0, 0, HIST_WIDTH, HIST_HEIGHT); red = 0; @@ -282,7 +282,25 @@ static void xsane_draw_histogram_with_lines(XsanePixmap *hist, gdk_draw_line(hist->pixmap, xsane.gc_black, i, HIST_HEIGHT - inten, i, HIST_HEIGHT - inten0); } - gtk_widget_draw(hist->pixmapwid, &rect); +#ifdef HAVE_GTK2 + gtk_widget_queue_draw(hist->pixmapwid); + + if (hist->pixmapwid->window) + { + gdk_window_process_updates(hist->pixmapwid->window, FALSE); + } +#else + { + GdkRectangle rect; + + rect.x=0; + rect.y=0; + rect.width = HIST_WIDTH; + rect.height = HIST_HEIGHT; + + gtk_widget_draw(hist->pixmapwid, &rect); + } +#endif } } @@ -292,7 +310,6 @@ void xsane_establish_slider(XsaneSlider *slider) { int x, y, pos, len; guchar buf[XSANE_SLIDER_WIDTH*3]; - GdkRectangle rect; DBG(DBG_proc, "xsane_establish_slider\n"); @@ -390,12 +407,25 @@ void xsane_establish_slider(XsaneSlider *slider) gtk_preview_draw_row(GTK_PREVIEW(slider->preview),buf, 0, y, XSANE_SLIDER_WIDTH); } - rect.x=0; - rect.y=0; - rect.width = XSANE_SLIDER_WIDTH; - rect.height = XSANE_SLIDER_HEIGHT; +#ifdef HAVE_GTK2 + gtk_widget_queue_draw(slider->preview); - gtk_widget_draw(slider->preview, &rect); + if (slider->preview->window) + { + gdk_window_process_updates(slider->preview->window, FALSE); + } +#else + { + GdkRectangle rect; + + rect.x=0; + rect.y=0; + rect.width = HIST_WIDTH; + rect.height = HIST_HEIGHT; + + gtk_widget_draw(slider->preview, &rect); + } +#endif } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -404,7 +434,6 @@ void xsane_draw_slider_level(XsaneSlider *slider) { int i; guchar buf[XSANE_SLIDER_WIDTH*3]; - GdkRectangle rect; DBG(DBG_proc, "xsane_draw_slider_level\n"); @@ -431,12 +460,25 @@ void xsane_draw_slider_level(XsaneSlider *slider) gtk_preview_draw_row(GTK_PREVIEW(slider->preview),buf, 0, i, XSANE_SLIDER_WIDTH); } - rect.x=0; - rect.y=0; - rect.width = XSANE_SLIDER_WIDTH; - rect.height = XSANE_SLIDER_HEIGHT; +#ifdef HAVE_GTK2 + gtk_widget_queue_draw(slider->preview); + + if (slider->preview->window) + { + gdk_window_process_updates(slider->preview->window, FALSE); + } +#else + { + GdkRectangle rect; + + rect.x=0; + rect.y=0; + rect.width = HIST_WIDTH; + rect.height = HIST_HEIGHT; - gtk_widget_draw(slider->preview, &rect); + gtk_widget_draw(slider->preview, &rect); + } +#endif } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -511,6 +553,20 @@ void xsane_update_sliders() /* ---------------------------------------------------------------------------------------------------------------------- */ +static gint xsane_batch_scan_gamma_event() +{ + DBG(DBG_proc, "xsane_batch_scan_gamma_event\n"); + + xsane_batch_scan_update_icon_list(); /* update gamma of batch scan icons */ + + gtk_timeout_remove(xsane.batch_scan_gamma_timer); + xsane.batch_scan_gamma_timer = 0; + + return FALSE; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static gint xsane_slider_hold_event() { DBG(DBG_proc, "xsane_slider_hold_event\n"); @@ -650,7 +706,7 @@ void xsane_create_slider(XsaneSlider *slider) slider->preview = gtk_preview_new(GTK_PREVIEW_COLOR); gtk_preview_size(GTK_PREVIEW(slider->preview), XSANE_SLIDER_WIDTH, XSANE_SLIDER_HEIGHT); gtk_widget_set_events(slider->preview, XSANE_SLIDER_EVENTS); - gtk_signal_connect(GTK_OBJECT(slider->preview), "event", GTK_SIGNAL_FUNC(xsane_slider_callback), slider); + g_signal_connect(GTK_OBJECT(slider->preview), "event", GTK_SIGNAL_FUNC(xsane_slider_callback), slider); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -663,7 +719,7 @@ void xsane_create_histogram(GtkWidget *parent, const char *title, int width, int hist->frame = gtk_frame_new(title); hist->pixmap = gdk_pixmap_new(xsane.histogram_dialog->window, width, height, -1); - hist->pixmapwid = gtk_pixmap_new(hist->pixmap, mask); + hist->pixmapwid = gtk_image_new_from_pixmap(hist->pixmap, mask); gtk_container_add(GTK_CONTAINER(hist->frame), hist->pixmapwid); gdk_draw_rectangle(hist->pixmap, xsane.gc_backg, TRUE, 0, 0, width, height); @@ -1078,7 +1134,7 @@ void xsane_create_preview_threshold_curve(u_char *gammadata, double threshold, i } /* ---------------------------------------------------------------------------------------------------------------------- */ - +#if 0 void xsane_create_preview_gamma_curve(u_char *gammadata, int negative, double gamma, double brightness, double contrast, double medium_shadow, double medium_highlight, double medium_gamma, @@ -1089,9 +1145,193 @@ void xsane_create_preview_gamma_curve(u_char *gammadata, int negative, double ga double val; double m; double b; + double medium_m; + double medium_mid; int maxin = numbers-1; + double clip_shadow, clip_highlight; + double m_shadow, m_highlight; + double s2 = 0.0, s3 = 0.0; + double h2 = 0.0, h3 = 0.0; + double clip_alpha = 0.34; /* 1/3 ... 1/2 are allowed */ + int medium_range; + int unclipped_range; + double medium_shadow_val, medium_highlight_val; + double medium_highlight_val_from_maxin; + double clip_highlight_from_maxin; + + medium_range = (medium_highlight - medium_shadow)/ 100.0 * maxin; + + m_shadow = 1.0; + m_highlight = 1.0; + + medium_shadow_val = medium_shadow/100.0 * maxin; + medium_highlight_val = medium_highlight/100.0 * maxin; + medium_highlight_val_from_maxin = maxin - medium_highlight_val; + + for (i=1; i<10; i++) + { + clip_shadow = clip_alpha * m_shadow * medium_shadow_val; + clip_highlight_from_maxin = clip_alpha * (m_highlight * medium_highlight_val_from_maxin); + clip_highlight = maxin - clip_highlight_from_maxin; + unclipped_range = clip_highlight - clip_shadow; + + m_shadow = (4 * m_shadow + unclipped_range / medium_range / medium_gamma) / 5; + m_highlight = (4 * m_highlight + unclipped_range / medium_range) / 5; + } + m_shadow = 1.0; + m_highlight = 1.0; + + /* soft clipping constants for shadow of medium */ + + if (medium_shadow_val) + { + clip_shadow = clip_alpha * m_shadow * medium_shadow_val; + s2 = 3 * clip_shadow / (medium_shadow_val * medium_shadow_val) - m_shadow / medium_shadow_val; + s3 = m_shadow / (medium_shadow_val * medium_shadow_val) - 2 * clip_shadow / (medium_shadow_val * medium_shadow_val * medium_shadow_val); + + DBG(DBG_info2, "\n"); + DBG(DBG_info2, "maxin = %d\n", maxin); + DBG(DBG_info2, "m_shadow = %f\n", m_shadow); + DBG(DBG_info2, "medium_shadow_val = %d\n", medium_shadow_val); + DBG(DBG_info2, "clip_shadow = %f\n", clip_shadow); + DBG(DBG_info2, "s2 = %f\n", s2); + DBG(DBG_info2, "s3 = %f\n", s3); + DBG(DBG_info2, "s2*shadow^2 + s3*shadow^3 = %f\n", s2 * medium_shadow_val * medium_shadow_val + s3 * medium_shadow_val * medium_shadow_val* medium_shadow_val); + } + else + { + clip_shadow = 0; + } + + + /* soft clipping constants for highlight of medium */ + + if (medium_highlight_val < maxin) + { + medium_highlight_val_from_maxin = maxin - medium_highlight_val; + clip_highlight_from_maxin = clip_alpha * (m_highlight * medium_highlight_val_from_maxin); + clip_highlight = maxin - clip_highlight_from_maxin; + h2 = 3 * clip_highlight_from_maxin / (medium_highlight_val_from_maxin * medium_highlight_val_from_maxin) - m_highlight / medium_highlight_val_from_maxin; + h3 = m_highlight / (medium_highlight_val_from_maxin * medium_highlight_val_from_maxin) - 2 * clip_highlight_from_maxin / (medium_highlight_val_from_maxin * medium_highlight_val_from_maxin * medium_highlight_val_from_maxin); + + DBG(DBG_info2, "\n"); + DBG(DBG_info2, "maxin = %d\n", maxin); + DBG(DBG_info2, "m_highlight = %f\n", m_highlight); + DBG(DBG_info2, "medium_highlight_val = %d\n", medium_highlight_val); + DBG(DBG_info2, "clip_highlight = %f\n", clip_highlight); + DBG(DBG_info2, "h2 = %f\n", h2); + DBG(DBG_info2, "h3 = %f\n", h3); + DBG(DBG_info2, "h2*highlight^2 + h3*highlight^3 = %f\n", h2 * (maxin - medium_highlight_val) * (maxin - medium_highlight_val) + h3 * (maxin - medium_highlight_val) * (maxin - medium_highlight_val) * (maxin - medium_highlight_val)); + } + else + { + clip_highlight = maxin; + } + + /* standard gamma constants for medium */ + + unclipped_range = clip_highlight - clip_shadow; + DBG(DBG_info2, "medium_range = %d\n", medium_range); + DBG(DBG_info2, "unclipped_range = %d\n", unclipped_range); + + medium_m = 100.0/(medium_highlight - medium_shadow); + medium_mid = (medium_shadow + medium_highlight)/200.0 * maxin; + + DBG(DBG_proc, "xsane_create_preview_gamma_curve(neg=%d, gam=%3.2f, bri=%3.2f, ctr=%3.2f, nrs=%d)\n", + negative, gamma, brightness, contrast, numbers); + + if (contrast < -100.0) + { + contrast = -100.0; + } + + midin = (int)(numbers / 2.0); + + m = 1.0 + contrast/100.0; + b = (1.0 + brightness/100.0) * midin; + + if (negative) + { + for (i=0; i <= maxin; i++) + { + val = ((double) i); + + /* medium correction */ + val = (val - medium_mid) * medium_m + midin; + val = maxin - val; /* invert */ + + if (i < medium_shadow_val) + { + val = maxin - s2 * i * i - s3 * i * i * i; + } + else if (i > medium_highlight_val) + { + val = h2 * (maxin - i) * (maxin - i) + h3 * (maxin - i) * (maxin - i) * (maxin - i); + } + else + { + xsane_bound_double(&val, 0.0, maxin); + val = (maxin - clip_highlight) + unclipped_range * pow( val/maxin, (1.0/medium_gamma) ); + } + + val = val - midin; + + /* user correction */ + val = val * m + b; + xsane_bound_double(&val, 0.0, maxin); + + gammadata[i] = (u_char) (255.99999 * pow( ceil(val)/maxin, (1.0/gamma) )); + } + } + else /* positive */ + { + for (i=0; i <= maxin; i++) + { + val = ((double) i); + + /* medium correction */ + val = (val - medium_mid) * medium_m + midin; + + if (i < medium_shadow_val) + { + val = s2 * i * i + s3 * i * i * i; + } + else if (i > medium_highlight_val) + { + val = maxin - (h2 * (maxin - i) * (maxin - i) + h3 * (maxin - i) * (maxin - i) * (maxin - i)); + } + else + { + xsane_bound_double(&val, 0.0, maxin); + val = clip_shadow + unclipped_range * pow( val/maxin, (1.0/medium_gamma) ); + } + + val = val - midin; + + /* user correction */ + val = val * m + b; + xsane_bound_double(&val, 0.0, maxin); + + gammadata[i] = (u_char) (255.99999 * pow( val/maxin, (1.0/gamma) )); + } + } +} + +#else + +void xsane_create_preview_gamma_curve(u_char *gammadata, int negative, double gamma, + double brightness, double contrast, + double medium_shadow, double medium_highlight, double medium_gamma, + int numbers) +{ + int i; + double midin; + double val; + double m; + double b; double medium_m; double medium_mid; + int maxin = numbers-1; medium_m = 100.0/(medium_highlight - medium_shadow); medium_mid = (medium_shadow + medium_highlight)/200.0 * maxin; @@ -1127,7 +1367,7 @@ void xsane_create_preview_gamma_curve(u_char *gammadata, int negative, double ga val = val * m + b; xsane_bound_double(&val, 0.0, maxin); - gammadata[i] = (u_char) (255 * pow( val/maxin, (1.0/gamma) )); + gammadata[i] = (u_char) (255.99999 * pow( ceil(val)/maxin, (1.0/gamma) )); } } else /* positive */ @@ -1147,10 +1387,11 @@ void xsane_create_preview_gamma_curve(u_char *gammadata, int negative, double ga val = val * m + b; xsane_bound_double(&val, 0.0, maxin); - gammadata[i] = (u_char) (255 * pow( val/maxin, (1.0/gamma) )); + gammadata[i] = (u_char) (255.99999 * pow( val/maxin, (1.0/gamma) )); } } } +#endif /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -1205,7 +1446,7 @@ void xsane_create_gamma_curve(SANE_Int *gammadata, /* user correction */ val = val * m + b; xsane_bound_double(&val, 0.0, maxin); - gammadata[i] = maxout * pow( val/maxin, (1.0/gamma) ); + gammadata[i] = (int) (maxout * pow( val/maxin, (1.0/gamma) )); } } else /* positive */ @@ -1224,7 +1465,7 @@ void xsane_create_gamma_curve(SANE_Int *gammadata, /* user correction */ val = val * m + b; xsane_bound_double(&val, 0.0, maxin); - gammadata[i] = maxout * pow( val/maxin, (1.0/gamma) ); + gammadata[i] = (int) (maxout * pow( val/maxin, (1.0/gamma) )); } } } @@ -1578,8 +1819,6 @@ void xsane_update_gamma_curve(int update_raw) static void xsane_enhancement_update(void) { - guint sig_changed=0; - DBG(DBG_proc, "xsane_enhancement_update\n"); if (xsane.param.depth == 1) /* lineart? no gamma */ @@ -1587,43 +1826,28 @@ static void xsane_enhancement_update(void) return; } - sig_changed = gtk_signal_lookup("changed", GTK_OBJECT_TYPE(xsane.gamma_widget)); + xsane.block_enhancement_update = TRUE; - GTK_ADJUSTMENT(xsane.gamma_widget)->value = xsane.gamma; - GTK_ADJUSTMENT(xsane.brightness_widget)->value = xsane.brightness; - GTK_ADJUSTMENT(xsane.contrast_widget)->value = xsane.contrast; + gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.gamma_widget), xsane.gamma); + gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.brightness_widget), xsane.brightness); + gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.contrast_widget), xsane.contrast); if ( (xsane.xsane_colors > 1) && (!xsane.enhancement_rgb_default) ) { - GTK_ADJUSTMENT(xsane.gamma_red_widget)->value = xsane.gamma_red; - GTK_ADJUSTMENT(xsane.gamma_green_widget)->value = xsane.gamma_green; - GTK_ADJUSTMENT(xsane.gamma_blue_widget)->value = xsane.gamma_blue; - - GTK_ADJUSTMENT(xsane.brightness_red_widget)->value = xsane.brightness_red; - GTK_ADJUSTMENT(xsane.brightness_green_widget)->value = xsane.brightness_green; - GTK_ADJUSTMENT(xsane.brightness_blue_widget)->value = xsane.brightness_blue; + gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.gamma_red_widget), xsane.gamma_red); + gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.brightness_red_widget), xsane.brightness_red); + gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.contrast_red_widget), xsane.contrast_red); - GTK_ADJUSTMENT(xsane.contrast_red_widget)->value = xsane.contrast_red; - GTK_ADJUSTMENT(xsane.contrast_green_widget)->value = xsane.contrast_green; - GTK_ADJUSTMENT(xsane.contrast_blue_widget)->value = xsane.contrast_blue; + gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.gamma_green_widget), xsane.gamma_green); + gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.brightness_green_widget), xsane.brightness_green); + gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.contrast_green_widget), xsane.contrast_green); - gtk_signal_emit(xsane.gamma_red_widget, sig_changed); - gtk_signal_emit(xsane.gamma_green_widget, sig_changed); - gtk_signal_emit(xsane.gamma_blue_widget, sig_changed); - - gtk_signal_emit(xsane.brightness_red_widget, sig_changed); - gtk_signal_emit(xsane.brightness_green_widget, sig_changed); - gtk_signal_emit(xsane.brightness_blue_widget, sig_changed); - - gtk_signal_emit(xsane.contrast_red_widget, sig_changed); - gtk_signal_emit(xsane.contrast_green_widget, sig_changed); - gtk_signal_emit(xsane.contrast_blue_widget, sig_changed); - + gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.gamma_blue_widget), xsane.gamma_blue); + gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.brightness_blue_widget), xsane.brightness_blue); + gtk_adjustment_set_value(GTK_ADJUSTMENT(xsane.contrast_blue_widget), xsane.contrast_blue); } - gtk_signal_emit(xsane.gamma_widget, sig_changed); - gtk_signal_emit(xsane.brightness_widget, sig_changed); - gtk_signal_emit(xsane.contrast_widget, sig_changed); + xsane.block_enhancement_update = FALSE; xsane_update_sliders(); /* update histogram slider */ } @@ -1680,9 +1904,9 @@ void xsane_enhancement_by_gamma(void) brightness = xsane.brightness + xsane.brightness_red; gamma = xsane.gamma * xsane.gamma_red; - if (contrast < -100) + if (contrast < xsane.contrast_min) { - contrast = -100; + contrast = xsane.contrast_min; } xsane_gamma_to_histogram(&min, &mid, &max, contrast, brightness, gamma); @@ -1698,9 +1922,9 @@ void xsane_enhancement_by_gamma(void) brightness = xsane.brightness + xsane.brightness_green; gamma = xsane.gamma * xsane.gamma_green; - if (contrast < -100) + if (contrast < xsane.contrast_min) { - contrast = -100; + contrast = xsane.contrast_min; } xsane_gamma_to_histogram(&min, &mid, &max, contrast, brightness, gamma); @@ -1715,9 +1939,9 @@ void xsane_enhancement_by_gamma(void) brightness = xsane.brightness + xsane.brightness_blue; gamma = xsane.gamma * xsane.gamma_blue; - if (contrast < -100) + if (contrast < xsane.contrast_min) { - contrast = -100; + contrast = xsane.contrast_min; } xsane_gamma_to_histogram(&min, &mid, &max, contrast, brightness, gamma); @@ -1729,6 +1953,12 @@ void xsane_enhancement_by_gamma(void) xsane_enhancement_update(); xsane_update_gamma_curve(FALSE); + + if (xsane.batch_scan_gamma_timer) + { + gtk_timeout_remove(xsane.batch_scan_gamma_timer); + } + xsane.batch_scan_gamma_timer = gtk_timeout_add(XSANE_CONTINUOUS_HOLD_TIME * 4, xsane_batch_scan_gamma_event, 0); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -1824,7 +2054,7 @@ static int xsane_histogram_to_gamma(XsaneSlider *slider, *contrast = (10000.0 / (slider->value[2] - slider->value[0]) - 100.0); if (correct_bound) { - xsane_bound_double(contrast, -100.0 + contrast_offset, xsane.contrast_max + contrast_offset); + xsane_bound_double(contrast, xsane.contrast_min + contrast_offset, xsane.contrast_max + contrast_offset); } *brightness = - (slider->value[0] - 50.0) * (*contrast + 100.0)/50.0 - 100.0; @@ -1837,17 +2067,19 @@ static int xsane_histogram_to_gamma(XsaneSlider *slider, range = slider->value[2] - slider->value[0]; *gamma = log(mid/range) / log(0.5); + if (correct_bound) { xsane_bound_double(gamma, XSANE_GAMMA_MIN * gamma_multiplier, XSANE_GAMMA_MAX * gamma_multiplier); return 1; /* in bound */ } - else if (xsane_check_bound_double(*contrast, -100.0 + contrast_offset, xsane.contrast_max + contrast_offset) && - xsane_check_bound_double(*brightness, XSANE_BRIGHTNESS_MIN + brightness_offset, xsane.brightness_max + brightness_offset) && + else if (xsane_check_bound_double(*contrast, xsane.contrast_min + contrast_offset, xsane.contrast_max + contrast_offset) && + xsane_check_bound_double(*brightness, xsane.brightness_min + brightness_offset, xsane.brightness_max + brightness_offset) && xsane_check_bound_double(*gamma, XSANE_GAMMA_MIN * gamma_multiplier, XSANE_GAMMA_MAX * gamma_multiplier)) { return 1; /* in bound */ } + return 0; /* out of bound */ } @@ -1949,14 +2181,14 @@ void xsane_create_histogram_dialog(const char *devicetext) DBG(DBG_proc, "xsane_create_histogram_dialog\n"); - xsane.histogram_dialog = gtk_window_new(GTK_WINDOW_DIALOG); - gtk_window_set_policy(GTK_WINDOW(xsane.histogram_dialog), FALSE, FALSE, FALSE); - gtk_widget_set_uposition(xsane.histogram_dialog, XSANE_HISTOGRAM_POS_X, XSANE_HISTOGRAM_POS_Y); - gtk_signal_connect(GTK_OBJECT(xsane.histogram_dialog), "delete_event", GTK_SIGNAL_FUNC(xsane_histogram_win_delete), NULL); + xsane.histogram_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); + gtk_window_set_resizable(GTK_WINDOW(xsane.histogram_dialog), FALSE); + gtk_window_move(GTK_WINDOW(xsane.histogram_dialog), XSANE_HISTOGRAM_POS_X, XSANE_HISTOGRAM_POS_Y); + g_signal_connect(GTK_OBJECT(xsane.histogram_dialog), "delete_event", GTK_SIGNAL_FUNC(xsane_histogram_win_delete), NULL); sprintf(windowname, "%s %s", WINDOW_HISTOGRAM, devicetext); gtk_window_set_title(GTK_WINDOW(xsane.histogram_dialog), windowname); xsane_set_window_icon(xsane.histogram_dialog, 0); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(xsane.histogram_dialog)); + gtk_window_add_accel_group(GTK_WINDOW(xsane.histogram_dialog), xsane.accelerator_group); xsane_histogram_vbox = gtk_vbox_new(FALSE, 0); gtk_container_set_border_width(GTK_CONTAINER(xsane_histogram_vbox), 5); @@ -1976,7 +2208,7 @@ void xsane_create_histogram_dialog(const char *devicetext) xsane.gc_trans = style->bg_gc[GTK_STATE_NORMAL]; xsane.bg_trans = &style->bg[GTK_STATE_NORMAL]; - colormap = gdk_window_get_colormap(xsane.histogram_dialog->window); + colormap = gdk_drawable_get_colormap(xsane.histogram_dialog->window); xsane.gc_black = gdk_gc_new(xsane.histogram_dialog->window); color_black.red = 0; @@ -2078,27 +2310,27 @@ void xsane_create_histogram_dialog(const char *devicetext) button = xsane_toggle_button_new_with_pixmap(xsane.histogram_dialog->window, xsane_color_hbox, intensity_xpm, DESC_HIST_INTENSITY, &xsane.histogram_int, xsane_histogram_toggle_button_callback); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_I, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_I, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); button = xsane_toggle_button_new_with_pixmap(xsane.histogram_dialog->window, xsane_color_hbox, red_xpm, DESC_HIST_RED, &xsane.histogram_red, xsane_histogram_toggle_button_callback); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_R, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_R, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); button = xsane_toggle_button_new_with_pixmap(xsane.histogram_dialog->window, xsane_color_hbox, green_xpm, DESC_HIST_GREEN, &xsane.histogram_green, xsane_histogram_toggle_button_callback); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_G, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_G, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); button = xsane_toggle_button_new_with_pixmap(xsane.histogram_dialog->window, xsane_color_hbox, blue_xpm, DESC_HIST_BLUE, &xsane.histogram_blue, xsane_histogram_toggle_button_callback); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_B, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_B, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); button = xsane_toggle_button_new_with_pixmap(xsane.histogram_dialog->window, xsane_color_hbox, pixel_xpm, DESC_HIST_PIXEL, &xsane.histogram_lines, xsane_histogram_toggle_button_callback); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_M, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_M, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); button = xsane_toggle_button_new_with_pixmap(xsane.histogram_dialog->window, xsane_color_hbox, log_xpm, DESC_HIST_LOG, &xsane.histogram_log, xsane_histogram_toggle_button_callback); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_L, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_L, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); gtk_widget_show(xsane_color_hbox); } @@ -2107,7 +2339,8 @@ void xsane_create_histogram_dialog(const char *devicetext) #ifdef HAVE_WORKING_GTK_GAMMACURVE /* xsane_get_free_gamma_curve transforms gamma table with 65536 entries and value range 0.0-1.0 to requested gamma table */ /* it combines the color gamma table given by gamma_widget and the gray gamma table (xsane.gamma_curve_gray) */ -void xsane_get_free_gamma_curve(gfloat *free_color_gamma_data, SANE_Int *gammadata, +/* void xsane_get_free_gamma_curve(gfloat *free_color_gamma_data, SANE_Int *gammadata, */ +void xsane_get_free_gamma_curve(gfloat *free_color_gamma_data, u_char *gammadata, int negative, double gamma, double brightness, double contrast, int len, int maxout) { @@ -2238,13 +2471,13 @@ GtkWidget* xsane_gamma_curve_notebook_page_new(GtkWidget *notebook, char *title) gtk_widget_show(label); gamma = gtk_gamma_curve_new(); - gtk_widget_set_usize(gamma, 0, 256); + gtk_widget_set_size_request(gamma, -1, 256); curve = GTK_GAMMA_CURVE(gamma)->curve; vector = alloca(optlen * sizeof(vector[0])); gtk_curve_set_range(GTK_CURVE(curve), 0, optlen - 1, fmin, fmax); -#if 1 +#if 0 gtk_curve_maintain_accuracy(GTK_CURVE(curve), 1.0); #endif @@ -2269,14 +2502,14 @@ void xsane_create_gamma_dialog(const char *devicetext) xsane.free_gamma_data_green = calloc(65536, sizeof(xsane.free_gamma_data_green[0])); xsane.free_gamma_data_blue = calloc(65536, sizeof(xsane.free_gamma_data_green[0])); - xsane.gamma_dialog = gtk_window_new(GTK_WINDOW_DIALOG); - gtk_window_set_policy(GTK_WINDOW(xsane.gamma_dialog), FALSE, FALSE, FALSE); - gtk_widget_set_uposition(xsane.gamma_dialog, XSANE_GAMMA_POS_X, XSANE_GAMMA_POS_Y); - gtk_signal_connect(GTK_OBJECT(xsane.gamma_dialog), "delete_event", GTK_SIGNAL_FUNC(xsane_gamma_win_delete), NULL); + xsane.gamma_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); + gtk_window_set_resizable(GTK_WINDOW(xsane.gamma_dialog), FALSE); + gtk_window_move(GTK_WINDOW(xsane.gamma_dialog), XSANE_GAMMA_POS_X, XSANE_GAMMA_POS_Y); + g_signal_connect(GTK_OBJECT(xsane.gamma_dialog), "delete_event", GTK_SIGNAL_FUNC(xsane_gamma_win_delete), NULL); sprintf(windowname, "%s %s", WINDOW_GAMMA, devicetext); gtk_window_set_title(GTK_WINDOW(xsane.gamma_dialog), windowname); xsane_set_window_icon(xsane.gamma_dialog, 0); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(xsane.gamma_dialog)); + gtk_window_add_accel_group(GTK_WINDOW(xsane.gamma_dialog), xsane.accelerator_group); xsane_vbox_gamma = gtk_vbox_new(TRUE, 5); gtk_container_set_border_width(GTK_CONTAINER(xsane_vbox_gamma), 5); @@ -2354,6 +2587,40 @@ void xsane_set_auto_enhancement() } /* ---------------------------------------------------------------------------------------------------------------------- */ + +/* set medium values as gamma/contrast/brightness */ +void xsane_apply_medium_definition_as_enhancement(Preferences_medium_t *medium) +{ + xsane.gamma = medium->gamma_gray; + xsane.contrast = 10000.0 / (medium->highlight_gray - medium->shadow_gray) - 100.0; + xsane.brightness = - (medium->shadow_gray - 50.0) * (xsane.contrast + 100.0) / 50.0 - 100.0; + + xsane.gamma_red = medium->gamma_red / xsane.gamma; + xsane.gamma_green = medium->gamma_green / xsane.gamma; + xsane.gamma_blue = medium->gamma_blue / xsane.gamma; + + xsane.contrast_red = 10000.0 / (medium->highlight_red - medium->shadow_red) - 100.0 - xsane.contrast; + xsane.contrast_green = 10000.0 / (medium->highlight_green - medium->shadow_green) - 100.0 - xsane.contrast; + xsane.contrast_blue = 10000.0 / (medium->highlight_blue - medium->shadow_blue) - 100.0 - xsane.contrast; + + xsane.brightness_red = - (medium->shadow_red - 50.0) * (xsane.contrast + xsane.contrast_red + 100.0) / 50.0 - 100.0 - xsane.brightness; + xsane.brightness_green = - (medium->shadow_green - 50.0) * (xsane.contrast + xsane.contrast_green + 100.0) / 50.0 - 100.0 - xsane.brightness; + xsane.brightness_blue = - (medium->shadow_blue - 50.0) * (xsane.contrast + xsane.contrast_blue + 100.0) / 50.0 - 100.0 - xsane.brightness; + + xsane.negative = medium->negative; + + if (xsane.negative) + { + xsane.brightness = -xsane.brightness; + xsane.brightness_red = -xsane.brightness_red; + xsane.brightness_green = -xsane.brightness_green; + xsane.brightness_blue = -xsane.brightness_blue; + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +/* set medium values */ void xsane_set_medium(Preferences_medium_t *medium) { const SANE_Option_Descriptor *opt; diff --git a/src/xsane-gamma.h b/src/xsane-gamma.h index 124b21a..e948a92 100644 --- a/src/xsane-gamma.h +++ b/src/xsane-gamma.h @@ -3,7 +3,7 @@ xsane-gamma.h Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -53,6 +53,7 @@ extern void xsane_create_histogram_dialog(const char *devicetext); extern void xsane_create_gamma_dialog(const char *devicetext); extern void xsane_update_gamma_dialog(void); extern void xsane_set_auto_enhancement(void); +extern void xsane_apply_medium_definition_as_enhancement(Preferences_medium_t *medium); extern void xsane_set_medium(Preferences_medium_t *medium); /* ---------------------------------------------------------------------------------------------------------------------- */ diff --git a/src/xsane-gimp-1_0-compat.h b/src/xsane-gimp-1_0-compat.h index 363c826..1bdc758 100644 --- a/src/xsane-gimp-1_0-compat.h +++ b/src/xsane-gimp-1_0-compat.h @@ -3,7 +3,7 @@ xsane-gimp-1_0-compat.h Oliver Rauch - Copyright (C) 2000-2002 Oliver Rauch + Copyright (C) 2000-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -20,8 +20,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#ifndef XSANE_OLDGIMP_H -#define XSANE_OLDGIMP_H +#ifndef XSANE_GIMP_1_0_COMPAT_H +#define XSANE_GIMP_1_0_COMPAT_H #define GimpPlugInInfo GPlugInInfo #define GimpParam GParam diff --git a/src/xsane-gpl.txt b/src/xsane-gpl.txt new file mode 100644 index 0000000..b5ab307 --- /dev/null +++ b/src/xsane-gpl.txt @@ -0,0 +1,108 @@ + 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: + +2a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. + +2b) 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. + +2c) 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: + +3a) 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, + +3b) 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, + +3c) 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 diff --git a/src/xsane-gtk-1_x-compat.h b/src/xsane-gtk-1_x-compat.h new file mode 100644 index 0000000..1653c33 --- /dev/null +++ b/src/xsane-gtk-1_x-compat.h @@ -0,0 +1,68 @@ +/* xsane -- a graphical (X11, gtk) scanner-oriented SANE frontend + + xsane-gtk-1_x-compat.h + + Oliver Rauch + Copyright (C) 2002-2005 Oliver Rauch + This file is part of the XSANE package. + + 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifndef XSANE_GTK_1_x_COMPAT_H +#define XSANE_GTK_1_x_COMPAT_H + +# define DEF_GTK_MENU_ACCEL_VISIBLE 0 + +# define g_signal_connect(instance, detailed_signal, c_handler, data) \ + gtk_signal_connect(instance, detailed_signal, c_handler, data) +# define g_signal_connect_after(instance, detailed_signal, c_handler, data) \ + gtk_signal_connect_after(instance, detailed_signal, c_handler, data) +# define g_signal_connect_swapped(instance, detailed_signal, c_handler, data) \ + gtk_signal_connect_object(instance, detailed_signal, c_handler, data) +# define g_signal_handlers_block_by_func(instance, func, data) \ + gtk_signal_handler_block_by_func(instance, func, data) +# define g_signal_handlers_unblock_by_func(instance, func, data) \ + gtk_signal_handler_unblock_by_func(instance, func, data) +# define g_signal_handlers_disconnect_by_func(instance, func, data) \ + gtk_signal_disconnect_by_func(instance, func, data) +# define g_signal_lookup(name, itype) \ + gtk_signal_lookup(name, itype) +# define g_signal_emit(instance, signal_id, detail) \ + gtk_signal_emit(instance, signal_id) +# define g_signal_emit_by_name(instance, detailed_signal) \ + gtk_signal_emit_by_name(instance, detailed_signal) + +# define gtk_widget_set_size_request(widget, width, height) \ + gtk_widget_set_usize(widget, width, height) + +# define gdk_drawable_get_size(widget, width, height) \ + gdk_window_get_size(widget, width, height) +# define gdk_drawable_get_colormap(widget) \ + gdk_window_get_colormap(widget) +# define gdk_cursor_unref(widget) \ + gdk_cursor_destroy(widget) +# define gdk_gc_unref(widget) \ + gdk_gc_destroy(widget) +/* the following change is not unique, but we only need gdk_pixmap_unref, so it is ok */ +# define gdk_drawable_unref(widget) \ + gdk_pixmap_unref(widget) +# define gtk_window_move(widget, x, y) \ + gtk_widget_set_uposition((GtkWidget *) widget, x, y) +# define gtk_window_set_resizable(widget, resizable) \ + gtk_window_set_policy(widget, FALSE, resizable, FALSE) +# define gtk_image_new_from_pixmap(pixmap, mask) \ + gtk_pixmap_new(pixmap, mask) + +#endif diff --git a/src/xsane-icon.rc b/src/xsane-icon.rc new file mode 100755 index 0000000..ba814aa --- /dev/null +++ b/src/xsane-icon.rc @@ -0,0 +1 @@ +AppIcon ICON "xsane.ico" diff --git a/src/xsane-icons.c b/src/xsane-icons.c index baa5f32..b09d2f4 100644 --- a/src/xsane-icons.c +++ b/src/xsane-icons.c @@ -3,7 +3,7 @@ xsane-icons.c Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -59,153 +59,269 @@ const char *error_xpm[] = "40 40 6 1", " c None", ". c #FE0809", -"+ c #FDFDFC", -"@ c #E5D5D6", -"# c #E1A09F", -"$ c #FE8081", -" #@@++++@@# ", -" #@++++++++++++@# ", -" #+++@#$......$$@+++# ", -" #+++#..............#+++# ", -" #++#..................@++# ", -" @++$....................$++@ ", -" @+@........................++@ ", -" #+@$.........................@+# ", -" #++...........................$++# ", -" ++$.....@+...............++....$++ ", -" #+#.....+++@.............+++@....#+# ", -" ++.....$+++++...........@++++$....++ ", -" #+#......#++++@.........+++++#.....#+# ", -" @+........#+++++.......@++++$.......+@ ", -" +@.........$++++@.....+++++#........++ ", -"#+$..........#+++++...@++++$.........$+#", -"@+$...........$+++++$@++++#..........$+@", -"@+.............#+++++++++$............+@", -"++..............$+++++++#.............++", -"++...............#+++++#..............++", -"++...............++++++@..............++", -"++..............@++++++++.............++", -"@+.............+++++@++++@............+@", -"@+$...........@++++#.#+++++..........$+@", -"#+$..........+++++$...$++++@.........$+#", -" +@.........@++++#.....#+++++........@+ ", -" @+........+++++$.......$++++@.......+@ ", -" #+#......@++++#.........#+++++.....#+# ", -" ++.....#++++#...........$++++$....++ ", -" @+#.....$++$.............#++$....#+# ", -" ++$.....#$...............$#....$++ ", -" #++............................++# ", -" #++..........................++# ", -" @++........................++@ ", -" @++$....................$++@ ", -" #++#..................#++# ", -" #+++#..............#+++# ", -" #+++@$$......$$++++# ", -" #+++++++++++++@# ", -" #@@++++@@# " -}; - -/* --------------------------------------------------- */ - -const char *warning_xpm[] = -{ -"40 40 4 1", -" c None", -". c #FFFFFF", -"+ c #FFFA00", -"@ c #000000", -" ", -" .. ", -" .. ", -" .++. ", -" .++. ", -" .++++. ", -" .++++. ", -" .++++++. ", -" .++++++. ", -" .++++++++. ", -" .++++++++. ", -" .++++++++++. ", -" .++++@@++++. ", -" .++++@@@@++++. ", -" .+++@@@@@@+++. ", -" .++++@@@@@@++++. ", -" .+++@@@@@@@@+++. ", -" .++++@@@@@@@@++++. ", -" .++++@@@@@@@@++++. ", -" .++++++@@@@@@++++++. ", -" .++++++@@@@@@++++++. ", -" .+++++++@@@@@@+++++++. ", -" .+++++++@@@@@@+++++++. ", -" .+++++++++@@@@+++++++++. ", -" .+++++++++@@@@+++++++++. ", -" .++++++++++@@@@++++++++++. ", -" .+++++++++++@@+++++++++++. ", -" .++++++++++++++++++++++++++. ", -" .++++++++++++++++++++++++++. ", -" .++++++++++++++++++++++++++++. ", -" .+++++++++++++@@+++++++++++++. ", -" .+++++++++++++@@@@+++++++++++++. ", -" .+++++++++++++@@@@+++++++++++++. ", -" .+++++++++++++++@@+++++++++++++++. ", -" .++++++++++++++++++++++++++++++++. ", -" .++++++++++++++++++++++++++++++++++. ", -" .++++++++++++++++++++++++++++++++++. ", -" ..++++++++++++++++++++++++++++++++++.. ", -" ...................................... ", -"........................................" -}; - -/* --------------------------------------------------- */ - -const char *info_xpm[] = -{ -"40 40 4 1", -" c None", -". c #FFFFFF", +"+ c #FFFFFF", +"@ c #FF8080", +"- c #7A7A7A", +"# c #6C6B6B", +" ---------- ", +" -- @@@+@@@--### ", +" --@@+++++++++@@--## ", +" --@+++@@@...@@@+++@--## ", +" -@+++@...........@+++@-## ", +" -@++@...............@++@-## ", +" -@++@.................@++@-## ", +" -@+@.....................++@-## ", +" -@+@@......................@+@-## ", +" -@++........................@++@-# ", +" --++@.....@+............++....@++-## ", +" -@+@.....+++@..........+++@....@+@-# ", +" --++.....@+++++........@++++@....++-## ", +" -@+@......@++++@......+++++@.....@+@-# ", +" -@+........@+++++....@++++@.......+@-# ", +" -+@.........@++++@..+++++@........++-##", +"-@+@..........@+++++@++++@.........@+@-#", +"-@+@...........@++++++++@..........@+@-#", +"-@+.............@++++++@............+@-#", +"-++..............@++++@.............++-#", +"-@+.............+++++++@............+@-#", +"-@+@...........@+++++++++..........@+@-#", +"-@+@..........+++++@@++++@.........@+@-#", +" -+@.........@++++@..@+++++........@+-##", +" -@+........+++++@....@++++@.......+@-# ", +" -@+@......@++++@......@+++++.....@+@-# ", +" -++.....@++++@........@++++@....++-## ", +" -@+@.....@++@..........@++@....@+@-# ", +" -++@.....@@............@@....@++-## ", +" -@++.........................++@-# ", +" -@++.......................++@-## ", +" -@++.....................++@-## ", +" --@++@.................@++@-## ", +" --@++@...............@++@-## ", +" --@+++@...........@+++@-## ", +" ---@+++@@@...@@++++@--## ", +" ---@++++++++++@@--### ", +" ----@@@+@@@---### ", +" ----------#### ", +" --####### " +}; + +/* --------------------------------------------------- */ + +const char *warning_xpm[] = { +"40 40 6 1", +" c None", +". c #FFFFFF", +"+ c #FFFA00", +"@ c #000000", +"- c #7A7A7A", +"# c #6C6B6B", +" ----## ", +" -..-### ", +" -....-## ", +" -....-### ", +" -..++..-## ", +" -..++..-### ", +" -..++++..-## ", +" -..++++..-### ", +" -..++++++..-## ", +" -..++++++..-### ", +" -..++++++++..-## ", +" -..+++@@+++..-### ", +" -..+++@@@@+++..-## ", +" -..++@@@@@@++..-### ", +" -..+++@@@@@@+++..-## ", +" -..++@@@@@@@@++..-### ", +" -..+++@@@@@@@@+++..-## ", +" -..+++@@@@@@@@+++..-### ", +" -..+++++@@@@@@+++++..-## ", +" -..+++++@@@@@@+++++..-### ", +" -..++++++@@@@@@++++++..-## ", +" -..++++++@@@@@@++++++..-### ", +" -..++++++++@@@@++++++++..-## ", +" -..++++++++@@@@++++++++..-### ", +" -..+++++++++@@@@+++++++++..-## ", +" -..++++++++++@@++++++++++..-### ", +" -..++++++++++++++++++++++++..-## ", +" -..++++++++++++++++++++++++..-### ", +" -..++++++++++++++++++++++++++..-## ", +" -..++++++++++++@@++++++++++++..-### ", +" -..++++++++++++@@@@++++++++++++..-## ", +" -..++++++++++++@@@@++++++++++++..-## ", +" -..++++++++++++++@@++++++++++++++..-## ", +" -..++++++++++++++++++++++++++++++..-## ", +"-..++++++++++++++++++++++++++++++++..-##", +"-....................................-##", +"-....................................-##", +"--------------------------------------##", +" #######################################", +" ##################################### "}; + +/* --------------------------------------------------- */ + +const char *info_xpm[] = { +"40 40 6 1", +" c None", +". c #FFFFFF", "+ c #00A000", -"@ c #000000", +"@ c #000000", +"- c #7A7A7A", +"# c #6C6B6B", +" ----## ", +" -..-### ", +" -....-## ", +" -....-### ", +" -..++..-## ", +" -..++..-### ", +" -..++++..-## ", +" -..++++..-### ", +" -..++++++..-## ", +" -..++++++..-### ", +" -..++++++++..-## ", +" -..+++@@+++..-### ", +" -..+++@@@@+++..-## ", +" -..++@@@@@@++..-### ", +" -..+++@@@@@@+++..-## ", +" -..++@@@@@@@@++..-### ", +" -..+++@@@@@@@@+++..-## ", +" -..+++@@@@@@@@+++..-### ", +" -..+++++@@@@@@+++++..-## ", +" -..+++++@@@@@@+++++..-### ", +" -..++++++@@@@@@++++++..-## ", +" -..++++++@@@@@@++++++..-### ", +" -..++++++++@@@@++++++++..-## ", +" -..++++++++@@@@++++++++..-### ", +" -..+++++++++@@@@+++++++++..-## ", +" -..++++++++++@@++++++++++..-### ", +" -..++++++++++++++++++++++++..-## ", +" -..++++++++++++++++++++++++..-### ", +" -..++++++++++++++++++++++++++..-## ", +" -..++++++++++++@@++++++++++++..-### ", +" -..++++++++++++@@@@++++++++++++..-## ", +" -..++++++++++++@@@@++++++++++++..-## ", +" -..++++++++++++++@@++++++++++++++..-## ", +" -..++++++++++++++++++++++++++++++..-## ", +"-..++++++++++++++++++++++++++++++++..-##", +"-....................................-##", +"-....................................-##", +"--------------------------------------##", +" #######################################", +" ##################################### "}; + +/* --------------------------------------------------- */ + +const char *device_xpm[] = { +"40 40 12 1", +" c None", +". c #FFFFFF", +"* c #FAFAFA", +"+ c #F8F8F8", +"0 c #F2F2F2", +"- c #808080", +"_ c #505050", +"@ c #000000", +"A c #A0E0F8", +"B c #A8E8FA", +"C c #B0F0FF", +"D c #C0F8FF", " ", -" .. ", -" .. ", -" .++. ", -" .++. ", -" .++++. ", -" .++++. ", -" .++++++. ", -" .++++++. ", -" .++++++++. ", -" .++++++++. ", -" .++++++++++. ", -" .++++@@++++. ", -" .++++@@@@++++. ", -" .+++@@@@@@+++. ", -" .++++@@@@@@++++. ", -" .+++@@@@@@@@+++. ", -" .++++@@@@@@@@++++. ", -" .++++@@@@@@@@++++. ", -" .++++++@@@@@@++++++. ", -" .++++++@@@@@@++++++. ", -" .+++++++@@@@@@+++++++. ", -" .+++++++@@@@@@+++++++. ", -" .+++++++++@@@@+++++++++. ", -" .+++++++++@@@@+++++++++. ", -" .++++++++++@@@@++++++++++. ", -" .+++++++++++@@+++++++++++. ", -" .++++++++++++++++++++++++++. ", -" .++++++++++++++++++++++++++. ", -" .++++++++++++++++++++++++++++. ", -" .+++++++++++++@@+++++++++++++. ", -" .+++++++++++++@@@@+++++++++++++. ", -" .+++++++++++++@@@@+++++++++++++. ", -" .+++++++++++++++@@+++++++++++++++. ", -" .++++++++++++++++++++++++++++++++. ", -" .++++++++++++++++++++++++++++++++++. ", -" .++++++++++++++++++++++++++++++++++. ", -" ..++++++++++++++++++++++++++++++++++.. ", -" ...................................... ", -"........................................" -}; +" ", +" ", +" -- ", +" ---..--- ", +" ---.....*--- ", +" --.......***--- @@@ ", +" _-......****+--- @@ @ ", +" _-....****+++---@ @ ", +" _-..****+++++-@- @ ", +" _-****+++++++--- @@@ ", +" -_-**+++++++++--- ", +" -.._-+++++++++++--- ", +" -...A_-++++++++000--- ", +" -...AAA_-++++++00000--- ", +" -...AAAAA_-++++0000000--- ", +" -...AAAAAAA_-++000000000--- ", +" -...AAAAAAAAA_-00000000000--- ", +" -...AAAAAAAAAAB_-000000000-_---", +" -...AAAAAAAAAABBB_-000000--_----", +" -...AAAAAAAAAABBBBB_-000--_-+_---", +" -...AAAAAAAAAABBBBCCC_---_--+_--- ", +" -...AAAAAAAAAABBBBCCCCC__---+_--- ", +" -+...AAAAAAAAABBBBCCCCDDD---+_--- ", +" -+..*AAAAAAABBBBCCCCDDD..-+_--- ", +" -+***AAAAABBBBCCCCDDD000+_--- ", +" -+**AAAABBBBCCCCDDD000+_--- ", +" -+**AABBBBCCCCDDD000+_--- ", +" -+++BBBBCCCCDDD000+_--- ", +" -++0BBCCCCDDD000+_--- ", +" -+00CCCCDDD000+_--- ", +" -+000CDDD000+_--- ", +" -+000DD000+_--- ", +" -+0++000+_--- ", +" -++++++_--- ", +" -++++_--- ", +" -++_--- ", +" ----- ", +" --- ", +" "}; + +/* --------------------------------------------------- */ + +const char *no_device_xpm[] = { +"40 40 13 1", +" c None", +". c #FFFFFF", +"* c #FAFAFA", +"+ c #F8F8F8", +"0 c #F2F2F2", +"- c #808080", +"_ c #505050", +"@ c #000000", +"A c #A0E0F8", +"B c #A8E8FA", +"C c #B0F0FF", +"D c #C0F8FF", +"# c #C03030", +" ", +" ", +" ", +" -- ", +" ---..--- ", +" ## ---.....*--- ## ", +" #### --.......***--- #### ", +" #### _-......****+---#### ", +" #### _-....****+++-#### ", +" #### _-..****++++#### ", +" #### _-****++++####-- ", +" #### -_-**++++####+--- ", +" ####.._-++++####+++--- ", +" ####.A_-++####++000--- ", +" -####AA_-####++00000--- ", +" -..####AA####++0000000--- ", +" -...A########++000000000--- ", +" -...AAA######_-00000000000--- ", +" -...AAAAA####AA_-000000000-_---", +" -...AAAAA######BB_-000000--_----", +" -...AAAAA########BB_-000--_-+_---", +" -...AAAAA####A####CCC_---_--+_--- ", +" -...AAAAA####ABB####CCC__---+_--- ", +" -+...AAAA####ABBBB####DDD---+_--- ", +" -+..*AA####ABBBBCC####D..-+_--- ", +" -+***####ABBBBCCCC####00+_--- ", +" -+*####ABBBBCCCCDD####+_--- ", +" -####ABBBBCCCCDDD0####--- ", +" ####+BBBBCCCCDDD000####- ", +" ####+00BBCCCCDDD000+_#### ", +" #### -+00CCCCDDD000+_--#### ", +" ## -+000CDDD000+_--- ## ", +" -+000DD000+_--- ", +" -+0++000+_--- ", +" -++++++_--- ", +" -++++_--- ", +" -++_--- ", +" ----- ", +" --- ", +" "}; + /* --------------------------------------------------- */ const char *file_xpm[] = @@ -242,6 +358,76 @@ const char *file_xpm[] = /* --------------------------------------------------- */ +const char *load_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 5 1", +/* colors */ +"* c #000000", +". c #ffff70", +"+ c #505000", +"- c #e0e0e0", +" none", +/* pixels */ +" ", +" ** ", +" *..**** ", +" *......**** ", +" *..........**** ", +" ****..............*", +"*---++++...........*", +"*-------++++.......*", +"*-----------++++...*", +"*---------------+..*", +" *--------------+..*", +" *--------------+..*", +" *---------------+.*", +" *--------------+.*", +" *--------------+.*", +" *---------------+*", +" ****-----------+*", +" ****-------+*", +" *********", +" " +}; + +/* --------------------------------------------------- */ + +const char *save_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 5 1", +/* colors */ +"* c #000000", +". c #70b070", +"+ c #609060", +"- c #e0e0e0", +" none", +/* pixels */ +" ", +" ................ ", +" .*............*. ", +" .*............*. ", +" ................ ", +" ................ ", +" ................ ", +" ................ ", +" ................ ", +" ................ ", +" ................ ", +" ................ ", +" ....--------.... ", +" ....-+++----.... ", +" ....-+++----.... ", +" ....-+++----.... ", +" ....-+++----.... ", +" ............... ", +" ", +" " +}; + +/* --------------------------------------------------- */ + const char *ocr_xpm[] = { /* width height num_colors chars_per_pixel */ @@ -379,6 +565,42 @@ const char *blur_xpm[] = /* --------------------------------------------------- */ +const char *undo_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +"* c #000000", +"+ c #404040", +". c #808080", +" none", +/* pixels */ +" ", +" ", +" ** **** ", +" ** *** *** ", +" ** ** ** ", +" **** ** ", +" ******* ** ", +" ******* ** ", +" ** ", +" ** ", +" ** ", +" ** ", +" ** ", +" ** ", +" ** ", +" ** ", +" ** ", +" ** ", +" ** ", +" ** ", +" ** ", +" " +}; + +/* --------------------------------------------------- */ + const char *clone_xpm[] = { /* width height num_colors chars_per_pixel */ @@ -623,6 +845,38 @@ const char *faxreceiver_xpm[] = " 20 20 3 1", /* colors */ "* c #000000", +"- c #404040", +" none", +/* pixels */ +" **** ", +" **** **** ", +" ** ** ", +" * *", +" * ******* *", +" * * * * ", +" *** *** ", +" * ** ** ** ** * ", +" * ** ** ** ** * ", +" * * ", +" * ** ** ** ** * ", +" * ** ** ** ** * ", +" * * ", +" * ** ** ** ** * ", +" * ** ** ** ** * ", +" * * ", +" * ** ** ** ** * ", +" * ** ** ** ** * ", +" * *", +" ***************** ", +}; +/* --------------------------------------------------- */ +#if 0 +const char *person_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 3 1", +/* colors */ +"* c #000000", "- c #e0e0e0", " none", /* pixels */ @@ -647,6 +901,7 @@ const char *faxreceiver_xpm[] = " *------*** ", " *----* ", }; +#endif /* --------------------------------------------------- */ @@ -834,6 +1089,42 @@ const char *medium_xpm[] = { /* --------------------------------------------------- */ +const char *medium_edit_xpm[] = { +/* width height num_colors chars_per_pixel */ +" 50 20 7 1", +/* colors */ +". c #000000", +"# c #a05020", +"- c #608060", +"0 c #80c080", +"+ c #a0a0a0", +"* c #ffffff", +" none", +/* pixels */ +" ", +" ################ ", +" ################ ", +" #..##########..# ", +" #..##########..# ", +" ################ ", +" ################ ", +" #..##########..# ++++++++++++++++++++++++++++ ", +" #..##########..# +0000000**.**00000000000000- ", +" ################ +0000000**.**00000000000000- ", +" ################ +0000000**.**00000000000000- ", +" #..##########..# +0000000**.**00000000000000- ", +" #..##########..# ---------------------------- ", +" ################ ", +" ################ ", +" #..##########..# ", +" #..##########..# ", +" ################ ", +" ################ ", +" " +}; + +/* --------------------------------------------------- */ + const char *medium_delete_xpm[] = { /* width height num_colors chars_per_pixel */ " 20 20 4 1", @@ -1521,14 +1812,148 @@ const char *default_enhancement_xpm[] = /* --------------------------------------------------- */ -const char *pipette_white_xpm[] = +const char *add_batch_xpm[] = { /* width height num_colors chars_per_pixel */ " 20 20 3 1", /* colors */ ". c #000000", " none", +"g c #70a070", +/* pixels */ +" ", +" ... ... ... ... .. ", +" . . ", +" . . ", +" ", +" . . ", +" . gg . ", +" . gg . ", +" gg ", +" . gg . ", +" . gggggggggg . ", +" . gggggggggg . ", +" gg ", +" . gg . ", +" . gg . ", +" . gg . ", +" ", +" . . ", +" . . ", +" ... ... ... ... .. ", +}; + +/* --------------------------------------------------- */ + +const char *del_batch_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 3 1", +/* colors */ +". c #000000", +" none", +"r c #d07070", +/* pixels */ +" ", +"rr.. ... ... ... .rr", +" rr rr ", +" .rr rr. ", +" rr rr ", +" . rr rr . ", +" . rr rr . ", +" . rr rr . ", +" rr rr ", +" . rrrr . ", +" . rr . ", +" . rrrr . ", +" rr rr ", +" . rr rr . ", +" . rr rr . ", +" . rr rr . ", +" rr rr ", +" .rr rr. ", +" rr rr ", +"rr.. ... ... ... .rr", +}; + +/* --------------------------------------------------- */ + +const char *empty_batch_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 3 1", +/* colors */ +". c #000000", +" none", +"* c #ffffff", +/* pixels */ +" ", +" ................ ", +" .**************. ", +" .**************. ", +" .**************. ", +" .**************. ", +" .**************. ", +" .**************. ", +" .**************. ", +" .**************. ", +" .**************. ", +" .**************. ", +" .**************. ", +" .**************. ", +" .**************. ", +" .**************. ", +" .**************. ", +" .**************. ", +" .**************. ", +" ................ ", +}; + +/* --------------------------------------------------- */ + +const char *ascii_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 2 1", +/* colors */ +". c #000000", +" none", +/* pixels */ +" ", +" ", +" ", +" ", +" ..... .... ... ", +" . . . . . . ", +" . . . . . ", +" ..... ..... . ", +" . . . . . ", +" . . . . . . ", +" . . .... ... ", +" ", +" .................. ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +}; + +/* --------------------------------------------------- */ + +const char *pipette_white_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 6 1", +/* colors */ +". c #000000", +" none", "a c #ffffff", +"r c #af8f8f", +"g c #8fff8f", +"b c #8f8fff", /* pixels */ " ", " ", @@ -1537,18 +1962,18 @@ const char *pipette_white_xpm[] = " ...... ", " ......... ", " ...... ", -" .aaa.. ", -" .aaaa.. ", -" .aaaa. . ", -" .aaaa. . ", -" .aaaa. ", -" .aaaa. ", -" .aaaa. ", -" .aaaa. ", -" .aaaa. ", -" .aaaa. ", -" .aaaa. ", -" .aaa. ", +" .abg.. ", +" .abgr.. ", +" .abgr. . ", +" .abgr. . ", +" .abgr. ", +" .abgr. ", +" .abgr. ", +" .abgr. ", +" .abgr. ", +" .abgr. ", +" .abgr. ", +" .bgr. ", " ... ", }; @@ -1557,12 +1982,15 @@ const char *pipette_white_xpm[] = const char *pipette_gray_xpm[] = { /* width height num_colors chars_per_pixel */ -" 20 20 4 1", +" 20 20 7 1", /* colors */ ". c #000000", " none", "a c #ffffff", "X c #808080", +"r c #af8f8f", +"g c #8fff8f", +"b c #8f8fff", /* pixels */ " ", " ", @@ -1571,9 +1999,9 @@ const char *pipette_gray_xpm[] = " ...... ", " ......... ", " ...... ", -" .aaa.. ", -" .aaaa.. ", -" .aaaa. . ", +" .abg.. ", +" .abgr.. ", +" .abgr. . ", " .XXXX. . ", " .XXXX. ", " .XXXX. ", @@ -1590,11 +2018,14 @@ const char *pipette_gray_xpm[] = const char *pipette_black_xpm[] = { /* width height num_colors chars_per_pixel */ -" 20 20 3 1", +" 20 20 6 1", /* colors */ ". c #000000", " none", "a c #ffffff", +"r c #af8f8f", +"g c #8fff8f", +"b c #8f8fff", /* pixels */ " ", " ", @@ -1603,9 +2034,9 @@ const char *pipette_black_xpm[] = " ...... ", " ......... ", " ...... ", -" .aaa.. ", -" .aaaa.. ", -" .aaaa. . ", +" .abg.. ", +" .abgr.. ", +" .abgr. . ", " ...... . ", " ...... ", " ...... ", @@ -1620,27 +2051,67 @@ const char *pipette_black_xpm[] = /* --------------------------------------------------- */ +const char *zoom_area_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 7 1", +/* colors */ +" none", +". c #000000", +"+ c #c0c0c0", +"a c #ffffff", +"r c #af8f8f", +"g c #8fff8f", +"b c #8f8fff", +/* pixels */ +" ", +" ", +" ..... ", +" .+aaaa. ", +" .++aaaag. ", +" .+++aabagr. ", +" .aaaaabbgr. ", +" .aabbbbbgr. ", +" .aaaabbgrr. ", +" .gggggrr. ", +" .rrrrr. ", +" ....... ", +" ... ", +" ... ", +" . . . . ... ", +" . . ... ", +" . . ... ", +" . . .. ", +" . . . . ", +" ", +}; + +/* --------------------------------------------------- */ + const char *zoom_in_xpm[] = { /* width height num_colors chars_per_pixel */ -" 20 20 4 1", +" 20 20 7 1", /* colors */ " none", ". c #000000", "+ c #c0c0c0", "a c #ffffff", +"r c #af8f8f", +"g c #8fff8f", +"b c #8f8fff", /* pixels */ " ", " ", " ..... ", " .+aaaa. ", -" .++aaaaa. ", -" .+++aaaaaa. ", -" .aaaaaaaaa. ", -" .aaaaaaaaa. ", -" .aaaaaaaaa. ", -" .aaaaaaa. ", -" .aaaaa. ", +" .++aaaag. ", +" .+++aabagr. ", +" .aaaaabbgr. ", +" .aabbbbbgr. ", +" .aaaabbgrr. ", +" .gggggrr. ", +" .rrrrr. ", " ....... ", " ... ", " . ... ", @@ -1657,24 +2128,27 @@ const char *zoom_in_xpm[] = const char *zoom_not_xpm[] = { /* width height num_colors chars_per_pixel */ -" 20 20 4 1", +" 20 20 7 1", /* colors */ " none", ". c #000000", "+ c #c0c0c0", "a c #ffffff", +"r c #af8f8f", +"g c #8fff8f", +"b c #8f8fff", /* pixels */ " ", " ", " .. ..... .. ", " ...+aaaa. .. ", -" ..+aaaaa. .. ", -" .+..aaaaaa. .. ", -" .aa..aaaaa... ", -" .aaa..aaaa.. ", -" .aaaa..aa.. ", -" .aaaa.... ", -" .aaaa.. ", +" ..+aaaag. .. ", +" .+..aabagr. .. ", +" .aa..abbgr... ", +" .aab..bbgr.. ", +" .aaaa..ag.. ", +" .gggg.... ", +" .rrrr.. ", " ....... ", " .. ... ", " .. ... ", @@ -1691,24 +2165,27 @@ const char *zoom_not_xpm[] = const char *zoom_undo_xpm[] = { /* width height num_colors chars_per_pixel */ -" 20 20 4 1", +" 20 20 7 1", /* colors */ " none", ". c #000000", "+ c #c0c0c0", "a c #ffffff", +"r c #af8f8f", +"g c #8fff8f", +"b c #8f8fff", /* pixels */ " ", " ", " ..... ", " .+aaaa. ", -" .++aaaaa. ", -" .+++aaaaaa. ", -" .aaaaaaaaa. ", -" .aaaaaaaaa. ", -" .aaaaaaaaa. ", -" .aaaaaaa. ", -" .aaaaa. ", +" .++aaaag. ", +" .+++aabagr. ", +" .aaaaabbgr. ", +" .aabbbbbgr. ", +" .aaaabbgrr. ", +" .gggggrr. ", +" .rrrrr. ", " ....... ", " ... ", " ", @@ -1725,24 +2202,27 @@ const char *zoom_undo_xpm[] = const char *zoom_out_xpm[] = { /* width height num_colors chars_per_pixel */ -" 20 20 4 1", +" 20 20 7 1", /* colors */ " none", ". c #000000", "+ c #c0c0c0", "a c #ffffff", +"r c #af8f8f", +"g c #8fff8f", +"b c #8f8fff", /* pixels */ " ", " ", " ..... ", " .+aaaa. ", -" .++aaaaa. ", -" .+++aaaaaa. ", -" .aaaaaaaaa. ", -" .aaaaaaaaa. ", -" .aaaaaaaaa. ", -" .aaaaaaa. ", -" .aaaaa. ", +" .++aaaag. ", +" .+++aabagr. ", +" .aaaaabbgr. ", +" .aabbbbbgr. ", +" .aaaabbgrr. ", +" .gggggrr. ", +" .rrrrr. ", " ....... ", " ... ", " ... ", @@ -1763,27 +2243,61 @@ const char *full_preview_area_xpm[] = /* colors */ " none", ". c #000000", -"+ c #c0c0c0", +"+ c #208020", +"a c #ffffff", +/* pixels */ +" ", +" ................. ", +" .+++++++++++++++. ", +" .+ . +. ", +" .+ ... +. ", +" .+ . . . +. ", +" .+ . +. ", +" .+ . +. ", +" .+ . . . +. ", +" .+ . . . +. ", +" .+.............+. ", +" .+ . . . +. ", +" .+ . . . +. ", +" .+ . +. ", +" .+ . . . +. ", +" .+ ... +. ", +" .+ . +. ", +" .+++++++++++++++. ", +" ................. ", +" ", +}; + +/* --------------------------------------------------- */ + +const char *auto_raise_preview_area_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +" none", +". c #000000", +"+ c #208020", "a c #ffffff", /* pixels */ " ", " ................. ", " . . ", -" . . . ", -" . ... . ", -" . . . . . ", -" . . . ", -" . . . ", -" . . . . . ", -" . . . . . ", -" . ............. . ", -" . . . . . ", -" . . . . . ", -" . . . ", -" . . . ", -" . . . . . ", -" . ... . ", -" . . . ", +" . . ", +" . +++++++++++ . ", +" . + . + . ", +" . + ... + . ", +" . + . + . ", +" . + . + . ", +" . + . . . + . ", +" . +.........+ . ", +" . + . . . + . ", +" . + . + . ", +" . + . + . ", +" . + ... + . ", +" . + . + . ", +" . +++++++++++ . ", +" . . ", " ................. ", " ", }; @@ -1797,7 +2311,7 @@ const char *auto_select_preview_area_xpm[] = /* colors */ " none", ". c #000000", -"+ c #c0c0c0", +"+ c #208020", "a c #ffffff", /* pixels */ " ", @@ -1806,14 +2320,14 @@ const char *auto_select_preview_area_xpm[] = " . . . . . ", " . ... . ", " . . . ", -" . ....... . ", -" . . . . ", -" . . . . . . ", -" . . . . . . ", -" ...... ...... ", -" . . . . . . ", -" . . . . . . ", -" . ....... . ", +" . +++++++ . ", +" . + + . ", +" . . + + . . ", +" . . + + . . ", +" .....+ +..... ", +" . . + + . . ", +" . . + + . . ", +" . +++++++ . ", " . . . ", " . ... . ", " . . . . . ", @@ -1837,16 +2351,16 @@ const char *delete_images_xpm[] = " ........ ", " .......... ", " ............ ", -" ... .. ... ", -" ... .. ... ", +" .. .. .. ", +" .. .. .. ", " .............. ", -" ..... ..... ", +" .... .... ", +" .... .... ", " .......... ", -" ........ ", -" ...... ", -" ...... ", -".. ...... ..", -".... .... ....", +" .......... ", +" .......... ", +".. ........ ..", +".... ...... ....", " ... ... ", " ... ... ", " .... ", @@ -1858,6 +2372,175 @@ const char *delete_images_xpm[] = /* --------------------------------------------------- */ +const char *size_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +" none", +". c #000000", +"+ c #c0c0c0", +"a c #ffffff", +/* pixels */ +" ", +" .................. ", +" . . ", +" . . . ", +" . . ", +" . . . ", +" . . ", +" . . . ", +" . . ", +" . . . . . . . . ", +" . . ", +" . . ", +" . . ", +" . . ", +" . . ", +" . . ", +" . . ", +" . . ", +" .................. ", +" ", +}; + +/* --------------------------------------------------- */ + +const char *size_x_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +" none", +". c #000000", +"+ c #8080f0", +"a c #ffffff", +/* pixels */ +" ", +" .................. ", +" . . ", +" . . ", +" . . ", +" . . ", +" . . ", +" . + + . ", +" . ++ ++ . ", +" .++++++++++++++++. ", +" .++++++++++++++++. ", +" . ++ ++ . ", +" . + + . ", +" . . ", +" . . ", +" . . ", +" . . ", +" . . ", +" .................. ", +" ", +}; +/* --------------------------------------------------- */ + +const char *size_y_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +" none", +". c #000000", +"+ c #8080f0", +"a c #ffffff", +/* pixels */ +" ", +" .................. ", +" . ++ . ", +" . ++++ . ", +" . ++++++ . ", +" . ++ . ", +" . ++ . ", +" . ++ . ", +" . ++ . ", +" . ++ . ", +" . ++ . ", +" . ++ . ", +" . ++ . ", +" . ++ . ", +" . ++ . ", +" . ++++++ . ", +" . ++++ . ", +" . ++ . ", +" .................. ", +" ", +}; + +/* --------------------------------------------------- */ + +const char *rotation_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +" none", +". c #000000", +"+ c #c0c0c0", +"a c #ffffff", +/* pixels */ +" ", +" .. ", +" .. ", +" .. ", +" .. ", +" .. ", +" ....... ", +" .. . ", +" .. . ", +" .. . ", +" .. . ", +" .. . ", +" .. . ", +" .. . ", +" .. . ", +" .. ..... ", +" .. ... ", +" ... . . . . . . . ", +" .. . . . . . . . . ", +" ", +}; + +/* --------------------------------------------------- */ + +const char *aspect_ratio_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +" none", +". c #000000", +"+ c #c0c0c0", +"a c #ffffff", +/* pixels */ +" ", +" ", +" ", +" ", +" ................. ", +" . . ", +" . . . ", +" . . . ", +" . . . ", +" . . . ", +" . . . ", +" . . . ", +" . . . ", +" ................. ", +" ", +" ", +" ", +" ", +" ", +" ", +}; + +/* --------------------------------------------------- */ + const char *printer_xpm[] = { /* width height num_colors chars_per_pixel */ @@ -2521,6 +3204,346 @@ const char *incomplete_xpm[] = /* --------------------------------------------------- */ +const char *paper_orientation_portrait_center_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +". c #00A000", +"+ c #000000", +"- c #ffffff", +" none", +/* pixels */ +" ++++++++++++ ", +" ++++++++++++ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +---....---+ ", +" +---....---+ ", +" +---....---+ ", +" +---....---+ ", +" +---....---+ ", +" +---....---+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" ++++++++++++ ", +" ", +}; + +/* --------------------------------------------------- */ + +const char *paper_orientation_portrait_top_left_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +". c #00A000", +"+ c #000000", +"- c #ffffff", +" none", +/* pixels */ +" ++++++++++++ ", +" ++++++++++++ ", +" +....------+ ", +" +....------+ ", +" +....------+ ", +" +....------+ ", +" +....------+ ", +" +....------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" ++++++++++++ ", +" ", +}; + +/* --------------------------------------------------- */ + +const char *paper_orientation_portrait_top_right_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +". c #00A000", +"+ c #000000", +"- c #ffffff", +" none", +/* pixels */ +" ++++++++++++ ", +" ++++++++++++ ", +" +------....+ ", +" +------....+ ", +" +------....+ ", +" +------....+ ", +" +------....+ ", +" +------....+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" ++++++++++++ ", +" ", +}; + +/* --------------------------------------------------- */ + +const char *paper_orientation_portrait_bottom_left_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +". c #00A000", +"+ c #000000", +"- c #ffffff", +" none", +/* pixels */ +" ++++++++++++ ", +" ++++++++++++ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +....------+ ", +" +....------+ ", +" +....------+ ", +" +....------+ ", +" +....------+ ", +" +....------+ ", +" ++++++++++++ ", +" ", +}; + +/* --------------------------------------------------- */ + +const char *paper_orientation_portrait_bottom_right_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +". c #00A000", +"+ c #000000", +"- c #ffffff", +" none", +/* pixels */ +" ++++++++++++ ", +" ++++++++++++ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +----------+ ", +" +------....+ ", +" +------....+ ", +" +------....+ ", +" +------....+ ", +" +------....+ ", +" +------....+ ", +" ++++++++++++ ", +" ", +}; + +/* --------------------------------------------------- */ + +const char *paper_orientation_landscape_center_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +". c #00A000", +"+ c #000000", +"- c #ffffff", +" none", +/* pixels */ +" ", +" ", +" ", +" ", +" +++++++++++++++++++", +" +----------------++", +" +----------------++", +" +----------------++", +" +----........----++", +" +----........----++", +" +----........----++", +" +----........----++", +" +----------------++", +" +----------------++", +" +----------------++", +" +++++++++++++++++++", +" ", +" ", +" ", +" ", +}; + +/* --------------------------------------------------- */ + +const char *paper_orientation_landscape_top_left_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +". c #00A000", +"+ c #000000", +"- c #ffffff", +" none", +/* pixels */ +" ", +" ", +" ", +" ", +" +++++++++++++++++++", +" +........--------++", +" +........--------++", +" +........--------++", +" +........--------++", +" +----------------++", +" +----------------++", +" +----------------++", +" +----------------++", +" +----------------++", +" +----------------++", +" +++++++++++++++++++", +" ", +" ", +" ", +" ", +}; + +/* --------------------------------------------------- */ + +const char *paper_orientation_landscape_top_right_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +". c #00A000", +"+ c #000000", +"- c #ffffff", +" none", +/* pixels */ +" ", +" ", +" ", +" ", +" +++++++++++++++++++", +" +--------........++", +" +--------........++", +" +--------........++", +" +--------........++", +" +----------------++", +" +----------------++", +" +----------------++", +" +----------------++", +" +----------------++", +" +----------------++", +" +++++++++++++++++++", +" ", +" ", +" ", +" ", +}; + +/* --------------------------------------------------- */ + +const char *paper_orientation_landscape_bottom_left_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +". c #00A000", +"+ c #000000", +"- c #ffffff", +" none", +/* pixels */ +" ", +" ", +" ", +" ", +" +++++++++++++++++++", +" +----------------++", +" +----------------++", +" +----------------++", +" +----------------++", +" +----------------++", +" +----------------++", +" +........--------++", +" +........--------++", +" +........--------++", +" +........--------++", +" +++++++++++++++++++", +" ", +" ", +" ", +" ", +}; + +/* --------------------------------------------------- */ + +const char *paper_orientation_landscape_bottom_right_xpm[] = +{ +/* width height num_colors chars_per_pixel */ +" 20 20 4 1", +/* colors */ +". c #00A000", +"+ c #000000", +"- c #ffffff", +" none", +/* pixels */ +" ", +" ", +" ", +" ", +" +++++++++++++++++++", +" +----------------++", +" +----------------++", +" +----------------++", +" +----------------++", +" +----------------++", +" +----------------++", +" +--------........++", +" +--------........++", +" +--------........++", +" +--------........++", +" +++++++++++++++++++", +" ", +" ", +" ", +" ", +}; + +/* --------------------------------------------------- */ + const unsigned char cursor_pipette_white[] = { 0x00, 0x70, 0x00, 0xf8, 0x80, 0xff, 0x00, 0xfe, 0x00, 0x7d, 0x80, 0x38, @@ -2556,3 +3579,39 @@ const unsigned char cursor_pipette_mask[] = }; /* --------------------------------------------------- */ + +const unsigned char cursor_autoraise_scanarea[] = +{ + 0xaa, 0x2a, 0xc1, 0x41, 0xe0, 0x03, 0x81, 0x40, 0x80, 0x00, 0x85, 0x50, + 0x86, 0x30, 0x7f, 0x7f, 0x86, 0x30, 0x85, 0x50, 0x80, 0x00, 0x81, 0x40, + 0xe0, 0x03, 0xc1, 0x41, 0xaa, 0x2a, 0x00, 0x00 +}; + +/* --------------------------------------------------- */ + +const unsigned char cursor_autoraise_scanarea_mask[] = +{ + 0xea, 0x2b, 0xe1, 0x43, 0xf0, 0x07, 0xc1, 0x41, 0xc4, 0x11, 0xc7, 0x71, + 0xff, 0x7f, 0x7f, 0x7f, 0xff, 0x7f, 0xc7, 0x71, 0xc4, 0x11, 0xc1, 0x41, + 0xf0, 0x07, 0xe1, 0x43, 0xea, 0x2b, 0x00, 0x00 +}; + +/* --------------------------------------------------- */ + +const unsigned char cursor_zoom[] = +{ + 0x00, 0x00, 0xf0, 0x01, 0x08, 0x02, 0x44, 0x04, 0x42, 0x08, 0x42, 0x08, + 0xba, 0x0b, 0x42, 0x08, 0x42, 0x08, 0x44, 0x04, 0x08, 0x06, 0xf0, 0x0f, + 0x00, 0x1c, 0x00, 0x38, 0x00, 0x70, 0x00, 0xe0 +}; + +/* --------------------------------------------------- */ + +const unsigned char cursor_zoom_mask[] = +{ + 0xf0, 0x01, 0xf8, 0x03, 0x0c, 0x06, 0x46, 0x0c, 0x53, 0x19, 0xe3, 0x18, + 0xbb, 0x1b, 0xe3, 0x18, 0x53, 0x19, 0x46, 0x0c, 0x0c, 0x0e, 0xf8, 0x1f, + 0xf0, 0x3f, 0x00, 0x7c, 0x00, 0xf8, 0x00, 0xf0 +}; + +/* --------------------------------------------------- */ diff --git a/src/xsane-icons.h b/src/xsane-icons.h index c4d2ec7..900ad17 100644 --- a/src/xsane-icons.h +++ b/src/xsane-icons.h @@ -3,7 +3,7 @@ xsane-icons.h Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -29,16 +29,29 @@ #define CURSOR_PIPETTE_HEIGHT 16 #define CURSOR_PIPETTE_HOT_X 1 #define CURSOR_PIPETTE_HOT_Y 14 +#define CURSOR_AUTORAISE_SCANAREA_WIDTH 16 +#define CURSOR_AUTORAISE_SCANAREA_HEIGHT 16 +#define CURSOR_AUTORAISE_SCANAREA_HOT_X 7 +#define CURSOR_AUTORAISE_SCANAREA_HOT_Y 7 +#define CURSOR_ZOOM_WIDTH 16 +#define CURSOR_ZOOM_HEIGHT 16 +#define CURSOR_ZOOM_HOT_X 6 +#define CURSOR_ZOOM_HOT_Y 6 extern const char *xsane_window_icon_xpm[]; extern const char *error_xpm[]; extern const char *warning_xpm[]; extern const char *info_xpm[]; +extern const char *device_xpm[]; +extern const char *no_device_xpm[]; extern const char *file_xpm[]; +extern const char *load_xpm[]; +extern const char *save_xpm[]; extern const char *ocr_xpm[]; extern const char *scale_xpm[]; extern const char *despeckle_xpm[]; extern const char *blur_xpm[]; +extern const char *undo_xpm[]; extern const char *clone_xpm[]; extern const char *rotate90_xpm[]; extern const char *rotate180_xpm[]; @@ -52,6 +65,7 @@ extern const char *mailreceiver_xpm[]; extern const char *subject_xpm[]; extern const char *colormode_xpm[]; extern const char *medium_xpm[]; +extern const char *medium_edit_xpm[]; extern const char *medium_delete_xpm[]; extern const char *Gamma_xpm[]; extern const char *Gamma_red_xpm[]; @@ -72,16 +86,28 @@ extern const char *enhance_xpm[]; extern const char *store_enhancement_xpm[]; extern const char *restore_enhancement_xpm[]; extern const char *default_enhancement_xpm[]; +extern const char *add_batch_xpm[]; +extern const char *del_batch_xpm[]; +extern const char *empty_batch_xpm[]; +extern const char *ascii_xpm[]; + extern const char *pipette_white_xpm[]; extern const char *pipette_gray_xpm[]; extern const char *pipette_black_xpm[]; extern const char *zoom_not_xpm[]; extern const char *zoom_out_xpm[]; extern const char *zoom_in_xpm[]; +extern const char *zoom_area_xpm[]; extern const char *zoom_undo_xpm[]; extern const char *full_preview_area_xpm[]; extern const char *auto_select_preview_area_xpm[]; +extern const char *auto_raise_preview_area_xpm[]; extern const char *delete_images_xpm[]; +extern const char *size_xpm[]; +extern const char *size_x_xpm[]; +extern const char *size_y_xpm[]; +extern const char *rotation_xpm[]; +extern const char *aspect_ratio_xpm[]; extern const char *printer_xpm[]; extern const char *zoom_xpm[]; extern const char *zoom_x_xpm[]; @@ -102,9 +128,22 @@ extern const char *scanning_xpm[]; extern const char *invalid_xpm[]; extern const char *valid_xpm[]; extern const char *incomplete_xpm[]; +extern const char *paper_orientation_portrait_center_xpm[]; +extern const char *paper_orientation_portrait_top_left_xpm[]; +extern const char *paper_orientation_portrait_top_right_xpm[]; +extern const char *paper_orientation_portrait_bottom_left_xpm[]; +extern const char *paper_orientation_portrait_bottom_right_xpm[]; +extern const char *paper_orientation_landscape_center_xpm[]; +extern const char *paper_orientation_landscape_top_left_xpm[]; +extern const char *paper_orientation_landscape_top_right_xpm[]; +extern const char *paper_orientation_landscape_bottom_left_xpm[]; +extern const char *paper_orientation_landscape_bottom_right_xpm[]; extern const char cursor_pipette_white[]; extern const char cursor_pipette_gray[]; extern const char cursor_pipette_black[]; extern const char cursor_pipette_mask[]; - +extern const char cursor_autoraise_scanarea[]; +extern const char cursor_autoraise_scanarea_mask[]; +extern const char cursor_zoom[]; +extern const char cursor_zoom_mask[]; #endif diff --git a/src/xsane-license.txt b/src/xsane-license.txt deleted file mode 100644 index b5ab307..0000000 --- a/src/xsane-license.txt +++ /dev/null @@ -1,108 +0,0 @@ - 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: - -2a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. - -2b) 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. - -2c) 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: - -3a) 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, - -3b) 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, - -3c) 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 diff --git a/src/xsane-preferences.c b/src/xsane-preferences.c index 4ceec06..83da4e5 100644 --- a/src/xsane-preferences.c +++ b/src/xsane-preferences.c @@ -3,7 +3,7 @@ xsane-preferences.c Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -51,7 +51,9 @@ Preferences preferences = { 0, /* xsane-version string */ 0, /* default path to temporary directory (not defined here) */ + 0, /* default working_directory */ 0, /* no default filename */ + 0, /* no default filetype */ 0137, /* image umask (permission mask for -rw-r------) */ 0027, /* directory umask (permission mask for -rwxr-x----) */ 0, /* no fax project */ @@ -65,6 +67,8 @@ Preferences preferences = 296.98, /* fax_height: height of fax paper in mm */ 0.0, /* fax_leftoffset */ 0.0, /* fax_bottomoffset */ + 1, /* fax_fine_mode */ +#ifdef XSANE_ACTIVATE_MAIL 0, /* no default from email address */ 0, /* no default reply to email address */ 0, /* no default smtp server */ @@ -76,9 +80,14 @@ Preferences preferences = 0, /* no default pop3 passsword */ 0, /* no mail project */ 0, /* no mail viewer */ + 0, /* no mail filetype */ +#endif 0, /* no default ocrcommand */ 0, /* no default ocr input file option */ 0, /* no default ocr output file option */ + 0, /* do not use progress pipe */ + 0, /* no option for progress pipe filedeskriptor */ + 0, /* no progress keyword */ 0, /* no doc viewer */ 80.0, /* jpeg_quality */ 7.0, /* png_compression */ @@ -88,15 +97,18 @@ Preferences preferences = 1, /* save_devprefs_at_exit */ 1, /* overwrite_warning */ 1, /* skip_existing_numbers */ + 0, /* save_pnm16_as_ascii */ 0, /* reduce_16bit_to_8bit */ 1, /* filename_counter_step */ 4, /* filename_counter_len */ + 6, /* show_range_mode */ 1, /* tooltips enabled */ - 1, /* (dont) show histogram */ - 1, /* (dont) show gamma */ - 1, /* (dont) show standard options */ - 0, /* (dont) show advanced options */ - 0, /* (dont) show resolution list */ + 1, /* show histogram */ + 1, /* show gamma */ + 0, /* don't show batch scan */ + 1, /* show standard options */ + 0, /* don`t show advanced options */ + 0, /* don`t show resolution list */ 10.0, /* length unit */ 1, /* main window fixed (1) or scrolled (0) */ 0, /* preview_own_cmap */ @@ -126,7 +138,7 @@ Preferences preferences = 1, /* preselect_scanarea after preview scan */ 1, /* auto_correct_colors after preview scan */ GTK_UPDATE_DISCONTINUOUS, /* update policy for gtk frontend sliders */ - 0, /* psrotate: rotate in postscript mode (landscape) */ + 0, /* paper_orientation */ 0, /* preset_area_definitions */ 0, /* printernr */ 0 /* printerdefinitions */ @@ -144,7 +156,9 @@ desc[] = { {"xsane-version", xsane_rc_pref_string, POFFSET(xsane_version_str)}, {"tmp-path", xsane_rc_pref_string, POFFSET(tmp_path)}, + {"working-directory", xsane_rc_pref_string, POFFSET(working_directory)}, {"filename", xsane_rc_pref_string, POFFSET(filename)}, + {"filetype", xsane_rc_pref_string, POFFSET(filetype)}, {"image-umask", xsane_rc_pref_int, POFFSET(image_umask)}, {"directory-umask", xsane_rc_pref_int, POFFSET(directory_umask)}, {"fax-project", xsane_rc_pref_string, POFFSET(fax_project)}, @@ -158,6 +172,8 @@ desc[] = {"fax-height", xsane_rc_pref_double, POFFSET(fax_height)}, {"fax-left-offset", xsane_rc_pref_double, POFFSET(fax_leftoffset)}, {"fax-bottom-offset", xsane_rc_pref_double, POFFSET(fax_bottomoffset)}, + {"fax-fine-mode", xsane_rc_pref_int, POFFSET(fax_fine_mode)}, +#ifdef XSANE_ACTIVATE_MAIL {"mail-from", xsane_rc_pref_string, POFFSET(mail_from)}, {"mail-reply-to", xsane_rc_pref_string, POFFSET(mail_reply_to)}, {"mail-smtp-server", xsane_rc_pref_string, POFFSET(mail_smtp_server)}, @@ -168,11 +184,16 @@ desc[] = {"mail-pop3-user", xsane_rc_pref_string, POFFSET(mail_pop3_user)}, {"mail-pop3-pass", xsane_rc_pref_string, POFFSET(mail_pop3_pass)}, {"mail-project", xsane_rc_pref_string, POFFSET(mail_project)}, - {"mail-viewert", xsane_rc_pref_string, POFFSET(mail_viewer)}, + {"mail-viewer", xsane_rc_pref_string, POFFSET(mail_viewer)}, + {"mail-filetype", xsane_rc_pref_string, POFFSET(mail_filetype)}, +#endif {"ocr-command", xsane_rc_pref_string, POFFSET(ocr_command)}, {"ocr-inputfile-option", xsane_rc_pref_string, POFFSET(ocr_inputfile_option)}, {"ocr-outputfile-options", xsane_rc_pref_string, POFFSET(ocr_outputfile_option)}, - {"doc-viewer", xsane_rc_pref_string, POFFSET(doc_viewer)}, + {"ocr-use-gui-pipe", xsane_rc_pref_int, POFFSET(ocr_use_gui_pipe)}, + {"ocr-gui-outfd-option", xsane_rc_pref_string, POFFSET(ocr_gui_outfd_option)}, + {"ocr-progress-keyword", xsane_rc_pref_string, POFFSET(ocr_progress_keyword)}, + {"browser", xsane_rc_pref_string, POFFSET(browser)}, {"jpeg-quality", xsane_rc_pref_double, POFFSET(jpeg_quality)}, {"png-compression", xsane_rc_pref_double, POFFSET(png_compression)}, {"tiff-compression16_nr", xsane_rc_pref_int, POFFSET(tiff_compression16_nr)}, @@ -181,12 +202,15 @@ desc[] = {"save-devprefs-at-exit", xsane_rc_pref_int, POFFSET(save_devprefs_at_exit)}, {"overwrite-warning", xsane_rc_pref_int, POFFSET(overwrite_warning)}, {"skip-existing-numbers", xsane_rc_pref_int, POFFSET(skip_existing_numbers)}, + {"save-pnm16-as-ascii", xsane_rc_pref_int, POFFSET( save_pnm16_as_ascii)}, {"reduce-16bit-to8bit", xsane_rc_pref_int, POFFSET(reduce_16bit_to_8bit)}, {"filename-counter-step", xsane_rc_pref_int, POFFSET(filename_counter_step)}, {"filename-counter-len", xsane_rc_pref_int, POFFSET(filename_counter_len)}, + {"show-range-mode", xsane_rc_pref_int, POFFSET(show_range_mode)}, {"tool-tips", xsane_rc_pref_int, POFFSET(tooltips_enabled)}, {"show-histogram", xsane_rc_pref_int, POFFSET(show_histogram)}, {"show-gamma", xsane_rc_pref_int, POFFSET(show_gamma)}, + {"show-batch-scan", xsane_rc_pref_int, POFFSET(show_batch_scan)}, {"show-standard-options", xsane_rc_pref_int, POFFSET(show_standard_options)}, {"show-advanced-options", xsane_rc_pref_int, POFFSET(show_advanced_options)}, {"show-resolution-list", xsane_rc_pref_int, POFFSET(show_resolution_list)}, @@ -219,9 +243,8 @@ desc[] = {"preselect-scanarea", xsane_rc_pref_int, POFFSET(preselect_scanarea)}, {"auto-correct-colors", xsane_rc_pref_int, POFFSET(auto_correct_colors)}, {"gtk-update-policy", xsane_rc_pref_int, POFFSET(gtk_update_policy)}, - {"postscript-rotate", xsane_rc_pref_int, POFFSET(psrotate)}, + {"paper-orientation", xsane_rc_pref_int, POFFSET(paper_orientation)}, {"preset-area-definitions", xsane_rc_pref_int, POFFSET(preset_area_definitions)}, - {"medium-definitions", xsane_rc_pref_int, POFFSET(medium_definitions)}, {"printernr", xsane_rc_pref_int, POFFSET(printernr)}, {"printerdefinitions", xsane_rc_pref_int, POFFSET(printerdefinitions)} }; @@ -347,23 +370,6 @@ void preferences_save(int fd) n++; } - /* save mediums */ - - n=0; - - while (n < preferences.medium_definitions) - { - DBG(DBG_info2, "saving preferences medium definition %s\n", preferences.medium[n]->name); - for (i = 0; i < NELEMS(desc_medium); ++i) - { - xsane_rc_io_w_string(&w, &desc_medium[i].name); - (*desc_medium[i].codec) (&w, preferences.medium[n], desc_medium[i].offset); - } - n++; - } - - - xsane_rc_io_w_set_dir(&w, WIRE_DECODE); /* flush it out */ xsane_rc_io_w_exit(&w); } @@ -390,28 +396,43 @@ void preferences_restore(int fd) if (w.status) { xsane_rc_io_w_exit(&w); + preferences.printerdefinitions = 0; + preferences.preset_area_definitions = 0; return; } xsane_rc_io_w_string(&w, &name); - if (w.status || !name) + if (w.status == EINVAL) /* not a string */ + { + w.status = 0; + xsane_rc_io_w_skip_newline(&w); /* skip this line */ + } + else if (w.status || !name) /* other error */ { xsane_rc_io_w_exit(&w); return; } - - for (i = 0; i < NELEMS (desc); ++i) + else /* identifier read */ { - if (strcmp(name, desc[i].name) == 0) + for (i = 0; i < NELEMS(desc); ++i) + { + if (strcmp(name, desc[i].name) == 0) + { + DBG(DBG_info2, "reading preferences value for %s\n", desc[i].name); + (*desc[i].codec) (&w, &preferences, desc[i].offset); + break; + } + } + + if (!strcmp(name, "printerdefinitions")) { - DBG(DBG_info2, "reading preferences value for %s\n", desc[i].name); - (*desc[i].codec) (&w, &preferences, desc[i].offset); break; } - } - if (!strcmp(name, "printerdefinitions")) - { - break; + else if (i == NELEMS(desc)) + { + DBG(DBG_info2, "preferences identifier %s unknown\n", name); + xsane_rc_io_w_skip_newline(&w); /* skip this line */ + } } } @@ -494,8 +515,94 @@ void preferences_restore(int fd) } } + xsane_rc_io_w_exit(&w); +} + +/* --------------------------------------------------------------------- */ +/* --------------------------------------------------------------------- */ + +void preferences_save_media(int fd) +{ + Wire w; + int i, n; + char *medium_defs="MEDIUM_DEFINITIONS"; + + DBG(DBG_proc, "preferences_save_media\n"); + + w.io.fd = fd; + w.io.read = read; + w.io.write = write; + xsane_rc_io_w_init(&w); + xsane_rc_io_w_set_dir(&w, WIRE_ENCODE); + + xsane_rc_io_w_string(&w, &medium_defs); + xsane_rc_io_w_word(&w, &preferences.medium_definitions); + + /* save media */ + + n=0; + + DBG(DBG_info, "saving %d medium definitions\n", preferences.medium_definitions); + + while (n < preferences.medium_definitions) + { + DBG(DBG_info2, "=> saving medium definition %s\n", preferences.medium[n]->name); + for (i = 0; i < NELEMS(desc_medium); ++i) + { + xsane_rc_io_w_string(&w, &desc_medium[i].name); + (*desc_medium[i].codec) (&w, preferences.medium[n], desc_medium[i].offset); + } + n++; + } + + xsane_rc_io_w_set_dir(&w, WIRE_DECODE); /* flush it out */ + xsane_rc_io_w_exit(&w); +} + +/* --------------------------------------------------------------------- */ + +void preferences_restore_media(int fd) +{ + SANE_String name; + Wire w; + int i, n; + + DBG(DBG_proc, "preferences_restore_media\n"); + + w.io.fd = fd; + w.io.read = read; + w.io.write = write; + xsane_rc_io_w_init(&w); + xsane_rc_io_w_set_dir(&w, WIRE_DECODE); + + preferences.medium_definitions = 0; + + xsane_rc_io_w_space(&w, 3); + if (w.status) + { + xsane_rc_io_w_exit(&w); + return; + } + + xsane_rc_io_w_string(&w, &name); + if (w.status || !name) + { + xsane_rc_io_w_exit(&w); + return; + } + + if (strcmp(name, "MEDIUM_DEFINITIONS")) /* falsche Datei */ + { + DBG(DBG_info, "no medium definitions in file\n"); + xsane_rc_io_w_exit(&w); + return; + } + + xsane_rc_io_w_word(&w, &preferences.medium_definitions); + if (preferences.medium_definitions) { + DBG(DBG_info, "reading %d medium definition\n", preferences.medium_definitions); preferences.medium = calloc(preferences.medium_definitions, sizeof(void *)); n=0; @@ -527,10 +634,12 @@ void preferences_restore(int fd) break; } } - DBG(DBG_info2, "preferences medium definition %s read\n", preferences.medium[n]->name); + DBG(DBG_info2, "=> medium definition %s read\n", preferences.medium[n]->name); n++; } } xsane_rc_io_w_exit(&w); } + +/* --------------------------------------------------------------------- */ diff --git a/src/xsane-preferences.h b/src/xsane-preferences.h index a6686b5..e0b90c0 100644 --- a/src/xsane-preferences.h +++ b/src/xsane-preferences.h @@ -3,7 +3,7 @@ xsane-preferences.h Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -88,7 +88,9 @@ typedef struct { char *xsane_version_str; /* xsane-version string */ char *tmp_path; /* path to temporary directory */ + char *working_directory; /* directory where xsane saves images etc */ char *filename; /* default filename */ + char *filetype; /* default filetype */ int image_umask; /* image umask (permisson mask) */ int directory_umask; /* directory umask (permisson mask) */ @@ -103,7 +105,9 @@ typedef struct double fax_height; /* height of fax paper in mm */ double fax_leftoffset; /* left offset of fax paper in mm */ double fax_bottomoffset; /* bottom offset of fax paper in mm */ + int fax_fine_mode; /* use fine or normal mode */ +#ifdef XSANE_ACTIVATE_MAIL char *mail_from; /* email address of sender */ char *mail_reply_to; /* email address for replied emails */ char *mail_smtp_server; /* ip address or domain name of smtp server */ @@ -115,12 +119,17 @@ typedef struct char *mail_pop3_pass; /* password for pop3 server */ char *mail_project; /* mail project */ char *mail_viewer; /* mail viewer */ + char *mail_filetype; /* mail filetype */ +#endif char *ocr_command; /* ocrcommand */ char *ocr_inputfile_option; /* option for input file */ char *ocr_outputfile_option; /* option for output file */ + int ocr_use_gui_pipe; /* use progress pipe */ + char *ocr_gui_outfd_option; /* option for progress pipe filedeskriptor */ + char *ocr_progress_keyword; /* keyword for progress value in gui pipe */ - char *doc_viewer; /* doc viewer for helpfiles */ + char *browser; /* doc viewer for helpfiles */ double jpeg_quality; /* quality when saving image as jpeg */ double png_compression; /* compression when saving image as pnm */ @@ -130,13 +139,16 @@ typedef struct int save_devprefs_at_exit; /* save device preferences at exit */ int overwrite_warning; /* warn if file exists */ int skip_existing_numbers; /* skip used filenames when automatically increase counter */ + int save_pnm16_as_ascii; /* selection if pnm 16 bit is saved as ascii or binary file */ int reduce_16bit_to_8bit; /* reduce images with 16 bits/color to 8 bits/color */ int filename_counter_step; /* filename_counter += filename_counter_step; */ int filename_counter_len; /* minimum length of filename_counter */ + int show_range_mode; /* how to show a range */ int tooltips_enabled; /* should tooltips be disabled? */ int show_histogram; /* show histogram ? */ int show_gamma; /* show gamma curve ? */ + int show_batch_scan; /* show batch scan dialog ? */ int show_standard_options; /* show standard options ? */ int show_advanced_options; /* show advanced options ? */ int show_resolution_list; /* show resolution list instead of slider ? */ @@ -171,7 +183,7 @@ typedef struct int auto_correct_colors; /* automatic color correction after preview scan */ int gtk_update_policy; - int psrotate; /* rotate by 90 degree in postscript mode - landscape */ + int paper_orientation; /* image position on printer and page orientation */ int printernr; /* number of printers */ int printerdefinitions; Preferences_printer_t **printer; @@ -187,4 +199,7 @@ extern Preferences preferences; extern void preferences_save (int fd); extern void preferences_restore (int fd); +extern void preferences_save_media (int fd); +extern void preferences_restore_media (int fd); + #endif /* preferences_h */ diff --git a/src/xsane-preview.c b/src/xsane-preview.c index da81e3f..879bc99 100644 --- a/src/xsane-preview.c +++ b/src/xsane-preview.c @@ -3,7 +3,7 @@ xsane-preview.c Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -76,6 +76,7 @@ /* #include */ #include "xsane-back-gtk.h" #include "xsane-front-gtk.h" +#include "xsane-batch-scan.h" #include "xsane-preview.h" #include "xsane-preferences.h" #include "xsane-gamma.h" @@ -102,6 +103,11 @@ /* ---------------------------------------------------------------------------------------------------------------------- */ +#define XSANE_ZOOM_SIZE 80 +#define XSANE_ZOOM_FACTOR 4 + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static u_char *preview_gamma_data_red = 0; static u_char *preview_gamma_data_green = 0; static u_char *preview_gamma_data_blue = 0; @@ -117,6 +123,8 @@ static u_char *histogram_medium_gamma_data_blue = 0; static int preview_gamma_input_bits; +static char *ratio_string[] = { "free", " 2:1", "16:9", "15:10", " 4:3", " 1:1", " 3:4", " 9:16", "10:15", " 1:2"}; +static float ratio_value[] = { 0.0, 2.0, 16.0/9.0, 15.0/10.0, 4.0/3.0, 1.0, 0.75, 0.5625, 10.0/15.0, 0.5 }; /* ---------------------------------------------------------------------------------------------------------------------- */ /* forward declarations */ @@ -161,14 +169,18 @@ static void preview_cancel_button_clicked(GtkWidget *widget, gpointer data); static void preview_area_correct(Preview *p); static void preview_save_image(Preview *p); static void preview_delete_images(Preview *p); +static void preview_select_zoom_point(Preview *p, int preview_x, int preview_y); static void preview_zoom_not(GtkWidget *window, gpointer data); static void preview_zoom_out(GtkWidget *window, gpointer data); static void preview_zoom_in(GtkWidget *window, gpointer data); +static void preview_zoom_area(GtkWidget *window, gpointer data); static void preview_zoom_undo(GtkWidget *window, gpointer data); static void preview_get_color(Preview *p, int x, int y, int range, int *red, int *green, int *blue); +static void preview_add_batch(GtkWidget *window, Preview *p); static void preview_pipette_white(GtkWidget *window, gpointer data); static void preview_pipette_gray(GtkWidget *window, gpointer data); static void preview_pipette_black(GtkWidget *window, gpointer data); +static void preview_init_autoraise_scanarea(GtkWidget *window, gpointer data); void preview_select_full_preview_area(Preview *p); static void preview_full_preview_area_callback(GtkWidget *widget, gpointer call_data); static void preview_delete_images_callback(GtkWidget *widget, gpointer call_data); @@ -178,8 +190,10 @@ static gint preview_preset_area_delete_callback(GtkWidget *widget, GtkWidget *pr static gint preview_preset_area_move_up_callback(GtkWidget *widget, GtkWidget *preset_area_widget); static gint preview_preset_area_move_down_callback(GtkWidget *widget, GtkWidget *preset_area_widget); static gint preview_preset_area_context_menu_callback(GtkWidget *widget, GdkEvent *event); -static void preview_preset_area_callback(GtkWidget *widget, gpointer call_data); -static void preview_rotation_callback(GtkWidget *widget, gpointer call_data); +static void preview_preset_area_callback(GtkWidget *widget, gpointer data); +static void preview_rotation_callback(GtkWidget *widget, gpointer data); +static void preview_establish_ratio(Preview *p); +static void preview_ratio_callback(GtkWidget *widget, gpointer data); static void preview_autoselect_scanarea_callback(GtkWidget *window, gpointer data); void preview_do_gamma_correction(Preview *p); @@ -192,7 +206,8 @@ void preview_gamma_correction(Preview *p, int gamma_input_bits, void preview_area_resize(Preview *p); gint preview_area_resize_handler(GtkWidget *widget, GdkEvent *event, gpointer data); void preview_update_maximum_output_size(Preview *p); -void preview_set_maximum_output_size(Preview *p, float width, float height); +void preview_set_maximum_output_size(Preview *p, float width, float height, int paper_orientation); +void preview_autoraise_scanarea(Preview *p, int preview_x, int preview_y, float *autoselect_coord); void preview_autoselect_scanarea(Preview *p, float *autoselect_coord); void preview_display_valid(Preview *p); @@ -574,16 +589,17 @@ static void preview_bound_selection(Preview *p) if (p->selection.active) { -#if 0 +#if 1 xsane_bound_float(&p->selection.coordinate[0], p->scanner_surface[0], p->scanner_surface[2]); xsane_bound_float(&p->selection.coordinate[2], p->scanner_surface[0], p->scanner_surface[2]); xsane_bound_float(&p->selection.coordinate[1], p->scanner_surface[1], p->scanner_surface[3]); xsane_bound_float(&p->selection.coordinate[3], p->scanner_surface[1], p->scanner_surface[3]); -#endif +#else xsane_bound_float(&p->selection.coordinate[0], p->surface[0], p->surface[2]); xsane_bound_float(&p->selection.coordinate[2], p->surface[0], p->surface[2]); xsane_bound_float(&p->selection.coordinate[1], p->surface[1], p->surface[3]); xsane_bound_float(&p->selection.coordinate[3], p->surface[1], p->surface[3]); +#endif } } @@ -1304,7 +1320,14 @@ static void preview_restore_option(Preview *p, int option, void *saved_value, in { char buf[256]; opt = xsane_get_option_descriptor(dev, option); - snprintf(buf, sizeof(buf), "%s %s: %s.", ERR_SET_OPTION, opt->name, XSANE_STRSTATUS(status)); + if (opt && opt->name) + { + snprintf(buf, sizeof(buf), "%s %s: %s.", ERR_SET_OPTION, opt->name, XSANE_STRSTATUS(status)); + } + else + { + snprintf(buf, sizeof(buf), "%s %d: %s.", ERR_SET_OPTION, option, XSANE_STRSTATUS(status)); + } xsane_back_gtk_error(buf, TRUE); } } @@ -1413,8 +1436,8 @@ static int preview_increment_image_y(Preview *p) if ( (!p->image_data_enh) || (!p->image_data_raw) ) { - preview_scan_done(p, 0); snprintf(buf, sizeof(buf), "%s %s.", ERR_FAILED_ALLOCATE_IMAGE, strerror(errno)); + preview_scan_done(p, 0); xsane_back_gtk_error(buf, TRUE); return -1; } @@ -1435,8 +1458,6 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio SANE_Handle dev; SANE_Int len; int i, j; - int offset = 0; - char last = 0; DBG(DBG_proc, "preview_read_image_data\n"); @@ -1449,11 +1470,12 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio } else if (p->params.depth == 16) { - if (offset) + if (p->read_offset_16) { - buf16[0] = last; /* ATTENTION: that is wrong! */ - /* use sizeof(buf) here because sizeof(buf16) returns the size of a pointer */ - status = sane_read(dev, ((SANE_Byte *) buf16) + 1, sizeof(buf) - 1, &len); + buf[0] = p->last_offset_16_byte; + /* use buf and sizeof(buf) here because sizeof(buf16) returns the size of a pointer */ + status = sane_read(dev, buf+1, sizeof(buf) - 1, &len); + len++; } else { @@ -1463,18 +1485,18 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio if (len % 2) /* odd number of bytes */ { len--; - last = buf16[len]; - offset = 1; + p->last_offset_16_byte = buf16[len]; + p->read_offset_16 = 1; } else /* even number of bytes */ { - offset = 0; + p->read_offset_16 = 0; } } else /* bad bitdepth */ { - preview_scan_done(p, 0); snprintf(buf, sizeof(buf), "%s %d.", ERR_PREVIEW_BAD_DEPTH, p->params.depth); + preview_scan_done(p, 0); xsane_back_gtk_error(buf, TRUE); return; } @@ -1526,7 +1548,19 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio if (!len) { - break; /* out of data for now */ + if (p->input_tag >= 0) /* we have a selecet fd */ + { + break; /* leave preview_read_image_data, will be called by gdk when select_fd event occurs */ + } + else + { + while (gtk_events_pending()) + { + DBG(DBG_info, "preview_read_image_data: calling gtk_main_iteration\n"); + gtk_main_iteration(); + } + continue; /* we have to keep this loop running because it will never be called again */ + } } switch (p->params.format) @@ -1581,8 +1615,8 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio break; default: - preview_scan_done(p, 0); snprintf(buf, sizeof(buf), "%s %d.", ERR_PREVIEW_BAD_DEPTH, p->params.depth); + preview_scan_done(p, 0); xsane_back_gtk_error(buf, TRUE); return; } @@ -1678,8 +1712,8 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio break; default: - preview_scan_done(p, 0); snprintf(buf, sizeof(buf), "%s %d.", ERR_PREVIEW_BAD_DEPTH, p->params.depth); + preview_scan_done(p, 0); xsane_back_gtk_error(buf, TRUE); return; } @@ -1705,8 +1739,8 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio u_char gl = (mask & 1) ? 0xff : 0x00; mask >>= 1; - p->image_data_raw[p->image_offset] = gl * 256; - p->image_data_enh[p->image_offset++] = gl; + p->image_data_raw[p->image_offset] = gl * 256; + p->image_data_enh[p->image_offset] = gl; p->image_offset += 3; if (++p->image_x >= p->image_width && preview_increment_image_y(p) < 0) @@ -1756,16 +1790,16 @@ static void preview_read_image_data(gpointer data, gint source, GdkInputConditio break; default: - preview_scan_done(p, 0); snprintf(buf, sizeof(buf), "%s %d.", ERR_PREVIEW_BAD_DEPTH, p->params.depth); + preview_scan_done(p, 0); xsane_back_gtk_error(buf, TRUE); return; } break; default: - preview_scan_done(p, 0); snprintf(buf, sizeof(buf), "%s %d.", ERR_BAD_FRAME_FORMAT, p->params.format); + preview_scan_done(p, 0); xsane_back_gtk_error(buf, TRUE); return; } @@ -1839,7 +1873,7 @@ static void preview_scan_done(Preview *p, int save_image) sane_get_parameters(xsane.dev, &xsane.param); /* update xsane.param */ - if ( (preferences.preselect_scanarea) && (!p->startimage)) + if ((preferences.preselect_scanarea) && (!p->startimage) && (!xsane.medium_calibration)) { preview_autoselect_scanarea(p, p->selection.coordinate); /* get autoselection coordinates */ preview_draw_selection(p); @@ -1847,12 +1881,14 @@ static void preview_scan_done(Preview *p, int save_image) xsane_update_histogram(TRUE /* update_raw */); /* update histogram (necessary because overwritten by preview_update_surface) */ } - if (preferences.auto_correct_colors) + if ((preferences.auto_correct_colors) && (!xsane.medium_calibration)) { xsane_calculate_raw_histogram(); xsane_set_auto_enhancement(); xsane_enhancement_by_histogram(preferences.auto_enhance_gamma); } + + xsane_batch_scan_update_icon_list(); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -1927,17 +1963,11 @@ static void preview_scan_start(Preview *p) SANE_Status status; char buf[256]; int fd, y; - int gamma_gray_size = 256; /* set this values to image depth for more than 8bpp input support!!! */ - int gamma_red_size = 256; - int gamma_green_size = 256; - int gamma_blue_size = 256; - int gamma_gray_max = 255; /* set this to to image depth for more than 8bpp output support */ - int gamma_red_max = 255; - int gamma_green_max = 255; - int gamma_blue_max = 255; DBG(DBG_proc, "preview_scan_start\n"); + p->read_offset_16 = 0; + xsane.medium_changed = FALSE; preview_display_valid(p); @@ -1966,95 +1996,6 @@ static void preview_scan_start(Preview *p) p->input_tag = -1; } - if (xsane.well_known.gamma_vector >0) - { - const SANE_Option_Descriptor *opt; - - opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector); - if (SANE_OPTION_IS_ACTIVE(opt->cap)) - { - SANE_Int *gamma_data; - - opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector); - gamma_gray_size = opt->size / sizeof(opt->type); - gamma_gray_max = opt->constraint.range->max; - - gamma_data = malloc(gamma_gray_size * sizeof(SANE_Int)); - - if ((xsane.xsane_colors > 1) || (xsane.no_preview_medium_gamma)) /* color scan or medium preview gamma disabled */ - { - xsane_create_gamma_curve(gamma_data, 0, 1.0, 0.0, 0.0, 0.0, 100.0, 1.0, gamma_gray_size, gamma_gray_max); - } - else /* grayscale scan */ - { - xsane_create_gamma_curve(gamma_data, xsane.medium_negative, 1.0, 0.0, 0.0, - xsane.medium_shadow_gray, xsane.medium_highlight_gray, xsane.medium_gamma_gray, - gamma_gray_size, gamma_gray_max); - } - - xsane_back_gtk_update_vector(xsane.well_known.gamma_vector, gamma_data); - free(gamma_data); - } - } - - if (xsane.well_known.gamma_vector_r >0) - { - const SANE_Option_Descriptor *opt; - - opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector_r); - if (SANE_OPTION_IS_ACTIVE(opt->cap)) - { - SANE_Int *gamma_data_red, *gamma_data_green, *gamma_data_blue; - - opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector_r); - gamma_red_size = opt->size / sizeof(opt->type); - gamma_red_max = opt->constraint.range->max; - - opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector_g); - gamma_green_size = opt->size / sizeof(opt->type); - gamma_green_max = opt->constraint.range->max; - - opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector_b); - gamma_blue_size = opt->size / sizeof(opt->type); - gamma_blue_max = opt->constraint.range->max; - - gamma_data_red = malloc(gamma_red_size * sizeof(SANE_Int)); - gamma_data_green = malloc(gamma_green_size * sizeof(SANE_Int)); - gamma_data_blue = malloc(gamma_blue_size * sizeof(SANE_Int)); - - if (xsane.no_preview_medium_gamma) /* do not use medium gamma for preview */ - { - DBG(DBG_info, "preview: not using medium gamma table\n"); - - xsane_create_gamma_curve(gamma_data_red, 0, 1.0, 0.0, 0.0, 0.0, 100.0, 1.0, gamma_red_size, gamma_red_max); - xsane_create_gamma_curve(gamma_data_green, 0, 1.0, 0.0, 0.0, 0.0, 100.0, 1.0, gamma_green_size, gamma_green_max); - xsane_create_gamma_curve(gamma_data_blue, 0, 1.0, 0.0, 0.0, 0.0, 100.0, 1.0, gamma_blue_size, gamma_blue_max); - } - else /* use medium gamma for preview */ - { - DBG(DBG_info, "preview: using medium gamma table\n"); - - xsane_create_gamma_curve(gamma_data_red, xsane.medium_negative, 1.0, 0.0, 0.0, - xsane.medium_shadow_red, xsane.medium_highlight_red, xsane.medium_gamma_red, - gamma_red_size, gamma_red_max); - xsane_create_gamma_curve(gamma_data_green, xsane.medium_negative, 1.0, 0.0, 0.0, - xsane.medium_shadow_green, xsane.medium_highlight_green, xsane.medium_gamma_green, - gamma_green_size, gamma_green_max); - xsane_create_gamma_curve(gamma_data_blue, xsane.medium_negative, 1.0, 0.0, 0.0, - xsane.medium_shadow_blue, xsane.medium_highlight_blue, xsane.medium_gamma_blue, - gamma_blue_size, gamma_blue_max); - } - - xsane_back_gtk_update_vector(xsane.well_known.gamma_vector_r, gamma_data_red); - xsane_back_gtk_update_vector(xsane.well_known.gamma_vector_g, gamma_data_green); - xsane_back_gtk_update_vector(xsane.well_known.gamma_vector_b, gamma_data_blue); - - free(gamma_data_red); - free(gamma_data_green); - free(gamma_data_blue); - } - } - status = sane_start(dev); if (status != SANE_STATUS_GOOD) { @@ -2110,15 +2051,11 @@ static void preview_scan_start(Preview *p) p->previous_selection_maximum.active = FALSE; #ifndef BUGGY_GDK_INPUT_EXCEPTION - /* for unix */ if ((sane_set_io_mode(dev, SANE_TRUE) == SANE_STATUS_GOOD) && (sane_get_select_fd(dev, &fd) == SANE_STATUS_GOOD)) { p->input_tag = gdk_input_add(fd, GDK_INPUT_READ | GDK_INPUT_EXCEPTION, preview_read_image_data, p); } else -#else - /* for win32 */ - sane_set_io_mode(dev, SANE_FALSE); #endif { preview_read_image_data(p, -1, GDK_INPUT_READ); @@ -2133,29 +2070,36 @@ static int preview_make_image_path(Preview *p, size_t filename_size, char *filen DBG(DBG_proc, "preview_make_image_path\n"); - snprintf(buf, sizeof(buf), "preview-level-%d-", level); + snprintf(buf, sizeof(buf), "xsane-preview-level-%d-", level); return xsane_back_gtk_make_path(filename_size, filename, 0, 0, buf, xsane.dev_name, ".ppm", XSANE_PATH_TMP); } /* ---------------------------------------------------------------------------------------------------------------------- */ -static int preview_restore_image_from_file(Preview *p, FILE *in, int min_quality, int *min_time) +int preview_create_batch_icon_from_file(Preview *p, FILE *in, Batch_Scan_Parameters *parameters, int min_quality, int *min_time) { u_int psurface_type, psurface_unit; int image_width, image_height; int xoffset, yoffset, width, height; int max_val; - int quality = 0; - int x, y; + int x, y, dx, dy; int time; float psurface[4]; float dsurface[4]; - size_t nread; - guint16 *imagep; - guint16 *imagepx; char buf[255]; + float scale; + int header = 0; + int rotate16 = 16 - preview_gamma_input_bits; + int rotate8 = preview_gamma_input_bits - 8; + guint16 r,g,b; + int c; + int maximum_size; + int quality = 0; + int xx, yy; + int offset = 0; + guchar *data; - DBG(DBG_proc, "preview_restore_image_from_file\n"); + DBG(DBG_proc, "preview_create_batch_icon_from_file\n"); if (!in) { @@ -2174,11 +2118,12 @@ static int preview_restore_image_from_file(Preview *p, FILE *in, int min_quality &max_val) != 10) { DBG(DBG_info, "no preview image\n"); - return min_quality; + return min_quality; } fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ + header = ftell(in); if (min_quality >= 0) /* read real preview */ { @@ -2191,17 +2136,18 @@ static int preview_restore_image_from_file(Preview *p, FILE *in, int min_quality preview_rotate_previewsurface_to_devicesurface(p->rotation, p->surface, dsurface); - DBG(DBG_info, "stored image surface = [%3.2f %3.2f %3.2f %3.2f]\n", + DBG(DBG_info, "stored image surface = [%3.2f %3.2f %3.2f %3.2f]\n", psurface[0], psurface[1], psurface[2], psurface[3]); - DBG(DBG_info, "preview selection surface = [%3.2f %3.2f %3.2f %3.2f]\n", - p->surface[0], p->surface[1], p->surface[2], p->surface[3]); + DBG(DBG_info, "batch selection = [%3.2f %3.2f %3.2f %3.2f]\n", + parameters->tl_x, parameters->tl_y, parameters->br_x, parameters->br_y); DBG(DBG_info, "preview device surface = [%3.2f %3.2f %3.2f %3.2f]\n", dsurface[0], dsurface[1], dsurface[2], dsurface[3]); - xoffset = (dsurface[0] - psurface[0])/(psurface[2] - psurface[0]) * image_width; - yoffset = (dsurface[1] - psurface[1])/(psurface[3] - psurface[1]) * image_height; - width = (dsurface[2] - dsurface[0])/(psurface[2] - psurface[0]) * image_width; - height = (dsurface[3] - dsurface[1])/(psurface[3] - psurface[1]) * image_height; + xoffset = (parameters->tl_x - psurface[0])/(psurface[2] - psurface[0]) * image_width; + yoffset = (parameters->tl_y - psurface[1])/(psurface[3] - psurface[1]) * image_height; + width = (parameters->br_x - parameters->tl_x)/(psurface[2] - psurface[0]) * image_width; + height = (parameters->br_y - parameters->tl_y)/(psurface[3] - psurface[1]) * image_height; + quality = width; if ((xoffset < 0) || (yoffset < 0) || @@ -2209,7 +2155,7 @@ static int preview_restore_image_from_file(Preview *p, FILE *in, int min_quality (width == 0) || (height == 0)) { DBG(DBG_info, "image does not cover wanted surface part\n"); - return min_quality; /* file does not cover wanted surface part */ + return min_quality; } DBG(DBG_info, "quality = %d\n", quality); @@ -2217,7 +2163,7 @@ static int preview_restore_image_from_file(Preview *p, FILE *in, int min_quality if ( ((float) min_quality / (quality+1)) > 1.05) /* already loaded image has better quality */ { DBG(DBG_info, "already loaded image has higher quality\n"); - return min_quality; + return min_quality; } if ( ((float) min_quality / (quality+1)) > 0.95) /* qualities are comparable */ @@ -2225,7 +2171,7 @@ static int preview_restore_image_from_file(Preview *p, FILE *in, int min_quality if (*min_time > time) /* take more recent scan */ { DBG(DBG_info, "images have comparable quality, already loaded is more up to date\n"); - return min_quality; + return min_quality; } DBG(DBG_info, "images have comparable quality, this image is more up to date\n"); } @@ -2234,7 +2180,7 @@ static int preview_restore_image_from_file(Preview *p, FILE *in, int min_quality DBG(DBG_info, "image has best quality\n"); } } - else /* read startimage or calibrationimage */ + else { xoffset = 0; yoffset = 0; @@ -2242,106 +2188,456 @@ static int preview_restore_image_from_file(Preview *p, FILE *in, int min_quality height = image_height; } - if (max_val == 65535) - { - p->params.depth = 16; - } - else + { - p->params.depth = 8; + float xscale = (float)width / parameters->gtk_preview_size; + float yscale = (float)height / parameters->gtk_preview_size; + + if (xscale > yscale) + { + scale = xscale; + } + else + { + scale = yscale; + } } - p->image_width = width; - p->image_height = height; + width = width / scale; + height = height / scale; - if (preview_get_memory(p)) + if (width > parameters->gtk_preview_size) { - return min_quality; /* error allocating memory */ + width = parameters->gtk_preview_size; } - if (p->params.depth == 16) + if (height > parameters->gtk_preview_size) { - fseek(in, yoffset * image_width * 6, SEEK_CUR); /* skip unused lines */ + height = parameters->gtk_preview_size; + } - imagep = p->image_data_raw; + maximum_size = parameters->gtk_preview_size -1; - for (y = yoffset; y < yoffset + height; y++) - { - fseek(in, xoffset * 6, SEEK_CUR); /* skip unused pixel left of area */ + dx = (parameters->gtk_preview_size - width) / 2; + dy = (parameters->gtk_preview_size - height) / 2; - nread = fread(imagep, 6, width, in); - imagep += width * 3; /* imagep is a pointer to a 2 byte value, so we use 3 instead 6 here */ - fseek(in, (image_width - width - xoffset) * 6, SEEK_CUR); /* skip unused pixel right of area */ - } + data = malloc(parameters->gtk_preview_size * parameters->gtk_preview_size * 3); + if (!data) + { + DBG(DBG_error, "preview_create_batch_icon_from_file: out of memory\n"); + return min_quality; } - else /* depth = 8 */ + + /* make unused parts white */ + for (x = 0; x< parameters->gtk_preview_size * parameters->gtk_preview_size * 3; x++) { - fseek(in, yoffset * image_width * 3, SEEK_CUR); /* skip unused lines */ + data[x] = 0xF0; + } - imagep = p->image_data_raw; + if (max_val == 65535) + { + for (y=0; y < height; y++) + { + for (x=0; x < width; x++) + { + fseek(in, header + (xoffset + (int)(x * scale) + (yoffset + (int)(y * scale)) * image_width) * 6, SEEK_SET); - for (y = yoffset; y < yoffset + height; y++) - { - fseek(in, xoffset * 3, SEEK_CUR); /* skip unused pixel left of area */ + fread(&r, 2, 1, in); /* read 16 bit value in machines byte order */ + r = preview_gamma_data_red[r >> rotate16]; - imagepx = imagep; - for (x = 0; x < width; x++) - { - *imagepx++ = ((guint16) fgetc(in)) * 256; /* transfrom to 16 bit image with correct byte order */ - *imagepx++ = ((guint16) fgetc(in)) * 256; - *imagepx++ = ((guint16) fgetc(in)) * 256; - } - imagep += width * 3; /* imagep is a pointer to a 2 byte value, so we use 3 instead 6 here */ + fread(&g, 2, 1, in); + g = preview_gamma_data_green[g >> rotate16]; - fseek(in, (image_width - width - xoffset) * 3, SEEK_CUR); /* skip unused pixel right of area */ - } - } + fread(&b, 2, 1, in); + b = preview_gamma_data_blue[b >> rotate16]; - p->image_x = width; - p->image_y = height; + c = r * 65536 + g * 256 + b; - p->image_surface[0] = p->surface[p->index_xmin]; - p->image_surface[1] = p->surface[p->index_ymin]; - p->image_surface[2] = p->surface[p->index_xmax]; - p->image_surface[3] = p->surface[p->index_ymax]; + switch (parameters->rotation) + { + case 0: /* 0 degree */ + xx = x + dx; + yy = y + dy; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; - *min_time = time; + case 1: /* 90 degree */ + xx = maximum_size - y; + yy = x + dx; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; - return quality; -} + case 2: /* 180 degree */ + xx = maximum_size - x - dx; + yy = maximum_size - y - dy; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; -/* ---------------------------------------------------------------------------------------------------------------------- */ + case 3: /* 270 degree */ + xx = y + dy; + yy = maximum_size - x - dx; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; -static void preview_restore_image(Preview *p) -{ - FILE *in; - int quality = 0; - int time = 0; - int level; + case 4: /* 0 degree, x-mirror */ + xx = maximum_size - x - dx; + yy = y + dy; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; - DBG(DBG_proc, "preview_restore_image\n"); + case 5: /* 90 degree, x-mirror */ + xx = y + dy; + yy = x + dx; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; - p->startimage = 0; + case 6: /* 180 degree, x-mirror */ + xx = x + dx; + yy = maximum_size - y - dy; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; - if (p->calibration) - { - char filename[PATH_MAX]; + case 7: /* 270 degree, x-mirror */ + xx = maximum_size - y - dy; + yy = maximum_size - x - dx; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; + } - DBG(DBG_proc, "calibration mode\n"); - xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, "xsane-calibration", 0, ".pnm", XSANE_PATH_SYSTEM); - in = fopen(filename, "rb"); /* read binary (b for win32) */ - if (in) + data[offset + 0] = r; + data[offset + 1] = g; + data[offset + 2] = b; + } + } + + for (y = 0; y < parameters->gtk_preview_size; y++) { - quality = preview_restore_image_from_file(p, in, -1, &time); - fclose(in); + gtk_preview_draw_row(GTK_PREVIEW(parameters->gtk_preview), data + 3 * parameters->gtk_preview_size * y, + 0, y, parameters->gtk_preview_size); } } - else + else /* depth = 8 */ { - /* See whether there is a saved preview and load it if present: */ - for(level = 2; level >= 0; level--) - { + for (y=0; y < height; y++) + { + for (x=0; x < width; x++) + { + fseek(in, header + (xoffset + (int)(x * scale) + (yoffset + (int)(y * scale)) * image_width) * 3, SEEK_SET); + + r = fgetc(in); + r = preview_gamma_data_red[r << rotate8]; + + g = fgetc(in); + g = preview_gamma_data_green[g << rotate8]; + + b = fgetc(in); + b = preview_gamma_data_blue[b << rotate8]; + switch (parameters->rotation) + { + case 0: /* 0 degree */ + xx = x + dx; + yy = y + dy; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; + + case 1: /* 90 degree */ + xx = maximum_size - y; + yy = x + dx; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; + + case 2: /* 180 degree */ + xx = maximum_size - x - dx; + yy = maximum_size - y - dy; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; + + case 3: /* 270 degree */ + xx = y + dy; + yy = maximum_size - x - dx; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; + + case 4: /* 0 degree, x-mirror */ + xx = maximum_size - x - dx; + yy = y + dy; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; + + case 5: /* 90 degree, x-mirror */ + xx = y + dy; + yy = x + dx; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; + + case 6: /* 180 degree, x-mirror */ + xx = x + dx; + yy = maximum_size - y - dy; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; + + case 7: /* 270 degree, x-mirror */ + xx = maximum_size - y - dy; + yy = maximum_size - x - dx; + offset = parameters->gtk_preview_size * 3 * yy + 3*(xx); + break; + } + + data[offset + 0] = r; + data[offset + 1] = g; + data[offset + 2] = b; + } + } + + for (y = 0; y < parameters->gtk_preview_size; y++) + { + gtk_preview_draw_row(GTK_PREVIEW(parameters->gtk_preview), data + 3 * parameters->gtk_preview_size * y, + 0, y, parameters->gtk_preview_size); + } + } + + free(data); + + return quality; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +void preview_create_batch_icon(Preview *p, Batch_Scan_Parameters *parameters) +{ + FILE *in; + int quality = 0; + int time = 0; + + in = fopen(xsane.preview->filename[0], "rb"); + quality = preview_create_batch_icon_from_file(xsane.preview, in, parameters, quality, &time); + + if (quality <= 0) + { + char filename[PATH_MAX]; + + if (in) + { + fclose(in); + } + + xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, "xsane-startimage", 0, ".pnm", XSANE_PATH_SYSTEM); + in = fopen(filename, "rb"); /* read binary (b for win32) */ + if (in) + { + preview_create_batch_icon_from_file(xsane.preview, in, parameters, -1, &time); + } + } + fclose(in); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static int preview_restore_image_from_file(Preview *p, FILE *in, int min_quality, int *min_time) +{ + u_int psurface_type, psurface_unit; + int image_width, image_height; + int xoffset, yoffset, width, height; + int max_val; + int quality = 0; + int x, y; + int time; + float psurface[4]; + float dsurface[4]; + size_t nread; + guint16 *imagep; + guint16 *imagepx; + char buf[255]; + + DBG(DBG_proc, "preview_restore_image_from_file\n"); + + if (!in) + { + return min_quality; + } + + /* See whether there is a saved preview and load it if present: */ + if (fscanf(in, "P6\n" + "# surface: %g %g %g %g %u %u\n" + "# time: %d\n" + "%d %d\n%d", + psurface + 0, psurface + 1, psurface + 2, psurface + 3, + &psurface_type, &psurface_unit, + &time, + &image_width, &image_height, + &max_val) != 10) + { + DBG(DBG_info, "no preview image\n"); + return min_quality; + } + + fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ + + + if (min_quality >= 0) /* read real preview */ + { + if ((psurface_type != p->surface_type) || (psurface_unit != p->surface_unit)) + { + DBG(DBG_info, "incompatible surface types %d <> %d\n", psurface_type, p->surface_type); + return min_quality; + } + + preview_rotate_previewsurface_to_devicesurface(p->rotation, p->surface, dsurface); + + + DBG(DBG_info, "stored image surface = [%3.2f %3.2f %3.2f %3.2f]\n", + psurface[0], psurface[1], psurface[2], psurface[3]); + DBG(DBG_info, "preview selection surface = [%3.2f %3.2f %3.2f %3.2f]\n", + p->surface[0], p->surface[1], p->surface[2], p->surface[3]); + DBG(DBG_info, "preview device surface = [%3.2f %3.2f %3.2f %3.2f]\n", + dsurface[0], dsurface[1], dsurface[2], dsurface[3]); + + xoffset = (dsurface[0] - psurface[0])/(psurface[2] - psurface[0]) * image_width; + yoffset = (dsurface[1] - psurface[1])/(psurface[3] - psurface[1]) * image_height; + width = (dsurface[2] - dsurface[0])/(psurface[2] - psurface[0]) * image_width; + height = (dsurface[3] - dsurface[1])/(psurface[3] - psurface[1]) * image_height; + + quality = width; + + if ((xoffset < 0) || (yoffset < 0) || + (xoffset+width > image_width) || (yoffset+height > image_height) || + (width == 0) || (height == 0)) + { + DBG(DBG_info, "image does not cover wanted surface part\n"); + return min_quality; /* file does not cover wanted surface part */ + } + + DBG(DBG_info, "quality = %d\n", quality); + + if ( ((float) min_quality / (quality+1)) > 1.05) /* already loaded image has better quality */ + { + DBG(DBG_info, "already loaded image has higher quality\n"); + return min_quality; + } + + if ( ((float) min_quality / (quality+1)) > 0.95) /* qualities are comparable */ + { + if (*min_time > time) /* take more recent scan */ + { + DBG(DBG_info, "images have comparable quality, already loaded is more up to date\n"); + return min_quality; + } + DBG(DBG_info, "images have comparable quality, this image is more up to date\n"); + } + else + { + DBG(DBG_info, "image has best quality\n"); + } + } + else /* read startimage or calibrationimage */ + { + xoffset = 0; + yoffset = 0; + width = image_width; + height = image_height; + } + + if (max_val == 65535) + { + p->params.depth = 16; + } + else + { + p->params.depth = 8; + } + + p->image_width = width; + p->image_height = height; + + if (preview_get_memory(p)) + { + return min_quality; /* error allocating memory */ + } + + if (p->params.depth == 16) + { + fseek(in, yoffset * image_width * 6, SEEK_CUR); /* skip unused lines */ + + imagep = p->image_data_raw; + + for (y = yoffset; y < yoffset + height; y++) + { + fseek(in, xoffset * 6, SEEK_CUR); /* skip unused pixel left of area */ + + nread = fread(imagep, 6, width, in); + imagep += width * 3; /* imagep is a pointer to a 2 byte value, so we use 3 instead 6 here */ + + fseek(in, (image_width - width - xoffset) * 6, SEEK_CUR); /* skip unused pixel right of area */ + } + } + else /* depth = 8 */ + { + fseek(in, yoffset * image_width * 3, SEEK_CUR); /* skip unused lines */ + + imagep = p->image_data_raw; + + for (y = yoffset; y < yoffset + height; y++) + { + fseek(in, xoffset * 3, SEEK_CUR); /* skip unused pixel left of area */ + + imagepx = imagep; + for (x = 0; x < width; x++) + { + *imagepx++ = ((guint16) fgetc(in)) * 256; /* transfrom to 16 bit image with correct byte order */ + *imagepx++ = ((guint16) fgetc(in)) * 256; + *imagepx++ = ((guint16) fgetc(in)) * 256; + } + imagep += width * 3; /* imagep is a pointer to a 2 byte value, so we use 3 instead 6 here */ + + fseek(in, (image_width - width - xoffset) * 3, SEEK_CUR); /* skip unused pixel right of area */ + } + } + + p->image_x = width; + p->image_y = height; + + p->image_surface[0] = p->surface[p->index_xmin]; + p->image_surface[1] = p->surface[p->index_ymin]; + p->image_surface[2] = p->surface[p->index_xmax]; + p->image_surface[3] = p->surface[p->index_ymax]; + + *min_time = time; + + return quality; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void preview_restore_image(Preview *p) +{ + FILE *in; + int quality = 0; + int time = 0; + int level; + + DBG(DBG_proc, "preview_restore_image\n"); + + p->startimage = 0; + + if (p->calibration) + { + char filename[PATH_MAX]; + + DBG(DBG_proc, "calibration mode\n"); + xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, "xsane-calibration", 0, ".pnm", XSANE_PATH_SYSTEM); + in = fopen(filename, "rb"); /* read binary (b for win32) */ + if (in) + { + quality = preview_restore_image_from_file(p, in, -1, &time); + fclose(in); + } + } + else + { + /* See whether there is a saved preview and load it if present: */ + for(level = 2; level >= 0; level--) + { if (p->filename[level]) { in = fopen(p->filename[level], "rb"); /* read binary (b for win32) */ @@ -2375,24 +2671,302 @@ static void preview_restore_image(Preview *p) p->image_height = 1; p->params.depth = 16; - preview_get_memory(p); + preview_get_memory(p); + + imagep = p->image_data_raw; + *imagep++ = 65535; + *imagep++ = 00000; + *imagep++ = 00000; + + p->image_x = p->image_width; + p->image_y = p->image_height; + + p->image_surface[0] = p->surface[p->index_xmin]; + p->image_surface[1] = p->surface[p->index_ymin]; + p->image_surface[2] = p->surface[p->index_xmax]; + p->image_surface[3] = p->surface[p->index_ymax]; + } + p->startimage = 1; + } + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static int preview_get_pixel_color(Preview *p, int x, int y, int *raw_red, int *raw_green, int *raw_blue, + int *enh_red, int *enh_green, int *enh_blue) +{ + int image_x, image_y; + int offset; + int rotate = 16 - preview_gamma_input_bits; + + DBG(DBG_proc, "preview_get_pixel_color\n"); + + if (p->image_data_raw) + { + preview_transform_coordinate_window_to_image(p, x, y, &image_x, &image_y); + + if ( (image_x >= 0) && (image_x < p->image_width) && (image_y >=0) && (image_y < p->image_height) ) + { + offset = 3 * (image_y * p->image_width + image_x); + + if (!xsane.negative) /* positive */ + { + *raw_red = (p->image_data_raw[offset ]) >> 8; + *raw_green = (p->image_data_raw[offset + 1]) >> 8; + *raw_blue = (p->image_data_raw[offset + 2]) >> 8; + } + else /* negative */ + { + *raw_red = 255 - ((p->image_data_raw[offset ]) >> 8); + *raw_green = 255 - ((p->image_data_raw[offset + 1]) >> 8); + *raw_blue = 255 - ((p->image_data_raw[offset + 2]) >> 8); + } + + /* the enhanced pixels are already inverted when negative is selected */ + /* do not use image_data_enh because the preview gamma value is applied to this */ + *enh_red = histogram_gamma_data_red [(p->image_data_raw[offset ]) >> rotate]; + *enh_green = histogram_gamma_data_green[(p->image_data_raw[offset + 1]) >> rotate]; + *enh_blue = histogram_gamma_data_blue [(p->image_data_raw[offset + 2]) >> rotate]; + + return 0; + } + } + + return -1; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_swap_int(int *a, int *b) +{ + int i; + i = *a; + *a = *b; + *b = i; +} + +static void preview_display_zoom(Preview *p, int x, int y, int zoom) +{ + int pointer_x, pointer_y; + int image_x, image_y; + int image_x_lof, image_x_rof; + int image_y_tof, image_y_bof; + int image_x_min, image_y_min; + int image_x_max, image_y_max; + int image_x_direction, image_y_direction; + int offset; + int r, g, b; + int px, py; + int i; + char *row; + + DBG(DBG_proc, "preview_display_zoom"); + + if (!p->image_data_raw) + { + return; + } + + row = calloc(XSANE_ZOOM_SIZE, 3); + + if (row) + { + preview_transform_coordinate_window_to_image(p, x, y, &image_x, &image_y); + preview_transform_coordinate_window_to_image(p, x, y, &pointer_x, &pointer_y); + + image_x_min = image_x - XSANE_ZOOM_SIZE/(zoom*2); + image_y_min = image_y - XSANE_ZOOM_SIZE/(zoom*2); + + image_x_max = image_x_min + XSANE_ZOOM_SIZE/zoom + 1; + image_y_max = image_y_min + XSANE_ZOOM_SIZE/zoom + 1; + + xsane_bound_int(&image_x_min, 0, p->image_width - 1); + xsane_bound_int(&image_x_max, 0, p->image_width - 1); + xsane_bound_int(&image_y_min, 0, p->image_height - 1); + xsane_bound_int(&image_y_max, 0, p->image_height - 1); + + if ((image_x_max - image_x_min) && (image_y_max - image_y_min)) + { + image_x_lof = image_x_min - (image_x - XSANE_ZOOM_SIZE/(zoom*2)); + image_x_rof = image_x - XSANE_ZOOM_SIZE/(zoom*2) + XSANE_ZOOM_SIZE/zoom + 1 - image_x_max; + image_y_tof = image_y_min - (image_y - XSANE_ZOOM_SIZE/(zoom*2)); + image_y_bof = image_y - XSANE_ZOOM_SIZE/(zoom*2) + XSANE_ZOOM_SIZE/zoom + 1 - image_y_max; + + image_x_direction = 1; + image_y_direction = 1; + + switch (p->rotation & 3) + { + case 0: /* do not rotate - 0 degree */ + default: + break; + + case 1: /* 90 degree */ + xsane_swap_int(&image_y_min, &image_y_max); + xsane_swap_int(&image_y_tof, &image_y_bof); + image_y_direction *= -1; + break; + + case 2: /* 180 degree */ + xsane_swap_int(&image_x_min, &image_x_max); + xsane_swap_int(&image_x_lof, &image_x_rof); + xsane_swap_int(&image_y_min, &image_y_max); + xsane_swap_int(&image_y_tof, &image_y_bof); + image_x_direction *= -1; + image_y_direction *= -1; + break; + + case 3: /* 270 degree */ + xsane_swap_int(&image_x_min, &image_x_max); + xsane_swap_int(&image_x_lof, &image_x_rof); + image_x_direction *= -1; + break; + } + + + if ((p->rotation & 1) == 0) + { + if (p->rotation & 4) /* mirror */ + { + xsane_swap_int(&image_x_min, &image_x_max); + xsane_swap_int(&image_x_lof, &image_x_rof); + image_x_direction *= -1; + } + + py = image_y_tof * zoom; + + for (i=0; i < py; i++) + { + gtk_preview_draw_row(GTK_PREVIEW(p->zoom), row, 0, i, XSANE_ZOOM_SIZE); + } + + for (image_y = image_y_min; image_y != image_y_max + image_y_direction; image_y += image_y_direction) + { + px = image_x_lof * zoom; + + for (image_x = image_x_min; image_x != image_x_max + image_x_direction; image_x += image_x_direction) + { + offset = 3 * (image_y * p->image_width + image_x); + + r = (p->image_data_enh[offset ]); + g = (p->image_data_enh[offset+1]); + b = (p->image_data_enh[offset+2]); + + if ( (image_x == pointer_x) && (image_y == pointer_y) ) + { + r = g = b = (128 + (r+g+b) / 3) & 255; /* mark the cursor position */ + } + + for (i=0; (izoom), row, 0, py++, XSANE_ZOOM_SIZE); + } + } + } + else /* swap x and y */ + { + if (p->rotation & 4) /* mirror */ + { + xsane_swap_int(&image_y_min, &image_y_max); + xsane_swap_int(&image_y_tof, &image_y_bof); + image_y_direction *= -1; + } + + py = image_x_lof * zoom; + + for (i=0; i < py; i++) + { + gtk_preview_draw_row(GTK_PREVIEW(p->zoom), row, 0, i, XSANE_ZOOM_SIZE); + } + + for (image_x = image_x_min; image_x != image_x_max + image_x_direction; image_x += image_x_direction) + { + px = image_y_tof * zoom; + + for (image_y = image_y_min; image_y != image_y_max + image_y_direction; image_y += image_y_direction) + { + offset = 3 * (image_y * p->image_width + image_x); + + r = (p->image_data_enh[offset ]); + g = (p->image_data_enh[offset+1]); + b = (p->image_data_enh[offset+2]); + + if ( (image_x == pointer_x) && (image_y == pointer_y) ) + { + r = g = b = (128 + (r+g+b) / 3) & 255; /* mark the cursor position */ + } + + for (i=0; (izoom), row, 0, py++, XSANE_ZOOM_SIZE); + } + } + } + + for (i=0; i < XSANE_ZOOM_SIZE; i++) + { + row[i*3+0] = 0; + row[i*3+1] = 0; + row[i*3+2] = 0; + } + + for (i=py; i < XSANE_ZOOM_SIZE; i++) + { + gtk_preview_draw_row(GTK_PREVIEW(p->zoom), row, 0, i, XSANE_ZOOM_SIZE); + } + } + else + { + for (i = 0; i < XSANE_ZOOM_SIZE; i++) + { + gtk_preview_draw_row(GTK_PREVIEW(p->zoom), row, 0, i, XSANE_ZOOM_SIZE); + } + } + gtk_widget_queue_draw(p->zoom); + + free(row); + } +} - imagep = p->image_data_raw; - *imagep++ = 65535; - *imagep++ = 00000; - *imagep++ = 00000; +/* ---------------------------------------------------------------------------------------------------------------------- */ - p->image_x = p->image_width; - p->image_y = p->image_height; +static void preview_display_color_components(Preview *p, int x, int y) +{ + char buffer[256]; + int raw_red, raw_green, raw_blue, enh_red, enh_green, enh_blue; - p->image_surface[0] = p->surface[p->index_xmin]; - p->image_surface[1] = p->surface[p->index_ymin]; - p->image_surface[2] = p->surface[p->index_xmax]; - p->image_surface[3] = p->surface[p->index_ymax]; - } - p->startimage = 1; - } + if (! preview_get_pixel_color(p, x, y, &raw_red, &raw_green, &raw_blue, &enh_red, &enh_green, &enh_blue)) + { + snprintf(buffer, sizeof(buffer), " %03d, %03d, %03d \n" \ + " %03d, %03d, %03d ", + raw_red, raw_green, raw_blue, enh_red, enh_green, enh_blue); + } + else + { + snprintf(buffer, sizeof(buffer), " ###, ###, ### \n" \ + " ###, ###, ### "); } + + gtk_label_set_text(GTK_LABEL(p->rgb_label), buffer); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -2437,6 +3011,9 @@ static gint preview_motion_event_handler(GtkWidget *window, GdkEvent *event, gpo if (!p->scanning) { + preview_display_zoom(p, event->motion.x, event->motion.y, XSANE_ZOOM_FACTOR); + preview_display_color_components(p, event->motion.x, event->motion.y); + switch (((GdkEventMotion *)event)->state & GDK_Num_Lock & GDK_Caps_Lock & GDK_Shift_Lock & GDK_Scroll_Lock) /* mask all Locks */ { @@ -2447,8 +3024,159 @@ static gint preview_motion_event_handler(GtkWidget *window, GdkEvent *event, gpo if ( (p->selection_drag) || (p->selection_drag_edge) ) { p->selection.active = TRUE; - p->selection.coordinate[p->selection_xedge] = preview_x; - p->selection.coordinate[p->selection_yedge] = preview_y; + + if (preview_x < p->scanner_surface[p->index_xmin]) + { + preview_x = p->scanner_surface[p->index_xmin]; + } + else if (preview_x > p->scanner_surface[p->index_xmax]) + { + preview_x = p->scanner_surface[p->index_xmax]; + } + + if (preview_y < p->scanner_surface[p->index_ymin]) + { + preview_y = p->scanner_surface[p->index_ymin]; + } + else if (preview_y > p->scanner_surface[p->index_ymax]) + { + preview_y = p->scanner_surface[p->index_ymax]; + } + + + if (p->selection_xedge != -1) + { + p->selection.coordinate[p->selection_xedge] = preview_x; + } + + if (p->selection_yedge != -1) + { + p->selection.coordinate[p->selection_yedge] = preview_y; + } + + if (p->ratio) /* forced preview ratio ? */ + { + if ( (p->selection_xedge == p->index_xmin) && (p->selection_yedge == p->index_ymin) ) /* top left corner */ + { + float width; + width = fabs(p->selection.coordinate[p->index_xmax] - p->selection.coordinate[p->index_xmin]); + + p->selection.coordinate[p->index_ymax] = p->selection.coordinate[p->index_ymin] + width / p->ratio; + + if (p->selection.coordinate[p->index_ymax] > p->scanner_surface[p->index_ymax]) + { + float height; + p->selection.coordinate[p->index_ymax] = p->scanner_surface[p->index_ymax]; + height = fabs(p->selection.coordinate[p->index_ymax] - p->selection.coordinate[p->index_ymin]); + p->selection.coordinate[p->index_xmin] = p->selection.coordinate[p->index_xmax] - height * p->ratio; + } + } + else if ( (p->selection_xedge == p->index_xmax) && (p->selection_yedge == p->index_ymin) )/* top right corner */ + { + float width; + width = fabs(p->selection.coordinate[p->index_xmax] - p->selection.coordinate[p->index_xmin]); + + p->selection.coordinate[p->index_ymax] = p->selection.coordinate[p->index_ymin] + width / p->ratio; + + if (p->selection.coordinate[p->index_ymax] > p->scanner_surface[p->index_ymax]) + { + float height; + p->selection.coordinate[p->index_ymax] = p->scanner_surface[p->index_ymax]; + height = fabs(p->selection.coordinate[p->index_ymax] - p->selection.coordinate[p->index_ymin]); + p->selection.coordinate[p->index_xmax] = p->selection.coordinate[p->index_xmin] + height * p->ratio; + } + } + else if ( (p->selection_xedge == p->index_xmin) && (p->selection_yedge == p->index_ymax) ) /* bottom left edge */ + { + float width; + width = fabs(p->selection.coordinate[p->index_xmax] - p->selection.coordinate[p->index_xmin]); + + p->selection.coordinate[p->index_ymin] = p->selection.coordinate[p->index_ymax] - width / p->ratio; + + if (p->selection.coordinate[p->index_ymin] < p->scanner_surface[p->index_ymin]) + { + float height; + p->selection.coordinate[p->index_ymin] = p->scanner_surface[p->index_ymin]; + height = fabs(p->selection.coordinate[p->index_ymax] - p->selection.coordinate[p->index_ymin]); + p->selection.coordinate[p->index_xmin] = p->selection.coordinate[p->index_xmax] - height * p->ratio; + } + } + else if ( (p->selection_xedge == p->index_xmax) && (p->selection_yedge == p->index_ymax) ) /* bottom right edge */ + { + float width; + width = fabs(p->selection.coordinate[p->index_xmax] - p->selection.coordinate[p->index_xmin]); + + p->selection.coordinate[p->index_ymin] = p->selection.coordinate[p->index_ymax] - width / p->ratio; + + if (p->selection.coordinate[p->index_ymin] < p->scanner_surface[p->index_ymin]) + { + float height; + p->selection.coordinate[p->index_ymin] = p->scanner_surface[p->index_ymin]; + height = fabs(p->selection.coordinate[p->index_ymax] - p->selection.coordinate[p->index_ymin]); + p->selection.coordinate[p->index_xmax] = p->selection.coordinate[p->index_xmin] + height * p->ratio; + } + } + else if (p->selection_xedge == p->index_xmin) /* left edge */ + { + float width; + width = fabs(p->selection.coordinate[p->index_xmax] - p->selection.coordinate[p->index_xmin]); + + p->selection.coordinate[p->index_ymax] = p->selection.coordinate[p->index_ymin] + width / p->ratio; + + if (p->selection.coordinate[p->index_ymax] > p->scanner_surface[p->index_ymax]) + { + float height; + p->selection.coordinate[p->index_ymax] = p->scanner_surface[p->index_ymax]; + height = fabs(p->selection.coordinate[p->index_ymax] - p->selection.coordinate[p->index_ymin]); + p->selection.coordinate[p->index_xmin] = p->selection.coordinate[p->index_xmax] - height * p->ratio; + } + } + else if (p->selection_xedge == p->index_xmax) /* right edge */ + { + float width; + width = fabs(p->selection.coordinate[p->index_xmax] - p->selection.coordinate[p->index_xmin]); + + p->selection.coordinate[p->index_ymax] = p->selection.coordinate[p->index_ymin] + width / p->ratio; + + if (p->selection.coordinate[p->index_ymax] > p->scanner_surface[p->index_ymax]) + { + float height; + p->selection.coordinate[p->index_ymax] = p->scanner_surface[p->index_ymax]; + height = fabs(p->selection.coordinate[p->index_ymax] - p->selection.coordinate[p->index_ymin]); + p->selection.coordinate[p->index_xmax] = p->selection.coordinate[p->index_xmin] + height * p->ratio; + } + } + else if (p->selection_yedge == p->index_ymin) /* top edge */ + { + float height; + height = fabs(p->selection.coordinate[p->index_ymax] - p->selection.coordinate[p->index_ymin]); + + p->selection.coordinate[p->index_xmax] = p->selection.coordinate[p->index_xmin] + height * p->ratio; + + if (p->selection.coordinate[p->index_xmax] > p->scanner_surface[p->index_xmax]) + { + float width; + p->selection.coordinate[p->index_xmax] = p->scanner_surface[p->index_xmax]; + width = fabs(p->selection.coordinate[p->index_xmax] - p->selection.coordinate[p->index_xmin]); + p->selection.coordinate[p->index_ymin] = p->selection.coordinate[p->index_ymax] - width / p->ratio; + } + } + else if (p->selection_yedge == p->index_ymax) /* bottom edge */ + { + float height; + height = fabs(p->selection.coordinate[p->index_ymax] - p->selection.coordinate[p->index_ymin]); + + p->selection.coordinate[p->index_xmax] = p->selection.coordinate[p->index_xmin] + height * p->ratio; + + if (p->selection.coordinate[p->index_xmax] > p->scanner_surface[p->index_xmax]) + { + float width; + p->selection.coordinate[p->index_xmax] = p->scanner_surface[p->index_xmax]; + width = fabs(p->selection.coordinate[p->index_xmax] - p->selection.coordinate[p->index_xmin]); + p->selection.coordinate[p->index_ymax] = p->selection.coordinate[p->index_ymin] + width / p->ratio; + } + } + } preview_order_selection(p); preview_bound_selection(p); @@ -2551,7 +3279,7 @@ static gint preview_motion_event_handler(GtkWidget *window, GdkEvent *event, gpo { cursor = gdk_cursor_new(cursornr); /* set curosr */ gdk_window_set_cursor(p->window->window, cursor); - gdk_cursor_destroy(cursor); + gdk_cursor_unref(cursor); p->cursornr = cursornr; } break; @@ -2727,7 +3455,7 @@ static gint preview_motion_event_handler(GtkWidget *window, GdkEvent *event, gpo { cursor = gdk_cursor_new(cursornr); /* set curosr */ gdk_window_set_cursor(p->window->window, cursor); - gdk_cursor_destroy(cursor); + gdk_cursor_unref(cursor); p->cursornr = cursornr; } break; @@ -2842,7 +3570,7 @@ static gint preview_button_press_event_handler(GtkWidget *window, GdkEvent *even cursor = gdk_cursor_new(XSANE_CURSOR_PREVIEW); gdk_window_set_cursor(p->window->window, cursor); - gdk_cursor_destroy(cursor); + gdk_cursor_unref(cursor); p->cursornr = XSANE_CURSOR_PREVIEW; } break; @@ -2947,7 +3675,7 @@ static gint preview_button_press_event_handler(GtkWidget *window, GdkEvent *even cursor = gdk_cursor_new(XSANE_CURSOR_PREVIEW); gdk_window_set_cursor(p->window->window, cursor); - gdk_cursor_destroy(cursor); + gdk_cursor_unref(cursor); p->cursornr = XSANE_CURSOR_PREVIEW; } break; @@ -3037,11 +3765,51 @@ static gint preview_button_press_event_handler(GtkWidget *window, GdkEvent *even cursor = gdk_cursor_new(XSANE_CURSOR_PREVIEW); gdk_window_set_cursor(p->window->window, cursor); - gdk_cursor_destroy(cursor); + gdk_cursor_unref(cursor); + p->cursornr = XSANE_CURSOR_PREVIEW; + } + break; + + case MODE_AUTORAISE_SCANAREA: + { + DBG(DBG_info, "autoraise scanarea mode\n"); + + if ( ( (((GdkEventButton *)event)->button == 1) || (((GdkEventButton *)event)->button == 2) ) && + (p->image_data_raw) ) /* left or middle button */ + { + preview_autoraise_scanarea(p, event->button.x, event->button.y, p->selection.coordinate); /* raise selection area */ + } + + p->mode = MODE_NORMAL; + + cursor = gdk_cursor_new(XSANE_CURSOR_PREVIEW); + gdk_window_set_cursor(p->window->window, cursor); + gdk_cursor_unref(cursor); p->cursornr = XSANE_CURSOR_PREVIEW; } break; + case MODE_ZOOM_IN: + { + DBG(DBG_info, "zoom in mode\n"); + + if ( ( (((GdkEventButton *)event)->button == 1) || (((GdkEventButton *)event)->button == 2) ) && + (p->image_data_raw) ) /* left or middle button */ + { + preview_select_zoom_point(p, event->button.x, event->button.y); /* select zoom point */ + } + else + { + p->mode = MODE_NORMAL; + + cursor = gdk_cursor_new(XSANE_CURSOR_PREVIEW); + gdk_window_set_cursor(p->window->window, cursor); + gdk_cursor_unref(cursor); + p->cursornr = XSANE_CURSOR_PREVIEW; + } + } + break; + case MODE_NORMAL: { DBG(DBG_info, "normal mode\n"); @@ -3117,7 +3885,7 @@ static gint preview_button_press_event_handler(GtkWidget *window, GdkEvent *even cursornr = GDK_CROSS; cursor = gdk_cursor_new(cursornr); /* set curosr */ gdk_window_set_cursor(p->window->window, cursor); - gdk_cursor_destroy(cursor); + gdk_cursor_unref(cursor); p->cursornr = cursornr; } break; @@ -3139,7 +3907,7 @@ static gint preview_button_press_event_handler(GtkWidget *window, GdkEvent *even cursornr = GDK_HAND2; cursor = gdk_cursor_new(cursornr); /* set curosr */ gdk_window_set_cursor(p->window->window, cursor); - gdk_cursor_destroy(cursor); + gdk_cursor_unref(cursor); p->cursornr = cursornr; } break; @@ -3184,7 +3952,7 @@ static gint preview_button_release_event_handler(GtkWidget *window, GdkEvent *ev cursornr = XSANE_CURSOR_PREVIEW; cursor = gdk_cursor_new(cursornr); /* set curosr */ gdk_window_set_cursor(p->window->window, cursor); - gdk_cursor_destroy(cursor); + gdk_cursor_unref(cursor); p->cursornr = cursornr; } @@ -3220,7 +3988,7 @@ static gint preview_expose_event_handler_start(GtkWidget *window, GdkEvent *even if (!p->gc_selection) { DBG(DBG_info, "defining line styles for selection and page frames\n"); - colormap = gdk_window_get_colormap(p->window->window); + colormap = gdk_drawable_get_colormap(p->window->window); p->gc_selection = gdk_gc_new(p->window->window); gdk_gc_set_function(p->gc_selection, GDK_INVERT); @@ -3265,7 +4033,7 @@ static gint preview_expose_event_handler_end(GtkWidget *window, GdkEvent *event, if (!p->gc_selection) { DBG(DBG_info, "defining line styles for selection and page frames\n"); - colormap = gdk_window_get_colormap(p->window->window); + colormap = gdk_drawable_get_colormap(p->window->window); p->gc_selection = gdk_gc_new(p->window->window); gdk_gc_set_function(p->gc_selection, GDK_INVERT); @@ -3283,8 +4051,8 @@ static gint preview_expose_event_handler_end(GtkWidget *window, GdkEvent *event, } else { - p->selection.active = expose_event_selection_active; - p->selection_maximum.active = expose_event_selection_maximum_active; + p->selection.active = expose_event_selection_active; + p->selection_maximum.active = expose_event_selection_maximum_active; preview_draw_selection(p); /* draw selections again */ } } @@ -3335,8 +4103,8 @@ static void preview_create_preset_area_menu(Preview *p, int selection) { preset_area_item = gtk_menu_item_new_with_label(preferences.preset_area[i]->name); gtk_container_add(GTK_CONTAINER(preset_area_menu), preset_area_item); - gtk_signal_connect(GTK_OBJECT(preset_area_item), "button_press_event", (GtkSignalFunc) preview_preset_area_context_menu_callback, p); - gtk_signal_connect(GTK_OBJECT(preset_area_item), "activate", (GtkSignalFunc) preview_preset_area_callback, p); + g_signal_connect(GTK_OBJECT(preset_area_item), "button_press_event", (GtkSignalFunc) preview_preset_area_context_menu_callback, p); + g_signal_connect(GTK_OBJECT(preset_area_item), "activate", (GtkSignalFunc) preview_preset_area_callback, p); gtk_object_set_data(GTK_OBJECT(preset_area_item), "Selection", (void *) i); gtk_object_set_data(GTK_OBJECT(preset_area_item), "Preview", (void *) p); @@ -3410,16 +4178,20 @@ Preview *preview_new(void) GtkWidget *table, *frame; GtkSignalFunc signal_func; GtkWidgetClass *class; - GtkWidget *vbox, *hbox; + GtkWidget *vbox, *action_box; + GtkWidget *outer_hbox, *middle_vbox; GdkCursor *cursor; GtkWidget *preset_area_option_menu; GtkWidget *rotation_option_menu, *rotation_menu, *rotation_item; + GtkWidget *ratio_option_menu, *ratio_menu, *ratio_item; GtkWidget *delete_images; GdkBitmap *mask; GdkPixmap *pixmap = NULL; + GtkWidget *pixmapwidget; Preview *p; int i; char buf[256]; + int ratio_nr = 0; DBG(DBG_proc, "preview_new\n"); @@ -3468,12 +4240,14 @@ Preview *preview_new(void) p->maximum_output_width = INF; /* full output with */ p->maximum_output_height = INF; /* full output height */ + p->block_update_maximum_output_size_clipping = FALSE; p->preview_colors = -1; p->invalid = TRUE; /* no valid preview */ + p->ratio = 0.0; #ifndef XSERVER_WITH_BUGGY_VISUALS - gtk_widget_push_visual(gtk_preview_get_visual()); + gtk_widget_push_visual(gtk_preview_get_visual()); /* this has no function for gtk+-2.0 */ #endif gtk_widget_push_colormap(gtk_preview_get_cmap()); @@ -3481,7 +4255,8 @@ Preview *preview_new(void) p->top = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(GTK_WINDOW(p->top), buf); xsane_set_window_icon(p->top, 0); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(p->top)); + gtk_window_add_accel_group(GTK_WINDOW(p->top), xsane.accelerator_group); + /* set the main vbox */ vbox = gtk_vbox_new(FALSE, 0); @@ -3489,39 +4264,51 @@ Preview *preview_new(void) gtk_container_add(GTK_CONTAINER(p->top), vbox); gtk_widget_show(vbox); - /* set the main hbox */ - hbox = gtk_hbox_new(FALSE, 0); - gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); - gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); - gtk_widget_show(hbox); - /* top hbox for icons */ + /* the button_box (hbox) */ p->button_box = gtk_hbox_new(FALSE, 1); - gtk_container_set_border_width(GTK_CONTAINER(p->button_box), 1); + gtk_container_set_border_width(GTK_CONTAINER(p->button_box), 0); gtk_box_pack_start(GTK_BOX(vbox), p->button_box, FALSE, FALSE, 0); + + /* add new selection for batch scanning */ + p->add_batch = xsane_button_new_with_pixmap(p->top->window, p->button_box, add_batch_xpm, DESC_ADD_BATCH, (GtkSignalFunc) preview_add_batch, p); + + xsane_vseparator_new(p->button_box, 3); + /* White, gray and black pipette button */ p->pipette_white = xsane_button_new_with_pixmap(p->top->window, p->button_box, pipette_white_xpm, DESC_PIPETTE_WHITE, (GtkSignalFunc) preview_pipette_white, p); p->pipette_gray = xsane_button_new_with_pixmap(p->top->window, p->button_box, pipette_gray_xpm, DESC_PIPETTE_GRAY, (GtkSignalFunc) preview_pipette_gray, p); p->pipette_black = xsane_button_new_with_pixmap(p->top->window, p->button_box, pipette_black_xpm, DESC_PIPETTE_BLACK, (GtkSignalFunc) preview_pipette_black, p); + xsane_vseparator_new(p->button_box, 3); + /* Zoom not, zoom out and zoom in button */ - p->zoom_not = xsane_button_new_with_pixmap(p->top->window, p->button_box, zoom_not_xpm, DESC_ZOOM_FULL, (GtkSignalFunc) preview_zoom_not, p); - p->zoom_out = xsane_button_new_with_pixmap(p->top->window, p->button_box, zoom_out_xpm, DESC_ZOOM_OUT, (GtkSignalFunc) preview_zoom_out, p); - p->zoom_in = xsane_button_new_with_pixmap(p->top->window, p->button_box, zoom_in_xpm, DESC_ZOOM_IN, (GtkSignalFunc) preview_zoom_in, p); - p->zoom_undo = xsane_button_new_with_pixmap(p->top->window, p->button_box, zoom_undo_xpm, DESC_ZOOM_UNDO, (GtkSignalFunc) preview_zoom_undo, p); - p->full_area = xsane_button_new_with_pixmap(p->top->window, p->button_box, auto_select_preview_area_xpm, DESC_AUTOSELECT_SCANAREA, (GtkSignalFunc) preview_autoselect_scanarea_callback, p); - p->autoselect = xsane_button_new_with_pixmap(p->top->window, p->button_box, full_preview_area_xpm, DESC_FULL_PREVIEW_AREA, (GtkSignalFunc) preview_full_preview_area_callback, p); - delete_images = xsane_button_new_with_pixmap(p->top->window, p->button_box, delete_images_xpm, DESC_DELETE_IMAGES, (GtkSignalFunc) preview_delete_images_callback, p); - - gtk_widget_add_accelerator(p->zoom_not, "clicked", xsane.accelerator_group, GDK_KP_Multiply, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); /* Alt keypad_* */ - gtk_widget_add_accelerator(p->zoom_out, "clicked", xsane.accelerator_group, GDK_KP_Subtract, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); /* Alt keypad_- */ - gtk_widget_add_accelerator(p->zoom_in, "clicked", xsane.accelerator_group, GDK_KP_Add, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); /* Alt keypad_+ */ - gtk_widget_add_accelerator(p->zoom_undo, "clicked", xsane.accelerator_group, GDK_KP_Divide, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); /* Alt keypad_/ */ - gtk_widget_add_accelerator(p->full_area, "clicked", xsane.accelerator_group, GDK_A, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); /* Alt keypad_* */ - gtk_widget_add_accelerator(p->autoselect, "clicked", xsane.accelerator_group, GDK_V, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); /* Alt keypad_* */ - gtk_widget_add_accelerator(delete_images, "clicked", xsane.accelerator_group, GDK_KP_Delete, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); /* Alt keypad_* */ + p->zoom_not = xsane_button_new_with_pixmap(p->top->window, p->button_box, zoom_not_xpm, DESC_ZOOM_FULL, (GtkSignalFunc) preview_zoom_not, p); + p->zoom_out = xsane_button_new_with_pixmap(p->top->window, p->button_box, zoom_out_xpm, DESC_ZOOM_OUT, (GtkSignalFunc) preview_zoom_out, p); + p->zoom_in = xsane_button_new_with_pixmap(p->top->window, p->button_box, zoom_in_xpm, DESC_ZOOM_IN, (GtkSignalFunc) preview_zoom_in, p); + p->zoom_area = xsane_button_new_with_pixmap(p->top->window, p->button_box, zoom_area_xpm, DESC_ZOOM_AREA, (GtkSignalFunc) preview_zoom_area, p); + p->zoom_undo = xsane_button_new_with_pixmap(p->top->window, p->button_box, zoom_undo_xpm, DESC_ZOOM_UNDO, (GtkSignalFunc) preview_zoom_undo, p); + + xsane_vseparator_new(p->button_box, 3); + + p->full_area = xsane_button_new_with_pixmap(p->top->window, p->button_box, auto_select_preview_area_xpm, DESC_AUTOSELECT_SCANAREA, (GtkSignalFunc) preview_autoselect_scanarea_callback, p); + p->autoraise = xsane_button_new_with_pixmap(p->top->window, p->button_box, auto_raise_preview_area_xpm, DESC_AUTORAISE_SCANAREA, (GtkSignalFunc) preview_init_autoraise_scanarea, p); + p->autoselect = xsane_button_new_with_pixmap(p->top->window, p->button_box, full_preview_area_xpm, DESC_FULL_PREVIEW_AREA, (GtkSignalFunc) preview_full_preview_area_callback, p); + + xsane_vseparator_new(p->button_box, 3); + + delete_images = xsane_button_new_with_pixmap(p->top->window, p->button_box, delete_images_xpm, DESC_DELETE_IMAGES, (GtkSignalFunc) preview_delete_images_callback, p); + + gtk_widget_add_accelerator(p->zoom_not, "clicked", xsane.accelerator_group, GDK_KP_Multiply, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); /* Alt keypad_* */ + gtk_widget_add_accelerator(p->zoom_out, "clicked", xsane.accelerator_group, GDK_KP_Subtract, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); /* Alt keypad_- */ + gtk_widget_add_accelerator(p->zoom_in, "clicked", xsane.accelerator_group, GDK_KP_Add, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); /* Alt keypad_+ */ + gtk_widget_add_accelerator(p->zoom_area, "clicked", xsane.accelerator_group, GDK_KP_Enter, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); /* Alt keypad_Enter */ + gtk_widget_add_accelerator(p->zoom_undo, "clicked", xsane.accelerator_group, GDK_KP_Divide, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); /* Alt keypad_/ */ + gtk_widget_add_accelerator(p->full_area, "clicked", xsane.accelerator_group, GDK_A, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); /* Alt keypad_* */ + gtk_widget_add_accelerator(p->autoselect, "clicked", xsane.accelerator_group, GDK_V, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); /* Alt keypad_* */ + gtk_widget_add_accelerator(delete_images, "clicked", xsane.accelerator_group, GDK_KP_Delete, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); /* Alt keypad_* */ gtk_widget_set_sensitive(p->zoom_not, FALSE); /* no zoom at this point, so no zoom not */ gtk_widget_set_sensitive(p->zoom_out, FALSE); /* no zoom at this point, so no zoom out */ @@ -3530,42 +4317,157 @@ Preview *preview_new(void) gtk_widget_set_sensitive(p->autoselect, FALSE); /* no selection */ + gtk_widget_show(p->button_box); + /* the button box is ready */ + + + + /* construct the preview area (table with sliders & preview window) */ + + table = gtk_table_new(2, 2, /* homogeneous */ FALSE); + gtk_table_set_col_spacing(GTK_TABLE(table), 0, 1); + gtk_table_set_row_spacing(GTK_TABLE(table), 0, 1); + gtk_container_set_border_width(GTK_CONTAINER(table), 1); + gtk_box_pack_start(GTK_BOX(vbox), table, /* expand */ TRUE, /* fill */ TRUE, /* padding */ 0); + gtk_widget_show(table); + + /* the empty box in the top-left corner */ + frame = gtk_frame_new(/* label */ 0); + gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_OUT); + gtk_table_attach(GTK_TABLE(table), frame, 0, 1, 0, 1, GTK_FILL, GTK_FILL, 0, 0); + gtk_widget_show(frame); + + /* the unit label */ + p->unit_label = gtk_label_new("cm"); + gtk_container_add(GTK_CONTAINER(frame), p->unit_label); + gtk_widget_show(p->unit_label); + + /* the horizontal ruler */ + p->hruler = gtk_hruler_new(); + gtk_table_attach(GTK_TABLE(table), p->hruler, 1, 2, 0, 1, GTK_FILL, 0, 0, 0); + gtk_widget_show(p->hruler); + + /* the vertical ruler */ + p->vruler = gtk_vruler_new(); + gtk_table_attach(GTK_TABLE(table), p->vruler, 0, 1, 1, 2, 0, GTK_FILL, 0, 0); + gtk_widget_show(p->vruler); + + /* the preview area */ + p->window = gtk_preview_new(GTK_PREVIEW_COLOR); + gtk_preview_set_expand(GTK_PREVIEW(p->window), TRUE); + + gtk_widget_set_events(p->window, GDK_EXPOSURE_MASK | GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | + GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK); + + /* the first expose_event is responsible to undraw the selection frame */ + g_signal_connect(GTK_OBJECT(p->window), "expose_event", (GtkSignalFunc) preview_expose_event_handler_start, p); + g_signal_connect(GTK_OBJECT(p->window), "button_press_event", (GtkSignalFunc) preview_button_press_event_handler, p); + g_signal_connect(GTK_OBJECT(p->window), "motion_notify_event", (GtkSignalFunc) preview_motion_event_handler, p); + g_signal_connect(GTK_OBJECT(p->window), "button_release_event", (GtkSignalFunc) preview_button_release_event_handler, p); + + g_signal_connect_after(GTK_OBJECT(p->window), "size_allocate", (GtkSignalFunc) preview_area_resize_handler, p); + /* the second expose_event is responsible to redraw the selection frame */ + g_signal_connect_after(GTK_OBJECT(p->window), "expose_event", (GtkSignalFunc) preview_expose_event_handler_end, p); + + /* Connect the motion-notify events of the preview area with the rulers. Nifty stuff! */ + +#ifdef HAVE_GTK2 + class = (GtkWidgetClass *) GTK_HSCROLLBAR_GET_CLASS(p->hruler); +#else + class = GTK_WIDGET_CLASS(GTK_OBJECT(p->hruler)->klass); +#endif + + signal_func = (GtkSignalFunc) class->motion_notify_event; + g_signal_connect_swapped(GTK_OBJECT(p->window), "motion_notify_event", signal_func, GTK_OBJECT(p->hruler)); + +#ifdef HAVE_GTK2 + class = (GtkWidgetClass *) GTK_VSCROLLBAR_GET_CLASS(p->vruler); +#else + class = GTK_WIDGET_CLASS(GTK_OBJECT(p->vruler)->klass); +#endif + + signal_func = (GtkSignalFunc) class->motion_notify_event; + g_signal_connect_swapped(GTK_OBJECT(p->window), "motion_notify_event", signal_func, GTK_OBJECT(p->vruler)); + + + p->viewport = gtk_frame_new(/* label */ 0); + gtk_frame_set_shadow_type(GTK_FRAME(p->viewport), GTK_SHADOW_IN); + gtk_container_add(GTK_CONTAINER(p->viewport), p->window); + gtk_widget_show(p->viewport); + + gtk_table_attach(GTK_TABLE(table), p->viewport, 1, 2, 1, 2, + GTK_FILL | GTK_EXPAND | GTK_SHRINK, GTK_FILL | GTK_EXPAND | GTK_SHRINK, 0, 0); + /* the preview area is ready */ + + + + /* the outer hbox at the bottom */ + outer_hbox = gtk_hbox_new(FALSE, 4); + gtk_container_set_border_width(GTK_CONTAINER(outer_hbox), 1); + gtk_box_pack_start(GTK_BOX(vbox), outer_hbox, FALSE, FALSE, 0); + gtk_widget_show(outer_hbox); + + /* the middle vbox at the bottom */ + middle_vbox = gtk_vbox_new(FALSE, 4); + gtk_container_set_border_width(GTK_CONTAINER(middle_vbox), 1); + gtk_box_pack_start(GTK_BOX(outer_hbox), middle_vbox, FALSE, FALSE, 0); + gtk_widget_show(middle_vbox); + + /* the menu_box (hbox) */ + p->menu_box = gtk_hbox_new(FALSE, 4); + gtk_container_set_border_width(GTK_CONTAINER(p->menu_box), 1); + gtk_box_pack_start(GTK_BOX(middle_vbox), p->menu_box, FALSE, FALSE, 0); + + xsane_separator_new(middle_vbox, 1); + + /* select maximum scanarea */ + pixmap = gdk_pixmap_create_from_xpm_d(p->top->window, &mask, xsane.bg_trans, (gchar **) size_xpm); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); + gtk_box_pack_start(GTK_BOX(p->menu_box), pixmapwidget, FALSE, FALSE, 2); + gtk_widget_show(pixmapwidget); + gdk_drawable_unref(pixmap); preset_area_option_menu = gtk_option_menu_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, preset_area_option_menu, DESC_PRESET_AREA); - gtk_box_pack_start(GTK_BOX(p->button_box), preset_area_option_menu, FALSE, FALSE, 0); + gtk_box_pack_start(GTK_BOX(p->menu_box), preset_area_option_menu, FALSE, FALSE, 0); gtk_widget_show(preset_area_option_menu); p->preset_area_option_menu = preset_area_option_menu; preview_create_preset_area_menu(p, 0); /* build menu and set default to 0=full size */ + xsane_vseparator_new(p->menu_box, 3); /* select rotation */ + pixmap = gdk_pixmap_create_from_xpm_d(p->top->window, &mask, xsane.bg_trans, (gchar **) rotation_xpm); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); + gtk_box_pack_start(GTK_BOX(p->menu_box), pixmapwidget, FALSE, FALSE, 2); + gtk_widget_show(pixmapwidget); + gdk_drawable_unref(pixmap); + rotation_menu = gtk_menu_new(); for (i = 0; i < 12; ++i) { - char buffer[256]; int rot; if (i<4) { - snprintf(buffer, sizeof(buffer), "%03d ", i*90); + snprintf(buf, sizeof(buf), "%03d ", i*90); rot = i; } else if (i<8) { - snprintf(buffer, sizeof(buffer), "%03d |", i*90-360); + snprintf(buf, sizeof(buf), "%03d |", i*90-360); rot = i; } else { - snprintf(buffer, sizeof(buffer), "%03d -", i*90-2*360); + snprintf(buf, sizeof(buf), "%03d -", i*90-2*360); rot = (((i & 3) + 2) & 3) + 4; } - rotation_item = gtk_menu_item_new_with_label(buffer); + rotation_item = gtk_menu_item_new_with_label(buf); gtk_container_add(GTK_CONTAINER(rotation_menu), rotation_item); - gtk_signal_connect(GTK_OBJECT(rotation_item), "activate", (GtkSignalFunc) preview_rotation_callback, p); + g_signal_connect(GTK_OBJECT(rotation_item), "activate", (GtkSignalFunc) preview_rotation_callback, p); gtk_object_set_data(GTK_OBJECT(rotation_item), "Selection", (void *) rot); gtk_widget_show(rotation_item); @@ -3573,133 +4475,143 @@ Preview *preview_new(void) rotation_option_menu = gtk_option_menu_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, rotation_option_menu, DESC_ROTATION); - gtk_box_pack_start(GTK_BOX(p->button_box), rotation_option_menu, FALSE, FALSE, 0); + gtk_box_pack_start(GTK_BOX(p->menu_box), rotation_option_menu, FALSE, FALSE, 0); gtk_option_menu_set_menu(GTK_OPTION_MENU(rotation_option_menu), rotation_menu); gtk_option_menu_set_history(GTK_OPTION_MENU(rotation_option_menu), p->rotation); /* set rotation */ -/* xsane_back_gtk_set_tooltip(tooltips, rotation_option_menu, desc); */ gtk_widget_show(rotation_option_menu); p->rotation_option_menu = rotation_option_menu; + xsane_vseparator_new(p->menu_box, 3); - gtk_widget_show(p->button_box); - - - - /* construct the preview area (table with sliders & preview window) */ - table = gtk_table_new(2, 2, /* homogeneous */ FALSE); - gtk_table_set_col_spacing(GTK_TABLE(table), 0, 1); - gtk_table_set_row_spacing(GTK_TABLE(table), 0, 1); - gtk_container_set_border_width(GTK_CONTAINER(table), 1); - gtk_box_pack_start(GTK_BOX(vbox), table, /* expand */ TRUE, /* fill */ TRUE, /* padding */ 0); + /* the preview aspect ratio menu */ + pixmap = gdk_pixmap_create_from_xpm_d(p->top->window, &mask, xsane.bg_trans, (gchar **) aspect_ratio_xpm); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); + gtk_box_pack_start(GTK_BOX(p->menu_box), pixmapwidget, FALSE, FALSE, 2); + gtk_widget_show(pixmapwidget); + gdk_drawable_unref(pixmap); - /* the empty box in the top-left corner */ - frame = gtk_frame_new(/* label */ 0); - gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_OUT); - gtk_table_attach(GTK_TABLE(table), frame, 0, 1, 0, 1, GTK_FILL, GTK_FILL, 0, 0); + ratio_menu = gtk_menu_new(); - /* the unit label */ - p->unit_label = gtk_label_new("cm"); - gtk_container_add(GTK_CONTAINER(frame), p->unit_label); - gtk_widget_show(p->unit_label); + for (i = 0; i < sizeof(ratio_value)/sizeof(float); ++i) + { + ratio_item = gtk_menu_item_new_with_label(ratio_string[i]); + gtk_container_add(GTK_CONTAINER(ratio_menu), ratio_item); + g_signal_connect(GTK_OBJECT(ratio_item), "activate", (GtkSignalFunc) preview_ratio_callback, p); + gtk_object_set_data(GTK_OBJECT(ratio_item), "Selection", &ratio_value[i]); - /* the horizontal ruler */ - p->hruler = gtk_hruler_new(); - gtk_table_attach(GTK_TABLE(table), p->hruler, 1, 2, 0, 1, GTK_FILL, 0, 0, 0); + gtk_widget_show(ratio_item); - /* the vertical ruler */ - p->vruler = gtk_vruler_new(); - gtk_table_attach(GTK_TABLE(table), p->vruler, 0, 1, 1, 2, 0, GTK_FILL, 0, 0); + if (ratio_value[i] == p->ratio) + { + ratio_nr = i; + } + } - /* the preview area */ - p->window = gtk_preview_new(GTK_PREVIEW_COLOR); - gtk_preview_set_expand(GTK_PREVIEW(p->window), TRUE); + ratio_option_menu = gtk_option_menu_new(); + xsane_back_gtk_set_tooltip(xsane.tooltips, ratio_option_menu, DESC_RATIO); + gtk_box_pack_start(GTK_BOX(p->menu_box), ratio_option_menu, FALSE, FALSE, 0); + gtk_option_menu_set_menu(GTK_OPTION_MENU(ratio_option_menu), ratio_menu); + gtk_option_menu_set_history(GTK_OPTION_MENU(ratio_option_menu), ratio_nr); /* set ratio */ - gtk_widget_set_events(p->window, GDK_EXPOSURE_MASK | GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | - GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK); + gtk_widget_show(ratio_option_menu); + p->ratio_option_menu = ratio_option_menu; - /* the first expose_event is responsible to undraw the selection frame */ - gtk_signal_connect(GTK_OBJECT(p->window), "expose_event", (GtkSignalFunc) preview_expose_event_handler_start, p); - gtk_signal_connect(GTK_OBJECT(p->window), "button_press_event", (GtkSignalFunc) preview_button_press_event_handler, p); - gtk_signal_connect(GTK_OBJECT(p->window), "motion_notify_event", (GtkSignalFunc) preview_motion_event_handler, p); - gtk_signal_connect(GTK_OBJECT(p->window), "button_release_event", (GtkSignalFunc) preview_button_release_event_handler, p); - gtk_signal_connect_after(GTK_OBJECT(p->window), "size_allocate", (GtkSignalFunc) preview_area_resize_handler, p); - /* the second expose_event is responsible to redraw the selection frame */ - gtk_signal_connect_after(GTK_OBJECT(p->window), "expose_event", (GtkSignalFunc) preview_expose_event_handler_end, p); + /* the pointer zoom */ + frame = gtk_frame_new(0); + gtk_box_pack_start(GTK_BOX(outer_hbox), frame, FALSE, FALSE, 3); + gtk_container_set_border_width(GTK_CONTAINER(frame), 0); + gtk_widget_show(frame); + p->zoom = gtk_preview_new(GTK_PREVIEW_COLOR); + gtk_preview_size(GTK_PREVIEW(p->zoom), XSANE_ZOOM_SIZE, XSANE_ZOOM_SIZE); + gtk_container_add(GTK_CONTAINER(frame), p->zoom); + gtk_widget_show(p->zoom); - /* Connect the motion-notify events of the preview area with the rulers. Nifty stuff! */ - class = GTK_WIDGET_CLASS(GTK_OBJECT(p->hruler)->klass); - signal_func = (GtkSignalFunc) class->motion_notify_event; - gtk_signal_connect_object(GTK_OBJECT(p->window), "motion_notify_event", signal_func, GTK_OBJECT(p->hruler)); - class = GTK_WIDGET_CLASS(GTK_OBJECT(p->vruler)->klass); - signal_func = (GtkSignalFunc) class->motion_notify_event; - gtk_signal_connect_object(GTK_OBJECT(p->window), "motion_notify_event", signal_func, GTK_OBJECT(p->vruler)); +#if 0 + /* the RGB label */ + frame = gtk_frame_new(0); + gtk_box_pack_start(GTK_BOX(p->menu_box), frame, FALSE, FALSE, 3); + gtk_widget_show(frame); + p->rgb_label = gtk_label_new(0); + gtk_container_add(GTK_CONTAINER(frame), p->rgb_label); + gtk_widget_show(p->rgb_label); + preview_display_color_components(p, -1, -1); /* display "###, ###, ###" */ +#endif + gtk_widget_show(p->menu_box); + /* the menu box is ready */ - p->viewport = gtk_frame_new(/* label */ 0); - gtk_frame_set_shadow_type(GTK_FRAME(p->viewport), GTK_SHADOW_IN); - gtk_container_add(GTK_CONTAINER(p->viewport), p->window); - gtk_table_attach(GTK_TABLE(table), p->viewport, 1, 2, 1, 2, - GTK_FILL | GTK_EXPAND | GTK_SHRINK, GTK_FILL | GTK_EXPAND | GTK_SHRINK, 0, 0); - preview_update_surface(p, 0); + /* set the action_hbox */ + action_box = gtk_hbox_new(FALSE, 0); + gtk_box_pack_start(GTK_BOX(middle_vbox), action_box, FALSE, FALSE, 2); + gtk_container_set_border_width(GTK_CONTAINER(action_box), 0); + gtk_widget_show(action_box); - /* fill in action area: */ /* the (in)valid pixmaps */ pixmap = gdk_pixmap_create_from_xpm_d(p->top->window, &mask, xsane.bg_trans, (gchar **) valid_xpm); - p->valid_pixmap = gtk_pixmap_new(pixmap, mask); - gtk_box_pack_start(GTK_BOX(hbox), p->valid_pixmap, FALSE, FALSE, 0); + p->valid_pixmap = gtk_image_new_from_pixmap(pixmap, mask); + gtk_box_pack_start(GTK_BOX(action_box), p->valid_pixmap, FALSE, FALSE, 0); gtk_widget_show(p->valid_pixmap); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); pixmap = gdk_pixmap_create_from_xpm_d(p->top->window, &mask, xsane.bg_trans, (gchar **) scanning_xpm); - p->scanning_pixmap = gtk_pixmap_new(pixmap, mask); - gtk_box_pack_start(GTK_BOX(hbox), p->scanning_pixmap, FALSE, FALSE, 0); + p->scanning_pixmap = gtk_image_new_from_pixmap(pixmap, mask); + gtk_box_pack_start(GTK_BOX(action_box), p->scanning_pixmap, FALSE, FALSE, 0); gtk_widget_show(p->scanning_pixmap); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); pixmap = gdk_pixmap_create_from_xpm_d(p->top->window, &mask, xsane.bg_trans, (gchar **) incomplete_xpm); - p->incomplete_pixmap = gtk_pixmap_new(pixmap, mask); - gtk_box_pack_start(GTK_BOX(hbox), p->incomplete_pixmap, FALSE, FALSE, 0); + p->incomplete_pixmap = gtk_image_new_from_pixmap(pixmap, mask); + gtk_box_pack_start(GTK_BOX(action_box), p->incomplete_pixmap, FALSE, FALSE, 0); gtk_widget_show(p->incomplete_pixmap); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); pixmap = gdk_pixmap_create_from_xpm_d(p->top->window, &mask, xsane.bg_trans, (gchar **) invalid_xpm); - p->invalid_pixmap = gtk_pixmap_new(pixmap, mask); - gtk_box_pack_start(GTK_BOX(hbox), p->invalid_pixmap, FALSE, FALSE, 0); + p->invalid_pixmap = gtk_image_new_from_pixmap(pixmap, mask); + gtk_box_pack_start(GTK_BOX(action_box), p->invalid_pixmap, FALSE, FALSE, 0); gtk_widget_show(p->invalid_pixmap); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); + /* Start button */ p->start = gtk_button_new_with_label(BUTTON_PREVIEW_ACQUIRE); xsane_back_gtk_set_tooltip(xsane.tooltips, p->start, DESC_PREVIEW_ACQUIRE); - gtk_signal_connect(GTK_OBJECT(p->start), "clicked", (GtkSignalFunc) preview_start_button_clicked, p); - gtk_box_pack_start(GTK_BOX(hbox), p->start, TRUE, TRUE, 10); - gtk_widget_add_accelerator(p->start, "clicked", xsane.accelerator_group, GDK_P, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); /* Alt P */ + g_signal_connect(GTK_OBJECT(p->start), "clicked", (GtkSignalFunc) preview_start_button_clicked, p); + gtk_box_pack_start(GTK_BOX(action_box), p->start, TRUE, TRUE, 5); + gtk_widget_add_accelerator(p->start, "clicked", xsane.accelerator_group, GDK_P, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); /* Alt P */ + gtk_widget_show(p->start); /* Cancel button */ p->cancel = gtk_button_new_with_label(BUTTON_PREVIEW_CANCEL); xsane_back_gtk_set_tooltip(xsane.tooltips, p->cancel, DESC_PREVIEW_CANCEL); - gtk_signal_connect(GTK_OBJECT(p->cancel), "clicked", (GtkSignalFunc) preview_cancel_button_clicked, p); - gtk_box_pack_start(GTK_BOX(hbox), p->cancel, TRUE, TRUE, 10); - gtk_widget_add_accelerator(p->cancel, "clicked", xsane.accelerator_group, GDK_Escape, GDK_MOD1_MASK, GTK_ACCEL_LOCKED); /* Alt ESC */ + g_signal_connect(GTK_OBJECT(p->cancel), "clicked", (GtkSignalFunc) preview_cancel_button_clicked, p); + gtk_box_pack_start(GTK_BOX(action_box), p->cancel, TRUE, TRUE, 5); + gtk_widget_add_accelerator(p->cancel, "clicked", xsane.accelerator_group, GDK_Escape, GDK_MOD1_MASK, DEF_GTK_ACCEL_LOCKED); /* Alt ESC */ + gtk_widget_show(p->cancel); gtk_widget_set_sensitive(p->cancel, FALSE); - gtk_widget_show(p->cancel); - gtk_widget_show(p->start); - gtk_widget_show(p->viewport); +#if 1 + /* the RGB label */ + frame = gtk_frame_new(0); + gtk_box_pack_start(GTK_BOX(action_box), frame, FALSE, FALSE, 3); + gtk_widget_show(frame); + p->rgb_label = gtk_label_new(0); + gtk_container_add(GTK_CONTAINER(frame), p->rgb_label); + gtk_widget_show(p->rgb_label); + preview_display_color_components(p, -1, -1); /* display "###, ###, ###" */ +#endif + + preview_update_surface(p, 0); + gtk_widget_show(p->window); - gtk_widget_show(p->hruler); - gtk_widget_show(p->vruler); - gtk_widget_show(frame); - gtk_widget_show(table); gtk_widget_show(p->top); cursor = gdk_cursor_new(XSANE_CURSOR_PREVIEW); /* set default curosr */ gdk_window_set_cursor(p->window->window, cursor); - gdk_cursor_destroy(cursor); + gdk_cursor_unref(cursor); p->cursornr = XSANE_CURSOR_PREVIEW; gtk_widget_pop_colormap(); @@ -3875,6 +4787,7 @@ void preview_update_surface(Preview *p, int surface_changed) { gtk_widget_set_sensitive(p->preset_area_option_menu, TRUE); /* enable preset area */ gtk_widget_set_sensitive(p->zoom_in, TRUE); /* zoom in is allowed at all */ + gtk_widget_set_sensitive(p->zoom_area, TRUE); /* zoom area is allowed at all */ gtk_widget_set_sensitive(p->full_area, TRUE); /* enable selection buttons */ gtk_widget_set_sensitive(p->autoselect, TRUE); } @@ -3882,6 +4795,7 @@ void preview_update_surface(Preview *p, int surface_changed) { gtk_widget_set_sensitive(p->preset_area_option_menu, FALSE); /* disable preset area */ gtk_widget_set_sensitive(p->zoom_in, FALSE); /* no zoom at all */ + gtk_widget_set_sensitive(p->zoom_area, FALSE); gtk_widget_set_sensitive(p->zoom_out, FALSE); gtk_widget_set_sensitive(p->zoom_undo, FALSE); gtk_widget_set_sensitive(p->zoom_not, FALSE); @@ -3906,7 +4820,11 @@ void preview_update_surface(Preview *p, int surface_changed) width = p->surface[p->index_xmax] - p->surface[p->index_xmin]; height = p->surface[p->index_ymax] - p->surface[p->index_ymin]; +#if 0 if ( (p->calibration) || (p->startimage) ) /* predefined image should have constant aspect */ +#else + if (p->calibration) /* predefined calibration image should have constant aspect */ +#endif { p->aspect = fabs(p->image_width/(float) p->image_height); } @@ -3942,7 +4860,7 @@ void preview_update_surface(Preview *p, int surface_changed) p->preview_window_width = 0.3 * gdk_screen_width(); p->preview_window_height = 0.5 * gdk_screen_height(); preview_area_correct(p); /* calculate preview_width and height */ - gtk_widget_set_usize(GTK_WIDGET(p->window), p->preview_width, p->preview_height); + gtk_widget_set_size_request(GTK_WIDGET(p->window), p->preview_width, p->preview_height); } else if (surface_changed) /* establish new surface */ { @@ -3967,6 +4885,7 @@ void preview_update_surface(Preview *p, int surface_changed) /* ---------------------------------------------------------------------------------------------------------------------- */ +/* preview_scan is called once when the "Preview scan" button is pressed */ void preview_scan(Preview *p) { double min, max, swidth, sheight, width, height, dpi = 0; @@ -3974,6 +4893,14 @@ void preview_scan(Preview *p) gint gwidth, gheight; int i; float dsurface[4]; + int gamma_gray_size = 256; /* set this values to image depth for more than 8bpp input support!!! */ + int gamma_red_size = 256; + int gamma_green_size = 256; + int gamma_blue_size = 256; + int gamma_gray_max = 255; /* set this to to image depth for more than 8bpp output support */ + int gamma_red_max = 255; + int gamma_green_max = 255; + int gamma_blue_max = 255; DBG(DBG_proc, "preview_scan\n"); @@ -3995,10 +4922,6 @@ void preview_scan(Preview *p) preview_save_option(p, xsane.well_known.bit_depth, &p->saved_bit_depth, &p->saved_bit_depth_valid); -#if 0 - xsane_set_medium(preferences.medium[xsane.medium_nr]); /* make sure medium gamma values are up to date */ -#endif - /* determine dpi, if necessary: */ if (xsane.well_known.dpi > 0) @@ -4066,6 +4989,7 @@ void preview_scan(Preview *p) xsane_set_resolution(xsane.well_known.dpi_y, dpi); /* set resolution to dpi or next higher value that is available */ } + preview_rotate_previewsurface_to_devicesurface(p->rotation, p->surface, dsurface); for (i = 0; i < 4; ++i) @@ -4087,6 +5011,97 @@ void preview_scan(Preview *p) } #endif + + if (xsane.well_known.gamma_vector >0) + { + const SANE_Option_Descriptor *opt; + + opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector); + if (SANE_OPTION_IS_ACTIVE(opt->cap)) + { + SANE_Int *gamma_data; + + opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector); + gamma_gray_size = opt->size / sizeof(opt->type); + gamma_gray_max = opt->constraint.range->max; + + gamma_data = malloc(gamma_gray_size * sizeof(SANE_Int)); + + if ((xsane.xsane_colors > 1) || (xsane.no_preview_medium_gamma)) /* color scan or medium preview gamma disabled */ + { + xsane_create_gamma_curve(gamma_data, 0, 1.0, 0.0, 0.0, 0.0, 100.0, 1.0, gamma_gray_size, gamma_gray_max); + } + else /* grayscale scan */ + { + xsane_create_gamma_curve(gamma_data, xsane.medium_negative, 1.0, 0.0, 0.0, + xsane.medium_shadow_gray, xsane.medium_highlight_gray, xsane.medium_gamma_gray, + gamma_gray_size, gamma_gray_max); + } + + xsane_back_gtk_update_vector(xsane.well_known.gamma_vector, gamma_data); + free(gamma_data); + } + } + + if (xsane.well_known.gamma_vector_r >0) + { + const SANE_Option_Descriptor *opt; + + opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector_r); + if (SANE_OPTION_IS_ACTIVE(opt->cap)) + { + SANE_Int *gamma_data_red, *gamma_data_green, *gamma_data_blue; + + opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector_r); + gamma_red_size = opt->size / sizeof(opt->type); + gamma_red_max = opt->constraint.range->max; + + opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector_g); + gamma_green_size = opt->size / sizeof(opt->type); + gamma_green_max = opt->constraint.range->max; + + opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.gamma_vector_b); + gamma_blue_size = opt->size / sizeof(opt->type); + gamma_blue_max = opt->constraint.range->max; + + gamma_data_red = malloc(gamma_red_size * sizeof(SANE_Int)); + gamma_data_green = malloc(gamma_green_size * sizeof(SANE_Int)); + gamma_data_blue = malloc(gamma_blue_size * sizeof(SANE_Int)); + + if (xsane.no_preview_medium_gamma) /* do not use medium gamma for preview */ + { + DBG(DBG_info, "preview: not using medium gamma table\n"); + + xsane_create_gamma_curve(gamma_data_red, 0, 1.0, 0.0, 0.0, 0.0, 100.0, 1.0, gamma_red_size, gamma_red_max); + xsane_create_gamma_curve(gamma_data_green, 0, 1.0, 0.0, 0.0, 0.0, 100.0, 1.0, gamma_green_size, gamma_green_max); + xsane_create_gamma_curve(gamma_data_blue, 0, 1.0, 0.0, 0.0, 0.0, 100.0, 1.0, gamma_blue_size, gamma_blue_max); + } + else /* use medium gamma for preview */ + { + DBG(DBG_info, "preview: using medium gamma table\n"); + + xsane_create_gamma_curve(gamma_data_red, xsane.medium_negative, 1.0, 0.0, 0.0, + xsane.medium_shadow_red, xsane.medium_highlight_red, xsane.medium_gamma_red, + gamma_red_size, gamma_red_max); + xsane_create_gamma_curve(gamma_data_green, xsane.medium_negative, 1.0, 0.0, 0.0, + xsane.medium_shadow_green, xsane.medium_highlight_green, xsane.medium_gamma_green, + gamma_green_size, gamma_green_max); + xsane_create_gamma_curve(gamma_data_blue, xsane.medium_negative, 1.0, 0.0, 0.0, + xsane.medium_shadow_blue, xsane.medium_highlight_blue, xsane.medium_gamma_blue, + gamma_blue_size, gamma_blue_max); + } + + xsane_back_gtk_update_vector(xsane.well_known.gamma_vector_r, gamma_data_red); + xsane_back_gtk_update_vector(xsane.well_known.gamma_vector_g, gamma_data_green); + xsane_back_gtk_update_vector(xsane.well_known.gamma_vector_b, gamma_data_blue); + + free(gamma_data_red); + free(gamma_data_green); + free(gamma_data_blue); + } + } + + xsane.block_update_param = FALSE; p->preview_colors = xsane.xsane_colors; p->scan_incomplete = FALSE; @@ -4189,6 +5204,8 @@ static void preview_delete_images(Preview *p) fclose(out); } preview_update_surface(p, 1); + + xsane_batch_scan_update_icon_list(); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -4232,12 +5249,12 @@ void preview_destroy(Preview *p) if (p->gc_selection) { - gdk_gc_destroy(p->gc_selection); + gdk_gc_unref(p->gc_selection); } if (p->gc_selection_maximum) { - gdk_gc_destroy(p->gc_selection_maximum); + gdk_gc_unref(p->gc_selection_maximum); } if (p->top) @@ -4251,6 +5268,27 @@ void preview_destroy(Preview *p) /* ---------------------------------------------------------------------------------------------------------------------- */ +static void preview_zoom_area(GtkWidget *window, gpointer data) +{ + Preview *p=data; + int i; + + DBG(DBG_proc, "preview_zoom_area\n"); + + for (i=0; i<4; i++) + { + p->old_surface[i] = p->surface[i]; + p->surface[i] = p->selection.coordinate[i]; + } + + preview_update_surface(p, 1); + gtk_widget_set_sensitive(p->zoom_not, TRUE); /* allow unzoom */ + gtk_widget_set_sensitive(p->zoom_out, TRUE); /* allow zoom out */ + gtk_widget_set_sensitive(p->zoom_undo,TRUE); /* allow zoom undo */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static void preview_zoom_not(GtkWidget *window, gpointer data) { Preview *p=data; @@ -4320,19 +5358,25 @@ static void preview_zoom_out(GtkWidget *window, gpointer data) /* ---------------------------------------------------------------------------------------------------------------------- */ -static void preview_zoom_in(GtkWidget *window, gpointer data) +static void preview_select_zoom_point(Preview *p, int preview_x, int preview_y) { - Preview *p=data; int i; + float device_x, device_y; + + DBG(DBG_proc, "preview_select_zoom_point(%d, %d)\n", preview_x, preview_y); - DBG(DBG_proc, "preview_zoom_in\n"); + preview_transform_coordinate_window_to_device(p, preview_x, preview_y, &device_x, &device_y); for (i=0; i<4; i++) { p->old_surface[i] = p->surface[i]; - p->surface[i] = p->selection.coordinate[i]; } + p->surface[0] = device_x + (p->surface[0] - device_x) * 0.8; + p->surface[1] = device_y + (p->surface[1] - device_y) * 0.8; + p->surface[2] = device_x + (p->surface[2] - device_x) * 0.8; + p->surface[3] = device_y + (p->surface[3] - device_y) * 0.8; + preview_update_surface(p, 1); gtk_widget_set_sensitive(p->zoom_not, TRUE); /* allow unzoom */ gtk_widget_set_sensitive(p->zoom_out, TRUE); /* allow zoom out */ @@ -4375,7 +5419,7 @@ static void preview_get_color(Preview *p, int x, int y, int range, int *red, int { preview_transform_coordinate_window_to_image(p, x, y, &image_x, &image_y); - if ( (image_x < p->image_width) && (image_y < p->image_height) ) + if ( (image_x >= 0) && (image_x < p->image_width) && (image_y >=0) && (image_y < p->image_height) ) { image_x_min = image_x - range/2; image_y_min = image_y - range/2; @@ -4423,6 +5467,20 @@ static void preview_get_color(Preview *p, int x, int y, int range, int *red, int /* ---------------------------------------------------------------------------------------------------------------------- */ +static void preview_add_batch(GtkWidget *window, Preview *data) +{ + DBG(DBG_proc, "preview_add_batch\n"); + + xsane_batch_scan_add(); /* add active settings to batch list */ + +#if 0 + preview_draw_selection(p); /* read selection from backend: correct rotation */ + preview_establish_selection(p); /* read selection from backend: correct rotation */ +#endif +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static void preview_pipette_white(GtkWidget *window, gpointer data) { Preview *p=data; @@ -4450,7 +5508,7 @@ static void preview_pipette_white(GtkWidget *window, gpointer data) cursor = gdk_cursor_new_from_pixmap(pixmap, mask, &fg, &bg, CURSOR_PIPETTE_HOT_X, CURSOR_PIPETTE_HOT_Y); gdk_window_set_cursor(p->window->window, cursor); - gdk_cursor_destroy(cursor); + gdk_cursor_unref(cursor); p->cursornr = -1; } @@ -4483,7 +5541,7 @@ static void preview_pipette_gray(GtkWidget *window, gpointer data) cursor = gdk_cursor_new_from_pixmap(pixmap, mask, &fg, &bg, CURSOR_PIPETTE_HOT_X, CURSOR_PIPETTE_HOT_Y); gdk_window_set_cursor(p->window->window, cursor); - gdk_cursor_destroy(cursor); + gdk_cursor_unref(cursor); p->cursornr = -1; } @@ -4516,12 +5574,77 @@ static void preview_pipette_black(GtkWidget *window, gpointer data) cursor = gdk_cursor_new_from_pixmap(pixmap, mask, &fg, &bg, CURSOR_PIPETTE_HOT_X, CURSOR_PIPETTE_HOT_Y); gdk_window_set_cursor(p->window->window, cursor); - gdk_cursor_destroy(cursor); + gdk_cursor_unref(cursor); + p->cursornr = -1; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void preview_init_autoraise_scanarea(GtkWidget *window, gpointer data) +{ + Preview *p=data; + GdkCursor *cursor; + GdkColor fg; + GdkColor bg; + GdkPixmap *pixmap; + GdkPixmap *mask; + + DBG(DBG_proc, "preview_init_autoraise_scanarea\n"); + + p->mode = MODE_AUTORAISE_SCANAREA; + + pixmap = gdk_bitmap_create_from_data(p->top->window, cursor_autoraise_scanarea, CURSOR_AUTORAISE_SCANAREA_WIDTH, CURSOR_AUTORAISE_SCANAREA_HEIGHT); + mask = gdk_bitmap_create_from_data(p->top->window, cursor_autoraise_scanarea_mask, CURSOR_AUTORAISE_SCANAREA_WIDTH, CURSOR_AUTORAISE_SCANAREA_HEIGHT); + + fg.red = 0; + fg.green = 0; + fg.blue = 0; + + bg.red = 65535; + bg.green = 65535; + bg.blue = 65535; + + cursor = gdk_cursor_new_from_pixmap(pixmap, mask, &fg, &bg, CURSOR_AUTORAISE_SCANAREA_HOT_X, CURSOR_AUTORAISE_SCANAREA_HOT_Y); + + gdk_window_set_cursor(p->window->window, cursor); + gdk_cursor_unref(cursor); p->cursornr = -1; } /* ---------------------------------------------------------------------------------------------------------------------- */ +static void preview_zoom_in(GtkWidget *window, gpointer data) +{ + Preview *p=data; + GdkCursor *cursor; + GdkColor fg; + GdkColor bg; + GdkPixmap *pixmap; + GdkPixmap *mask; + + DBG(DBG_proc, "preview_zoom\n"); + + p->mode = MODE_ZOOM_IN; + + pixmap = gdk_bitmap_create_from_data(p->top->window, cursor_zoom, CURSOR_ZOOM_WIDTH, CURSOR_ZOOM_HEIGHT); + mask = gdk_bitmap_create_from_data(p->top->window, cursor_zoom_mask, CURSOR_ZOOM_WIDTH, CURSOR_ZOOM_HEIGHT); + + fg.red = 0; + fg.green = 0; + fg.blue = 0; + + bg.red = 65535; + bg.green = 65535; + bg.blue = 65535; + + cursor = gdk_cursor_new_from_pixmap(pixmap, mask, &fg, &bg, CURSOR_ZOOM_HOT_X, CURSOR_ZOOM_HOT_Y); + + gdk_window_set_cursor(p->window->window, cursor); + gdk_cursor_unref(cursor); + p->cursornr = -1; +} +/* ---------------------------------------------------------------------------------------------------------------------- */ + void preview_select_full_preview_area(Preview *p) { int i; @@ -4566,32 +5689,15 @@ static void preview_delete_images_callback(GtkWidget *widget, gpointer call_data /* ---------------------------------------------------------------------------------------------------------------------- */ -int xsane_preset_area_entry_rename; - -static void xsane_preset_area_entry_rename_button_callback(GtkWidget *widget, gpointer data) -{ - DBG(DBG_proc, "xsane_preset_area_entry_rename\n"); - - xsane_preset_area_entry_rename = (int) data; -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - static gint preview_preset_area_rename_callback(GtkWidget *widget, GtkWidget *preset_area_widget) { int selection; char *oldname; char *newname; Preview *p; - GtkWidget *rename_dialog; - GtkWidget *text; - GtkWidget *button; - GtkWidget *vbox, *hbox; GtkWidget *old_preset_area_menu; - char buf[256]; int old_selection; - DBG(DBG_proc, "preview_preset_area_rename_callback\n"); selection = (int) gtk_object_get_data(GTK_OBJECT(preset_area_widget), "Selection"); @@ -4599,71 +5705,15 @@ static gint preview_preset_area_rename_callback(GtkWidget *widget, GtkWidget *pr DBG(DBG_info ,"rename %s\n", preferences.preset_area[selection]->name); + /* set menu in correct state, is a bit strange this way but I do not have a better idea */ old_preset_area_menu = gtk_option_menu_get_menu(GTK_OPTION_MENU(p->preset_area_option_menu)); old_selection = (int) gtk_object_get_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(old_preset_area_menu))), "Selection"); - gtk_menu_popdown(GTK_MENU(old_preset_area_menu)); - /* set menu in correct state, is a bit strange this way but I do not have a better idea */ gtk_option_menu_set_history(GTK_OPTION_MENU(p->preset_area_option_menu), old_selection); oldname = strdup(preferences.preset_area[selection]->name); - rename_dialog = gtk_window_new(GTK_WINDOW_DIALOG); - xsane_set_window_icon(rename_dialog, 0); - - /* set rename dialog */ - gtk_window_set_position(GTK_WINDOW(rename_dialog), GTK_WIN_POS_CENTER); - gtk_window_set_policy(GTK_WINDOW(rename_dialog), FALSE, FALSE, FALSE); - snprintf(buf, sizeof(buf), "%s %s", xsane.prog_name, WINDOW_PRESET_AREA_RENAME); - gtk_window_set_title(GTK_WINDOW(rename_dialog), buf); - gtk_signal_connect(GTK_OBJECT(rename_dialog), "delete_event", (GtkSignalFunc) xsane_preset_area_entry_rename_button_callback, (void *) -1); - gtk_widget_show(rename_dialog); - - /* set the main vbox */ - vbox = gtk_vbox_new(FALSE, 0); - gtk_container_set_border_width(GTK_CONTAINER(vbox), 0); - gtk_container_add(GTK_CONTAINER(rename_dialog), vbox); - gtk_widget_show(vbox); - - /* set the main hbox */ - hbox = gtk_hbox_new(FALSE, 0); - xsane_separator_new(vbox, 2); - gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); - gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); - gtk_widget_show(hbox); - - text = gtk_entry_new_with_max_length(64); - xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRESET_AREA_NAME); - gtk_entry_set_text(GTK_ENTRY(text), oldname); - gtk_widget_set_usize(text, 300, 0); - gtk_box_pack_start(GTK_BOX(vbox), text, TRUE, TRUE, 4); - gtk_widget_show(text); - - - button = gtk_button_new_with_label("OK"); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_preset_area_entry_rename_button_callback, (void *) 1); - gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); - gtk_widget_show(button); - - button = gtk_button_new_with_label("Cancel"); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_preset_area_entry_rename_button_callback, (void *) -1); - gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); - gtk_widget_show(button); - - xsane_preset_area_entry_rename = 0; - - while (xsane_preset_area_entry_rename == 0) - { - while (gtk_events_pending()) - { - DBG(DBG_info, "preview_preset_area_rename_callback: calling gtk_main_iteration\n"); - gtk_main_iteration(); - } - } - - newname = strdup(gtk_entry_get_text(GTK_ENTRY(text))); - - if (xsane_preset_area_entry_rename == 1) /* OK button has been pressed */ + if (!xsane_front_gtk_getname_dialog(WINDOW_PRESET_AREA_RENAME, DESC_PRESET_AREA_RENAME, oldname, &newname)) { gtk_option_menu_remove_menu(GTK_OPTION_MENU(p->preset_area_option_menu)); @@ -4682,8 +5732,6 @@ static gint preview_preset_area_rename_callback(GtkWidget *widget, GtkWidget *pr free(oldname); free(newname); - gtk_widget_destroy(rename_dialog); - xsane_set_sensitivity(TRUE); return TRUE; /* event is handled */ @@ -4695,6 +5743,9 @@ static gint preview_preset_area_add_callback(GtkWidget *widget, GtkWidget *prese { int selection, i, old_selection = 0; Preview *p; + float coord[4]; + char suggested_name[256]; + char *newname; GtkWidget *old_preset_area_menu; DBG(DBG_proc, "preview_preset_area_add_callback\n"); @@ -4702,11 +5753,18 @@ static gint preview_preset_area_add_callback(GtkWidget *widget, GtkWidget *prese selection = (int) gtk_object_get_data(GTK_OBJECT(preset_area_widget), "Selection"); p = (Preview *) gtk_object_get_data(GTK_OBJECT(preset_area_widget), "Preview"); - if (selection < preferences.preset_area_definitions) - { - char buf[256]; - float coord[4]; + /* set menu in correct state, is a bit strange this way but I do not have a better idea */ + old_preset_area_menu = gtk_option_menu_get_menu(GTK_OPTION_MENU(p->preset_area_option_menu)); + old_selection = (int) gtk_object_get_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(old_preset_area_menu))), "Selection"); + gtk_menu_popdown(GTK_MENU(old_preset_area_menu)); + gtk_option_menu_set_history(GTK_OPTION_MENU(p->preset_area_option_menu), old_selection); + /* sugggest name = size in mm */ + preview_rotate_previewsurface_to_devicesurface(p->rotation, p->selection.coordinate, coord); + snprintf(suggested_name, sizeof(suggested_name), "%d mm x %d mm", (int) (coord[2]-coord[0]), (int) (coord[3]-coord[1])); + + if (!xsane_front_gtk_getname_dialog(WINDOW_PRESET_AREA_ADD, DESC_PRESET_AREA_ADD, suggested_name, &newname)) + { preferences.preset_area = realloc(preferences.preset_area, (preferences.preset_area_definitions+1) * sizeof(void *)); /* shift all items after selection */ @@ -4715,31 +5773,17 @@ static gint preview_preset_area_add_callback(GtkWidget *widget, GtkWidget *prese preferences.preset_area[i+1] = preferences.preset_area[i]; } - /* insert new item behind selected item, name is size in mm */ - preview_rotate_previewsurface_to_devicesurface(p->rotation, p->selection.coordinate, coord); - snprintf(buf, sizeof(buf), "%d mm x %d mm", (int) (coord[2]-coord[0]), (int) (coord[3]-coord[1])); + /* insert new item behind selected item */ preferences.preset_area[selection+1] = calloc(sizeof(Preferences_preset_area_t), 1); - preferences.preset_area[selection+1]->name = strdup(buf); + preferences.preset_area[selection+1]->name = strdup(newname); preferences.preset_area[selection+1]->xoffset = coord[0]; preferences.preset_area[selection+1]->yoffset = coord[1]; preferences.preset_area[selection+1]->width = coord[2] - coord[0]; - preferences.preset_area[selection+1]->height = coord[3] - coord[1]; - - DBG(DBG_proc, "added %s\n", buf); - - preferences.preset_area_definitions++; - - old_preset_area_menu = gtk_option_menu_get_menu(GTK_OPTION_MENU(p->preset_area_option_menu)); - - gtk_option_menu_remove_menu(GTK_OPTION_MENU(p->preset_area_option_menu)); - old_selection = (int) gtk_object_get_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(old_preset_area_menu))), "Selection"); - - if (old_selection > selection) /* we are moving the selected surface */ - { - old_selection++; - } + preferences.preset_area[selection+1]->height = coord[3] - coord[1]; - gtk_widget_destroy(old_preset_area_menu); + DBG(DBG_proc, "added %s\n", newname); + + preferences.preset_area_definitions++; preview_create_preset_area_menu(p, old_selection); } @@ -4895,6 +5939,7 @@ static gint preview_preset_area_context_menu_callback(GtkWidget *widget, GdkEven GtkWidget *menu_item; GdkEventButton *event_button; int selection; + char buf[256]; DBG(DBG_proc, "preview_preset_area_context_menu_callback\n"); @@ -4912,42 +5957,51 @@ static gint preview_preset_area_context_menu_callback(GtkWidget *widget, GdkEven menu_item = gtk_menu_item_new_with_label(MENU_ITEM_PRESET_AREA_ADD_SEL); gtk_widget_show(menu_item); gtk_container_add(GTK_CONTAINER(menu), menu_item); - gtk_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) preview_preset_area_add_callback, widget); + g_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) preview_preset_area_add_callback, widget); + + /* add separator */ + menu_item = gtk_menu_item_new(); + gtk_widget_show(menu_item); + gtk_container_add(GTK_CONTAINER(menu), menu_item); /* rename preset area */ - menu_item = gtk_menu_item_new_with_label(MENU_ITEM_PRESET_AREA_RENAME); + snprintf(buf, sizeof(buf), "%s: %s", preferences.preset_area[selection]->name, MENU_ITEM_RENAME); + menu_item = gtk_menu_item_new_with_label(buf); gtk_widget_show(menu_item); gtk_container_add(GTK_CONTAINER(menu), menu_item); - gtk_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) preview_preset_area_rename_callback, widget); + g_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) preview_preset_area_rename_callback, widget); if (selection) /* not available for "full area" */ { /* delete preset area */ - menu_item = gtk_menu_item_new_with_label(MENU_ITEM_PRESET_AREA_DELETE); + snprintf(buf, sizeof(buf), "%s: %s", preferences.preset_area[selection]->name, MENU_ITEM_DELETE); + menu_item = gtk_menu_item_new_with_label(buf); gtk_widget_show(menu_item); gtk_container_add(GTK_CONTAINER(menu), menu_item); - gtk_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) preview_preset_area_delete_callback, widget); + g_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) preview_preset_area_delete_callback, widget); } if (selection>1) /* available from 3rd item */ { /* move up */ - menu_item = gtk_menu_item_new_with_label(MENU_OTEM_PRESET_AREA_MOVE_UP); + snprintf(buf, sizeof(buf), "%s: %s", preferences.preset_area[selection]->name, MENU_ITEM_MOVE_UP); + menu_item = gtk_menu_item_new_with_label(buf); gtk_widget_show(menu_item); gtk_container_add(GTK_CONTAINER(menu), menu_item); - gtk_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) preview_preset_area_move_up_callback, widget); + g_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) preview_preset_area_move_up_callback, widget); } if ((selection) && (selection < preferences.preset_area_definitions-1)) { /* move down */ - menu_item = gtk_menu_item_new_with_label(MENU_OTEM_PRESET_AREA_MOVE_DWN); + snprintf(buf, sizeof(buf), "%s: %s", preferences.preset_area[selection]->name, MENU_ITEM_MOVE_DWN); + menu_item = gtk_menu_item_new_with_label(buf); gtk_widget_show(menu_item); gtk_container_add(GTK_CONTAINER(menu), menu_item); - gtk_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) preview_preset_area_move_down_callback, widget); + g_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) preview_preset_area_move_down_callback, widget); } - gtk_widget_show(menu); +/* gtk_widget_show(menu); */ gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, event_button->button, event_button->time); return TRUE; /* event is handled */ @@ -4959,9 +6013,9 @@ static gint preview_preset_area_context_menu_callback(GtkWidget *widget, GdkEven /* ---------------------------------------------------------------------------------------------------------------------- */ -static void preview_preset_area_callback(GtkWidget *widget, gpointer call_data) +static void preview_preset_area_callback(GtkWidget *widget, gpointer data) { - Preview *p = call_data; + Preview *p = data; int selection; DBG(DBG_proc, "preview_preset_area_callback\n"); @@ -4982,9 +6036,9 @@ static void preview_preset_area_callback(GtkWidget *widget, gpointer call_data) /* ---------------------------------------------------------------------------------------------------------------------- */ -static void preview_rotation_callback(GtkWidget *widget, gpointer call_data) +static void preview_rotation_callback(GtkWidget *widget, gpointer data) { - Preview *p = call_data; + Preview *p = data; float rotated_surface[4]; int rot; @@ -5070,8 +6124,84 @@ static void preview_rotation_callback(GtkWidget *widget, gpointer call_data) p->rotation = rot; - preview_update_selection(p); /* read selection from backend: correct rotation */ + p->block_update_maximum_output_size_clipping = TRUE; /* necessary when in copy mode */ preview_update_surface(p, 2); /* rotate surfaces */ + p->block_update_maximum_output_size_clipping = FALSE; + preview_update_selection(p); /* read selection from backend: correct rotation */ + xsane_batch_scan_update_icon_list(); /* rotate batch scan icons */ + preview_establish_ratio(p); /* make sure ratio is like selected - when selected */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void preview_establish_ratio(Preview *p) +{ + float width, height; + + DBG(DBG_proc, "preview_establish_ratio\n"); + + if (p->ratio == 0.0) + { + return; + } + + width = fabs(p->selection.coordinate[p->index_xmax] - p->selection.coordinate[p->index_xmin]); + height = fabs(p->selection.coordinate[p->index_ymax] - p->selection.coordinate[p->index_ymin]); + + if ( (0.99 < width / p->ratio / height) && (width / p->ratio / height < 1.01) ) + { + return; + } + + if ( (0.99 < width * p->ratio / height) && (width * p->ratio / height < 1.01) ) + { + width = height; + + if (width > p->scanner_surface[p->index_xmax] - p->scanner_surface[p->index_xmin]) + { + width = p->scanner_surface[p->index_xmax] - p->scanner_surface[p->index_xmin]; + } + } + + height = width / p->ratio; + if (height > p->scanner_surface[p->index_ymax] - p->scanner_surface[p->index_ymin]) + { + height = p->scanner_surface[p->index_ymax] - p->scanner_surface[p->index_ymin]; + width = height * p->ratio; + } + + p->selection.coordinate[p->index_xmax] = p->selection.coordinate[p->index_xmin] + width; + if (p->selection.coordinate[p->index_xmax] > p->scanner_surface[p->index_xmax]) + { + p->selection.coordinate[p->index_xmax] = p->scanner_surface[p->index_xmax]; + p->selection.coordinate[p->index_xmin] = p->selection.coordinate[p->index_xmax] - width; + } + + p->selection.coordinate[p->index_ymax] = p->selection.coordinate[p->index_ymin] + height; + if (p->selection.coordinate[p->index_ymax] > p->scanner_surface[p->index_ymax]) + { + p->selection.coordinate[p->index_ymax] = p->scanner_surface[p->index_ymax]; + p->selection.coordinate[p->index_ymin] = p->selection.coordinate[p->index_ymax] - height; + } + + preview_draw_selection(p); + preview_establish_selection(p); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void preview_ratio_callback(GtkWidget *widget, gpointer data) +{ + Preview *p = data; + float *ratio; + + DBG(DBG_proc, "preview_ratio_callback\n"); + + ratio = (float *) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); + + p->ratio = *ratio; + + preview_establish_ratio(p); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -5092,8 +6222,8 @@ void preview_do_gamma_correction(Preview *p) { int x,y; int offset; - u_char *image_data_enhp; - guint16 *image_data_rawp; + u_char *image_data_enhp = NULL; + guint16 *image_data_rawp = NULL; int rotate = 16 - preview_gamma_input_bits; DBG(DBG_proc, "preview_do_gamma_correction\n"); @@ -5142,7 +6272,10 @@ void preview_do_gamma_correction(Preview *p) for (x=0; x < p->image_width; x++) { - level = ((*image_data_rawp++) + (*image_data_rawp++) + (*image_data_rawp++)) / 3; + level = (*image_data_rawp++); /* red */ + level += (*image_data_rawp++); /* green */ + level += (*image_data_rawp++); /* blue */ + level /= 3; level >>= rotate; *image_data_enhp++ = preview_gamma_data_red [level]; /* use 12 bit gamma table */ *image_data_enhp++ = preview_gamma_data_green[level]; @@ -5619,11 +6752,28 @@ gint preview_area_resize_handler(GtkWidget *widget, GdkEvent *event, gpointer da } /* ---------------------------------------------------------------------------------------------------------------------- */ -#if 0 + void preview_update_maximum_output_size(Preview *p) { + float xxx = 0.0; + float yyy = 0.0; + float dxmin = 0; + float dymin = 0; + float dxmax = 0; + float dymax = 0; + + int paper_orientation = 0; + + if (p->block_update_maximum_output_size_clipping) + { + DBG(DBG_info, "preview_update_maximum_output_size: blocked\n"); + return; + } + DBG(DBG_proc, "preview_update_maximum_output_size\n"); + p->block_update_maximum_output_size_clipping = TRUE; + if ( (p->maximum_output_width >= INF) || (p->maximum_output_height >= INF) ) { if (p->selection_maximum.active) @@ -5631,127 +6781,384 @@ void preview_update_maximum_output_size(Preview *p) p->selection_maximum.active = FALSE; } } - else + else /* we have a maximum output size definition */ { p->previous_selection_maximum = p->selection_maximum; - p->selection_maximum.active = TRUE; - p->selection_maximum.coordinate[0] = (p->selection.coordinate[0] + p->selection.coordinate[2] - p->maximum_output_width )/2.0; - p->selection_maximum.coordinate[1] = (p->selection.coordinate[1] + p->selection.coordinate[3] - p->maximum_output_height)/2.0; - p->selection_maximum.coordinate[2] = (p->selection.coordinate[0] + p->selection.coordinate[2] + p->maximum_output_width )/2.0; - p->selection_maximum.coordinate[3] = (p->selection.coordinate[1] + p->selection.coordinate[3] + p->maximum_output_height)/2.0; - if (p->selection_maximum.coordinate[0] < p->max_scanner_surface[0]) + if (p->paper_orientation & 4) /* center? */ { - p->selection_maximum.coordinate[0] = p->max_scanner_surface[0]; + paper_orientation = p->paper_orientation; } - - if (p->selection_maximum.coordinate[1] < p->max_scanner_surface[1]) + else /* not in center */ { - p->selection_maximum.coordinate[1] = p->max_scanner_surface[1]; - } + switch (p->rotation) + { + default: + case 0: /* 0 degree */ + paper_orientation = p->paper_orientation & 3; + break; - if (p->selection_maximum.coordinate[2] > p->max_scanner_surface[2]) - { - p->selection_maximum.coordinate[2] = p->max_scanner_surface[2]; + case 1: /* 90 degree */ + paper_orientation = (1 - p->paper_orientation) & 3; + break; + + case 2: /* 180 degree */ + paper_orientation = (2 + p->paper_orientation) & 3; + break; + + case 3: /* 270 degree */ + paper_orientation = (3 - p->paper_orientation) & 3; + break; + + case 4: /* 0 degree, x mirror */ + paper_orientation = (1 - p->paper_orientation) & 3; + break; + + case 5: /* 90 degree, x mirror */ + paper_orientation = p->paper_orientation & 3; + break; + + case 6: /* 180 degree, x mirror */ + paper_orientation = (3 - p->paper_orientation) & 3; + break; + + case 7: /* 270 degree, x mirror */ + paper_orientation = (2 + p->paper_orientation) & 3; + break; + } } - if (p->selection_maximum.coordinate[3] > p->max_scanner_surface[3]) + switch (paper_orientation) { - p->selection_maximum.coordinate[3] = p->max_scanner_surface[3]; + default: + case 0: /* top left portrait */ + case 8: /* top left landscape */ + xxx = 0.0; + yyy = 0.0; + break; + + case 1: /* top right portrait */ + case 9: /* top right landscape */ + xxx = 1.0; + yyy = 0.0; + break; + + case 2: /* bottom right portrait */ + case 10: /* bottom right landscape */ + xxx = 1.0; + yyy = 1.0; + break; + + case 3: /* bottom left portrait */ + case 11: /* bottom left landscape */ + xxx = 0.0; + yyy = 1.0; + break; + + case 4: /* center portrait */ + case 12: /* center landscape */ + xxx = 0.5; + yyy = 0.5; + break; } - if ( (p->selection.coordinate[0] < p->selection_maximum.coordinate[0]) || - (p->selection.coordinate[1] < p->selection_maximum.coordinate[1]) || - (p->selection.coordinate[2] > p->selection_maximum.coordinate[2]) || - (p->selection.coordinate[3] > p->selection_maximum.coordinate[3]) ) + p->selection_maximum.coordinate[p->index_xmin] = p->selection.coordinate[p->index_xmin] + xxx *(-p->selection.coordinate[p->index_xmin] + p->selection.coordinate[p->index_xmax]) - p->maximum_output_width * xxx - dxmin; + p->selection_maximum.coordinate[p->index_ymin] = p->selection.coordinate[p->index_ymin] + yyy *(-p->selection.coordinate[p->index_ymin] + p->selection.coordinate[p->index_ymax]) - p->maximum_output_height * yyy - dymin; + p->selection_maximum.coordinate[p->index_xmax] = p->selection.coordinate[p->index_xmin] + xxx *(-p->selection.coordinate[p->index_xmin] + p->selection.coordinate[p->index_xmax]) + p->maximum_output_width * (1.0 - xxx) + dxmax; + p->selection_maximum.coordinate[p->index_ymax] = p->selection.coordinate[p->index_ymin] + yyy *(-p->selection.coordinate[p->index_ymin] + p->selection.coordinate[p->index_ymax]) + p->maximum_output_height * (1.0 - yyy) + dymax; + + + if ( (p->selection.coordinate[p->index_xmin] < p->selection_maximum.coordinate[p->index_xmin]) || + (p->selection.coordinate[p->index_ymin] < p->selection_maximum.coordinate[p->index_ymin]) || + (p->selection.coordinate[p->index_xmax] > p->selection_maximum.coordinate[p->index_xmax]) || + (p->selection.coordinate[p->index_ymax] > p->selection_maximum.coordinate[p->index_ymax]) ) { - if (p->selection.coordinate[0] < p->selection_maximum.coordinate[0]) + int selection_changed = FALSE; + + if (p->selection.coordinate[p->index_xmin] < p->selection_maximum.coordinate[p->index_xmin]) { - p->selection.coordinate[0] = p->selection_maximum.coordinate[0]; + p->selection.coordinate[p->index_xmin] = p->selection_maximum.coordinate[p->index_xmin]; + selection_changed = TRUE; } - if (p->selection.coordinate[1] < p->selection_maximum.coordinate[1]) + if (p->selection.coordinate[p->index_ymin] < p->selection_maximum.coordinate[p->index_ymin]) { - p->selection.coordinate[1] = p->selection_maximum.coordinate[1]; + p->selection.coordinate[p->index_ymin] = p->selection_maximum.coordinate[p->index_ymin]; + selection_changed = TRUE; } - if (p->selection.coordinate[2] > p->selection_maximum.coordinate[2]) + if (p->selection.coordinate[p->index_xmax] > p->selection_maximum.coordinate[p->index_xmax]) { - p->selection.coordinate[2] = p->selection_maximum.coordinate[2]; + p->selection.coordinate[p->index_xmax] = p->selection_maximum.coordinate[p->index_xmax]; + selection_changed = TRUE; } - if (p->selection.coordinate[3] > p->selection_maximum.coordinate[3]) + if (p->selection.coordinate[p->index_ymax] > p->selection_maximum.coordinate[p->index_ymax]) { - p->selection.coordinate[3] = p->selection_maximum.coordinate[3]; + p->selection.coordinate[p->index_ymax] = p->selection_maximum.coordinate[p->index_ymax]; + selection_changed = TRUE; } + preview_draw_selection(p); - preview_establish_selection(p); + + if (selection_changed) + { + preview_establish_selection(p); + } } } + + p->block_update_maximum_output_size_clipping=FALSE; } -#endif +/* ---------------------------------------------------------------------------------------------------------------------- */ -void preview_update_maximum_output_size(Preview *p) +void preview_set_maximum_output_size(Preview *p, float width, float height, int paper_orientation) { - if ( (p->maximum_output_width >= INF) || (p->maximum_output_height >= INF) ) + /* witdh and height in device units */ + DBG(DBG_proc, "preview_set_maximum_output_size\n"); + + p->maximum_output_width = width; + p->maximum_output_height = height; + p->paper_orientation = paper_orientation; + + preview_update_maximum_output_size(p); + preview_draw_selection(p); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ +#define AUTORAISE_ERROR 30 +void preview_autoraise_scanarea(Preview *p, int preview_x, int preview_y, float *autoselect_coord) +{ + int x, y; + int image_x, image_y; + int offset; + float average_color_r, average_color_g, average_color_b; + int count; + float error; + int top, bottom, left, right; + int top_ok, bottom_ok, left_ok, right_ok; + float xscale, yscale; + + DBG(DBG_proc, "preview_autoraise_scanarea\n"); + + preview_transform_coordinate_window_to_image(p, preview_x, preview_y, &image_x, &image_y); + + top_ok = FALSE; + bottom_ok = FALSE; + left_ok = FALSE; + right_ok = FALSE; + + top = image_y - 5; + bottom = image_y + 5; + left = image_x - 5; + right = image_x + 5; + + + while (!(top_ok && bottom_ok && left_ok && right_ok)) { - if (p->selection_maximum.active) + /* search top */ + if (!top_ok) { - p->selection_maximum.active = FALSE; + top--; } - } - else - { - p->previous_selection_maximum = p->selection_maximum; - p->selection_maximum.active = TRUE; - p->selection_maximum.coordinate[p->index_xmin] = p->selection.coordinate[p->index_xmin]; - p->selection_maximum.coordinate[p->index_ymin] = p->selection.coordinate[p->index_ymin]; - p->selection_maximum.coordinate[p->index_xmax] = p->selection.coordinate[p->index_xmin] + p->maximum_output_width; - p->selection_maximum.coordinate[p->index_ymax] = p->selection.coordinate[p->index_ymin] + p->maximum_output_height; + top_ok = TRUE; - if (p->selection_maximum.coordinate[p->index_xmax] > p->max_scanner_surface[p->index_xmax]) + if (top <= 0) + { + top = 0; + } + else { - p->selection_maximum.coordinate[p->index_xmax] = p->max_scanner_surface[p->index_xmax]; + average_color_r = average_color_g = average_color_b = 0; + count = 0; + + for (x = left; x < right; x++) + { + offset = 3 * (top * p->image_width + x); + average_color_r += p->image_data_enh[offset + 0]; + average_color_g += p->image_data_enh[offset + 1]; + average_color_b += p->image_data_enh[offset + 2]; + count++; + } + + average_color_r /= count; + average_color_g /= count; + average_color_b /= count; + + for (x = left; x < right; x++) + { + offset = 3 * (top * p->image_width + x); + + error = fabs(p->image_data_enh[offset + 0] - average_color_r) + + fabs(p->image_data_enh[offset + 1] - average_color_g) + + fabs(p->image_data_enh[offset + 2] - average_color_b); + + if (error > AUTORAISE_ERROR) + { + top_ok = FALSE; + break; + } + } } - if (p->selection_maximum.coordinate[p->index_ymax] > p->max_scanner_surface[p->index_ymax]) + /* search bottom */ + if (!bottom_ok) { - p->selection_maximum.coordinate[p->index_ymax] = p->max_scanner_surface[p->index_ymax]; + bottom++; } - if ( (p->selection.coordinate[p->index_xmin] < p->selection_maximum.coordinate[p->index_xmin]) || - (p->selection.coordinate[p->index_ymin] < p->selection_maximum.coordinate[p->index_ymin]) || - (p->selection.coordinate[p->index_xmax] > p->selection_maximum.coordinate[p->index_xmax]) || - (p->selection.coordinate[p->index_ymax] > p->selection_maximum.coordinate[p->index_ymax]) ) + bottom_ok = TRUE; + + if (bottom >= p->image_height-1) { - if (p->selection.coordinate[p->index_xmax] > p->selection_maximum.coordinate[p->index_xmax]) + bottom = p->image_height-1; + } + else + { + average_color_r = average_color_g = average_color_b = 0; + count = 0; + + for (x = left; x < right; x++) { - p->selection.coordinate[p->index_xmax] = p->selection_maximum.coordinate[p->index_xmax]; + offset = 3 * (bottom * p->image_width + x); + average_color_r += p->image_data_enh[offset + 0]; + average_color_g += p->image_data_enh[offset + 1]; + average_color_b += p->image_data_enh[offset + 2]; + count++; } - if (p->selection.coordinate[p->index_ymax] > p->selection_maximum.coordinate[p->index_ymax]) + average_color_r /= count; + average_color_g /= count; + average_color_b /= count; + + for (x = left; x < right; x++) { - p->selection.coordinate[p->index_ymax] = p->selection_maximum.coordinate[p->index_ymax]; + offset = 3 * (bottom * p->image_width + x); + + error = fabs(p->image_data_enh[offset + 0] - average_color_r) + + fabs(p->image_data_enh[offset + 1] - average_color_g) + + fabs(p->image_data_enh[offset + 2] - average_color_b); + + if (error > AUTORAISE_ERROR) + { + bottom_ok = FALSE; + break; + } + } + } + + /* search left */ + if (!left_ok) + { + left--; + } + + left_ok = TRUE; + + if (left <= 0) + { + left = 0; + } + else + { + average_color_r = average_color_g = average_color_b = 0; + count = 0; + + for (y = top; y < bottom; y++) + { + offset = 3 * (left + y * p->image_width); + average_color_r += p->image_data_enh[offset + 0]; + average_color_g += p->image_data_enh[offset + 1]; + average_color_b += p->image_data_enh[offset + 2]; + count++; + } + + average_color_r /= count; + average_color_g /= count; + average_color_b /= count; + + for (y = top; y < bottom; y++) + { + offset = 3 * (left + y * p->image_width); + + error = fabs(p->image_data_enh[offset + 0] - average_color_r) + + fabs(p->image_data_enh[offset + 1] - average_color_g) + + fabs(p->image_data_enh[offset + 2] - average_color_b); + + if (error > AUTORAISE_ERROR) + { + left_ok = FALSE; + break; + } + } + } + + /* search right */ + if (!right_ok) + { + right++; + } + + right_ok = TRUE; + + if (right >= p->image_width-1) + { + right = p->image_width-1; + } + else + { + average_color_r = average_color_g = average_color_b = 0; + count = 0; + + for (y = top; y < bottom; y++) + { + offset = 3 * (right + y * p->image_width); + average_color_r += p->image_data_enh[offset + 0]; + average_color_g += p->image_data_enh[offset + 1]; + average_color_b += p->image_data_enh[offset + 2]; + count++; + } + + average_color_r /= count; + average_color_g /= count; + average_color_b /= count; + + for (y = top; y < bottom; y++) + { + offset = 3 * (right + y * p->image_width); + + error = fabs(p->image_data_enh[offset + 0] - average_color_r) + + fabs(p->image_data_enh[offset + 1] - average_color_g) + + fabs(p->image_data_enh[offset + 2] - average_color_b); + + if (error > AUTORAISE_ERROR) + { + right_ok = FALSE; + break; + } } - preview_draw_selection(p); - preview_establish_selection(p); } } -} -/* ---------------------------------------------------------------------------------------------------------------------- */ -void preview_set_maximum_output_size(Preview *p, float width, float height) -{ - /* witdh and height in device units */ - DBG(DBG_proc, "preview_set_maximum_output_size\n"); - p->maximum_output_width = width; - p->maximum_output_height = height; + preview_get_scale_device_to_image(p, &xscale, &yscale); - preview_update_maximum_output_size(p); - preview_draw_selection(p); + if (((p->rotation & 3) == 0) || ((p->rotation & 3) == 2)) /* 0 or 180 degree */ + { + *(autoselect_coord+0) = p->image_surface[0] + left / xscale; + *(autoselect_coord+2) = p->image_surface[0] + right / xscale; + *(autoselect_coord+1) = p->image_surface[1] + top / yscale; + *(autoselect_coord+3) = p->image_surface[1] + bottom / yscale; + } + else /* 90 or 270 degree */ + { + *(autoselect_coord+1) = p->image_surface[1] + left / xscale; + *(autoselect_coord+3) = p->image_surface[1] + right / xscale; + *(autoselect_coord+0) = p->image_surface[0] + top / yscale; + *(autoselect_coord+2) = p->image_surface[0] + bottom / yscale; + } } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -5932,6 +7339,15 @@ void preview_autoselect_scanarea(Preview *p, float *autoselect_coord) } } + if ( (top >= bottom) || (right <= left) ) /* empty selection: use complete image */ + { + DBG(DBG_info, "autoselect_scanarea: empty selection: using complete area\n"); + top = 0; + bottom = p->image_height -1; + left = 0; + right = p->image_width -1; + } + preview_get_scale_device_to_image(p, &xscale, &yscale); if (((p->rotation & 3) == 0) || ((p->rotation & 3) == 2)) /* 0 or 180 degree */ diff --git a/src/xsane-preview.h b/src/xsane-preview.h index ba1321c..d57870e 100644 --- a/src/xsane-preview.h +++ b/src/xsane-preview.h @@ -3,7 +3,7 @@ xsane-preview.h Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -29,6 +29,7 @@ #include #include +#include "xsane-batch-scan.h" #define SELECTION_RANGE_IN 4 #define SELECTION_RANGE_OUT 8 @@ -41,16 +42,20 @@ enum MODE_NORMAL, MODE_PIPETTE_WHITE, MODE_PIPETTE_GRAY, - MODE_PIPETTE_BLACK + MODE_PIPETTE_BLACK, + MODE_AUTORAISE_SCANAREA, + MODE_ZOOM_IN }; /* ------------------------------------------------------------------------------------------------------ */ +#if 0 typedef struct Batch_selection { float coordinate[4]; /* batch selection coordinate (device coord) */ struct Batch_selection *next; } Batch_selection; +#endif typedef struct { @@ -85,6 +90,8 @@ typedef struct float maximum_output_width; /* maximum output width (photocopy) */ float maximum_output_height; /* maximum output height (photocopy) */ + int paper_orientation; /* orientation of the paper (photocopy) */ + int block_update_maximum_output_size_clipping; /* do not clip maximum output size */ int index_xmin, index_xmax, index_ymin, index_ymax; /* index numbers in dependance of p->rotation */ @@ -111,6 +118,8 @@ typedef struct u_char *preview_row; int scanning; + int read_offset_16; + char last_offset_16_byte; int scan_incomplete; int invalid; int preview_colors; @@ -135,6 +144,7 @@ typedef struct int selection_ypos; int selection_xedge; int selection_yedge; + float ratio; Tselection selection; /* selected area to scan */ Tselection previous_selection; /* previous ... */ @@ -143,7 +153,9 @@ typedef struct int show_selection; +#if 0 Batch_selection *batch_selection; +#endif GtkWidget *top; /* top-level widget */ GtkWidget *unit_label; @@ -153,23 +165,30 @@ typedef struct GtkWidget *window; /* the preview window */ GtkWidget *start; /* the start button */ GtkWidget *cancel; /* the cancel button */ + GtkWidget *zoom; /* the zoom */ - GtkWidget *button_box; /* hbox for the following buttons */ + GtkWidget *menu_box; /* the bottom menu box */ + GtkWidget *button_box; /* the bottom button box */ + GtkWidget *add_batch; /* add batch button */ GtkWidget *pipette_white; /* pipette white button */ GtkWidget *pipette_gray; /* pipette gray button */ GtkWidget *pipette_black; /* pipette black button */ GtkWidget *zoom_not; /* zoom not button */ GtkWidget *zoom_out; /* zoom out button */ GtkWidget *zoom_in; /* zoom in button */ + GtkWidget *zoom_area; /* zoom area button */ GtkWidget *zoom_undo; /* zoom undo button */ GtkWidget *full_area; /* select full scanarea */ + GtkWidget *autoraise; /* autoraise scanarea */ GtkWidget *autoselect; /* autoselect scanarea */ GtkWidget *preset_area_option_menu; /* menu for selection of preview area */ GtkWidget *rotation_option_menu; /* menu for selection of rotation */ + GtkWidget *ratio_option_menu; /* menu for selection of ratio */ GtkWidget *scanning_pixmap; /* pixmap that shows preview is in scanning progress */ GtkWidget *valid_pixmap; /* pixmap that shows preview is valid */ GtkWidget *invalid_pixmap; /* pixmap that shows preview is invalid */ GtkWidget *incomplete_pixmap; /* pixmap that shows preview is incomplete */ + GtkWidget *rgb_label; /* label to show RGB values */ } Preview; @@ -193,9 +212,10 @@ extern void preview_calculate_raw_histogram(Preview *p, SANE_Int *count_raw, SAN extern void preview_calculate_enh_histogram(Preview *p, SANE_Int *count, SANE_Int *count_red, SANE_Int *count_green, SANE_Int *count_blue); extern void preview_area_resize(Preview *p); /* redraw preview rulers */ -extern void preview_set_maximum_output_size(Preview *p, float width, float height); /* set maximum outut size */ +extern void preview_set_maximum_output_size(Preview *p, float width, float height, int paper_orientation); /* set maximum outut size */ extern void preview_select_full_preview_area(Preview *p); extern void preview_display_valid(Preview *p); +extern void preview_create_batch_icon(Preview *p, Batch_Scan_Parameters *parameters); /* ------------------------------------------------------------------------------------------------------ */ diff --git a/src/xsane-rc-io.c b/src/xsane-rc-io.c index 9fe991c..4a0af86 100644 --- a/src/xsane-rc-io.c +++ b/src/xsane-rc-io.c @@ -3,7 +3,7 @@ xsane-rc-io.c Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -24,13 +24,8 @@ #include "xsane.h" -#include -#include -#include -#include #include #include -#include #ifdef HAVE_LIBC_H # include /* NeXTStep/OpenStep */ @@ -722,12 +717,18 @@ void xsane_rc_io_w_string(Wire *w, SANE_String *s) } else { +#if 0 xsane_rc_io_w_space(w, 5); *w->buffer.curr++ = '('; *w->buffer.curr++ = 'n'; *w->buffer.curr++ = 'i'; *w->buffer.curr++ = 'l'; *w->buffer.curr++ = ')'; +#else + xsane_rc_io_w_space(w, 2); + *w->buffer.curr++ = '"'; + *w->buffer.curr++ = '"'; +#endif } xsane_rc_io_w_space(w, 1); @@ -804,12 +805,14 @@ void xsane_rc_io_w_string(Wire *w, SANE_String *s) if (*s == 0) { /* Malloc failed, so return an error. */ + DBG(DBG_wire, "xsane_rc_io_w_string: out of memory\n"); w->status = ENOMEM; return; } } else /* string does not begin with a " */ { + DBG(DBG_wire, "xsane_rc_io_w_string: not a string\n"); w->status = EINVAL; *s = 0; /* make sure pointer does not point to an invalid address */ return; diff --git a/src/xsane-rc-io.h b/src/xsane-rc-io.h index 14c2443..dab2555 100644 --- a/src/xsane-rc-io.h +++ b/src/xsane-rc-io.h @@ -3,7 +3,7 @@ xsane-rc-io.h Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify diff --git a/src/xsane-save.c b/src/xsane-save.c index 3c78354..e9020e0 100644 --- a/src/xsane-save.c +++ b/src/xsane-save.c @@ -3,7 +3,7 @@ xsane-save.c Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -23,13 +23,18 @@ /* ---------------------------------------------------------------------------------------------------------------------- */ #include "xsane.h" -#include "xsane-preview.h" #include "xsane-back-gtk.h" #include "xsane-front-gtk.h" +#include -#include -#include -#include +/* the following test is always false */ +#ifdef _native_WIN32 +# include +#else +# include +# include +# include +#endif #ifdef HAVE_LIBJPEG #include @@ -48,18 +53,25 @@ #endif #ifdef HAVE_MMAP -#include #include #endif +#ifdef HAVE_OS2_H +#include +#endif + /* ---------------------------------------------------------------------------------------------------------------------- */ -#ifdef HAVE_LIBGIMP_GIMP_H +#ifdef HAVE_ANY_GIMP #include static void xsane_gimp_query(void); -static void xsane_gimp_run(char *name, int nparams, GimpParam * param, int *nreturn_vals, GimpParam ** return_vals); +#ifdef HAVE_GIMP_2 +static void xsane_gimp_run(const gchar *name, gint nparams, const GimpParam *param, gint *nreturn_vals, GimpParam **return_vals); +#else +static void xsane_gimp_run(char *name, int nparams, GimpParam *param, int *nreturn_vals, GimpParam **return_vals); +#endif GimpPlugInInfo PLUG_IN_INFO = { @@ -75,7 +87,7 @@ char *buf); static int xsane_encode_devname(const char *devname, int n, char *buf); void null_print_func(gchar *msg); -#endif /* HAVE_LIBGIMP_GIMP_H */ +#endif /* HAVE_ANY_GIMP */ /* ---------------------------------------------------------------------------------------------------------------------- */ /* why this routine ? @@ -237,6 +249,68 @@ void xsane_convert_text_to_filename(char **text) /* ---------------------------------------------------------------------------------------------------------------------- */ +int xsane_get_filesize(char *filename) +{ + FILE *infile; + int pos; + int size; + + infile = fopen(filename, "rb"); /* read binary (b for win32) */ + if (infile == NULL) + { + return 0; + } + + pos = ftell(infile); + fseek(infile, 0, SEEK_END); /* get size */ + size = ftell(infile); + fseek(infile, pos, SEEK_SET); /* go to previous position */ + + fclose(infile); + + return size; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +void xsane_ensure_counter_in_filename(char **filename, int counter_len) +{ + char *position_point = NULL; + char *position; + int counter = 1; + + DBG(DBG_proc, "xsane_ensure_counter_in_filename\n"); + + if (!counter_len) + { + counter_len = 1; + } + + position_point = strrchr(*filename, '.'); + + if (!position_point) /* nothing usable ? */ + { + position_point = *filename + strlen(*filename); /* position_point - 1 is last character */ + } + + if (position_point) + { + position = position_point-1; + if ( (position < *filename) || (*position < '0') || (*position >'9') ) /* we have no counter */ + { + char buf[PATH_MAX]; + int len; + + len = position_point - (*filename); /* length until "." or end of string */ + strncpy(buf, *filename, len); + snprintf(buf+len, sizeof(buf)-len, "-%0*d%s", counter_len, counter, position_point); + *filename = strdup(buf); + } + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + void xsane_update_counter_in_filename(char **filename, int skip, int step, int min_counter_len) { FILE *testfile; @@ -249,12 +323,14 @@ void xsane_update_counter_in_filename(char **filename, int skip, int step, int m DBG(DBG_proc, "xsane_update_counter_in_filename\n"); - while (1) /* may be we have to skip existing files */ + if ( (!step) && (!min_counter_len) ) { - if (!xsane.filetype) /* no filetype: serach "." */ - { - position_point = strrchr(*filename, '.'); - } + return; /* do not touch counter */ + } + + while (1) /* loop because we may have to skip existing files */ + { + position_point = strrchr(*filename, '.'); if (!position_point) /* nothing usable ? */ { @@ -278,7 +354,7 @@ void xsane_update_counter_in_filename(char **filename, int skip, int step, int m if (counter_len) /* we have a counter */ { sscanf(position_counter, "%d", &counter); - counter += step; /* update counter */ + counter = counter + step; /* update counter */ if (counter < 0) { @@ -303,9 +379,9 @@ void xsane_update_counter_in_filename(char **filename, int skip, int step, int m if (skip) /* test if filename already used */ { - if (xsane.filetype) /* add filetype to filename */ + if (preferences.filetype) /* add filetype to filename */ { - snprintf(buf, sizeof(buf), "%s%s", *filename, xsane.filetype); + snprintf(buf, sizeof(buf), "%s%s", *filename, preferences.filetype); testfile = fopen(buf, "rb"); /* read binary (b for win32) */ } else /* filetype in filename */ @@ -337,12 +413,12 @@ void xsane_update_counter_in_filename(char **filename, int skip, int step, int m /* ---------------------------------------------------------------------------------------------------------------------- */ -void xsane_read_pnm_header(FILE *infile, Image_info *image_info) +void xsane_read_pnm_header(FILE *file, Image_info *image_info) { int max_val, filetype_nr; char buf[256]; - fgets(buf, sizeof(buf)-1, infile); + fgets(buf, sizeof(buf)-1, file); DBG(DBG_info, "filetype header :%s", buf); if (buf[0] == 'P') @@ -351,28 +427,73 @@ void xsane_read_pnm_header(FILE *infile, Image_info *image_info) image_info->resolution_x = 72.0; image_info->resolution_y = 72.0; + image_info->reduce_to_lineart = FALSE; while (strcmp(buf, "# XSANE data follows\n")) { - fgets(buf, sizeof(buf)-1, infile); + fgets(buf, sizeof(buf)-1, file); - if (!strncmp(buf, "# resolution_x =", 17)) + if (!strncmp(buf, "# resolution_x =", 20)) + { + sscanf(buf+20, "%lf", &image_info->resolution_x); + } + else if (!strncmp(buf, "# resolution_y =", 20)) { - sscanf(buf+17, "%lf", &image_info->resolution_x); + sscanf(buf+20, "%lf", &image_info->resolution_y); } - else if (!strncmp(buf, "# resolution_y =", 17)) + else if (!strncmp(buf, "# threshold =", 20)) { - sscanf(buf+17, "%lf", &image_info->resolution_y); + sscanf(buf+20, "%lf", &image_info->threshold); + } + else if (!strncmp(buf, "# gamma =", 20)) + { + sscanf(buf+20, "%lf", &image_info->gamma); + } + else if (!strncmp(buf, "# gamma IRGB =", 20)) + { + sscanf(buf+20, "%lf %lf %lf %lf", + &image_info->gamma, + &image_info->gamma_red, + &image_info->gamma_green, + &image_info->gamma_blue); + } + else if (!strncmp(buf, "# brightness =", 20)) + { + sscanf(buf+20, "%lf", &image_info->brightness); + } + else if (!strncmp(buf, "# brightness IRGB =", 20)) + { + sscanf(buf+20, "%lf %lf %lf %lf", + &image_info->brightness, + &image_info->brightness_red, + &image_info->brightness_green, + &image_info->brightness_blue); + } + else if (!strncmp(buf, "# contrast =", 20)) + { + sscanf(buf+20, "%lf", &image_info->contrast); + } + else if (!strncmp(buf, "# contrast IRGB =", 20)) + { + sscanf(buf+20, "%lf %lf %lf %lf", + &image_info->contrast, + &image_info->contrast_red, + &image_info->contrast_green, + &image_info->contrast_blue); + } + else if (!strncmp(buf, "# reduce to lineart", 20)) + { + image_info->reduce_to_lineart = TRUE; } } - fscanf(infile, "%d %d", &image_info->image_width, &image_info->image_height); + fscanf(file, "%d %d", &image_info->image_width, &image_info->image_height); image_info->depth = 1; if (filetype_nr != 4) /* P4 = lineart */ { - fscanf(infile, "%d", &max_val); + fscanf(file, "%d", &max_val); if (max_val == 255) { @@ -384,7 +505,7 @@ void xsane_read_pnm_header(FILE *infile, Image_info *image_info) } } - fgetc(infile); /* read exactly one newline character */ + fgetc(file); /* read exactly one newline character */ image_info->colors = 1; @@ -397,8 +518,8 @@ void xsane_read_pnm_header(FILE *infile, Image_info *image_info) #ifdef SUPPORT_RGBA else if (buf[0] == 'S') /* RGBA format */ { - fscanf(infile, "%d %d\n%d", &image_info->image_width, &image_info->image_height, &max_val); - fgetc(infile); /* read exactly one newline character */ + fscanf(file, "%d %d\n%d", &image_info->image_width, &image_info->image_height, &max_val); + fgetc(file); /* read exactly one newline character */ image_info->depth = 1; @@ -422,133 +543,239 @@ void xsane_read_pnm_header(FILE *infile, Image_info *image_info) /* ---------------------------------------------------------------------------------------------------------------------- */ -void xsane_write_pnm_header(FILE *outfile, Image_info *image_info) +void xsane_write_pnm_header(FILE *file, Image_info *image_info, int save_pnm16_as_ascii) { - fflush(outfile); - rewind(outfile); + int maxval; + int magic; + fflush(file); + rewind(file); - if (image_info->colors == 1) + if (image_info->depth > 8) { - switch (image_info->depth) - { - case 1: /* 1 bit lineart mode, write pbm header */ - fprintf(outfile, "P4\n" - "# XSane settings:\n" - "# resolution_x = %6.1f\n" - "# resolution_y = %6.1f\n" - "# threshold = %4.1f\n" - "# XSANE data follows\n" - "%05d %05d\n", - image_info->resolution_x, - image_info->resolution_y, - image_info->threshold, - image_info->image_width, image_info->image_height); - break; - - case 8: /* 8 bit grayscale mode, write pgm header */ - fprintf(outfile, "P5\n" - "# XSane settings:\n" - "# resolution_x = %6.1f\n" - "# resolution_y = %6.1f\n" - "# gamma = %3.2f\n" - "# brightness = %4.1f\n" - "# contrast = %4.1f\n" - "# XSANE data follows\n" - "%05d %05d\n" - "255\n", - image_info->resolution_x, - image_info->resolution_y, - image_info->gamma, - image_info->brightness, - image_info->contrast, - image_info->image_width, image_info->image_height); - break; + maxval = 65535; - default: /* grayscale mode but not 1 or 8 bit, write as raw data because this is not defined in pnm */ - fprintf(outfile, "P5\n" - "# This file is in a not public defined data format.\n" - "# It is a 16 bit gray binary format.\n" - "# Some programs can read this as pnm/pgm format.\n" - "# XSane settings:\n" - "# resolution_x = %6.1f\n" - "# resolution_y = %6.1f\n" - "# gamma = %3.2f\n" - "# brightness = %4.1f\n" - "# contrast = %4.1f\n" - "# XSANE data follows\n" - "%05d %05d\n" - "65535\n", - image_info->resolution_x, - image_info->resolution_y, - image_info->gamma, - image_info->brightness, - image_info->contrast, - image_info->image_width, image_info->image_height); - break; + if (save_pnm16_as_ascii) + { + magic = 2; /* thats the magic number for grayscale ascii, 3 = color ascii */ + } + else /* save pnm as binary */ + { + magic = 5; /* that is the magic number for grayscake binary, 6 = color binary */ } } - else if (image_info->colors == 3) + else { - switch (image_info->depth) - { - case 8: /* color 8 bit mode, write ppm header */ - fprintf(outfile, "P6\n" - "# XSane settings:\n" - "# resolution_x = %6.1f\n" - "# resolution_y = %6.1f\n" - "# gamma IRGB = %3.2f %3.2f %3.2f %3.2f\n" - "# brightness IRGB = %4.1f %4.1f %4.1f %4.1f\n" - "# contrast IRGB = %4.1f %4.1f %4.1f %4.1f\n" - "# XSANE data follows\n" - "%05d %05d\n255\n", - image_info->resolution_x, - image_info->resolution_y, - image_info->gamma, image_info->gamma_red, image_info->gamma_green, image_info->gamma_blue, - image_info->brightness, image_info->brightness_red, image_info->brightness_green, image_info->brightness_blue, - image_info->contrast, image_info->contrast_red, image_info->contrast_green, image_info->contrast_blue, - image_info->image_width, image_info->image_height); - break; + maxval = 255; + magic = 5; /* 8 bit images are always saved in binary mode */ + } - default: /* color, but not 8 bit mode, write as raw data because this is not defined in pnm */ - fprintf(outfile, "P6\n" - "# This file is in a not public defined data format.\n" - "# It is a 16 bit RGB binary format.\n" - "# Some programs can read this as pnm/ppm format.\n" - "# File created by XSane.\n" - "# XSane settings:\n" - "# resolution_x = %6.1f\n" - "# resolution_y = %6.1f\n" - "# gamma IRGB = %3.2f %3.2f %3.2f %3.2f\n" - "# brightness IRGB = %4.1f %4.1f %4.1f %4.1f\n" - "# contrast IRGB = %4.1f %4.1f %4.1f %4.1f\n" - "# XSANE data follows\n" - "%05d %05d\n" - "65535\n", - image_info->resolution_x, - image_info->resolution_y, - image_info->gamma, image_info->gamma_red, image_info->gamma_green, image_info->gamma_blue, - image_info->brightness, image_info->brightness_red, image_info->brightness_green, image_info->brightness_blue, - image_info->contrast, image_info->contrast_red, image_info->contrast_green, image_info->contrast_blue, - image_info->image_width, image_info->image_height); - break; + + if (image_info->colors == 1) + { + if (image_info->depth == 1) + { + /* do not touch the texts and length here, the reading routine needs to know the exact texts */ + fprintf(file, "P4\n" + "# XSane settings:\n" + "# resolution_x = %6.1f\n" + "# resolution_y = %6.1f\n" + "# threshold = %4.1f\n" + "# XSANE data follows\n" + "%05d %05d\n", + image_info->resolution_x, + image_info->resolution_y, + image_info->threshold, + image_info->image_width, image_info->image_height); } + else if (image_info->reduce_to_lineart) + { + /* do not touch the texts and length here, the reading routine needs to know the exact texts */ + fprintf(file, "P%d\n" + "# XSane settings:\n" + "# resolution_x = %6.1f\n" + "# resolution_y = %6.1f\n" + "# threshold = %4.1f\n" + "# reduce to lineart\n" + "# XSANE data follows\n" + "%05d %05d\n" + "%d\n", + magic, /* P5 for binary, P2 for ascii */ + image_info->resolution_x, + image_info->resolution_y, + image_info->threshold, + image_info->image_width, image_info->image_height, + maxval); + } + else + { + fprintf(file, "P%d\n" + "# XSane settings:\n" + "# resolution_x = %6.1f\n" + "# resolution_y = %6.1f\n" + "# gamma = %3.2f\n" + "# brightness = %4.1f\n" + "# contrast = %4.1f\n" + "# XSANE data follows\n" + "%05d %05d\n" + "%d\n", + magic, /* P5 for binary, P2 for ascii */ + image_info->resolution_x, + image_info->resolution_y, + image_info->gamma, + image_info->brightness, + image_info->contrast, + image_info->image_width, image_info->image_height, + maxval); + } + } + else if (image_info->colors == 3) + { + fprintf(file, "P%d\n" + "# XSane settings:\n" + "# resolution_x = %6.1f\n" + "# resolution_y = %6.1f\n" + "# gamma IRGB = %3.2f %3.2f %3.2f %3.2f\n" + "# brightness IRGB = %4.1f %4.1f %4.1f %4.1f\n" + "# contrast IRGB = %4.1f %4.1f %4.1f %4.1f\n" + "# XSANE data follows\n" + "%05d %05d\n" \ + "%d\n", + magic+1, /* P6 for binary, P3 for ascii */ + image_info->resolution_x, + image_info->resolution_y, + image_info->gamma, image_info->gamma_red, image_info->gamma_green, image_info->gamma_blue, + image_info->brightness, image_info->brightness_red, image_info->brightness_green, image_info->brightness_blue, + image_info->contrast, image_info->contrast_red, image_info->contrast_green, image_info->contrast_blue, + image_info->image_width, image_info->image_height, + maxval); } #ifdef SUPPORT_RGBA else if (image_info->colors == 4) { - switch (image_info->depth) + fprintf(file, "SANE_RGBA\n" \ + "%d %d\n" \ + "%d\n", + image_info->image_width, image_info->image_height, maxval); + } +#endif +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +int xsane_copy_file(FILE *outfile, FILE *infile, GtkProgressBar *progress_bar, int *cancel_save) +{ + int size; + int bytes; + int bytes_sum = 0; + char buf[65536]; + + DBG(DBG_proc, "copying file\n"); + + fseek(infile, 0, SEEK_END); + size = ftell(infile); + fseek(infile, 0, SEEK_SET); + + gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); + + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + + while (!feof(infile)) + { + bytes = fread(buf, 1, sizeof(buf), infile); + if (bytes > 0) { - case 8: /* 8 bit RGBA mode */ - fprintf(outfile, "SANE_RGBA\n%d %d\n255\n", image_info->image_width, image_info->image_height); - break; + fwrite(buf, 1, bytes, outfile); + bytes_sum += bytes; + } - default: /* 16 bit RGBA mode */ - fprintf(outfile, "SANE_RGBA\n%d %d\n65535\n", image_info->image_width, image_info->image_height); - break; + gtk_progress_bar_update(progress_bar, (float) bytes_sum / size); /* update progress bar */ + + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + + if (*cancel_save) + { + break; } } -#endif + + fflush(outfile); + + if (size != bytes_sum) + { + DBG(DBG_info, "copy errro, not complete, %d bytes of %d bytes copied\n", bytes_sum, size); + *cancel_save = 1; + return (*cancel_save); + } + + DBG(DBG_info, "copy complete, %d bytes copied\n", bytes_sum); + + return (*cancel_save); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +int xsane_copy_file_by_name(char *output_filename, char *input_filename, GtkProgressBar *progress_bar, int *cancel_save) +{ + FILE *infile; + FILE *outfile; + + DBG(DBG_proc, "copying file %s to %s\n", input_filename, output_filename); + + outfile = fopen(output_filename, "wb"); /* b = binary mode for win32 */ + + if (outfile == 0) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, output_filename, strerror(errno)); + xsane_back_gtk_error(buf, TRUE); + return -2; + } + + infile = fopen(input_filename, "rb"); /* read binary (b for win32) */ + if (infile == 0) + { + char buf[256]; + snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, input_filename, strerror(errno)); + xsane_back_gtk_error(buf, TRUE); + + fclose(outfile); + remove(output_filename); /* remove already created output file */ + return -1; + } + + xsane_copy_file(outfile, infile, progress_bar, cancel_save); + + fclose(infile); + fclose(outfile); + + gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), ""); + gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); + + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + + return (*cancel_save); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -561,11 +788,8 @@ int xsane_save_grayscale_image_as_lineart(FILE *outfile, FILE *imagefile, Image_ *cancel_save = 0; image_info->depth = 1; -#if 0 - xsane.depth = 1; /* our new depth is 1 bit/pixel */ -#endif - xsane_write_pnm_header(outfile, image_info); + xsane_write_pnm_header(outfile, image_info, 0); for (y = 0; y < image_info->image_height; y++) { @@ -600,6 +824,18 @@ int xsane_save_grayscale_image_as_lineart(FILE *outfile, FILE *imagefile, Image_ packed = 0; } + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + + gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); /* update progress bar */ while (gtk_events_pending()) /* give gtk the chance to display the changes */ { @@ -617,6 +853,229 @@ int xsane_save_grayscale_image_as_lineart(FILE *outfile, FILE *imagefile, Image_ /* ---------------------------------------------------------------------------------------------------------------------- */ +int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_info, float x_scale, float y_scale, GtkProgressBar *progress_bar, int *cancel_save) +{ + int original_image_width = image_info->image_width; + int original_image_height = image_info->image_height; + int new_image_width = image_info->image_width * x_scale + 0.5; + int new_image_height = image_info->image_height * y_scale + 0.5; + unsigned char *original_line; + guint16 *original_line16 = NULL; + unsigned char *new_line; + float *pixel_val; + float *pixel_norm; + int bytespp = 1; + float x, y; + int c; + int oldy; + int x_new, y_new; + float x_go, y_go; + float factor, x_factor, y_factor; + guint16 color; + int read_line; + + DBG(DBG_proc, "xsane_save_scaled_image\n"); + + *cancel_save = 0; + + if (image_info->depth > 8) + { + bytespp = 2; + } + + image_info->image_width = new_image_width; + image_info->image_height = new_image_height; + image_info->resolution_x *= x_scale; + image_info->resolution_y *= y_scale; + + original_line = malloc(original_image_width * image_info->colors * bytespp); + if (!original_line) + { + DBG(DBG_error, "xsane_save_scaled_image: out of memory\n"); + return -1; + } + + new_line = malloc(new_image_width * image_info->colors * bytespp); + if (!new_line) + { + free(original_line); + DBG(DBG_error, "xsane_save_scaled_image: out of memory\n"); + return -1; + } + + pixel_val = malloc(new_image_width * image_info->colors * sizeof(float)); + if (!pixel_val) + { + free(original_line); + free(new_line); + DBG(DBG_error, "xsane_save_scaled_image: out of memory\n"); + return -1; + } + + pixel_norm = malloc(new_image_width * image_info->colors * sizeof(float)); + if (!pixel_norm) + { + free(original_line); + free(new_line); + free(pixel_val); + DBG(DBG_error, "xsane_save_scaled_image: out of memory\n"); + return -1; + } + + xsane_write_pnm_header(outfile, image_info, 0); + + read_line = TRUE; + + memset(pixel_val, 0, new_image_width * image_info->colors * sizeof(float)); + memset(pixel_norm, 0, new_image_width * image_info->colors * sizeof(float)); + + y_new = 0; + y_go = 1.0 / y_scale; + y_factor = 1.0; + y = 0.0; + + while (y < original_image_height) + { + DBG(DBG_info2, "xsane_save_scaled_image: original line %d, new line %d\n", (int) y, y_new); + + gtk_progress_bar_update(progress_bar, (float) y / original_image_height); + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + + if (read_line) + { + DBG(DBG_info, "xsane_save_scaled_image: reading original line %d\n", (int) y); + fread(original_line, original_image_width, image_info->colors * bytespp, imagefile); /* read one line */ + original_line16 = (guint16 *) original_line; + } + + x_new = 0; + x_go = 1.0 / x_scale; + x = 0.0; + x_factor = 1.0; + + while ( (x < original_image_width) && (x_new < new_image_width) ) /* add this line to anti aliasing buffer */ + + { + factor = x_factor * y_factor; + + for (c = 0; c < image_info->colors; c++) + { + if (bytespp == 1) + { + color = original_line[((int) x) * image_info->colors + c]; + } + else /* bytespp == 2 */ + { + color = original_line16[((int) x) * image_info->colors + c]; + } + + pixel_val [x_new * image_info->colors + c] += factor * color; + pixel_norm[x_new * image_info->colors + c] += factor; + } + + x_go -= x_factor; + + if (x_go <= 0.0) /* change of pixel in new image */ + { + x_new++; + x_go = 1.0 / x_scale; + + x_factor = x - (int) x; /* use pixel rest */ + if (x_factor > x_go) + { + x_factor = x_go; + } + } + else + { + x_factor = x_go; + } + + if (x_factor > 1.0) + { + x_factor = 1.0; + } + + x += x_factor; + } + + y_go -= y_factor; + + if (y_go <= 0.0) /* normalize one line and write to destination image file */ + { + DBG(DBG_info2, "xsane_save_scaled_image: writing new line %d\n", y_new); + + if (bytespp == 1) + { + for (x_new = 0; x_new < new_image_width * image_info->colors; x_new++) + { + new_line[x_new] = (int) (pixel_val[x_new] / pixel_norm[x_new]); + } + } + else /* bytespp == 2 */ + { + guint16 *new_line16 = (guint16 *) new_line; + + for (x_new = 0; x_new < new_image_width * image_info->colors; x_new++) + { + new_line16[x_new] = (int) (pixel_val[x_new] / pixel_norm[x_new]); + } + } + + fwrite(new_line, new_image_width, image_info->colors * bytespp, outfile); /* write one line */ + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + + /* reset values and norm factors */ + memset(pixel_val, 0, new_image_width * image_info->colors * sizeof(float)); + memset(pixel_norm, 0, new_image_width * image_info->colors * sizeof(float)); + + y_new++; + y_go = 1.0 / y_scale; + + y_factor = y - (int) y; + if (y_factor > y_go) + { + y_factor = y_go; + } + } + else + { + y_factor = y_go; + } + + if (y_factor > 1.0) + { + y_factor = 1.0; + } + + oldy = (int) y; + y += y_factor; + read_line = (oldy != (int) y); + } + + free(original_line); + free(new_line); + free(pixel_val); + free(pixel_norm); + + return (*cancel_save); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ +#if 0 int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_info, float x_scale, float y_scale, GtkProgressBar *progress_bar, int *cancel_save) { float original_y; @@ -656,7 +1115,7 @@ int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_in return -1; } - xsane_write_pnm_header(outfile, image_info); + xsane_write_pnm_header(outfile, image_info, 0); original_y = 0.0; old_original_y = -1; @@ -699,6 +1158,7 @@ int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_in return (*cancel_save); } +#endif /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -707,24 +1167,30 @@ int xsane_save_despeckle_image(FILE *outfile, FILE *imagefile, Image_info *image int x, y, sx, sy, i; int xmin, xmax; int ymin, ymax; - int pos0; int count; unsigned char *line_cache; unsigned char *line_cache_ptr; guint16 *color_cache; guint16 *color_cache_ptr; int bytespp = 1; - int color_radius = radius * image_info->colors; + int color_radius; int color_width = image_info->image_width * image_info->colors; + radius--; /* correct radius : 1 means nothing happens */ + + if (radius < 1) + { + radius = 1; + } + + color_radius = radius * image_info->colors; + if (image_info->depth > 8) { bytespp = 2; } - pos0 = ftell(imagefile); /* mark position to skip header */ - - xsane_write_pnm_header(outfile, image_info); + xsane_write_pnm_header(outfile, image_info, 0); line_cache = malloc(color_width * bytespp * (2 * radius + 1)); if (!line_cache) @@ -871,6 +1337,17 @@ int xsane_save_despeckle_image(FILE *outfile, FILE *imagefile, Image_info *image } } + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + if ((y > radius) && (y < image_info->image_height - radius)) { memcpy(line_cache, line_cache + color_width * bytespp, @@ -890,6 +1367,224 @@ int xsane_save_despeckle_image(FILE *outfile, FILE *imagefile, Image_info *image /* ---------------------------------------------------------------------------------------------------------------------- */ +int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info, float radius, GtkProgressBar *progress_bar, int *cancel_save) +{ + int x, y, sx, sy; + int xmin, xmax; + int ymin, ymax; + float val, norm; + unsigned char *line_cache; + int bytespp = 1; + int intradius; + float outer_factor; + int xmin_flag; + int xmax_flag; + int ymin_flag; + int ymax_flag; + + *cancel_save = 0; + + intradius = (int) radius; + + outer_factor = radius - (int) radius; + + if (image_info->depth > 8) + { + bytespp = 2; + } + + xsane_write_pnm_header(outfile, image_info, 0); + + line_cache = malloc(image_info->image_width * image_info->colors * bytespp * (2 * intradius + 1)); + if (!line_cache) + { + DBG(DBG_error, "xsane_blur_image: out of memory\n"); + return -1; + } + + fread(line_cache, image_info->image_width * image_info->colors * bytespp, (2 * intradius + 1), imagefile); + + for (y = 0; y < image_info->image_height; y++) + { + gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + + for (x = 0; x < image_info->image_width * image_info->colors; x++) + { + xmin_flag = xmax_flag = ymin_flag = ymax_flag = TRUE; + + xmin = x - intradius * image_info->colors; + xmax = x + intradius * image_info->colors; + + if (xmin < 0) + { + xmin = x % image_info->colors; + xmin_flag = FALSE; + } + + if (xmax > image_info->image_width * image_info->colors) + { + xmax = image_info->image_width * image_info->colors; + xmax_flag = FALSE; + } + + ymin = y - intradius; + ymax = y + intradius; + + if (ymin < 0) + { + ymin = 0; + ymin_flag = FALSE; + } + + if (ymax > image_info->image_height) + { + ymax = image_info->image_height; + ymax_flag = FALSE; + } + + val = 0.0; + norm = 0.0; + + if (bytespp == 1) + { + if (xmin_flag) /* integrate over left margin */ + { + for (sy = ymin+1; sy <= ymax-1 ; sy++) + { + val += outer_factor * line_cache[(sy-ymin) * image_info->image_width * image_info->colors + xmin]; + norm += outer_factor; + } + } + + if (xmax_flag) /* integrate over right margin */ + { + for (sy = ymin+1; sy <= ymax-1 ; sy++) + { + val += outer_factor * line_cache[(sy-ymin) * image_info->image_width * image_info->colors + xmax]; + norm += outer_factor; + } + } + + if (ymin_flag) /* integrate over top margin */ + { + for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors ; sx += image_info->colors) + { + val += outer_factor * line_cache[sx]; + norm += outer_factor; + } + } + + if (ymax_flag) /* integrate over bottom margin */ + { + for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors ; sx += image_info->colors) + { + val += outer_factor * line_cache[(ymax-ymin) * image_info->image_width * image_info->colors + sx]; + norm += outer_factor; + } + } + + for (sy = ymin+1; sy <= ymax-1; sy++) /* integrate internal square */ + { + for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors; sx+=image_info->colors) + { + val += line_cache[(sy-ymin) * image_info->image_width * image_info->colors + sx]; + norm += 1.0; + } + } + fputc((char) ((int) (val/norm)), outfile); + } + else + { + guint16 *line_cache16 = (guint16 *) line_cache; + guint16 val16; + char *bytes16 = (char *) &val16; + + if (xmin_flag) /* integrate over left margin */ + { + for (sy = ymin+1; sy <= ymax-1 ; sy++) + { + val += outer_factor * line_cache16[(sy-ymin) * image_info->image_width * image_info->colors + xmin]; + norm += outer_factor; + } + } + + if (xmax_flag) /* integrate over right margin */ + { + for (sy = ymin+1; sy <= ymax-1 ; sy++) + { + val += outer_factor * line_cache16[(sy-ymin) * image_info->image_width * image_info->colors + xmax]; + norm += outer_factor; + } + } + + if (ymin_flag) /* integrate over top margin */ + { + for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors ; sx += image_info->colors) + { + val += outer_factor * line_cache16[sx]; + norm += outer_factor; + } + } + + if (ymax_flag) /* integrate over bottom margin */ + { + for (sx = xmin+image_info->colors; sx <= xmax-image_info->colors ; sx += image_info->colors) + { + val += outer_factor * line_cache16[(ymax-ymin) * image_info->image_width * image_info->colors + sx]; + norm += outer_factor; + } + } + + for (sy = ymin; sy <= ymax; sy++) /* integrate internal square */ + { + for (sx = xmin; sx <= xmax; sx+=image_info->colors) + { + val += line_cache16[(sy-ymin) * image_info->image_width * image_info->colors + sx]; + norm += 1.0; + } + } + + val16 = val / norm; + fputc(bytes16[0], outfile); /* write bytes in machine byte order */ + fputc(bytes16[1], outfile); + } + } + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + + /* reset values and norm factors */ + + if ((y > intradius) && (y < image_info->image_height - intradius)) + { + memcpy(line_cache, line_cache + image_info->image_width * image_info->colors * bytespp, + image_info->image_width * image_info->colors * bytespp * 2 * intradius); + fread(line_cache + image_info->image_width * image_info->colors * bytespp * 2 * intradius, + image_info->image_width * image_info->colors * bytespp, 1, imagefile); + } + } + + fflush(outfile); + free(line_cache); + + return 0; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#if 0 int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info, int radius, GtkProgressBar *progress_bar) { int x, y, sx, sy; @@ -907,7 +1602,7 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info pos0 = ftell(imagefile); /* mark position to skip header */ - xsane_write_pnm_header(outfile, image_info); + xsane_write_pnm_header(outfile, image_info, 0); line_cache = malloc(image_info->image_width * image_info->colors * bytespp * (2 * radius + 1)); if (!line_cache) @@ -1004,6 +1699,7 @@ int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info return 0; } +#endif /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -1040,7 +1736,7 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in #ifdef HAVE_MMAP mmaped_imagefile = mmap(NULL, pixel_width * pixel_height * bytespp + pos0, PROT_READ, MAP_PRIVATE, fileno(imagefile), 0); - if (mmaped_imagefile == (void *) -1) /* mmap failed */ + if (mmaped_imagefile == (char *) -1) /* mmap failed */ { DBG(DBG_info, "xsane_save_rotate_image: unable to memory map image file, using standard file access\n"); mmaped_imagefile = NULL; @@ -1057,7 +1753,7 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in break; case 0: /* 0 degree */ - xsane_write_pnm_header(outfile, image_info); + xsane_write_pnm_header(outfile, image_info, 0); for (y = 0; y < pixel_height; y++) { @@ -1089,6 +1785,17 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in } } + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + if (*cancel_save) { break; @@ -1103,7 +1810,7 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in image_info->resolution_x = resolution_y; image_info->resolution_y = resolution_x; - xsane_write_pnm_header(outfile, image_info); + xsane_write_pnm_header(outfile, image_info, 0); for (x=0; x= 0; y--) { @@ -1178,6 +1897,18 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in } } + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + if (*cancel_save) { break; @@ -1192,7 +1923,7 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in image_info->resolution_x = resolution_y; image_info->resolution_y = resolution_x; - xsane_write_pnm_header(outfile, image_info); + xsane_write_pnm_header(outfile, image_info, 0); for (x = pixel_width-1; x >= 0; x--) { @@ -1225,6 +1956,18 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in } } + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + if (*cancel_save) { break; @@ -1233,7 +1976,7 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in break; case 4: /* 0 degree, x mirror */ - xsane_write_pnm_header(outfile, image_info); + xsane_write_pnm_header(outfile, image_info, 0); for (y = 0; y < pixel_height; y++) { @@ -1266,6 +2009,18 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in } } + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + if (*cancel_save) { break; @@ -1280,7 +2035,7 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in image_info->resolution_x = resolution_y; image_info->resolution_y = resolution_x; - xsane_write_pnm_header(outfile, image_info); + xsane_write_pnm_header(outfile, image_info, 0); for (x = 0; x < pixel_width; x++) { @@ -1313,6 +2068,18 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in } } + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + if (*cancel_save) { break; @@ -1322,7 +2089,7 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in break; case 6: /* 180 degree, x mirror */ - xsane_write_pnm_header(outfile, image_info); + xsane_write_pnm_header(outfile, image_info, 0); for (y = pixel_height-1; y >= 0; y--) { @@ -1355,6 +2122,18 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in } } + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + if (*cancel_save) { break; @@ -1369,7 +2148,7 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in image_info->resolution_x = resolution_y; image_info->resolution_y = resolution_x; - xsane_write_pnm_header(outfile, image_info); + xsane_write_pnm_header(outfile, image_info, 0); for (x = pixel_width-1; x >= 0; x--) { @@ -1402,6 +2181,18 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in } } + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + if (*cancel_save) { break; @@ -1425,50 +2216,114 @@ int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_in /* ---------------------------------------------------------------------------------------------------------------------- */ static void xsane_save_ps_create_header(FILE *outfile, Image_info *image_info, - int left, int bottom, float width, float height, - int paperwidth, int paperheight, int rotate, + float width, float height, + int paper_left_margin, int paper_bottom_margin, + int paper_width, int paper_height, + int paper_orientation, GtkProgressBar *progress_bar) { - int degree, position_left, position_bottom, box_left, box_bottom, box_right, box_top; + int degree, position_left, position_bottom, box_left, box_bottom, box_right, box_top, depth; + int left, bottom; DBG(DBG_proc, "xsane_save_ps_create_header\n"); - if (rotate) /* rotate with 90 degrees - eg for landscape mode */ + switch (paper_orientation) + { + default: + case 0: /* top left portrait */ + left = 0.0; + bottom = paper_height - height; + break; + + case 1: /* top right portrait */ + left = paper_width - width; + bottom = paper_height - height; + break; + + case 2: /* bottom right portrait */ + left = paper_width - width; + bottom = 0.0; + break; + + case 3: /* bottom left portrait */ + left = 0.0; + bottom = 0.0; + break; + + case 4: /* center portrait */ + left = paper_width / 2.0 - width / 2.0; + bottom = paper_height / 2.0 - height / 2.0; + break; + + + case 8: /* top left landscape */ + left = 0.0; + bottom = paper_width - height; + break; + + case 9: /* top right landscape */ + left = paper_height - width; + bottom = paper_width - height; + break; + + case 10: /* bottom right landscape */ + left = paper_height - width; + bottom = 0.0; + break; + + case 11: /* bottom left landscape */ + left = 0.0; + bottom = 0.0; + break; + + case 12: /* center landscape */ + left = paper_height / 2.0 - width / 2.0; + bottom = paper_width / 2.0 - height / 2.0; + break; + } + + + if (paper_orientation >= 8) /* rotate with 90 degrees - landscape mode */ { degree = 90; - position_left = left; - position_bottom = bottom - paperwidth; - box_left = paperwidth - bottom - height * 72.0; - box_bottom = left; - box_right = (int) (box_left + height * 72.0); - box_top = (int) (box_bottom + width * 72.0); + position_left = left + paper_bottom_margin; + position_bottom = bottom - paper_width - paper_left_margin; + box_left = paper_width - paper_left_margin - bottom - height; + box_bottom = left + paper_bottom_margin; + box_right = box_left + ceil(height); + box_top = box_bottom + ceil(width); } - else /* do not rotate, eg for portrait mode */ + else /* do not rotate, portrait mode */ { degree = 0; - position_left = left; - position_bottom = bottom; - box_left = left; - box_bottom = bottom; - box_right = (int) (box_left + width * 72.0); - box_top = (int) (box_bottom + height * 72.0); + position_left = left + paper_left_margin; + position_bottom = bottom + paper_bottom_margin; + box_left = left + paper_left_margin; + box_bottom = bottom + paper_bottom_margin; + box_right = box_left + ceil(width); + box_top = box_bottom + ceil(height); } - if (image_info->depth == 16) + depth = image_info->depth; + + if (depth > 8) { - image_info->depth = 8; /* 16 bits/color are already reduced to 8 bits/color */ + depth = 8; } - fprintf(outfile, "%%!PS-Adobe-2.0 EPSF-2.0\n"); - fprintf(outfile, "%%%%Creator: xsane version %s (sane %d.%d)\n", VERSION, - SANE_VERSION_MAJOR(xsane.sane_backend_versioncode), - SANE_VERSION_MINOR(xsane.sane_backend_versioncode)); + fprintf(outfile, "%%!PS-Adobe-3.0\n"); + fprintf(outfile, "%%%%Creator: XSane version %s (sane %d.%d) - by Oliver Rauch\n", VERSION, + SANE_VERSION_MAJOR(xsane.sane_backend_versioncode), + SANE_VERSION_MINOR(xsane.sane_backend_versioncode)); + fprintf(outfile, "%%%%DocumentData: Clean7Bit\n"); + fprintf(outfile, "%%%%Pages: 1\n"); fprintf(outfile, "%%%%BoundingBox: %d %d %d %d\n", box_left, box_bottom, box_right, box_top); - fprintf(outfile, "%%\n"); + fprintf(outfile, "%%%%EndComments\n"); fprintf(outfile, "/origstate save def\n"); fprintf(outfile, "20 dict begin\n"); + fprintf(outfile, "%%%%Page: 1 1\n"); - if (image_info->depth == 1) + if (depth == 1) { fprintf(outfile, "/pix %d string def\n", (image_info->image_width+7)/8); fprintf(outfile, "/grays %d string def\n", image_info->image_width); @@ -1483,9 +2338,9 @@ static void xsane_save_ps_create_header(FILE *outfile, Image_info *image_info, fprintf(outfile, "%d rotate\n", degree); fprintf(outfile, "%d %d translate\n", position_left, position_bottom); - fprintf(outfile, "%f %f scale\n", width * 72.0, height * 72.0); - fprintf(outfile, "%d %d %d\n", image_info->image_width, image_info->image_height, image_info->depth); - fprintf(outfile, "[%d %d %d %d %d %d]\n", image_info->image_width, 0, 0, -image_info->image_height, 0 , image_info->image_height); + fprintf(outfile, "%f %f scale\n", width, height); + fprintf(outfile, "%d %d %d\n", image_info->image_width, image_info->image_height, depth); + fprintf(outfile, "[%d %d %d %d %d %d]\n", image_info->image_width, 0, 0, -image_info->image_height, 0, image_info->image_height); fprintf(outfile, "{currentfile pix readhexstring pop}\n"); if (image_info->colors == 3) /* what about RGBA here ? */ @@ -1531,6 +2386,18 @@ static int xsane_save_ps_bw(FILE *outfile, FILE *imagefile, Image_info *image_in } fprintf(outfile, "\n"); + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + count = 0; if (*cancel_save) { @@ -1554,16 +2421,48 @@ static int xsane_save_ps_gray(FILE *outfile, FILE *imagefile, Image_info *image_ count = 0; for (y = 0; y < image_info->image_height; y++) { - for (x = 0; x < image_info->image_width; x++) + if (image_info->depth > 8) /* reduce 16 bit images */ { - fprintf(outfile, "%02x", fgetc(imagefile)); - if (++count >=40) + guint16 val; + + for (x = 0; x < image_info->image_width; x++) { - fprintf(outfile, "\n"); - count = 0; + fread(&val, 2, 1, imagefile); + fprintf(outfile, "%02x", val/256); + + if (++count >= 40) + { + fprintf(outfile, "\n"); + count = 0; + } + } + } + else /* 8 bits/sample */ + { + for (x = 0; x < image_info->image_width; x++) + { + fprintf(outfile, "%02x", fgetc(imagefile)); + if (++count >= 40) + { + fprintf(outfile, "\n"); + count = 0; + } } } + fprintf(outfile, "\n"); + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + count = 0; gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); while (gtk_events_pending()) @@ -1598,18 +2497,54 @@ static int xsane_save_ps_color(FILE *outfile, FILE *imagefile, Image_info *image gtk_main_iteration(); } - for (x = 0; x < image_info->image_width; x++) + if (image_info->depth > 8) /* reduce 16 bit images */ { - fprintf(outfile, "%02x", fgetc(imagefile)); - fprintf(outfile, "%02x", fgetc(imagefile)); - fprintf(outfile, "%02x", fgetc(imagefile)); - if (++count >=10) + guint16 val; + + for (x = 0; x < image_info->image_width; x++) { - fprintf(outfile, "\n"); - count = 0; + fread(&val, 2, 1, imagefile); + fprintf(outfile, "%02x", val/256); + fread(&val, 2, 1, imagefile); + fprintf(outfile, "%02x", val/256); + fread(&val, 2, 1, imagefile); + fprintf(outfile, "%02x", val/256); + + if (++count >= 10) + { + fprintf(outfile, "\n"); + count = 0; + } + } + } + else /* 8 bits/sample */ + { + for (x = 0; x < image_info->image_width; x++) + { + fprintf(outfile, "%02x", fgetc(imagefile)); + fprintf(outfile, "%02x", fgetc(imagefile)); + fprintf(outfile, "%02x", fgetc(imagefile)); + + if (++count >= 10) + { + fprintf(outfile, "\n"); + count = 0; + } } } fprintf(outfile, "\n"); + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + count = 0; if (*cancel_save) @@ -1623,13 +2558,17 @@ static int xsane_save_ps_color(FILE *outfile, FILE *imagefile, Image_info *image /* ---------------------------------------------------------------------------------------------------------------------- */ -int xsane_save_ps(FILE *outfile, FILE *imagefile, Image_info *image_info, int left, int bottom, float width, float height, - int paperheight, int paperwidth, int rotate, GtkProgressBar *progress_bar, int *cancel_save) +int xsane_save_ps(FILE *outfile, FILE *imagefile, Image_info *image_info, float width, float height, + int paper_left_margin, int paper_bottom_margin, int paperheight, int paperwidth, int paper_orientation, + GtkProgressBar *progress_bar, int *cancel_save) { DBG(DBG_proc, "xsane_save_ps\n"); - xsane_save_ps_create_header(outfile, image_info, - left, bottom, width, height, paperheight, paperwidth, rotate, progress_bar); + *cancel_save = 0; + + xsane_save_ps_create_header(outfile, image_info, width, height, + paper_left_margin, paper_bottom_margin, paperheight, paperwidth, paper_orientation, + progress_bar); if (image_info->colors == 1) /* lineart, halftone, grayscale */ { @@ -1651,22 +2590,61 @@ int xsane_save_ps(FILE *outfile, FILE *imagefile, Image_info *image_info, int le fprintf(outfile, "showpage\n"); fprintf(outfile, "end\n"); fprintf(outfile, "origstate restore\n"); + fprintf(outfile, "%%%%EOF\n"); fprintf(outfile, "\n"); + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + } + return (*cancel_save); } /* ---------------------------------------------------------------------------------------------------------------------- */ - #ifdef HAVE_LIBJPEG + +typedef struct +{ + struct jpeg_error_mgr pub;/* "public" fields */ + int *cancel_save; +} xsane_jpeg_error_mgr; + +typedef xsane_jpeg_error_mgr *xsane_jpeg_error_mgr_ptr; + +static void xsane_jpeg_error_exit(j_common_ptr cinfo) +{ + char buf[256]; + + /* cinfo->err points to a xsane_jpeg_error_mgr struct */ + xsane_jpeg_error_mgr_ptr xsane_jpeg_error_mgr_data = (xsane_jpeg_error_mgr_ptr) cinfo->err; + + + if (!*xsane_jpeg_error_mgr_data->cancel_save) + { + /* output original error message */ + (*cinfo->err->output_message) (cinfo); + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBJPEG); + xsane_back_gtk_error(buf, TRUE); + } + + *xsane_jpeg_error_mgr_data->cancel_save = 1; +} + int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int quality, GtkProgressBar *progress_bar, int *cancel_save) { unsigned char *data; char buf[256]; - int x,y; int components = 1; + int x,y; + int bytespp = 1; struct jpeg_compress_struct cinfo; - struct jpeg_error_mgr jerr; + xsane_jpeg_error_mgr jerr; JSAMPROW row_pointer[1]; DBG(DBG_proc, "xsane_save_jpeg\n"); @@ -1678,7 +2656,12 @@ int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int components = 3; } - data = malloc(image_info->image_width * components); + if (image_info->depth > 8) + { + bytespp = 2; + } + + data = malloc(image_info->image_width * components * bytespp); if (!data) { @@ -1687,7 +2670,10 @@ int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int return -1; /* error */ } - cinfo.err = jpeg_std_error(&jerr); + cinfo.err = jpeg_std_error(&jerr.pub); + jerr.pub.error_exit = xsane_jpeg_error_exit; + jerr.cancel_save = cancel_save; + jpeg_create_compress(&cinfo); jpeg_stdio_dest(&cinfo, outfile); cinfo.image_width = image_info->image_width; @@ -1744,7 +2730,17 @@ int xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int mask >>= 1; } } - else + else if (image_info->depth > 8) /* jpeg does not support 16 bits/sample, so we reduce it at first */ + { + guint16 *data16 = (guint16 *) data; + fread(data, components * 2, image_info->image_width, imagefile); + for (x = 0; x < image_info->image_width * components; x++) + { + data[x] = data16[x] / 256; + } + + } + else /* 8 bits/sample */ { fread(data, components, image_info->image_width, imagefile); } @@ -1842,7 +2838,7 @@ int xsane_save_tiff(const char *outfilename, FILE *imagefile, Image_info *image_ { snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_NO_MEM); xsane_back_gtk_error(buf, TRUE); - return -1; /* error */ + return -1; /* error */ } TIFFSetField(tiffile, TIFFTAG_IMAGEWIDTH, image_info->image_width); @@ -1899,7 +2895,16 @@ int xsane_save_tiff(const char *outfilename, FILE *imagefile, Image_info *image_ fread(data, 1, w, imagefile); - TIFFWriteScanline(tiffile, data, y, 0); + if (TIFFWriteScanline(tiffile, data, y, 0) != 1) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s", ERR_DURING_SAVE); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } if (*cancel_save) { @@ -1939,7 +2944,7 @@ int xsane_save_png(FILE *outfile, FILE *imagefile, Image_info *image_info, int c png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, 0, 0, 0); if (!png_ptr) { - snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBTIFF); + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBPNG); xsane_back_gtk_error(buf, TRUE); return -1; /* error */ } @@ -2036,7 +3041,8 @@ int xsane_save_png(FILE *outfile, FILE *imagefile, Image_info *image_info, int c fread(data, components, byte_width, imagefile); row_ptr = data; - png_write_rows(png_ptr, &row_ptr, 1); + png_write_rows(png_ptr, &row_ptr, 1); /* errors are caught by test sor setjmp(...) */ + if (*cancel_save) { break; @@ -2149,7 +3155,7 @@ int xsane_save_png_16(FILE *outfile, FILE *imagefile, Image_info *image_info, in for (x = 0; x < image_info->image_width * components; x++) /* this must be changed in dependance of endianess */ { fread(&val, 2, 1, imagefile); /* get data in machine order */ - data[x*2+0] = val/256; /* write data in network order (MSB first) */ + data[x*2+0] = val / 256; /* write data in network order (MSB first) */ data[x*2+1] = val & 255; } @@ -2167,45 +3173,161 @@ int xsane_save_png_16(FILE *outfile, FILE *imagefile, Image_info *image_info, in return (*cancel_save); } -#endif -#endif +#endif +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static int xsane_save_pnm_16_ascii_gray(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) +{ + int x,y; + guint16 val; + int count = 0; + + DBG(DBG_proc, "xsane_save_pnm_16_ascii_gray\n"); + + *cancel_save = 0; + + for (y = 0; y < image_info->image_height; y++) + { + for (x = 0; x < image_info->image_width; x++) + { + fread(&val, 2, 1, imagefile); /* get data in machine order */ + fprintf(outfile, "%d ", val); + + if (++count >= 10) + { + fprintf(outfile, "\n"); + count = 0; + } + } + fprintf(outfile, "\n"); + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + + count = 0; + + gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + if (*cancel_save) + { + break; + } + } + + return (*cancel_save); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static int xsane_save_pnm_16_ascii_color(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) +{ + int x,y; + guint16 val; + int count = 0; + + DBG(DBG_proc, "xsane_save_pnm_16_ascii_color\n"); + + *cancel_save = 0; + + for (y = 0; y < image_info->image_height; y++) + { + for (x = 0; x < image_info->image_width; x++) + { + fread(&val, 2, 1, imagefile); /* get data in machine order */ + fprintf(outfile, "%d ", val); + + fread(&val, 2, 1, imagefile); + fprintf(outfile, "%d ", val); + + fread(&val, 2, 1, imagefile); + fprintf(outfile, "%d ", val); + + if (++count >= 3) + { + fprintf(outfile, "\n"); + count = 0; + } + } + fprintf(outfile, "\n"); + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + + count = 0; + + gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + + if (*cancel_save) + { + break; + } + } + + return (*cancel_save); +} /* ---------------------------------------------------------------------------------------------------------------------- */ -int xsane_save_pnm_16_gray(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) +static int xsane_save_pnm_16_binary_gray(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) { int x,y; guint16 val; - int count = 0; - DBG(DBG_proc, "xsane_save_pnm_16_gray\n"); + DBG(DBG_proc, "xsane_save_pnm_16_binary_gray\n"); *cancel_save = 0; - /* write pgm ascii > 8 bpp */ - fprintf(outfile, "P2\n# SANE data follows\n%d %d\n65535\n", image_info->image_width, image_info->image_height); - for (y = 0; y < image_info->image_height; y++) { for (x = 0; x < image_info->image_width; x++) { fread(&val, 2, 1, imagefile); /* get data in machine order */ - fprintf(outfile, "%d ", val); - - if (++count >= 10) - { - fprintf(outfile, "\n"); - count = 0; - } + fputc(val / 256, outfile); /* MSB fist */ + fputc(val & 255, outfile); /* LSB */ } - fprintf(outfile, "\n"); - count = 0; gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); while (gtk_events_pending()) { gtk_main_iteration(); } + + if (ferror(outfile)) + { + char buf[255]; + + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; + } + if (*cancel_save) { break; @@ -2217,46 +3339,52 @@ int xsane_save_pnm_16_gray(FILE *outfile, FILE *imagefile, Image_info *image_inf /* ---------------------------------------------------------------------------------------------------------------------- */ -int xsane_save_pnm_16_color(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) +static int xsane_save_pnm_16_binary_color(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save) { int x,y; guint16 val; - int count = 0; - DBG(DBG_proc, "xsane_save_pnm_16_color\n"); + DBG(DBG_proc, "xsane_save_pnm_16_binary_color\n"); *cancel_save = 0; - /* write ppm ascii > 8 bpp */ - fprintf(outfile, "P3\n# SANE data follows\n%d %d\n65535\n", image_info->image_width, image_info->image_height); - for (y = 0; y < image_info->image_height; y++) { + for (x = 0; x < image_info->image_width; x++) + { + /* red */ + fread(&val, 2, 1, imagefile); /* get data in machine order */ + fputc(val / 256, outfile); /* MSB fist */ + fputc(val & 255, outfile); /* LSB */ + + /* green */ + fread(&val, 2, 1, imagefile); /* get data in machine order */ + fputc(val / 256, outfile); /* MSB fist */ + fputc(val & 255, outfile); /* LSB */ + + /* blue */ + fread(&val, 2, 1, imagefile); /* get data in machine order */ + fputc(val / 256, outfile); /* MSB fist */ + fputc(val & 255, outfile); /* LSB */ + } + gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); while (gtk_events_pending()) { gtk_main_iteration(); } - for (x = 0; x < image_info->image_width; x++) - { - fread(&val, 2, 1, imagefile); /* get data in machine order */ - fprintf(outfile, "%d ", val); - - fread(&val, 2, 1, imagefile); - fprintf(outfile, "%d ", val); - fread(&val, 2, 1, imagefile); - fprintf(outfile, "%d ", val); + if (ferror(outfile)) + { + char buf[255]; - if (++count >= 3) - { - fprintf(outfile, "\n"); - count = 0; - } + snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, strerror(errno)); + DBG(DBG_error, "%s\n", buf); + xsane_back_gtk_decision(ERR_HEADER_ERROR, (gchar **) error_xpm, buf, BUTTON_OK, NULL, TRUE /* wait */); + *cancel_save = 1; + break; } - fprintf(outfile, "\n"); - count = 0; if (*cancel_save) { @@ -2273,13 +3401,31 @@ int xsane_save_pnm_16(FILE *outfile, FILE *imagefile, Image_info *image_info, Gt { DBG(DBG_proc, "xsane_save_pnm_16\n"); + *cancel_save = 0; + + xsane_write_pnm_header(outfile, image_info, preferences.save_pnm16_as_ascii); + if (image_info->colors > 1) { - xsane_save_pnm_16_color(outfile, imagefile, image_info, progress_bar, cancel_save); + if (preferences.save_pnm16_as_ascii) + { + xsane_save_pnm_16_ascii_color(outfile, imagefile, image_info, progress_bar, cancel_save); + } + else + { + xsane_save_pnm_16_binary_color(outfile, imagefile, image_info, progress_bar, cancel_save); + } } else { - xsane_save_pnm_16_gray(outfile, imagefile, image_info, progress_bar, cancel_save); + if (preferences.save_pnm16_as_ascii) + { + xsane_save_pnm_16_ascii_gray(outfile, imagefile, image_info, progress_bar, cancel_save); + } + else + { + xsane_save_pnm_16_binary_gray(outfile, imagefile, image_info, progress_bar, cancel_save); + } } return (*cancel_save); @@ -2289,7 +3435,7 @@ int xsane_save_pnm_16(FILE *outfile, FILE *imagefile, Image_info *image_info, Gt /* ---------------------------------------------------------------------------------------------------------------------- */ /* 0=ok, <0=error, 1=canceled */ -int xsane_save_image_as_lineart(char *input_filename, char *output_filename, GtkProgressBar *progress_bar, int *cancel_save) +int xsane_save_image_as_lineart(char *output_filename, char *input_filename, GtkProgressBar *progress_bar, int *cancel_save) { FILE *outfile; FILE *infile; @@ -2335,14 +3481,194 @@ int xsane_save_image_as_lineart(char *input_filename, char *output_filename, Gtk } /* ---------------------------------------------------------------------------------------------------------------------- */ + +int xsane_save_image_as_text(char *output_filename, char *input_filename, GtkProgressBar *progress_bar, int *cancel_save) +{ + char *arg[1000]; + char buf[256]; + int argnr; + pid_t pid; + int i; + int pipefd[2]; /* for progress communication with gocr */ + FILE *ocr_progress = NULL; + + DBG(DBG_proc, "xsane_save_image_as_text\n"); + + argnr = xsane_parse_options(preferences.ocr_command, arg); + + arg[argnr++] = strdup(preferences.ocr_inputfile_option); + arg[argnr++] = strdup(input_filename); + + arg[argnr++] = strdup(preferences.ocr_outputfile_option); + arg[argnr++] = strdup(output_filename); + + if (preferences.ocr_use_gui_pipe) + { + if (!pipe(pipefd)) /* success */ + { + DBG(DBG_info, "xsane_save_image_as_text: created pipe for progress communication\n"); + + arg[argnr++] = strdup(preferences.ocr_gui_outfd_option); + + snprintf(buf, sizeof(buf),"%d", pipefd[1]); + arg[argnr++] = strdup(buf); + } + else + { + DBG(DBG_info, "xsane_save_image_as_text: could not create pipe for progress communication\n"); + pipefd[0] = 0; + pipefd[1] = 0; + } + } + else + { + DBG(DBG_info, "xsane_save_image_as_text: no pipe for progress communication requested\n"); + pipefd[0] = 0; + pipefd[1] = 0; + } + + arg[argnr] = 0; + +#ifndef HAVE_OS2_H + pid = fork(); + + if (pid == 0) /* new process */ + { + FILE *ipc_file = NULL; + + if (xsane.ipc_pipefd[0]) /* did we create the progress pipe? */ + { + close(xsane.ipc_pipefd[0]); /* close reading end of pipe */ + ipc_file = fdopen(xsane.ipc_pipefd[1], "w"); + } + + if (pipefd[0]) /* did we create the progress pipe? */ + { + close(pipefd[0]); /* close reading end of pipe */ + } + + DBG(DBG_info, "trying to change user id for new subprocess:\n"); + DBG(DBG_info, "old effective uid = %d\n", (int) geteuid()); + setuid(getuid()); + DBG(DBG_info, "new effective uid = %d\n", (int) geteuid()); + + + execvp(arg[0], arg); /* does not return if successfully */ + DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_OCR_CMD, preferences.ocr_command); + + /* send error message via IPC pipe to parent process */ + if (ipc_file) + { + fprintf(ipc_file, "%s %s:\n%s", ERR_FAILED_EXEC_OCR_CMD, preferences.ocr_command, strerror(errno)); + fflush(ipc_file); /* make sure message is displayed */ + fclose(ipc_file); + } + + _exit(0); /* do not use exit() here! otherwise gtk gets in trouble */ + } + +#else + pid = spawnvp(P_NOWAIT, arg[0], arg); + if (pid == -1) + { + DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_OCR_CMD, preferences.ocr_command); + } +#endif + + if (pipefd[1]) + { + close(pipefd[1]); /* close writing end of pipe */ + ocr_progress = fdopen(pipefd[0], "r"); /* open reading end of pipe as file */ + } + + for (i=0; i 11.0) + { + fprogress = 1.0; + } + + gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), fprogress); + } + + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + } + + gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), ""); + gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); + } + else /* no pipe available */ + { + while (pid) + { + int status = 0; + pid_t pid_status = waitpid(pid, &status, WNOHANG); + + if (pid == pid_status) + { + pid = 0; /* ok, child process has terminated */ + } + + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + } + } + + if (pipefd[0]) + { + fclose(ocr_progress); /* close reading end of pipe */ + } + return (*cancel_save); +} +/* ---------------------------------------------------------------------------------------------------------------------- */ -int xsane_save_image_as(char *input_filename, char *output_filename, int output_format, GtkProgressBar *progress_bar, int *cancel_save) +/* save image in destination file format. lineart images that are stored as grayscale image are reduced to lineart! */ +int xsane_save_image_as(char *output_filename, char *input_filename, int output_format, GtkProgressBar *progress_bar, int *cancel_save) { FILE *outfile; FILE *infile; char buf[256]; Image_info image_info; + char lineart_filename[PATH_MAX]; + int remove_input_file = FALSE; + + DBG(DBG_proc, "xsane_save_image_as(output_file=%s, input_file=%s, type=%d)\n", output_filename, input_filename, output_format); + + *cancel_save = 0; infile = fopen(input_filename, "rb"); /* read binary (b for win32) */ if (infile == 0) @@ -2356,6 +3682,51 @@ int xsane_save_image_as(char *input_filename, char *output_filename, int output_ xsane_read_pnm_header(infile, &image_info); + if ((image_info.reduce_to_lineart) && (output_format != XSANE_PNM)) + { + DBG(DBG_info, "original image is a lineart => reduce to lineart\n"); + fclose(infile); + xsane_back_gtk_make_path(sizeof(lineart_filename), lineart_filename, 0, 0, "xsane-conversion-", xsane.dev_name, ".pbm", XSANE_PATH_TMP); + + snprintf(buf, sizeof(buf), "%s: %s", PROGRESS_PACKING_DATA, output_filename); + + gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), buf); + gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); + + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + + xsane_save_image_as_lineart(lineart_filename, input_filename, progress_bar, cancel_save); + + input_filename = lineart_filename; + remove_input_file = TRUE; + + infile = fopen(input_filename, "rb"); /* read binary (b for win32) */ + if (infile == 0) + { + char buf[256]; + snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, input_filename, strerror(errno)); + xsane_back_gtk_error(buf, TRUE); + + return -1; + } + + xsane_read_pnm_header(infile, &image_info); + } + + snprintf(buf, sizeof(buf), "%s: %s", PROGRESS_SAVING_DATA, output_filename); + + gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), buf); + gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); + + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + + #ifdef HAVE_LIBTIFF if (output_format == XSANE_TIFF) /* routines that want to have filename for saving */ { @@ -2378,7 +3749,14 @@ int xsane_save_image_as(char *input_filename, char *output_filename, int output_ switch(output_format) { case XSANE_PNM: - xsane_save_rotate_image(outfile, infile, &image_info, 0, progress_bar, cancel_save); + if (image_info.reduce_to_lineart) + { + xsane_save_grayscale_image_as_lineart(outfile, infile, &image_info, progress_bar, cancel_save); + } + else + { + xsane_copy_file(outfile, infile, progress_bar, cancel_save); + } break; #ifdef HAVE_LIBJPEG @@ -2410,22 +3788,27 @@ int xsane_save_image_as(char *input_filename, char *output_filename, int output_ { float imagewidth, imageheight; - imagewidth = image_info.image_width/image_info.resolution_x; /* width in inch */ - imageheight = image_info.image_height/image_info.resolution_y; /* height in inch */ + imagewidth = 72.0 * image_info.image_width/image_info.resolution_x; /* width in 1/72 inch */ + imageheight = 72.0 * image_info.image_height/image_info.resolution_y; /* height in 1/72 inch */ xsane_save_ps(outfile, infile, &image_info, - 0.0, /* left edge */ - 0.0, /* botoom edge */ imagewidth, imageheight, - 0.0, /* paperwidth */ - 0.0, /* paperheight */ - 0 /* portrait */, + 0, /* paper_left_margin */ + 0, /* paper_bottom_margin */ + (int) imagewidth, /* paper_width */ + (int) imageheight, /* paper_height */ + 0 /* portrait top left */, progress_bar, cancel_save); } break; /* switch format == XSANE_PS */ + case XSANE_TEXT: /* save as text using ocr program like gocr/jocr */ + { + xsane_save_image_as_text(output_filename, input_filename, progress_bar, cancel_save); + } + break; /* switch format == XSANE_TEXT */ default: snprintf(buf, sizeof(buf),"%s", ERR_UNKNOWN_SAVING_FORMAT); @@ -2436,6 +3819,19 @@ int xsane_save_image_as(char *input_filename, char *output_filename, int output_ remove(output_filename); /* no usable output: remove output file */ + if (remove_input_file) + { + remove(input_filename); /* remove lineart pbm file */ + } + + gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), ""); + gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); + + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + return -2; break; /* switch format == default */ } @@ -2447,24 +3843,53 @@ int xsane_save_image_as(char *input_filename, char *output_filename, int output_ xsane_back_gtk_error(buf, TRUE); fclose(infile); + + if (remove_input_file) + { + remove(input_filename); /* remove lineart pbm file */ + } + + gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), ""); + gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); + + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + return -2; } } fclose (infile); + if (remove_input_file) + { + remove(input_filename); /* remove lineart pbm file */ + } + if (*cancel_save) /* remove output file if saving has been canceled */ { remove(output_filename); } + gtk_progress_set_format_string(GTK_PROGRESS(progress_bar), ""); + gtk_progress_bar_update(GTK_PROGRESS_BAR(progress_bar), 0.0); + + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + return (*cancel_save); } +/* ---------------------------------------------------------------------------------------------------------------------- */ +/* ---------------------------------------------------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------------------------------------------------- */ -#ifdef HAVE_LIBGIMP_GIMP_H +#ifdef HAVE_ANY_GIMP static int xsane_decode_devname(const char *encoded_devname, int n, char *buf) { char *dst, *limit; @@ -2695,10 +4120,17 @@ static void xsane_gimp_query(void) /* ---------------------------------------------------------------------------------------------------------------------- */ -static void xsane_gimp_run(char *name, int nparams, GimpParam * param, int *nreturn_vals, GimpParam ** return_vals) +#ifdef HAVE_GIMP_2 +static void xsane_gimp_run(const gchar *name, gint nparams, const GimpParam *param, gint *nreturn_vals, GimpParam **return_vals) +{ + GimpRunMode run_mode; +#else /* GIMP-1.x */ +static void xsane_gimp_run(char *name, int nparams, GimpParam *param, int *nreturn_vals, GimpParam **return_vals) { - static GimpParam values[2]; GimpRunModeType run_mode; +#endif + + static GimpParam values[2]; char devname[1024]; char *args[2]; int nargs; @@ -2731,6 +4163,9 @@ static void xsane_gimp_run(char *name, int nparams, GimpParam * param, int *nret switch (run_mode) { case GIMP_RUN_INTERACTIVE: +#ifdef HAVE_GIMP_2 + gimp_extension_ack(); +#endif xsane_interface(nargs, args); values[0].data.d_status = GIMP_PDB_SUCCESS; break; @@ -2957,22 +4392,22 @@ int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, i } } #ifdef SUPPORT_RGBA - else if (colors == 4) /* RGBA */ + else if (image_info.colors == 4) /* RGBA */ { int i; - switch (bits) + switch (image_info.depth) { case 8: /* 8 bit RGBA */ case 16: /* 16 bit RGBA already has been reduced to 8 bit */ - for (i = 0; i < pixel_width*pixel_height*4; ++i) + for (i = 0; i < image_info.image_width * image_info.image_height * 4; ++i) { tile[tile_offset++] = fgetc(imagefile); if (tile_offset % 4 == 0) { x++; - if (x >= pixel_width) + if (x >= image_info.image_width) { int tile_height = gimp_tile_height(); @@ -2981,11 +4416,11 @@ int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, i if (y % tile_height == 0) { - gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, pixel_width, tile_height); + gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); tile_offset = 0; } - gtk_progress_bar_update(progress_bar, (float) y / pixel_height); /* update progress bar */ + gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */ while (gtk_events_pending()) { gtk_main_iteration(); @@ -3029,9 +4464,13 @@ int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, i return 0; } -#endif /* HAVE_LIBGIMP_GIMP_H */ +#endif /* HAVE_ANY_GIMP */ /* ---------------------------------------------------------------------------------------------------------------------- */ +/* ---------------------------------------------------------------------------------------------------------------------- */ +/* ---------------------------------------------------------------------------------------------------------------------- */ +/* ---------------------------------------------------------------------------------------------------------------------- */ + #ifdef XSANE_ACTIVATE_MAIL /* character base of base64 coding */ @@ -3070,7 +4509,7 @@ static void write_3chars_as_base64(unsigned char c1, unsigned char c2, unsigned void write_base64(int fd_socket, FILE *infile) { int c1, c2, c3; - int pos=0; + int pos = 0; while ((c1 = getc(infile)) != EOF) { @@ -3099,12 +4538,22 @@ void write_base64(int fd_socket, FILE *infile) pos = 0; } + + xsane.mail_progress_bytes += 3; + if ((int) ((xsane.mail_progress_bytes * 100) / xsane.mail_progress_size) != (int) (xsane.mail_progress_val * 100)) + { + xsane.mail_progress_val = (float) xsane.mail_progress_bytes / xsane.mail_progress_size; + xsane_front_gtk_mail_project_update_lockfile_status(); + } } if (pos) { write(fd_socket, "\n", 1); } + + xsane.mail_progress_val = 1.0; + xsane_front_gtk_mail_project_update_lockfile_status(); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -3199,14 +4648,14 @@ void write_mail_mime_html(int fd_socket, char *boundary) /* ---------------------------------------------------------------------------------------------------------------------- */ -void write_mail_attach_image_png(int fd_socket, char *boundary, char *content_id, FILE *infile, char *filename) +void write_mail_attach_image(int fd_socket, char *boundary, char *content_id, char *content_type, FILE *infile, char *filename) { char buf[1024]; snprintf(buf, sizeof(buf), "--%s\n", boundary); write(fd_socket, buf, strlen(buf)); - snprintf(buf, sizeof(buf), "Content-Type: image/png\n"); + snprintf(buf, sizeof(buf), "Content-Type: %s\n", content_type); write(fd_socket, buf, strlen(buf)); if (content_id) @@ -3376,6 +4825,7 @@ int pop3_login(int fd_socket, char *user, char *passwd) /* ---------------------------------------------------------------------------------------------------------------------- */ /* not only a write routine, also reads data */ +/* returns -1 on error, 0 when ok */ int write_smtp_header(int fd_socket, char *from, char *to) { char buf[1024]; @@ -3398,6 +4848,19 @@ int write_smtp_header(int fd_socket, char *from, char *to) } DBG(DBG_info2, "< %s\n", buf); + if (buf[0] != '2') + { + DBG(DBG_info, "=> error\n"); + + if (xsane.mail_status) + { + free(xsane.mail_status); + } + xsane.mail_status = strdup(TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED); + xsane_front_gtk_mail_project_update_lockfile_status(); + return -1; + } + snprintf(buf, sizeof(buf), "MAIL FROM: %s\r\n", from); DBG(DBG_info2, "> %s", buf); write(fd_socket, buf, strlen(buf)); @@ -3408,6 +4871,20 @@ int write_smtp_header(int fd_socket, char *from, char *to) } DBG(DBG_info2, "< %s\n", buf); + if (buf[0] != '2') + { + DBG(DBG_info, "=> error\n"); + + if (xsane.mail_status) + { + free(xsane.mail_status); + } + xsane.mail_status = strdup(TEXT_MAIL_STATUS_SMTP_ERR_FROM); + xsane_front_gtk_mail_project_update_lockfile_status(); + return -1; + } + + snprintf(buf, sizeof(buf), "RCPT TO: %s\r\n", to); DBG(DBG_info2, "> %s", buf); write(fd_socket, buf, strlen(buf)); @@ -3418,6 +4895,19 @@ int write_smtp_header(int fd_socket, char *from, char *to) } DBG(DBG_info2, "< %s\n", buf); + if (buf[0] != '2') + { + DBG(DBG_info, "=> error\n"); + + if (xsane.mail_status) + { + free(xsane.mail_status); + } + xsane.mail_status = strdup(TEXT_MAIL_STATUS_SMTP_ERR_RCPT); + xsane_front_gtk_mail_project_update_lockfile_status(); + return -1; + } + snprintf(buf, sizeof(buf), "DATA\r\n"); DBG(DBG_info2, "> %s", buf); write(fd_socket, buf, strlen(buf)); @@ -3428,6 +4918,19 @@ int write_smtp_header(int fd_socket, char *from, char *to) } DBG(DBG_info2, "< %s\n", buf); + if ((buf[0] != '2') && (buf[0] != '3')) + { + DBG(DBG_info, "=> error\n"); + + if (xsane.mail_status) + { + free(xsane.mail_status); + } + xsane.mail_status = strdup(TEXT_MAIL_STATUS_SMTP_ERR_DATA); + xsane_front_gtk_mail_project_update_lockfile_status(); + return -1; + } + return 0; } @@ -3439,7 +4942,7 @@ int write_smtp_footer(int fd_socket) char buf[1024]; int len; - snprintf(buf, sizeof(buf), ".\r\n"); + snprintf(buf, sizeof(buf), "\r\n.\r\n"); DBG(DBG_info2, "> %s", buf); write(fd_socket, buf, strlen(buf)); len = read(fd_socket, buf, sizeof(buf)); diff --git a/src/xsane-save.h b/src/xsane-save.h index ad30dba..ae8e9a4 100644 --- a/src/xsane-save.h +++ b/src/xsane-save.h @@ -3,7 +3,7 @@ xsane-save.h Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -25,26 +25,31 @@ extern int xsane_create_secure_file(const char *filename); extern void xsane_cancel_save(); extern void xsane_convert_text_to_filename(char **filename); +extern int xsane_get_filesize(char *filename); +extern void xsane_ensure_counter_in_filename(char **filename, int counter_len); extern void xsane_update_counter_in_filename(char **filename, int skip, int step, int min_counter_len); extern void xsane_increase_counter_in_filename(char *filename, int skip); -extern void xsane_read_pnm_header(FILE *infile, Image_info *image_info); -extern void xsane_write_pnm_header(FILE *outfile, Image_info *image_info); +extern void xsane_read_pnm_header(FILE *file, Image_info *image_info); +extern void xsane_write_pnm_header(FILE *file, Image_info *image_info, int save_pnm16_as_ascii); +extern int xsane_copy_file(FILE *outfile, FILE *infile, GtkProgressBar *progress_bar, int *cancel_save); +extern int xsane_copy_file_by_name(char *output_filename, char *input_filename, GtkProgressBar *progress_bar, int *cancel_save); extern int xsane_save_grayscale_image_as_lineart(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save); extern int xsane_save_scaled_image(FILE *outfile, FILE *imagefile, Image_info *image_info, float x_scale, float y_scale, GtkProgressBar *progress_bar, int *cancel_save); extern int xsane_save_despeckle_image(FILE *outfile, FILE *imagefile, Image_info *image_info, int radius, GtkProgressBar *progress_bar, int *cancel_save); -extern int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info, int radius, GtkProgressBar *progress_bar, int *cancel_save); +extern int xsane_save_blur_image(FILE *outfile, FILE *imagefile, Image_info *image_info, float radius, GtkProgressBar *progress_bar, int *cancel_save); extern int xsane_save_rotate_image(FILE *outfile, FILE *imagefile, Image_info *image_info, int rotation, GtkProgressBar *progress_bar, int *cancel_save); extern void xsane_save_ps(FILE *outfile, FILE *imagefile, Image_info *image_info, - int left, int bottom, float width, float height, - int paperwidth, int paperheight, int landscape, + float width, float height, + int paper_left_margin, int paper_bottom_margin, int paperwidth, int paperheight, int paper_orientation, GtkProgressBar *progress_bar, int *cancel_save); extern void xsane_save_jpeg(FILE *outfile, FILE *imagefile, Image_info *image_info, int quality, GtkProgressBar *progress_bar, int *cancel_save); extern void xsane_save_tiff(const char *outfilename, FILE *imagefile, Image_info *image_info, int quality, GtkProgressBar *progress_bar, int *cancel_save); extern void xsane_save_png(FILE *outfile, FILE *imagefile, Image_info *image_info, int compression, GtkProgressBar *progress_bar, int *cancel_save); extern void xsane_save_png_16(FILE *outfile, FILE *imagefile, Image_info *image_info, int compression, GtkProgressBar *progress_bar, int *cancel_save); extern void xsane_save_pnm_16(FILE *outfile, FILE *imagefile, Image_info *image_info, GtkProgressBar *progress_bar, int *cancel_save); -extern int xsane_save_image_as_lineart(char *input_filename, char *output_filename, GtkProgressBar *progress_bar, int *cancel_save); -extern int xsane_save_image_as(char *input_filename, char *output_filename, int output_format, GtkProgressBar *progress_bar, int *cancel_save); +extern int xsane_save_image_as_lineart(char *output_filename, char *input_filename, GtkProgressBar *progress_bar, int *cancel_save); +extern int xsane_save_image_as_text(char *output_filename, char *input_filename, GtkProgressBar *progress_bar, int *cancel_save); +extern int xsane_save_image_as(char *output_filename, char *input_filename, int output_format, GtkProgressBar *progress_bar, int *cancel_save); extern void null_print_func(gchar *msg); extern int xsane_transfer_to_gimp(char *input_filename, GtkProgressBar *progress_bar, int *cancel_save); extern void write_base64(int fd_socket, FILE *infile); @@ -52,11 +57,12 @@ extern void write_mail_header(int fd_socket, char *from, char *reply_to, char *t extern void write_mail_footer(int fd_socket, char *boundary); extern void write_mail_mime_ascii(int fd_socket, char *boundary); extern void write_mail_mime_html(int fd_socket, char *boundary); -extern void write_mail_attach_image_png(int fd_socket, char *boundary, char *content_id, FILE *infile, char *filename); +extern void write_mail_attach_image(int fd_socket, char *boundary, char *content_id, char *content_type, FILE *infile, char *filename); extern void write_mail_attach_file(int fd_socket, char *boundary, FILE *infile, char *filename); extern int open_socket(char *server, int port); extern int pop3_login(int fd_socket, char *user, char *passwd); extern int write_smtp_header(int fd_socket, char *from, char *to); extern int write_smtp_footer(int fd_socket); + /* ---------------------------------------------------------------------------------------------------------------------- */ diff --git a/src/xsane-scan.c b/src/xsane-scan.c index a724e3e..ee0542c 100644 --- a/src/xsane-scan.c +++ b/src/xsane-scan.c @@ -3,7 +3,7 @@ xsane-scan.c Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -50,7 +50,7 @@ static int xsane_test_multi_scan(void); void xsane_scan_done(SANE_Status status); void xsane_cancel(void); static void xsane_start_scan(void); -void xsane_scan_dialog(GtkWidget * widget, gpointer call_data); +void xsane_scan_dialog(void); static void xsane_create_internal_gamma_tables(void); /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -71,7 +71,7 @@ static int xsane_generate_dummy_filename(int conversion_level) free(xsane.dummy_filename); } - if ( (conversion_level == 0) && (xsane.preview->rotation) ) /* scan level with rotation */ + if ( (conversion_level == 0) && (xsane.scan_rotation) ) /* scan level with rotation */ { tempfile = TRUE; } @@ -81,24 +81,38 @@ static int xsane_generate_dummy_filename(int conversion_level) tempfile = TRUE; } - if ( (xsane.xsane_mode == XSANE_COPY) || - (xsane.xsane_mode == XSANE_FAX) || - (xsane.xsane_mode == XSANE_MAIL) || + if ( (xsane.mode == XSANE_GIMP_EXTENSION) || + (xsane.xsane_mode == XSANE_COPY) || (xsane.xsane_mode == XSANE_VIEWER) || - ( (xsane.xsane_mode == XSANE_SAVE) && (xsane.xsane_output_format != XSANE_PNM) && - (xsane.xsane_output_format != XSANE_RAW16) && (xsane.xsane_output_format != XSANE_RGBA) ) ) + ( (xsane.xsane_mode == XSANE_SAVE) && + (xsane.xsane_output_format != XSANE_PNM) && + (xsane.xsane_output_format != XSANE_RGBA) ) ) { tempfile = TRUE; } if (tempfile) /* save to temporary file */ { - xsane_back_gtk_make_path(sizeof(filename), filename, 0, 0, "conversion-", xsane.dev_name, ".ppm", XSANE_PATH_TMP); + xsane_back_gtk_make_path(sizeof(filename), filename, 0, 0, "xsane-conversion-", xsane.dev_name, ".ppm", XSANE_PATH_TMP); xsane.dummy_filename = strdup(filename); DBG(DBG_info, "xsane.dummy_filename = %s\n", xsane.dummy_filename); return TRUE; } + else if (xsane.xsane_mode == XSANE_FAX) /* no conversion following, save directly to the selected filename */ + { + xsane.dummy_filename = strdup(xsane.fax_filename); + DBG(DBG_info, "xsane.dummy_filename = %s\n", xsane.dummy_filename); + + return FALSE; + } + else if (xsane.xsane_mode == XSANE_MAIL) /* no conversion following, save directly to the selected filename */ + { + xsane.dummy_filename = strdup(xsane.mail_filename); + DBG(DBG_info, "xsane.dummy_filename = %s\n", xsane.dummy_filename); + + return FALSE; + } else /* no conversion following, save directly to the selected filename */ { xsane.dummy_filename = strdup(xsane.output_filename); @@ -178,14 +192,26 @@ static void xsane_read_image_data(gpointer data, gint source, GdkInputCondition if (!len) /* nothing read */ { - break; /* out of data for now, leave while loop */ + if (xsane.input_tag >= 0) + { + break; /* leave xsane_read_image_data, will be called by gdk when select_fd event occurs */ + } + else /* no select fd available */ + { + while (gtk_events_pending()) + { + DBG(DBG_info, "calling gtk_main_iteration\n"); + gtk_main_iteration(); + } + continue; /* we have to keep this loop running because it will never be called again */ + } } xsane.bytes_read += len; xsane_progress_update(xsane.bytes_read / (gfloat) xsane.num_bytes); /* it is not allowed to call gtk_main_iteration when we have gdk_input active */ - /* because xsan_read_image_data will be called several times */ + /* because xsane_read_image_data will be called several times */ if (xsane.input_tag < 0) { while (gtk_events_pending()) @@ -245,10 +271,17 @@ static void xsane_read_image_data(gpointer data, gint source, GdkInputCondition { *expanded_buf8ptr = (val & (1 << j)) ? 0x00 : 0xff; expanded_buf8ptr++; + + xsane.lineart_to_grayscale_x--; + if (xsane.lineart_to_grayscale_x <= 0) + { + xsane.lineart_to_grayscale_x = xsane.param.pixels_per_line; + break; + } } buf8ptr++; } - fwrite(expanded_buf8, 1, len*8, xsane.out); + fwrite(expanded_buf8, 1, (size_t) (expanded_buf8ptr - expanded_buf8), xsane.out); free(expanded_buf8); } else /* save direct to the file */ @@ -301,11 +334,13 @@ static void xsane_read_image_data(gpointer data, gint source, GdkInputCondition case SANE_FRAME_GREEN: case SANE_FRAME_BLUE: { + unsigned char rgbbuf[3 * XSANE_3PASS_BUFFER_RGB_SIZE]; + int pos; + DBG(DBG_info, "3 pass color\n"); if (!xsane.scanner_gamma_color) /* gamma correction by xsane */ { - char val; SANE_Int *gamma; if (xsane.param.format == SANE_FRAME_RED) @@ -323,19 +358,51 @@ static void xsane_read_image_data(gpointer data, gint source, GdkInputCondition for (i = 0; i < len; ++i) { - val = gamma[(int) buf8[i]]; - fputc(val, xsane.out); - fseek(xsane.out, 2, SEEK_CUR); + buf8[i] = gamma[(int) buf8[i]]; } } - else /* gamma correction by scanner */ + + buf8ptr = buf8; + pos = 0; + + while(pos < len) { - for (i = 0; i < len; ++i) + int cnt, bytes; + + cnt = len - pos; + + if (cnt > XSANE_3PASS_BUFFER_RGB_SIZE) { - fputc(buf8[i], xsane.out); - fseek(xsane.out, 2, SEEK_CUR); + cnt = XSANE_3PASS_BUFFER_RGB_SIZE; } - } + + bytes = 3 * cnt - 2; + + /* if there already is data: read block of already scanned colors */ + if( (xsane.param.format > SANE_FRAME_RED) && (cnt > 1) ) + { + long fpos = ftell(xsane.out); + + fseek(xsane.out, 0, SEEK_CUR); /* sync between write and read */ + fread(rgbbuf, 1, bytes - 1, xsane.out); + fseek(xsane.out, fpos, SEEK_SET); + } + + /* add just scanned color to block */ + for(j = 0; j < cnt; j++) + { + rgbbuf[3 * j] = buf8ptr[j]; + } + + /* write block back to disk */ + fwrite(rgbbuf, 1, bytes, xsane.out); + + pos += cnt; + buf8ptr += cnt; + + /* skip the bytes for the two other colors */ + fseek(xsane.out, 2, SEEK_CUR); + } /* while(pos < len) */ } break; @@ -404,8 +471,6 @@ static void xsane_read_image_data(gpointer data, gint source, GdkInputCondition unsigned char *buf8 = (unsigned char *) buf16; unsigned char *buf8ptr; char buf[255]; - char last = 0; - int offset = 0; DBG(DBG_info, "depth = 16 bit\n"); @@ -416,9 +481,9 @@ static void xsane_read_image_data(gpointer data, gint source, GdkInputCondition break; /* leave while loop */ } - if (offset) /* if we have had an odd number of bytes */ + if (xsane.read_offset_16) /* if we have had an odd number of bytes */ { - buf16[0] = last; /* ATTENTION: that is wrong! */ + buf8[0] = xsane.last_offset_16_byte; status = sane_read(dev, ((SANE_Byte *) buf16) + 1, sizeof(buf16) - 1, &len); if (len) { @@ -440,12 +505,12 @@ static void xsane_read_image_data(gpointer data, gint source, GdkInputCondition if (len % 2) /* odd number of bytes */ { len--; - last = buf16[len]; - offset = 1; + xsane.last_offset_16_byte = buf16[len]; + xsane.read_offset_16 = 1; } else /* even number of bytes */ { - offset = 0; + xsane.read_offset_16 = 0; } if (status == SANE_STATUS_EOF) @@ -484,7 +549,19 @@ static void xsane_read_image_data(gpointer data, gint source, GdkInputCondition if (!len) /* nothing read */ { - break; /* out of data for now, leave while loop */ + if (xsane.input_tag >= 0) + { + break; /* leave xsane_read_image_data, will be called by gdk when select_fd event occurs */ + } + else /* no select fd available */ + { + while (gtk_events_pending()) + { + DBG(DBG_info, "calling gtk_main_iteration\n"); + gtk_main_iteration(); + } + continue; /* we have to keep this loop running because it will never be called again */ + } } xsane.bytes_read += len; @@ -660,7 +737,7 @@ static void xsane_read_image_data(gpointer data, gint source, GdkInputCondition { for (i = 0; i < len/2; ++i) { - fwrite(buf16 + i*2, 2, 1, xsane.out); + fwrite(buf16 + i, 2, 1, xsane.out); fseek(xsane.out, 4, SEEK_CUR); } } @@ -896,7 +973,7 @@ static int xsane_reduce_to_lineart() if (!abort) { - abort = xsane_save_image_as_lineart(old_dummy_filename, xsane.dummy_filename, xsane.progress_bar, &xsane.cancel_save); + abort = xsane_save_image_as_lineart(xsane.dummy_filename, old_dummy_filename, xsane.progress_bar, &xsane.cancel_save); } if (abort) @@ -981,33 +1058,34 @@ void xsane_scan_done(SANE_Status status) DBG(DBG_info, "correcting image height to %d lines\n", pixel_height); xsane.param.lines = pixel_height; - image_info.image_width = xsane.param.pixels_per_line; - image_info.image_height = pixel_height; - image_info.depth = xsane.depth; - image_info.colors = xsane.xsane_colors; + image_info.image_width = xsane.param.pixels_per_line; + image_info.image_height = pixel_height; + image_info.depth = xsane.depth; + image_info.colors = xsane.xsane_colors; - image_info.resolution_x = xsane.resolution_x; - image_info.resolution_y = xsane.resolution_y; + image_info.resolution_x = xsane.resolution_x; + image_info.resolution_y = xsane.resolution_y; - image_info.gamma = xsane.gamma; - image_info.gamma_red = xsane.gamma_red; - image_info.gamma_green = xsane.gamma_green; - image_info.gamma_blue = xsane.gamma_blue; + image_info.gamma = xsane.gamma; + image_info.gamma_red = xsane.gamma_red; + image_info.gamma_green = xsane.gamma_green; + image_info.gamma_blue = xsane.gamma_blue; - image_info.brightness = xsane.brightness; - image_info.brightness_red = xsane.brightness_red; - image_info.brightness_green = xsane.brightness_green; - image_info.brightness_blue = xsane.brightness_blue; + image_info.brightness = xsane.brightness; + image_info.brightness_red = xsane.brightness_red; + image_info.brightness_green = xsane.brightness_green; + image_info.brightness_blue = xsane.brightness_blue; - image_info.contrast = xsane.contrast; - image_info.contrast_red = xsane.contrast_red; - image_info.contrast_green = xsane.contrast_green; - image_info.contrast_blue = xsane.contrast_blue; + image_info.contrast = xsane.contrast; + image_info.contrast_red = xsane.contrast_red; + image_info.contrast_green = xsane.contrast_green; + image_info.contrast_blue = xsane.contrast_blue; - image_info.threshold = xsane.threshold; + image_info.threshold = xsane.threshold; + image_info.reduce_to_lineart = xsane.expand_lineart_to_grayscale; - xsane_write_pnm_header(xsane.out, &image_info); + xsane_write_pnm_header(xsane.out, &image_info, 0); } DBG(DBG_info, "closing output file\n"); @@ -1020,7 +1098,7 @@ void xsane_scan_done(SANE_Status status) if ( (status == SANE_STATUS_GOOD) || (status == SANE_STATUS_EOF) ) /* no error, do conversion etc. */ { /* do we have to rotate the image ? */ - if (xsane.preview->rotation) + if (xsane.scan_rotation) { char *old_dummy_filename; int abort = 0; @@ -1064,7 +1142,7 @@ void xsane_scan_done(SANE_Status status) if (outfile) { - if (xsane_save_rotate_image(outfile, infile, &image_info, xsane.preview->rotation, xsane.progress_bar, &xsane.cancel_save)) + if (xsane_save_rotate_image(outfile, infile, &image_info, xsane.scan_rotation, xsane.progress_bar, &xsane.cancel_save)) { abort = 1; } @@ -1109,7 +1187,12 @@ void xsane_scan_done(SANE_Status status) if (xsane.xsane_mode == XSANE_VIEWER) { - xsane_viewer_new(xsane.dummy_filename, xsane.expand_lineart_to_grayscale, 0); + xsane_viewer_new(xsane.dummy_filename, TRUE, NULL, VIEWER_FULL_MODIFICATION); + xsane.expand_lineart_to_grayscale = 0; + } + + if ((xsane.xsane_mode == XSANE_FAX) || (xsane.xsane_mode == XSANE_MAIL)) + { xsane.expand_lineart_to_grayscale = 0; } @@ -1143,7 +1226,6 @@ void xsane_scan_done(SANE_Status status) } if ( ( (xsane.xsane_output_format != XSANE_PNM) && /* these files do not need any transformation */ - (xsane.xsane_output_format != XSANE_RAW16) && (xsane.xsane_output_format != XSANE_RGBA) ) || (xsane.mode == XSANE_GIMP_EXTENSION) ) { /* ok, we have to do a transformation */ @@ -1156,15 +1238,15 @@ void xsane_scan_done(SANE_Status status) } -#ifdef HAVE_LIBGIMP_GIMP_H +#ifdef HAVE_ANY_GIMP if (xsane.mode == XSANE_GIMP_EXTENSION) /* xsane runs as gimp plugin */ { xsane_transfer_to_gimp(xsane.dummy_filename, xsane.progress_bar, &xsane.cancel_save); } else -#endif /* HAVE_LIBGIMP_GIMP_H */ +#endif /* HAVE_ANY_GIMP */ { - xsane_save_image_as(xsane.dummy_filename, xsane.output_filename, xsane.xsane_output_format, xsane.progress_bar, &xsane.cancel_save); + xsane_save_image_as(xsane.output_filename, xsane.dummy_filename, xsane.xsane_output_format, xsane.progress_bar, &xsane.cancel_save); } xsane_progress_clear(); @@ -1206,14 +1288,13 @@ void xsane_scan_done(SANE_Status status) preferences.printer[preferences.printernr]->copy_number_option, xsane.copy_number); outfile = popen(buf, "w"); -/* outfile = popen(preferences.printer[preferences.printernr]->command, "w"); */ if ((outfile != 0) && (infile != 0)) /* copy mode, use zoom size */ { struct SIGACTION act; float imagewidth, imageheight; int printer_resolution; - switch (xsane.param.format) + switch (xsane.param.format) { case SANE_FRAME_GRAY: if (xsane.depth == 1) @@ -1237,48 +1318,26 @@ void xsane_scan_done(SANE_Status status) xsane_read_pnm_header(infile, &image_info); - imagewidth = image_info.image_width/(float)printer_resolution; /* width in inch */ - imageheight = image_info.image_height/(float)printer_resolution; /* height in inch */ + imagewidth = 72.0 * image_info.image_width/(float)printer_resolution; /* width in 1/72 inch */ + imageheight = 72.0 * image_info.image_height/(float)printer_resolution; /* height in 1/72 inch */ memset (&act, 0, sizeof (act)); /* define broken pipe handler */ act.sa_handler = xsane_sigpipe_handler; sigaction (SIGPIPE, &act, 0); - - if (preferences.psrotate) /* rotate: landscape */ - { - xsane_save_ps(outfile, infile, - &image_info, - (preferences.printer[preferences.printernr]->bottomoffset + - preferences.printer[preferences.printernr]->height) * 36.0/MM_PER_INCH - imagewidth * 36.0, /* left edge */ - (preferences.printer[preferences.printernr]->leftoffset + - preferences.printer[preferences.printernr]->width) * 36.0/MM_PER_INCH - imageheight * 36.0, /* bottom edge */ - imagewidth, imageheight, - (preferences.printer[preferences.printernr]->leftoffset + - preferences.printer[preferences.printernr]->width ) * 72.0/MM_PER_INCH, /* paperwidth */ - (preferences.printer[preferences.printernr]->bottomoffset + - preferences.printer[preferences.printernr]->height) * 72.0/MM_PER_INCH, /* paperheight */ - 1 /* landscape */, - xsane.progress_bar, - &xsane.cancel_save); - } - else /* do not rotate: portrait */ - { - xsane_save_ps(outfile, infile, - &image_info, - (preferences.printer[preferences.printernr]->leftoffset + - preferences.printer[preferences.printernr]->width) * 36.0/MM_PER_INCH - imagewidth * 36.0, /* left edge */ - (preferences.printer[preferences.printernr]->bottomoffset + - preferences.printer[preferences.printernr]->height) * 36.0/MM_PER_INCH - imageheight * 36.0, /* bottom edge */ - imagewidth, imageheight, - (preferences.printer[preferences.printernr]->leftoffset + - preferences.printer[preferences.printernr]->width ) * 72.0/MM_PER_INCH, /* paperwidth */ - (preferences.printer[preferences.printernr]->bottomoffset + - preferences.printer[preferences.printernr]->height) * 72.0/MM_PER_INCH, /* paperheight */ - 0 /* portrait */, - xsane.progress_bar, - &xsane.cancel_save); - } + DBG(DBG_info, "imagewidth = %f\n 1/72 inch", imagewidth); + DBG(DBG_info, "imageheight = %f\n 1/72 inch", imageheight); + + xsane_save_ps(outfile, infile, + &image_info, + imagewidth, imageheight, + preferences.printer[preferences.printernr]->leftoffset * 72.0/MM_PER_INCH, /* paper_left_margin */ + preferences.printer[preferences.printernr]->bottomoffset * 72.0/MM_PER_INCH, /* paper_bottom_margin */ + preferences.printer[preferences.printernr]->width * 72.0/MM_PER_INCH, /* usable paperwidth */ + preferences.printer[preferences.printernr]->height * 72.0/MM_PER_INCH, /* usable paperheight */ + preferences.paper_orientation, + xsane.progress_bar, + &xsane.cancel_save); } else { @@ -1318,120 +1377,6 @@ void xsane_scan_done(SANE_Status status) pclose(outfile); } } - else if (xsane.xsane_mode == XSANE_FAX) - { - FILE *outfile; - FILE *infile; - - /* open progressbar */ - xsane_progress_new(PROGRESS_CONVERTING_DATA, PROGRESS_TRANSFERING_DATA, (GtkSignalFunc) xsane_cancel_save, &xsane.cancel_save); - - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - infile = fopen(xsane.dummy_filename, "rb"); /* read binary (b for win32) */ - if (infile != 0) - { - xsane_read_pnm_header(infile, &image_info); - - umask((mode_t) preferences.image_umask); /* define image file permissions */ - outfile = fopen(xsane.fax_filename, "wb"); /* b = binary mode for win32 */ - umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ - if (outfile != 0) - { - float imagewidth, imageheight; - - imagewidth = image_info.image_width/xsane.resolution_x; /* width in inch */ - imageheight = image_info.image_height/xsane.resolution_y; /* height in inch */ - - DBG(DBG_info, "imagewidth = %f\n", imagewidth); - DBG(DBG_info, "imageheight = %f\n", imageheight); - - xsane_save_ps(outfile, infile, - &image_info, - (preferences.fax_leftoffset + preferences.fax_width) * 36.0/MM_PER_INCH - imagewidth * 36.0, - (preferences.fax_bottomoffset + preferences.fax_height) * 36.0/MM_PER_INCH - imageheight * 36.0, - imagewidth, imageheight, - (preferences.fax_leftoffset + preferences.fax_width ) * 72.0/MM_PER_INCH, /* paperwidth */ - (preferences.fax_bottomoffset + preferences.fax_height) * 72.0/MM_PER_INCH, /* paperheight */ - 0 /* portrait */, - xsane.progress_bar, - &xsane.cancel_save); - fclose(outfile); - } - else - { - char buf[256]; - - DBG(DBG_info, "open of faxfile `%s'failed : %s\n", xsane.fax_filename, strerror(errno)); - - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, xsane.fax_filename, strerror(errno)); - xsane_back_gtk_error(buf, TRUE); - } - - fclose(infile); - remove(xsane.dummy_filename); - } - else - { - char buf[256]; - - DBG(DBG_info, "open of faxfile `%s'failed : %s\n", xsane.fax_filename, strerror(errno)); - - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, xsane.fax_filename, strerror(errno)); - xsane_back_gtk_error(buf, TRUE); - } - xsane_progress_clear(); - - while (gtk_events_pending()) - { - DBG(DBG_info, "calling gtk_main_iteration"); - gtk_main_iteration(); - } - } -#ifdef XSANE_ACTIVATE_MAIL - else if (xsane.xsane_mode == XSANE_MAIL) - { - FILE *infile; - - /* open progressbar */ - xsane_progress_new(PROGRESS_CONVERTING_DATA, PROGRESS_TRANSFERING_DATA, (GtkSignalFunc) xsane_cancel_save, &xsane.cancel_save); - - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - - infile = fopen(xsane.dummy_filename, "rb"); /* read binary (b for win32) */ - if (infile != 0) - { - xsane_read_pnm_header(infile, &image_info); - - xsane_save_image_as(xsane.dummy_filename, xsane.mail_filename, XSANE_PNG, xsane.progress_bar, &xsane.cancel_save); - - fclose(infile); - remove(xsane.dummy_filename); - } - else - { - char buf[256]; - - DBG(DBG_info, "open of mailfile `%s'failed : %s\n", xsane.dummy_filename, strerror(errno)); - - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, xsane.dummy_filename, strerror(errno)); - xsane_back_gtk_error(buf, TRUE); - } - xsane_progress_clear(); - - while (gtk_events_pending()) - { - DBG(DBG_info, "calling gtk_main_iteration"); - gtk_main_iteration(); - } - } -#endif if ( (xsane.xsane_mode == XSANE_SAVE) && (xsane.mode == XSANE_STANDALONE) ) { @@ -1441,7 +1386,7 @@ void xsane_scan_done(SANE_Status status) { xsane_update_counter_in_filename(&preferences.filename, preferences.skip_existing_numbers, preferences.filename_counter_step, preferences.filename_counter_len); - gtk_entry_set_text(GTK_ENTRY(xsane.outputfilename_entry), (char *) preferences.filename); /* update filename in entry */ + xsane_set_filename(preferences.filename); /* update filename in entry */ gtk_entry_set_position(GTK_ENTRY(xsane.outputfilename_entry), strlen(preferences.filename)); /* set cursor to right position of filename */ } } @@ -1454,44 +1399,84 @@ void xsane_scan_done(SANE_Status status) { GtkWidget *list_item; char *page; + char *type; char *extension; page = strdup(strrchr(xsane.fax_filename,'/')+1); extension = strrchr(page, '.'); if (extension) { + type = strdup(extension); *extension = 0; } + else + { + type = ""; + } + list_item = gtk_list_item_new_with_label(page); gtk_object_set_data(GTK_OBJECT(list_item), "list_item_data", strdup(page)); + gtk_object_set_data(GTK_OBJECT(list_item), "list_item_type", strdup(type)); gtk_container_add(GTK_CONTAINER(xsane.fax_list), list_item); gtk_widget_show(list_item); xsane_update_counter_in_filename(&xsane.fax_filename, TRUE, 1, preferences.filename_counter_len); xsane_fax_project_save(); free(page); + free(type); + + if (xsane.fax_status) + { + free(xsane.fax_status); + } + xsane.fax_status = strdup(TEXT_FAX_STATUS_CHANGED); + + xsane_fax_project_save(); + + gtk_progress_set_format_string(GTK_PROGRESS(xsane.fax_progress_bar), _(xsane.fax_status)); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.fax_progress_bar), 0.0); } #ifdef XSANE_ACTIVATE_MAIL else if (xsane.xsane_mode == XSANE_MAIL) { GtkWidget *list_item; - char *image; + char *page; + char *type; char *extension; - image = strdup(strrchr(xsane.mail_filename,'/')+1); - extension = strrchr(image, '.'); + page = strdup(strrchr(xsane.mail_filename,'/')+1); + extension = strrchr(page, '.'); if (extension) { + type = strdup(extension); *extension = 0; } - list_item = gtk_list_item_new_with_label(image); - gtk_object_set_data(GTK_OBJECT(list_item), "list_item_data", strdup(image)); + else + { + type = ""; + } + + list_item = gtk_list_item_new_with_label(page); + gtk_object_set_data(GTK_OBJECT(list_item), "list_item_data", strdup(page)); + gtk_object_set_data(GTK_OBJECT(list_item), "list_item_type", strdup(type)); gtk_container_add(GTK_CONTAINER(xsane.mail_list), list_item); gtk_widget_show(list_item); xsane_update_counter_in_filename(&xsane.mail_filename, TRUE, 1, preferences.filename_counter_len); xsane_mail_project_save(); - free(image); + free(page); + free(type); + + if (xsane.mail_status) + { + free(xsane.mail_status); + } + xsane.mail_status = strdup(TEXT_MAIL_STATUS_CHANGED); + + xsane_mail_project_save(); + + gtk_progress_set_format_string(GTK_PROGRESS(xsane.mail_progress_bar), _(xsane.mail_status)); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.mail_progress_bar), 0.0); } #endif } @@ -1522,16 +1507,26 @@ void xsane_scan_done(SANE_Status status) /* b) sane_start returns SANE_STATUS_NO_DOCS */ /* c) an error occurs */ + DBG(DBG_info, "ADF mode end of scan: increment page counter and restart scan\n"); xsane.adf_page_counter += 1; - gtk_signal_emit_by_name(xsane.start_button, "clicked"); /* press START button */ + g_signal_emit_by_name(xsane.start_button, "clicked"); /* press START button */ + } + else if ( ( (status == SANE_STATUS_GOOD) || (status == SANE_STATUS_EOF) ) && (xsane.batch_loop) ) + { + /* batch scan loop, this is not the last scan */ + DBG(DBG_info, "Batch mode end of scan\n"); + sane_cancel(xsane.dev); /* we have to call sane_cancel otherwise we are not able to set new parameters */ } - else /* last scan: update histogram */ + else if ( ( (status != SANE_STATUS_GOOD) && (status != SANE_STATUS_EOF) ) || (!xsane.batch_loop) ) /* last scan: update histogram */ { + DBG(DBG_info, "Normal end of scan\n"); xsane_set_sensitivity(TRUE); /* reactivate buttons etc */ sane_cancel(xsane.dev); /* stop scanning */ xsane_update_histogram(TRUE /* update raw */); xsane_update_param(0); } + + xsane.status_of_last_scan = status; } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -1581,6 +1576,8 @@ static void xsane_start_scan(void) gtk_main_iteration(); } + xsane.read_offset_16 = 0; /* no last byte of old 16 bit data */ + status = sane_start(dev); DBG(DBG_info, "sane_start returned with status %s\n", XSANE_STRSTATUS(status)); @@ -1630,14 +1627,16 @@ static void xsane_start_scan(void) default: frame_type = "unknown"; break; } - if ( (xsane.param.depth == 1) && (xsane.preview->rotation) ) + if ((xsane.param.depth == 1) && ((xsane.scan_rotation) || + (xsane.xsane_mode == XSANE_VIEWER) || + (xsane.xsane_mode == XSANE_FAX) || + (xsane.xsane_mode == XSANE_MAIL)) + ) /* We want to do a transformation with a lineart scan */ + /* or use the viewer to display a lineart scan, */ + /* so we save it as grayscale */ { - xsane.expand_lineart_to_grayscale = 1; /* We want to do transformation with lineart scan, so we save it as grayscale */ - } - - if ((xsane.xsane_mode == XSANE_VIEWER) && (xsane.param.depth == 1)) - { - xsane.expand_lineart_to_grayscale = 1; /* we are using the viewer, lineart is not supported, so create grayscale */ + DBG(DBG_proc, "lineart scan will be expanded to grayscale\n"); + xsane.expand_lineart_to_grayscale = 1; } if (!xsane.header_size) /* first pass of multi pass scan or single pass scan */ @@ -1657,7 +1656,8 @@ static void xsane_start_scan(void) } } - xsane.out = fopen(xsane.dummy_filename, "wb"); /* b = binary mode for win32 */ + /* create file: + = also allow read for blocked rgb multiplexing, b = binary mode for win32 */ + xsane.out = fopen(xsane.dummy_filename, "wb+"); if (!xsane.out) /* error while opening the dummy_file for writing */ { @@ -1698,7 +1698,9 @@ static void xsane_start_scan(void) image_info.threshold = xsane.threshold; - xsane_write_pnm_header(xsane.out, &image_info); + image_info.reduce_to_lineart = xsane.expand_lineart_to_grayscale; + + xsane_write_pnm_header(xsane.out, &image_info, 0); fflush(xsane.out); xsane.header_size = ftell(xsane.out); /* store header size for 3 pass scan */ @@ -1722,17 +1724,14 @@ static void xsane_start_scan(void) xsane.input_tag = -1; + xsane.lineart_to_grayscale_x = xsane.param.pixels_per_line; #ifndef BUGGY_GDK_INPUT_EXCEPTION - /* for unix */ if ((sane_set_io_mode(dev, SANE_TRUE) == SANE_STATUS_GOOD) && (sane_get_select_fd(dev, &fd) == SANE_STATUS_GOOD)) { DBG(DBG_info, "gdk_input_add\n"); xsane.input_tag = gdk_input_add(fd, GDK_INPUT_READ | GDK_INPUT_EXCEPTION, xsane_read_image_data, 0); } else -#else - /* for win32 */ - sane_set_io_mode(dev, SANE_FALSE); #endif { xsane_read_image_data(0, -1, GDK_INPUT_READ); @@ -1743,13 +1742,15 @@ static void xsane_start_scan(void) /* Invoked when the scan button is pressed */ /* or by scan_done if automatic document feeder is selected */ -void xsane_scan_dialog(GtkWidget * widget, gpointer call_data) +void xsane_scan_dialog(void) { char buf[256]; const SANE_Option_Descriptor *opt; DBG(DBG_proc, "xsane_scan_dialog\n"); + xsane_set_sensitivity(FALSE); + xsane.reduce_16bit_to_8bit = preferences.reduce_16bit_to_8bit; /* reduce 16 bit image to 8 bit ? */ sane_get_parameters(xsane.dev, &xsane.param); /* update xsane.param */ @@ -1759,8 +1760,12 @@ void xsane_scan_dialog(GtkWidget * widget, gpointer call_data) /* correct length of filename counter if it is shorter than minimum length */ if (!xsane.force_filename) { + if (xsane.batch_loop) /* we are doing a batch scan, so we need a counter in the filename */ + { + xsane_ensure_counter_in_filename(&preferences.filename, preferences.filename_counter_len); + } xsane_update_counter_in_filename(&preferences.filename, FALSE, 0, preferences.filename_counter_len); - gtk_entry_set_text(GTK_ENTRY(xsane.outputfilename_entry), preferences.filename); + xsane_set_filename(preferences.filename); } } @@ -1781,15 +1786,17 @@ void xsane_scan_dialog(GtkWidget * widget, gpointer call_data) char buf[256]; fclose(testfile); + snprintf(buf, sizeof(buf), WARN_FILE_EXISTS, xsane.output_filename); if (xsane_back_gtk_decision(ERR_HEADER_WARNING, (gchar **) warning_xpm, buf, BUTTON_OVERWRITE, BUTTON_CANCEL, TRUE /* wait */) == FALSE) { + xsane_set_sensitivity(TRUE); return; } } } - xsane.xsane_output_format = xsane_identify_output_format(xsane.output_filename, &extension); + xsane.xsane_output_format = xsane_identify_output_format(xsane.output_filename, preferences.filetype, &extension); if (xsane.xsane_mode == XSANE_SAVE) { @@ -1804,8 +1811,10 @@ void xsane_scan_dialog(GtkWidget * widget, gpointer call_data) snprintf(buf, sizeof(buf), "%s", ERR_NO_OUTPUT_FORMAT); } xsane_back_gtk_error(buf, TRUE); - return; + xsane_set_sensitivity(TRUE); + return; } +#if 0 /* this is not necessary any more because the saving routines do the conversion */ else if ( ( ( (xsane.xsane_output_format == XSANE_JPEG) && xsane.param.depth == 16) || ( (xsane.xsane_output_format == XSANE_PS) && xsane.param.depth == 16) ) && ( !xsane.reduce_16bit_to_8bit) ) @@ -1814,17 +1823,20 @@ void xsane_scan_dialog(GtkWidget * widget, gpointer call_data) snprintf(buf, sizeof(buf), TEXT_REDUCE_16BIT_TO_8BIT); if (xsane_back_gtk_decision(ERR_HEADER_INFO, (gchar **) info_xpm, buf, BUTTON_REDUCE, BUTTON_CANCEL, TRUE /* wait */) == FALSE) { - return; + xsane_set_sensitivity(TRUE); + return; } xsane.reduce_16bit_to_8bit = TRUE; } +#endif #ifdef SUPPORT_RGBA else if ((xsane.xsane_output_format == XSANE_RGBA) && (xsane.param.format != SANE_FRAME_RGBA)) { snprintf(buf, sizeof(buf), "No RGBA data format !!!"); /* user selected output format RGBA, scanner uses other format */ xsane_back_gtk_error(buf, TRUE); - return; + xsane_set_sensitivity(TRUE); + return; } #endif } @@ -1833,7 +1845,8 @@ void xsane_scan_dialog(GtkWidget * widget, gpointer call_data) { snprintf(buf, sizeof(buf), "Special format RGBA only supported in scan mode !!!"); xsane_back_gtk_error(buf, TRUE); - return; + xsane_set_sensitivity(TRUE); + return; } #endif @@ -1844,7 +1857,8 @@ void xsane_scan_dialog(GtkWidget * widget, gpointer call_data) { snprintf(buf, sizeof(buf), "Image data of type SANE_FRAME_RGBA\ncan only be saved in rgba or png format"); xsane_back_gtk_error(buf, TRUE); - return; + xsane_set_sensitivity(TRUE); + return; } } #endif @@ -1859,7 +1873,7 @@ void xsane_scan_dialog(GtkWidget * widget, gpointer call_data) free(extension); } } -#ifdef HAVE_LIBGIMP_GIMP_H +#ifdef HAVE_ANY_GIMP else /* We are running in gimp mode */ { if ((xsane.param.depth != 1) && (xsane.param.depth != 8)) /* not support bit depth ? */ @@ -1871,7 +1885,8 @@ void xsane_scan_dialog(GtkWidget * widget, gpointer call_data) snprintf(buf, sizeof(buf), TEXT_GIMP_REDUCE_16BIT_TO_8BIT); if (xsane_back_gtk_decision(ERR_HEADER_INFO, (gchar **) info_xpm, buf, BUTTON_REDUCE, BUTTON_CANCEL, TRUE /* wait */) == FALSE) { - return; + xsane_set_sensitivity(TRUE); + return; } xsane.reduce_16bit_to_8bit = TRUE; } @@ -1879,6 +1894,7 @@ void xsane_scan_dialog(GtkWidget * widget, gpointer call_data) { snprintf(buf, sizeof(buf), ERR_GIMP_BAD_DEPTH, xsane.param.depth); xsane_back_gtk_error(buf, TRUE); + xsane_set_sensitivity(TRUE); return; } } @@ -2028,9 +2044,11 @@ void xsane_scan_dialog(GtkWidget * widget, gpointer call_data) xsane.gamma_data = 0; } +#if 0 xsane_clear_histogram(&xsane.histogram_raw); xsane_clear_histogram(&xsane.histogram_enh); xsane_set_sensitivity(FALSE); +#endif while (gtk_events_pending()) { diff --git a/src/xsane-scan.h b/src/xsane-scan.h index db2259c..3cacb55 100644 --- a/src/xsane-scan.h +++ b/src/xsane-scan.h @@ -3,7 +3,7 @@ xsane-scan.h Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -28,6 +28,6 @@ extern void xsane_scan_done(SANE_Status status); extern void xsane_cancel(void); -extern void xsane_scan_dialog(GtkWidget * widget, gpointer call_data); +extern void xsane_scan_dialog(void); /* ---------------------------------------------------------------------------------------------------------------------- */ diff --git a/src/xsane-setup.c b/src/xsane-setup.c index be15672..b420643 100644 --- a/src/xsane-setup.c +++ b/src/xsane-setup.c @@ -3,7 +3,7 @@ xsane-setup.c Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -30,6 +30,7 @@ #include "xsane-preview.h" #include "xsane-save.h" #include "xsane-gamma.h" +#include "xsane-batch-scan.h" #ifdef HAVE_LIBPNG #ifdef HAVE_LIBZ @@ -86,6 +87,7 @@ static void xsane_mail_notebook(GtkWidget *notebook); #endif static void xsane_display_notebook(GtkWidget *notebook); static void xsane_enhance_notebook_sensitivity(int lineart_mode); +static void xsane_setup_show_range_mode_callback(GtkWidget *widget, gpointer data); static void xsane_setup_lineart_mode_callback(GtkWidget *widget, gpointer data); static void xsane_enhance_notebook(GtkWidget *notebook); @@ -147,7 +149,8 @@ void xsane_new_printer(void) void xsane_update_int(GtkWidget *widget, int *val) { - char *start, *end; + const char *start; + char *end; int v; DBG(DBG_proc, "xsane_update_init\n"); @@ -185,7 +188,8 @@ static void xsane_update_scale(GtkWidget *widget, double *val) static void xsane_update_geometry_double(GtkWidget *widget, double *val, double length_multiplier) { - char *start, *end; + const char *start; + char *end; double v; DBG(DBG_proc, "xsane_update_geometry_double\n"); @@ -208,7 +212,8 @@ static void xsane_update_geometry_double(GtkWidget *widget, double *val, double /* returns 0 if value is unchaned */ static int xsane_update_double(GtkWidget *widget, double *val) { - char *start, *end; + const char *start; + char *end; double v; int value_changed = 0; @@ -294,7 +299,7 @@ static void xsane_setup_printer_menu_build(GtkWidget *option_menu) { printer_item = gtk_menu_item_new_with_label(preferences.printer[i]->name); gtk_container_add(GTK_CONTAINER(printer_menu), printer_item); - gtk_signal_connect(GTK_OBJECT(printer_item), "activate", (GtkSignalFunc) xsane_setup_printer_callback, (void *) i); + g_signal_connect(GTK_OBJECT(printer_item), "activate", (GtkSignalFunc) xsane_setup_printer_callback, (void *) i); gtk_widget_show(printer_item); } @@ -445,6 +450,8 @@ static void xsane_setup_display_apply_changes(GtkWidget *widget, gpointer data) xsane_update_bool(xsane_setup.main_window_fixed_button, &preferences.main_window_fixed); xsane_update_bool(xsane_setup.preview_own_cmap_button, &preferences.preview_own_cmap); + preferences.show_range_mode = xsane_setup.show_range_mode; + xsane_update_double(xsane_setup.preview_gamma_entry, &preferences.preview_gamma); xsane_update_double(xsane_setup.preview_gamma_red_entry, &preferences.preview_gamma_red); xsane_update_double(xsane_setup.preview_gamma_green_entry, &preferences.preview_gamma_green); @@ -453,13 +460,15 @@ static void xsane_setup_display_apply_changes(GtkWidget *widget, gpointer data) xsane_update_double(xsane_setup.preview_oversampling_entry, &preferences.preview_oversampling); - if (preferences.doc_viewer) + if (preferences.browser) { - free((void *) preferences.doc_viewer); + free((void *) preferences.browser); } - preferences.doc_viewer = strdup(gtk_entry_get_text(GTK_ENTRY(xsane_setup.doc_viewer_entry))); + preferences.browser = strdup(gtk_entry_get_text(GTK_ENTRY(xsane_setup.browser_entry))); xsane_update_gamma_curve(TRUE /* update raw */); + + xsane_batch_scan_update_icon_list(); /* update gamma of batch scan icons */ } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -598,6 +607,7 @@ static void xsane_setup_image_apply_changes(GtkWidget *widget, gpointer data) preferences.tiff_compression1_nr = xsane_setup.tiff_compression1_nr; #endif + xsane_update_bool(xsane_setup.save_pnm16_as_ascii_button, &preferences.save_pnm16_as_ascii); xsane_update_bool(xsane_setup.reduce_16bit_to_8bit_button, &preferences.reduce_16bit_to_8bit); xsane_define_maximum_output_size(); @@ -681,6 +691,20 @@ static void xsane_setup_ocr_apply_changes(GtkWidget *widget, gpointer data) free((void *) preferences.ocr_outputfile_option); } preferences.ocr_outputfile_option = strdup(gtk_entry_get_text(GTK_ENTRY(xsane_setup.ocr_outputfile_option_entry))); + + xsane_update_bool(xsane_setup.ocr_use_gui_pipe_entry, &preferences.ocr_use_gui_pipe); + + if (preferences.ocr_gui_outfd_option) + { + free((void *) preferences.ocr_gui_outfd_option); + } + preferences.ocr_gui_outfd_option = strdup(gtk_entry_get_text(GTK_ENTRY(xsane_setup.ocr_gui_outfd_option_entry))); + + if (preferences.ocr_progress_keyword) + { + free((void *) preferences.ocr_progress_keyword); + } + preferences.ocr_progress_keyword = strdup(gtk_entry_get_text(GTK_ENTRY(xsane_setup.ocr_progress_keyword_entry))); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -754,7 +778,7 @@ static void xsane_permission_toggled(GtkWidget *widget, gpointer data) { int mask = (int) data; int *permission = 0; - gchar *name = gtk_widget_get_name(widget); + const gchar *name = gtk_widget_get_name(widget); DBG(DBG_proc, "xsane_permission_toggled\n"); @@ -795,17 +819,17 @@ static void xsane_permission_box(GtkWidget *parent, gchar *name, gchar *descript gtk_box_pack_start(GTK_BOX(parent), hbox, FALSE, FALSE, 2); label = gtk_label_new(TEXT_SETUP_PERMISSION_USER); - gtk_widget_set_usize(label, 75, 0); + gtk_widget_set_size_request(label, 75, -1); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); gtk_widget_show(label); label = gtk_label_new(TEXT_SETUP_PERMISSION_GROUP); - gtk_widget_set_usize(label, 75, 0); + gtk_widget_set_size_request(label, 75, -1); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); gtk_widget_show(label); label = gtk_label_new(TEXT_SETUP_PERMISSION_ALL); - gtk_widget_set_usize(label, 75, 0); + gtk_widget_set_size_request(label, 75, -1); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); gtk_widget_show(label); @@ -819,9 +843,9 @@ static void xsane_permission_box(GtkWidget *parent, gchar *name, gchar *descript button = gtk_toggle_button_new_with_label("r"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), *permission & 256 ); xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_READ); - gtk_widget_set_usize(button, 21, 0); + gtk_widget_set_size_request(button, 21, -1); gtk_widget_set_name(button, name); - gtk_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 256); + g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 256); gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1); gtk_widget_show(button); gtk_widget_set_sensitive(button, user_sensitivity); @@ -829,9 +853,9 @@ static void xsane_permission_box(GtkWidget *parent, gchar *name, gchar *descript button = gtk_toggle_button_new_with_label("w"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), *permission & 128 ); xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_WRITE); - gtk_widget_set_usize(button, 21, 0); + gtk_widget_set_size_request(button, 21, -1); gtk_widget_set_name(button, name); - gtk_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 128); + g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 128); gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1); gtk_widget_show(button); gtk_widget_set_sensitive(button, user_sensitivity); @@ -839,9 +863,9 @@ static void xsane_permission_box(GtkWidget *parent, gchar *name, gchar *descript button = gtk_toggle_button_new_with_label("x"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), *permission & 64 ); xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_EXECUTE); - gtk_widget_set_usize(button, 21, 0); + gtk_widget_set_size_request(button, 21, -1); gtk_widget_set_name(button, name); - gtk_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 64); + g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 64); gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1); gtk_widget_show(button); gtk_widget_set_sensitive(button, x_sensitivity & user_sensitivity); @@ -857,27 +881,27 @@ static void xsane_permission_box(GtkWidget *parent, gchar *name, gchar *descript button = gtk_toggle_button_new_with_label("r"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), *permission & 32 ); xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_READ); - gtk_widget_set_usize(button, 21, 0); + gtk_widget_set_size_request(button, 21, -1); gtk_widget_set_name(button, name); - gtk_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 32); + g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 32); gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1); gtk_widget_show(button); button = gtk_toggle_button_new_with_label("w"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), *permission & 16 ); xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_WRITE); - gtk_widget_set_usize(button, 21, 0); + gtk_widget_set_size_request(button, 21, -1); gtk_widget_set_name(button, name); - gtk_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 16); + g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 16); gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1); gtk_widget_show(button); button = gtk_toggle_button_new_with_label("x"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), *permission & 8 ); xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_EXECUTE); - gtk_widget_set_usize(button, 21, 0); + gtk_widget_set_size_request(button, 21, -1); gtk_widget_set_name(button, name); - gtk_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 8); + g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 8); gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1); gtk_widget_show(button); gtk_widget_set_sensitive(button, x_sensitivity); @@ -893,27 +917,27 @@ static void xsane_permission_box(GtkWidget *parent, gchar *name, gchar *descript button = gtk_toggle_button_new_with_label("r"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), *permission & 4 ); xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_READ); - gtk_widget_set_usize(button, 21, 0); + gtk_widget_set_size_request(button, 21, -1); gtk_widget_set_name(button, name); - gtk_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 4); + g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 4); gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1); gtk_widget_show(button); button = gtk_toggle_button_new_with_label("w"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), *permission & 2 ); xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_WRITE); - gtk_widget_set_usize(button, 21, 0); + gtk_widget_set_size_request(button, 21, -1); gtk_widget_set_name(button, name); - gtk_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 2); + g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 2); gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1); gtk_widget_show(button); button = gtk_toggle_button_new_with_label("x"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), *permission & 1 ); xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_PERMISSION_EXECUTE); - gtk_widget_set_usize(button, 21, 0); + gtk_widget_set_size_request(button, 21, -1); gtk_widget_set_name(button, name); - gtk_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 1); + g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_permission_toggled, (void *) 1); gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1); gtk_widget_show(button); gtk_widget_set_sensitive(button, x_sensitivity); @@ -952,7 +976,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) gtk_widget_show(setup_vbox); frame = gtk_frame_new(0); - gtk_container_set_border_width(GTK_CONTAINER(frame), 4); + gtk_container_set_border_width(GTK_CONTAINER(frame), 7); gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); gtk_box_pack_start(GTK_BOX(setup_vbox), frame, TRUE, TRUE, 0); /* sizeable framehight */ gtk_widget_show(frame); @@ -990,7 +1014,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRINTER_NAME); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.printer[preferences.printernr]->name); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -1008,7 +1032,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRINTER_COMMAND); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.printer[preferences.printernr]->command); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -1026,7 +1050,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_COPY_NUMBER_OPTION); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.printer[preferences.printernr]->copy_number_option); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -1048,7 +1072,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRINTER_LINEART_RESOLUTION); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%d", preferences.printer[preferences.printernr]->lineart_resolution); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1068,7 +1092,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRINTER_GRAYSCALE_RESOLUTION); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%d", preferences.printer[preferences.printernr]->grayscale_resolution); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1088,7 +1112,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRINTER_COLOR_RESOLUTION); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%d", preferences.printer[preferences.printernr]->color_resolution); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1112,7 +1136,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRINTER_WIDTH); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%4.3f", preferences.printer[preferences.printernr]->width / preferences.length_unit); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1132,7 +1156,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRINTER_HEIGHT); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%4.3f", preferences.printer[preferences.printernr]->height / preferences.length_unit); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1152,7 +1176,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRINTER_LEFTOFFSET); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%4.3f", preferences.printer[preferences.printernr]->leftoffset / preferences.length_unit); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1172,7 +1196,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRINTER_BOTTOMOFFSET); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%4.3f", preferences.printer[preferences.printernr]->bottomoffset / preferences.length_unit); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1195,7 +1219,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRINTER_GAMMA); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%1.2f", preferences.printer[preferences.printernr]->gamma); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1214,7 +1238,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRINTER_GAMMA_RED); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%1.2f", preferences.printer[preferences.printernr]->gamma_red); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1233,7 +1257,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRINTER_GAMMA_GREEN); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%1.2f", preferences.printer[preferences.printernr]->gamma_green); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1252,7 +1276,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRINTER_GAMMA_BLUE); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%1.2f", preferences.printer[preferences.printernr]->gamma_blue); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1268,18 +1292,22 @@ static void xsane_printer_notebook(GtkWidget *notebook) hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_APPLY); +#else button = gtk_button_new_with_label(BUTTON_APPLY); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_printer_apply_changes, printer_option_menu); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_printer_apply_changes, printer_option_menu); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); button = gtk_button_new_with_label(BUTTON_ADD_PRINTER); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_printer_new, printer_option_menu); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_printer_new, printer_option_menu); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); button = gtk_button_new_with_label(BUTTON_DELETE_PRINTER); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_printer_delete, printer_option_menu); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_printer_delete, printer_option_menu); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -1290,7 +1318,7 @@ static void xsane_printer_notebook(GtkWidget *notebook) static void xsane_setup_browse_tmp_path_callback(GtkWidget *widget, gpointer data) { - gchar *old_tmp_path; + const gchar *old_tmp_path; char tmp_path[256]; char windowname[256]; @@ -1300,7 +1328,7 @@ static void xsane_setup_browse_tmp_path_callback(GtkWidget *widget, gpointer dat strncpy(tmp_path, old_tmp_path, sizeof(tmp_path)); snprintf(windowname, sizeof(windowname), "%s %s", xsane.prog_name, WINDOW_TMP_PATH); - xsane_back_gtk_get_filename(windowname, tmp_path, sizeof(tmp_path), tmp_path, TRUE, FALSE, TRUE); + xsane_back_gtk_get_filename(windowname, tmp_path, sizeof(tmp_path), tmp_path, NULL, TRUE, FALSE, TRUE, FALSE); gtk_entry_set_text(GTK_ENTRY(xsane_setup.tmp_path_entry), tmp_path); } @@ -1324,7 +1352,7 @@ static void xsane_saving_notebook(GtkWidget *notebook) gtk_widget_show(setup_vbox); frame = gtk_frame_new(0); - gtk_container_set_border_width(GTK_CONTAINER(frame), 4); + gtk_container_set_border_width(GTK_CONTAINER(frame), 7); gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); gtk_box_pack_start(GTK_BOX(setup_vbox), frame, TRUE, TRUE, 0); /* sizeable framehight */ gtk_widget_show(frame); @@ -1344,7 +1372,7 @@ static void xsane_saving_notebook(GtkWidget *notebook) gtk_widget_show(label); text = gtk_entry_new_with_max_length(255); - gtk_widget_set_usize(text, 70, 0); /* set minimum size */ + gtk_widget_set_size_request(text, 70, -1); /* set minimum size */ xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_TMP_PATH); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.tmp_path); gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 4); @@ -1352,7 +1380,7 @@ static void xsane_saving_notebook(GtkWidget *notebook) xsane_setup.tmp_path_entry = text; button = gtk_button_new_with_label(BUTTON_BROWSE); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_browse_tmp_path_callback, NULL); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_browse_tmp_path_callback, NULL); gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 2); xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_BUTTON_TMP_PATH_BROWSE); gtk_widget_show(button); @@ -1414,7 +1442,7 @@ static void xsane_saving_notebook(GtkWidget *notebook) filename_counter_len_menu = gtk_menu_new(); - for (i=0; i <= 10; i++) + for (i=0; i <= 9; i++) { if (i) { @@ -1426,8 +1454,7 @@ static void xsane_saving_notebook(GtkWidget *notebook) } filename_counter_len_item = gtk_menu_item_new_with_label(buf); gtk_container_add(GTK_CONTAINER(filename_counter_len_menu), filename_counter_len_item); - gtk_signal_connect(GTK_OBJECT(filename_counter_len_item), "activate", - (GtkSignalFunc) xsane_setup_filename_counter_len_callback, (void *) i); + g_signal_connect(GTK_OBJECT(filename_counter_len_item), "activate", (GtkSignalFunc) xsane_setup_filename_counter_len_callback, (void *) i); gtk_widget_show(filename_counter_len_item); if (preferences.filename_counter_len == i) { @@ -1465,8 +1492,12 @@ static void xsane_saving_notebook(GtkWidget *notebook) hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_APPLY); +#else button = gtk_button_new_with_label(BUTTON_APPLY); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_saving_apply_changes, NULL); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_saving_apply_changes, NULL); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -1534,7 +1565,7 @@ static void xsane_image_notebook(GtkWidget *notebook) gtk_widget_show(setup_vbox); frame = gtk_frame_new(0); - gtk_container_set_border_width(GTK_CONTAINER(frame), 4); + gtk_container_set_border_width(GTK_CONTAINER(frame), 7); gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); gtk_box_pack_start(GTK_BOX(setup_vbox), frame, TRUE, TRUE, 0); /* sizeable framehight */ gtk_widget_show(frame); @@ -1544,6 +1575,17 @@ static void xsane_image_notebook(GtkWidget *notebook) gtk_widget_show(vbox); + /* save pnm16 as ascii */ + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + button = gtk_check_button_new_with_label(RADIO_BUTTON_SAVE_PNM16_AS_ASCII); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_SAVE_PNM16_AS_ASCII); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.save_pnm16_as_ascii); + gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 2); + gtk_widget_show(button); + gtk_widget_show(hbox); + xsane_setup.save_pnm16_as_ascii_button = button; + /* reduce 16bit to 8bit */ hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); @@ -1571,18 +1613,18 @@ static void xsane_image_notebook(GtkWidget *notebook) #endif #ifdef HAVE_LIBJPEG - xsane_scale_new(GTK_BOX(vbox), TEXT_SETUP_JPEG_QUALITY, DESC_JPEG_QUALITY, 0.0, 100.0, 1.0, 10.0, 0.0, 0, + xsane_range_new(GTK_BOX(vbox), TEXT_SETUP_JPEG_QUALITY, DESC_JPEG_QUALITY, 0.0, 100.0, 1.0, 10.0, 0, &preferences.jpeg_quality, (GtkObject **) &xsane_setup.jpeg_image_quality_scale, 0, TRUE); #else #ifdef HAVE_LIBTIFF - xsane_scale_new(GTK_BOX(vbox), TEXT_SETUP_JPEG_QUALITY, DESC_JPEG_QUALITY, 0.0, 100.0, 1.0, 10.0, 0.0, 0, + xsane_range_new(GTK_BOX(vbox), TEXT_SETUP_JPEG_QUALITY, DESC_JPEG_QUALITY, 0.0, 100.0, 1.0, 10.0, 0, &preferences.jpeg_quality, (GtkObject **) &xsane_setup.jpeg_image_quality_scale, 0, TRUE); #endif #endif #ifdef HAVE_LIBPNG #ifdef HAVE_LIBZ - xsane_scale_new(GTK_BOX(vbox), TEXT_SETUP_PNG_COMPRESSION, DESC_PNG_COMPRESSION, 0.0, Z_BEST_COMPRESSION, 1.0, 10.0, 0.0, 0, + xsane_range_new(GTK_BOX(vbox), TEXT_SETUP_PNG_COMPRESSION, DESC_PNG_COMPRESSION, 0.0, Z_BEST_COMPRESSION, 1.0, 10.0, 0, &preferences.png_compression, (GtkObject **) &xsane_setup.pnm_image_compression_scale, 0, TRUE); #endif #endif @@ -1610,8 +1652,7 @@ static void xsane_image_notebook(GtkWidget *notebook) { tiff_compression_item = gtk_menu_item_new_with_label(tiff_compression16_strings[i-1].name); gtk_container_add(GTK_CONTAINER(tiff_compression_menu), tiff_compression_item); - gtk_signal_connect(GTK_OBJECT(tiff_compression_item), "activate", - (GtkSignalFunc) xsane_setup_tiff_compression16_callback, (void *) tiff_compression16_strings[i-1].number); + g_signal_connect(GTK_OBJECT(tiff_compression_item), "activate", (GtkSignalFunc) xsane_setup_tiff_compression16_callback, (void *) tiff_compression16_strings[i-1].number); gtk_widget_show(tiff_compression_item); if (tiff_compression16_strings[i-1].number == preferences.tiff_compression16_nr) { @@ -1646,8 +1687,7 @@ static void xsane_image_notebook(GtkWidget *notebook) { tiff_compression_item = gtk_menu_item_new_with_label(tiff_compression8_strings[i-1].name); gtk_container_add(GTK_CONTAINER(tiff_compression_menu), tiff_compression_item); - gtk_signal_connect(GTK_OBJECT(tiff_compression_item), "activate", - (GtkSignalFunc) xsane_setup_tiff_compression8_callback, (void *) tiff_compression8_strings[i-1].number); + g_signal_connect(GTK_OBJECT(tiff_compression_item), "activate", (GtkSignalFunc) xsane_setup_tiff_compression8_callback, (void *) tiff_compression8_strings[i-1].number); gtk_widget_show(tiff_compression_item); if (tiff_compression8_strings[i-1].number == preferences.tiff_compression8_nr) { @@ -1683,8 +1723,7 @@ static void xsane_image_notebook(GtkWidget *notebook) { tiff_compression_item = gtk_menu_item_new_with_label(tiff_compression1_strings[i-1].name); gtk_container_add(GTK_CONTAINER(tiff_compression_menu), tiff_compression_item); - gtk_signal_connect(GTK_OBJECT(tiff_compression_item), "activate", - (GtkSignalFunc) xsane_setup_tiff_compression1_callback, (void *) tiff_compression1_strings[i-1].number); + g_signal_connect(GTK_OBJECT(tiff_compression_item), "activate", (GtkSignalFunc) xsane_setup_tiff_compression1_callback, (void *) tiff_compression1_strings[i-1].number); gtk_widget_show(tiff_compression_item); if (tiff_compression1_strings[i-1].number == preferences.tiff_compression1_nr) { @@ -1707,8 +1746,12 @@ static void xsane_image_notebook(GtkWidget *notebook) hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_APPLY); +#else button = gtk_button_new_with_label(BUTTON_APPLY); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_image_apply_changes, NULL); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_image_apply_changes, NULL); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -1717,10 +1760,39 @@ static void xsane_image_notebook(GtkWidget *notebook) /* ---------------------------------------------------------------------------------------------------------------------- */ +typedef struct +{ + char *identifier; + char *fax_command; + char *fax_receiver_option; + char *fax_postscript_option; + char *fax_normal_option; + char *fax_fine_option; +} fax_program_options_type; + +fax_program_options_type fax_program[] = +{ + {" hylafax ", "sendfax", "-d", "", "-l", "-m"}, + {" mgetty+sendfax ", "faxspool", "", "", "-n", ""}, + {" efax ", "fax send", "", "", "-l", ""}, +}; + +static void xsane_fax_notebook_set_faxprogram_default_callback(GtkWidget *widget, int program_number) +{ + gtk_entry_set_text(GTK_ENTRY(xsane_setup.fax_command_entry), (char *) fax_program[program_number].fax_command); + gtk_entry_set_text(GTK_ENTRY(xsane_setup.fax_receiver_option_entry), (char *) fax_program[program_number].fax_receiver_option); + gtk_entry_set_text(GTK_ENTRY(xsane_setup.fax_postscript_option_entry), (char *) fax_program[program_number].fax_postscript_option); + gtk_entry_set_text(GTK_ENTRY(xsane_setup.fax_normal_option_entry), (char *) fax_program[program_number].fax_normal_option); + gtk_entry_set_text(GTK_ENTRY(xsane_setup.fax_fine_option_entry), (char *) fax_program[program_number].fax_fine_option); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static void xsane_fax_notebook(GtkWidget *notebook) { GtkWidget *setup_vbox, *vbox, *hbox, *button, *label, *text, *frame; char buf[64]; + int i; DBG(DBG_proc, "xsane_fax_notebook\n"); @@ -1733,7 +1805,7 @@ static void xsane_fax_notebook(GtkWidget *notebook) gtk_widget_show(setup_vbox); frame = gtk_frame_new(0); - gtk_container_set_border_width(GTK_CONTAINER(frame), 4); + gtk_container_set_border_width(GTK_CONTAINER(frame), 7); gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); gtk_box_pack_start(GTK_BOX(setup_vbox), frame, TRUE, TRUE, 0); /* sizeable framehight */ gtk_widget_show(frame); @@ -1753,7 +1825,7 @@ static void xsane_fax_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FAX_COMMAND); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.fax_command); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -1772,7 +1844,7 @@ static void xsane_fax_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FAX_RECEIVER_OPT); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.fax_receiver_option); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -1791,7 +1863,7 @@ static void xsane_fax_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FAX_POSTSCRIPT_OPT); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.fax_postscript_option); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -1810,7 +1882,7 @@ static void xsane_fax_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FAX_NORMAL_OPT); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.fax_normal_option); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -1829,7 +1901,7 @@ static void xsane_fax_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FAX_FINE_OPT); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.fax_fine_option); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -1837,6 +1909,26 @@ static void xsane_fax_notebook(GtkWidget *notebook) xsane_setup.fax_fine_option_entry = text; + /* fax set program default options : */ + + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + + label = gtk_label_new(TEXT_SETUP_FAX_PROGRAM_DEFAULTS); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); + gtk_widget_show(label); + + for (i=0; i < sizeof(fax_program)/sizeof(fax_program_options_type); i++) + { + button = gtk_button_new_with_label(fax_program[i].identifier); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_notebook_set_faxprogram_default_callback, (void *) i); + gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 10); + gtk_widget_show(button); + } + + gtk_widget_show(hbox); + + xsane_separator_new(vbox, 2); @@ -1851,7 +1943,7 @@ static void xsane_fax_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FAX_VIEWER); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.fax_viewer); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -1873,7 +1965,7 @@ static void xsane_fax_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FAX_WIDTH); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%4.3f", preferences.fax_width / preferences.length_unit); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1893,7 +1985,7 @@ static void xsane_fax_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FAX_HEIGHT); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%4.3f", preferences.fax_height / preferences.length_unit); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1913,7 +2005,7 @@ static void xsane_fax_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FAX_LEFTOFFSET); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%4.3f", preferences.fax_leftoffset / preferences.length_unit); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1933,7 +2025,7 @@ static void xsane_fax_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FAX_BOTTOMOFFSET); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); snprintf(buf, sizeof(buf), "%4.3f", preferences.fax_bottomoffset / preferences.length_unit); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -1948,8 +2040,12 @@ static void xsane_fax_notebook(GtkWidget *notebook) hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_APPLY); +#else button = gtk_button_new_with_label(BUTTON_APPLY); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_fax_apply_changes, NULL); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_fax_apply_changes, NULL); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -1986,7 +2082,7 @@ static void xsane_mail_notebook(GtkWidget *notebook) gtk_widget_show(setup_vbox); frame = gtk_frame_new(0); - gtk_container_set_border_width(GTK_CONTAINER(frame), 4); + gtk_container_set_border_width(GTK_CONTAINER(frame), 7); gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); gtk_box_pack_start(GTK_BOX(setup_vbox), frame, TRUE, TRUE, 0); /* sizeable framehight */ gtk_widget_show(frame); @@ -2006,7 +2102,7 @@ static void xsane_mail_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_MAIL_FROM); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.mail_from); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2024,7 +2120,7 @@ static void xsane_mail_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_MAIL_REPLY_TO); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.mail_reply_to); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2045,7 +2141,7 @@ static void xsane_mail_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_SMTP_SERVER); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.mail_smtp_server); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2063,7 +2159,7 @@ static void xsane_mail_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_SMTP_PORT); - gtk_widget_set_usize(text, 50, 0); + gtk_widget_set_size_request(text, 50, -1); snprintf(buf, sizeof(buf), "%d", preferences.mail_smtp_port); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -2083,7 +2179,7 @@ static void xsane_mail_notebook(GtkWidget *notebook) hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); button = gtk_check_button_new_with_label(RADIO_BUTTON_POP3_AUTHENTIFICATION); - gtk_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_setup_pop3_authentification_callback, (void *) pop3_vbox); + g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_setup_pop3_authentification_callback, (void *) pop3_vbox); xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_POP3_AUTHENTIFICATION); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.mail_pop3_authentification); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 2); @@ -2105,7 +2201,7 @@ static void xsane_mail_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_POP3_SERVER); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.mail_pop3_server); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2123,7 +2219,7 @@ static void xsane_mail_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_POP3_PORT); - gtk_widget_set_usize(text, 50, 0); + gtk_widget_set_size_request(text, 50, -1); snprintf(buf, sizeof(buf), "%d", preferences.mail_pop3_port); gtk_entry_set_text(GTK_ENTRY(text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -2142,7 +2238,7 @@ static void xsane_mail_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_POP3_USER); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.mail_pop3_user); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2167,7 +2263,7 @@ static void xsane_mail_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_POP3_PASS); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) password); gtk_entry_set_visibility(GTK_ENTRY(text), 0); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); @@ -2191,7 +2287,7 @@ static void xsane_mail_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_MAIL_VIEWER); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.mail_viewer); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2206,8 +2302,12 @@ static void xsane_mail_notebook(GtkWidget *notebook) hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_APPLY); +#else button = gtk_button_new_with_label(BUTTON_APPLY); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_mail_apply_changes, NULL); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_mail_apply_changes, NULL); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -2219,7 +2319,7 @@ static void xsane_mail_notebook(GtkWidget *notebook) static void xsane_ocr_notebook(GtkWidget *notebook) { - GtkWidget *setup_vbox, *vbox, *hbox, *label, *text, *frame; + GtkWidget *setup_vbox, *vbox, *hbox, *label, *text, *frame, *button; DBG(DBG_proc, "xsane_ocr_notebook\n"); @@ -2232,7 +2332,7 @@ static void xsane_ocr_notebook(GtkWidget *notebook) gtk_widget_show(setup_vbox); frame = gtk_frame_new(0); - gtk_container_set_border_width(GTK_CONTAINER(frame), 4); + gtk_container_set_border_width(GTK_CONTAINER(frame), 7); gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); gtk_box_pack_start(GTK_BOX(setup_vbox), frame, TRUE, TRUE, 0); /* sizeable framehight */ gtk_widget_show(frame); @@ -2241,7 +2341,7 @@ static void xsane_ocr_notebook(GtkWidget *notebook) gtk_container_add(GTK_CONTAINER(frame), vbox); gtk_widget_show(vbox); - /* ocrcommand : */ + /* ocr command : */ hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); @@ -2252,7 +2352,7 @@ static void xsane_ocr_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_OCR_COMMAND); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.ocr_command); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2260,7 +2360,7 @@ static void xsane_ocr_notebook(GtkWidget *notebook) xsane_setup.ocr_command_entry = text; - /* ocrinputfileoption : */ + /* ocr inputfile option : */ hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); @@ -2271,7 +2371,7 @@ static void xsane_ocr_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_OCR_INPUTFILE_OPT); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.ocr_inputfile_option); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2279,7 +2379,7 @@ static void xsane_ocr_notebook(GtkWidget *notebook) xsane_setup.ocr_inputfile_option_entry = text; - /* ocroutputfileoption : */ + /* ocr outputfile option : */ hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); @@ -2290,12 +2390,79 @@ static void xsane_ocr_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_OCR_OUTPUTFILE_OPT); - gtk_widget_set_usize(text, 250, 0); + gtk_widget_set_size_request(text, 250, -1); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.ocr_outputfile_option); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); gtk_widget_show(hbox); xsane_setup.ocr_outputfile_option_entry = text; + + + /* ocr use gui pipe button */ + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + button = gtk_check_button_new_with_label(RADIO_BUTTON_OCR_USE_GUI_PIPE); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_OCR_USE_GUI_PIPE_OPT); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.ocr_use_gui_pipe); + gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 2); + gtk_widget_show(button); + gtk_widget_show(hbox); + xsane_setup.ocr_use_gui_pipe_entry = button; + + + /* ocr gui outfd option : */ + + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + + label = gtk_label_new(TEXT_SETUP_OCR_OUTFD_OPT); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + gtk_widget_show(label); + + text = gtk_entry_new(); + xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_OCR_OUTFD_OPT); + gtk_widget_set_size_request(text, 250, -1); + gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.ocr_gui_outfd_option); + gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); + gtk_widget_show(text); + gtk_widget_show(hbox); + xsane_setup.ocr_gui_outfd_option_entry = text; + + + /* ocr progress keyword : */ + + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + + label = gtk_label_new(TEXT_SETUP_OCR_PROGRESS_KEYWORD); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + gtk_widget_show(label); + + text = gtk_entry_new(); + xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_OCR_PROGRESS_KEYWORD); + gtk_widget_set_size_request(text, 250, -1); + gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.ocr_progress_keyword); + gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); + gtk_widget_show(text); + gtk_widget_show(hbox); + xsane_setup.ocr_progress_keyword_entry = text; + + xsane_separator_new(vbox, 4); + + /* apply button */ + + hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_APPLY); +#else + button = gtk_button_new_with_label(BUTTON_APPLY); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_ocr_apply_changes, NULL); + gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); + gtk_widget_show(button); + gtk_widget_show(hbox); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -2303,7 +2470,18 @@ static void xsane_ocr_notebook(GtkWidget *notebook) static void xsane_display_notebook(GtkWidget *notebook) { GtkWidget *setup_vbox, *vbox, *hbox, *button, *label, *text, *frame; + GtkWidget *show_range_mode_option_menu, *show_range_mode_menu, *show_range_mode_item; char buf[64]; + int i, select = 1; + + typedef struct show_range_mode_t + { + char *name; + int number; + } show_range_mode; + +#define SHOW_RANGE_MODE_NUMBER 5 + show_range_mode show_range_mode_strings[SHOW_RANGE_MODE_NUMBER]; DBG(DBG_proc, "xsane_display_notebook\n"); @@ -2316,7 +2494,7 @@ static void xsane_display_notebook(GtkWidget *notebook) gtk_widget_show(setup_vbox); frame = gtk_frame_new(0); - gtk_container_set_border_width(GTK_CONTAINER(frame), 4); + gtk_container_set_border_width(GTK_CONTAINER(frame), 7); gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); gtk_box_pack_start(GTK_BOX(setup_vbox), frame, TRUE, TRUE, 0); /* sizeable framehight */ gtk_widget_show(frame); @@ -2352,7 +2530,59 @@ static void xsane_display_notebook(GtkWidget *notebook) xsane_separator_new(vbox, 2); + + /* show range type menu */ + /* bit 0 (val 1) : show scale */ + /* bit 1 (val 2) : show scrollbar */ + /* bit 2 (val 4) : show spinbutton */ + /* bit 3 (val 8) : show scale val */ + show_range_mode_strings[0].name = MENU_ITEM_RANGE_SCALE; + show_range_mode_strings[0].number = 9; /* 1 + 8 = scale + value */ + show_range_mode_strings[1].name = MENU_ITEM_RANGE_SCROLLBAR; + show_range_mode_strings[1].number = 10; /* 2 + 4 = scrollbar + value */ + show_range_mode_strings[2].name = MENU_ITEM_RANGE_SPINBUTTON; + show_range_mode_strings[2].number = 4; + show_range_mode_strings[3].name = MENU_ITEM_RANGE_SCALE_SPIN; + show_range_mode_strings[3].number = 5; /* 1 + 4 = scale + spinbutton */ + show_range_mode_strings[4].name = MENU_ITEM_RANGE_SCROLL_SPIN; + show_range_mode_strings[4].number = 6; /* 2 + 4 = scrollbar + spinbutton */ + + hbox = gtk_hbox_new(FALSE, 2); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); + + label = gtk_label_new(TEXT_SETUP_SHOW_RANGE_MODE); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + gtk_widget_show(label); + + show_range_mode_option_menu = gtk_option_menu_new(); + xsane_back_gtk_set_tooltip(xsane.tooltips, show_range_mode_option_menu, DESC_SHOW_RANGE_MODE); + gtk_box_pack_end(GTK_BOX(hbox), show_range_mode_option_menu, FALSE, FALSE, 2); + gtk_widget_show(show_range_mode_option_menu); + gtk_widget_show(hbox); + + show_range_mode_menu = gtk_menu_new(); + + for (i=1; i <= SHOW_RANGE_MODE_NUMBER; i++) + { + show_range_mode_item = gtk_menu_item_new_with_label(show_range_mode_strings[i-1].name); + gtk_container_add(GTK_CONTAINER(show_range_mode_menu), show_range_mode_item); + g_signal_connect(GTK_OBJECT(show_range_mode_item), "activate", (GtkSignalFunc) xsane_setup_show_range_mode_callback, (void *) show_range_mode_strings[i-1].number); + gtk_widget_show(show_range_mode_item); + if (show_range_mode_strings[i-1].number == preferences.show_range_mode) + { + select = i-1; + } + } + + gtk_option_menu_set_menu(GTK_OPTION_MENU(show_range_mode_option_menu), show_range_mode_menu); + gtk_option_menu_set_history(GTK_OPTION_MENU(show_range_mode_option_menu), select); + xsane_setup.show_range_mode = preferences.show_range_mode; + + xsane_separator_new(vbox, 2); + + /* preview oversampling value: */ hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); @@ -2366,7 +2596,7 @@ static void xsane_display_notebook(GtkWidget *notebook) snprintf(buf, sizeof(buf), "%1.2f", preferences.preview_oversampling); text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PREVIEW_OVERSAMPLING); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); gtk_entry_set_text(GTK_ENTRY(text), buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2389,7 +2619,7 @@ static void xsane_display_notebook(GtkWidget *notebook) snprintf(buf, sizeof(buf), "%1.2f", preferences.preview_gamma); text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PREVIEW_GAMMA); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); gtk_entry_set_text(GTK_ENTRY(text), buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2408,7 +2638,7 @@ static void xsane_display_notebook(GtkWidget *notebook) snprintf(buf, sizeof(buf), "%1.2f", preferences.preview_gamma_red); text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PREVIEW_GAMMA_RED); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); gtk_entry_set_text(GTK_ENTRY(text), buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2427,7 +2657,7 @@ static void xsane_display_notebook(GtkWidget *notebook) snprintf(buf, sizeof(buf), "%1.2f", preferences.preview_gamma_green); text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PREVIEW_GAMMA_GREEN); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); gtk_entry_set_text(GTK_ENTRY(text), buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2446,7 +2676,7 @@ static void xsane_display_notebook(GtkWidget *notebook) snprintf(buf, sizeof(buf), "%1.2f", preferences.preview_gamma_blue); text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PREVIEW_GAMMA_BLUE); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); gtk_entry_set_text(GTK_ENTRY(text), buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2479,12 +2709,12 @@ static void xsane_display_notebook(GtkWidget *notebook) text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_DOC_VIEWER); - gtk_widget_set_usize(text, 250, 0); - gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.doc_viewer); + gtk_widget_set_size_request(text, 250, -1); + gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.browser); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); gtk_widget_show(hbox); - xsane_setup.doc_viewer_entry = text; + xsane_setup.browser_entry = text; xsane_separator_new(vbox, 4); @@ -2495,8 +2725,12 @@ static void xsane_display_notebook(GtkWidget *notebook) hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_APPLY); +#else button = gtk_button_new_with_label(BUTTON_APPLY); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_display_apply_changes, NULL); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_display_apply_changes, NULL); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -2534,6 +2768,13 @@ static void xsane_enhance_notebook_sensitivity(int lineart_mode) /* ---------------------------------------------------------------------------------------------------------------------- */ +static void xsane_setup_show_range_mode_callback(GtkWidget *widget, gpointer data) +{ + xsane_setup.show_range_mode = (int) data; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static void xsane_setup_lineart_mode_callback(GtkWidget *widget, gpointer data) { xsane_setup.lineart_mode = (int) data; @@ -2611,7 +2852,7 @@ static void xsane_enhance_notebook(GtkWidget *notebook) gtk_widget_show(setup_vbox); frame = gtk_frame_new(0); - gtk_container_set_border_width(GTK_CONTAINER(frame), 4); + gtk_container_set_border_width(GTK_CONTAINER(frame), 7); gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); gtk_box_pack_start(GTK_BOX(setup_vbox), frame, TRUE, TRUE, 0); /* sizeable framehight */ gtk_widget_show(frame); @@ -2648,8 +2889,7 @@ static void xsane_enhance_notebook(GtkWidget *notebook) { lineart_mode_item = gtk_menu_item_new_with_label(lineart_mode_strings[i-1].name); gtk_container_add(GTK_CONTAINER(lineart_mode_menu), lineart_mode_item); - gtk_signal_connect(GTK_OBJECT(lineart_mode_item), "activate", - (GtkSignalFunc) xsane_setup_lineart_mode_callback, (void *) lineart_mode_strings[i-1].number); + g_signal_connect(GTK_OBJECT(lineart_mode_item), "activate", (GtkSignalFunc) xsane_setup_lineart_mode_callback, (void *) lineart_mode_strings[i-1].number); gtk_widget_show(lineart_mode_item); if (lineart_mode_strings[i-1].number == xsane.lineart_mode) { @@ -2675,7 +2915,7 @@ static void xsane_enhance_notebook(GtkWidget *notebook) snprintf(buf, sizeof(buf), "%1.2f", xsane.threshold_min); text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PREVIEW_THRESHOLD_MIN); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); gtk_entry_set_text(GTK_ENTRY(text), buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2695,7 +2935,7 @@ static void xsane_enhance_notebook(GtkWidget *notebook) snprintf(buf, sizeof(buf), "%1.2f", xsane.threshold_max); text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PREVIEW_THRESHOLD_MAX); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); gtk_entry_set_text(GTK_ENTRY(text), buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2715,7 +2955,7 @@ static void xsane_enhance_notebook(GtkWidget *notebook) snprintf(buf, sizeof(buf), "%1.2f", xsane.threshold_mul); text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PREVIEW_THRESHOLD_MUL); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); gtk_entry_set_text(GTK_ENTRY(text), buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2735,7 +2975,7 @@ static void xsane_enhance_notebook(GtkWidget *notebook) snprintf(buf, sizeof(buf), "%1.2f", xsane.threshold_off); text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PREVIEW_THRESHOLD_OFF); - gtk_widget_set_usize(text, 80, 0); + gtk_widget_set_size_request(text, 80, -1); gtk_entry_set_text(GTK_ENTRY(text), buf); gtk_box_pack_end(GTK_BOX(hbox), text, FALSE, FALSE, 2); gtk_widget_show(text); @@ -2783,7 +3023,7 @@ static void xsane_enhance_notebook(GtkWidget *notebook) { gray_item = gtk_menu_item_new_with_label(_BGT(opt->constraint.string_list[i])); gtk_container_add(GTK_CONTAINER(gray_menu), gray_item); - gtk_signal_connect(GTK_OBJECT(gray_item), "activate", (GtkSignalFunc) xsane_setup_grayscale_mode_callback, (void *) opt->constraint.string_list[i]); + g_signal_connect(GTK_OBJECT(gray_item), "activate", (GtkSignalFunc) xsane_setup_grayscale_mode_callback, (void *) opt->constraint.string_list[i]); gtk_widget_show(gray_item); if (xsane.grayscale_scanmode) @@ -2873,8 +3113,7 @@ static void xsane_enhance_notebook(GtkWidget *notebook) snprintf(buf, sizeof(buf), "%d x %d pixel", j, j); preview_pipette_range_item = gtk_menu_item_new_with_label(buf); gtk_container_add(GTK_CONTAINER(preview_pipette_range_menu), preview_pipette_range_item); - gtk_signal_connect(GTK_OBJECT(preview_pipette_range_item), "activate", - (GtkSignalFunc) xsane_setup_preview_pipette_range_callback, (void *) j); + g_signal_connect(GTK_OBJECT(preview_pipette_range_item), "activate", (GtkSignalFunc) xsane_setup_preview_pipette_range_callback, (void *) j); gtk_widget_show(preview_pipette_range_item); if (preferences.preview_pipette_range == j) { @@ -2915,7 +3154,7 @@ static void xsane_enhance_notebook(GtkWidget *notebook) adf_item = gtk_menu_item_new_with_label(MENU_ITEM_SELECTION_NONE); gtk_container_add(GTK_CONTAINER(adf_menu), adf_item); - gtk_signal_connect(GTK_OBJECT(adf_item), "activate", (GtkSignalFunc) xsane_setup_adf_mode_callback, NULL); + g_signal_connect(GTK_OBJECT(adf_item), "activate", (GtkSignalFunc) xsane_setup_adf_mode_callback, NULL); gtk_widget_show(adf_item); opt = xsane_get_option_descriptor(xsane.dev, xsane.well_known.scansource); @@ -2938,7 +3177,7 @@ static void xsane_enhance_notebook(GtkWidget *notebook) { adf_item = gtk_menu_item_new_with_label(_BGT(opt->constraint.string_list[i])); gtk_container_add(GTK_CONTAINER(adf_menu), adf_item); - gtk_signal_connect(GTK_OBJECT(adf_item), "activate", (GtkSignalFunc) xsane_setup_adf_mode_callback, (void *) opt->constraint.string_list[i]); + g_signal_connect(GTK_OBJECT(adf_item), "activate", (GtkSignalFunc) xsane_setup_adf_mode_callback, (void *) opt->constraint.string_list[i]); gtk_widget_show(adf_item); @@ -2977,8 +3216,12 @@ static void xsane_enhance_notebook(GtkWidget *notebook) hbox = gtk_hbox_new(/* homogeneous */ FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_APPLY); +#else button = gtk_button_new_with_label(BUTTON_APPLY); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_enhance_apply_changes, NULL); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_enhance_apply_changes, NULL); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -2998,18 +3241,16 @@ void xsane_setup_dialog(GtkWidget *widget, gpointer data) device_options_changed = 0; - xsane_clear_histogram(&xsane.histogram_raw); - xsane_clear_histogram(&xsane.histogram_enh); xsane_set_sensitivity(FALSE); xsane.preview->calibration = 1; /* show monitor calibration image */ - setup_dialog = gtk_window_new(GTK_WINDOW_DIALOG); + setup_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_position(GTK_WINDOW(setup_dialog), GTK_WIN_POS_MOUSE); snprintf(buf, sizeof(buf), "%s %s", xsane.prog_name, WINDOW_SETUP); gtk_window_set_title(GTK_WINDOW(setup_dialog), buf); - gtk_signal_connect(GTK_OBJECT(setup_dialog), "destroy", (GtkSignalFunc) xsane_destroy_setup_dialog_callback, setup_dialog); + g_signal_connect(GTK_OBJECT(setup_dialog), "destroy", (GtkSignalFunc) xsane_destroy_setup_dialog_callback, setup_dialog); xsane_set_window_icon(setup_dialog, 0); /* set the main vbox */ @@ -3043,16 +3284,23 @@ void xsane_setup_dialog(GtkWidget *widget, gpointer data) gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); gtk_widget_show(hbox); - +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_OK); +#else button = gtk_button_new_with_label(BUTTON_OK); +#endif GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_options_ok_callback, setup_dialog); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_setup_options_ok_callback, setup_dialog); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_grab_default(button); gtk_widget_show(button); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); +#else button = gtk_button_new_with_label(BUTTON_CANCEL); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_close_setup_dialog_callback, setup_dialog); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_close_setup_dialog_callback, setup_dialog); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); diff --git a/src/xsane-setup.h b/src/xsane-setup.h index efb17f9..06e2949 100644 --- a/src/xsane-setup.h +++ b/src/xsane-setup.h @@ -3,7 +3,7 @@ xsane-setup.h Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify diff --git a/src/xsane-text.h b/src/xsane-text.h index 1ca47ad..c36a73a 100644 --- a/src/xsane-text.h +++ b/src/xsane-text.h @@ -3,7 +3,7 @@ xsane-text.h Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -29,16 +29,22 @@ #define XSANE_LANGUAGE_DIR _("language_dir") #define XSANE_STRSTATUS(status) _(sane_strstatus(status)) -#define _BGT(text) dgettext(xsane.backend, text) +#define _BGT(text) dgettext(xsane.backend_translation, text) #define XSANE_COPYRIGHT_SIGN _("(c)") /* can be translated with \251 */ +#define FILENAME_PREFIX_CLONE_OF _("clone-of-") + #define WINDOW_ABOUT_XSANE _("About") #define WINDOW_ABOUT_TRANSLATION _("About translation") #define WINDOW_AUTHORIZE _("authorization") -#define WINDOW_LICENSE _("license") +#define WINDOW_GPL _("GPL - the license") +#define WINDOW_EULA _("End User License Agreement") #define WINDOW_INFO _("info") +#define WINDOW_LOAD_BATCH_LIST _("load batch list") +#define WINDOW_SAVE_BATCH_LIST _("save batch list") #define WINDOW_BATCH_SCAN _("batch scan") +#define WINDOW_BATCH_RENAME _("rename batch area") #define WINDOW_FAX_PROJECT _("fax project") #define WINDOW_FAX_RENAME _("rename fax page") #define WINDOW_FAX_INSERT _("insert ps-file into fax") @@ -46,6 +52,9 @@ #define WINDOW_MAIL_RENAME _("rename mail image") #define WINDOW_MAIL_INSERT _("insert file into mail") #define WINDOW_PRESET_AREA_RENAME _("rename preset area") +#define WINDOW_PRESET_AREA_ADD _("add preset area") +#define WINDOW_MEDIUM_RENAME _("rename medium") +#define WINDOW_MEDIUM_ADD _("add new medium") #define WINDOW_SETUP _("setup") #define WINDOW_HISTOGRAM _("Histogram") #define WINDOW_GAMMA _("Gamma curve") @@ -65,12 +74,16 @@ #define WINDOW_DESPECKLE _("Despeckle image") #define WINDOW_BLUR _("Blur image") #define WINDOW_STORE_MEDIUM _("Store medium definition") +#define WINDOW_NO_DEVICES _("No devices available") #define MENU_FILE _("File") #define MENU_PREFERENCES _("Preferences") #define MENU_VIEW _("View") +#define MENU_WINDOW _("Window") #define MENU_HELP _("Help") +#define MENU_EDIT _("Edit") #define MENU_FILTERS _("Filters") +#define MENU_GEOMETRY _("Geometry") #define MENU_ITEM_ABOUT_XSANE _("About XSane") #define MENU_ITEM_ABOUT_TRANSLATION _("About translation") @@ -78,17 +91,26 @@ #define MENU_ITEM_QUIT _("Quit") #define MENU_ITEM_SAVE_IMAGE _("Save image") -#define MENU_ITEM_CLOSE _("Close") - +#define MENU_ITEM_OCR _("OCR - save as text") #define MENU_ITEM_CLONE _("Clone") #define MENU_ITEM_SCALE _("Scale") +#define MENU_ITEM_CLOSE _("Close") + +#define MENU_ITEM_UNDO _("Undo") + #define MENU_ITEM_DESPECKLE _("Despeckle") #define MENU_ITEM_BLUR _("Blur") +#define MENU_ITEM_ROTATE90 _("Rotate 90") +#define MENU_ITEM_ROTATE180 _("Rotate 180") +#define MENU_ITEM_ROTATE270 _("Rotate 270") +#define MENU_ITEM_MIRROR_X _("Mirror |") +#define MENU_ITEM_MIRROR_Y _("Mirror -") + #define FRAME_RAW_IMAGE _("Raw image") #define FRAME_ENHANCED_IMAGE _("Enhanced image") -#define BUTTON_START _("Start") +#define BUTTON_SCAN _("Scan") #define BUTTON_OK _("Ok") #define BUTTON_ACCEPT _("Accept") #define BUTTON_NOT_ACCEPT _("Not accept") @@ -98,13 +120,16 @@ #define BUTTON_CONT_AT_OWN_RISK _("Continue at your own risk") #define BUTTON_BROWSE _("Browse") #define BUTTON_CLOSE _("Close") +#define BUTTON_HELP _("Help") #define BUTTON_OVERWRITE _("Overwrite") -#define BUTTON_ADD_AREA _("Add area") +#define BUTTON_BATCH_LIST_SCAN _("Scan batch list") +#define BUTTON_BATCH_AREA_SCAN _("Scan selected area") #define BUTTON_PAGE_DELETE _("Delete page") #define BUTTON_PAGE_SHOW _("Show page") #define BUTTON_PAGE_RENAME _("Rename page") #define BUTTON_IMAGE_DELETE _("Delete image") #define BUTTON_IMAGE_SHOW _("Show image") +#define BUTTON_IMAGE_EDIT _("Edit image") #define BUTTON_IMAGE_RENAME _("Rename image") #define BUTTON_FILE_INSERT _("Insert file") #define BUTTON_CREATE_PROJECT _("Create project") @@ -124,6 +149,7 @@ #define RADIO_BUTTON_SAVE_DEVPREFS_AT_EXIT _("Save device preferences at exit") #define RADIO_BUTTON_OVERWRITE_WARNING _("Overwrite warning") #define RADIO_BUTTON_SKIP_EXISTING_NRS _("Skip existing filenames") +#define RADIO_BUTTON_SAVE_PNM16_AS_ASCII _("Save 16bit pnm in ascii format") #define RADIO_BUTTON_REDUCE_16BIT_TO_8BIT _("Reduce 16 bit image to 8 bit") #define RADIO_BUTTON_WINDOW_FIXED _("Main window size fixed") #define RADIO_BUTTON_DISABLE_GIMP_PREVIEW_GAMMA _("Disable gimp preview gamma") @@ -132,6 +158,7 @@ #define RADIO_BUTTON_PRESELECT_SCANAREA _("Preselect scanarea") #define RADIO_BUTTON_AUTOCORRECT_COLORS _("Autocorrect colors") #define RADIO_BUTTON_POP3_AUTHENTIFICATION _("POP3 authentification") +#define RADIO_BUTTON_OCR_USE_GUI_PIPE _("Use GUI progress pipe") #define TEXT_SCANNING_DEVICES _("scanning for devices") #define TEXT_AVAILABLE_DEVICES _("Available devices:") @@ -174,6 +201,17 @@ #define TEXT_GTK_VERSION _("compiled with GTK-") #define TEXT_GIMP_VERSION _("compiled with GIMP-") #define TEXT_UNKNOWN _("unknown") +#define TEXT_EULA _( "XSane is distributed under the terms of the GNU General Public License\n" \ + "as published by the Free Software Foundation; either version 2 of the\n" \ + "License, or (at your option) any later version.\n" \ + "\n" \ + "This program is distributed in the hope that it will be useful, but\n" \ + "WITHOUT ANY WARRANTY; without even the implied warranty of\n" \ + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" \ + "Should the program prove defective, you assume the cost of all\n" \ + "necessary servicing, repair or correction. To use this program you\n" \ + "have to read, understand and accept the following\n" \ + "\"NO WARRANTY\" agreement.\n") #define TEXT_GPL _("XSane is distributed under the terms of the GNU General Public License\n" \ "as published by the Free Software Foundation; either version 2 of the\n" \ "License, or (at your option) any later version.\n" \ @@ -201,14 +239,21 @@ #define TEXT_MAIL_TEXT _("Email text:") #define TEXT_ATTACHMENTS _("Attachments:") #define TEXT_MAIL_STATUS _("Project status:") +#define TEXT_MAIL_FILETYPE _("Mail image filetype:") #define TEXT_MEDIUM_DEFINITION_NAME _("Medium Name:") #define TEXT_VIEWER_IMAGE_INFO _("Size %d x %d pixel, %d bit/color, %d colors, %1.0f dpi x %1.0f dpi, %1.1f %s") -#define TEXT_X_SCALE_FACTOR _("X-Scale factor:") -#define TEXT_Y_SCALE_FACTOR _("Y-Scale factor:") #define TEXT_DESPECKLE_RADIUS _("Despeckle radius:") #define TEXT_BLUR_RADIUS _("Blur radius:") +#define TEXT_BATCH_AREA_DEFAULT_NAME _("(no name)") +#define TEXT_BATCH_LIST_AREANAME _("Area name:") +#define TEXT_BATCH_LIST_SCANMODE _("Scanmode:") +#define TEXT_BATCH_LIST_GEOMETRY_TL _("Top left:") +#define TEXT_BATCH_LIST_GEOMETRY_SIZE _("Size:") +#define TEXT_BATCH_LIST_RESOLUTION _("Resolution:") +#define TEXT_BATCH_LIST_BIT_DEPTH _("Bit depth:") +#define TEXT_BATCH_LIST_BY_GUI _("as selected") #define TEXT_SETUP_PRINTER_SEL _("Printer selection:") #define TEXT_SETUP_PRINTER_NAME _("Name:") @@ -234,6 +279,7 @@ #define TEXT_SETUP_TIFF_COMPRESSION_16 _("TIFF 16 bit image compression") #define TEXT_SETUP_TIFF_COMPRESSION_8 _("TIFF 8 bit image compression") #define TEXT_SETUP_TIFF_COMPRESSION_1 _("TIFF lineart image compression") +#define TEXT_SETUP_SHOW_RANGE_MODE _("Show range as:") #define TEXT_SETUP_PREVIEW_OVERSAMPLING _("Preview oversampling:") #define TEXT_SETUP_PREVIEW_GAMMA _("Preview gamma:") #define TEXT_SETUP_PREVIEW_GAMMA_RED _("Preview gamma red:") @@ -253,6 +299,7 @@ #define TEXT_SETUP_FAX_POSTSCRIPT_OPT _("Postscriptfile option:") #define TEXT_SETUP_FAX_NORMAL_MODE_OPT _("Normal mode option:") #define TEXT_SETUP_FAX_FINE_MODE_OPT _("Fine mode option:") +#define TEXT_SETUP_FAX_PROGRAM_DEFAULTS _("Set program defaults for:") #define TEXT_SETUP_FAX_VIEWER _("Viewer (Postscript):") #define TEXT_SETUP_FAX_WIDTH _("Width") #define TEXT_SETUP_FAX_HEIGHT _("Height") @@ -270,9 +317,13 @@ #define TEXT_SETUP_OCR_COMMAND _("OCR Command:") #define TEXT_SETUP_OCR_INPUTFILE_OPT _("Inputfile option:") #define TEXT_SETUP_OCR_OUTPUTFILE_OPT _("Outputfile option:") +#define TEXT_SETUP_OCR_USE_GUI_PIPE_OPT _("Use GUI progress pipe:") +#define TEXT_SETUP_OCR_OUTFD_OPT _("GUI output-fd option:") +#define TEXT_SETUP_OCR_PROGRESS_KEYWORD _("Progress keyword:") #define TEXT_SETUP_PERMISSION_USER _("user") #define TEXT_SETUP_PERMISSION_GROUP _("group") #define TEXT_SETUP_PERMISSION_ALL _("all") +#define TEXT_NEW_MEDIA_NAME _("new media") #define NOTEBOOK_SAVING_OPTIONS _("Save") #define NOTEBOOK_IMAGE_OPTIONS _("Image") @@ -293,6 +344,7 @@ #define MENU_ITEM_SHOW_PREVIEW _("Show preview") #define MENU_ITEM_SHOW_HISTOGRAM _("Show histogram") #define MENU_ITEM_SHOW_GAMMA _("Show gamma curve") +#define MENU_ITEM_SHOW_BATCH_SCAN _("Show batch scan") #define MENU_ITEM_SHOW_STANDARDOPTIONS _("Show standard options") #define MENU_ITEM_SHOW_ADVANCEDOPTIONS _("Show advanced options") @@ -307,11 +359,13 @@ #define SUBMENU_ITEM_POLICY_DELAYED _("delayed") #define MENU_ITEM_SHOW_RESOLUTIONLIST _("Show resolution list") #define MENU_ITEM_PAGE_ROTATE _("Rotate postscript") +#define MENU_ITEM_EDIT_MEDIUM_DEF _("Edit medium definition") #define MENU_ITEM_SAVE_DEVICE_SETTINGS _("Save device settings") #define MENU_ITEM_LOAD_DEVICE_SETTINGS _("Load device settings") #define MENU_ITEM_CHANGE_WORKING_DIR _("Change directory") -#define MENU_ITEM_XSANE_LICENSE _("License") +#define MENU_ITEM_XSANE_EULA _("Show EULA") +#define MENU_ITEM_XSANE_GPL _("Show license (GPL)") #define MENU_ITEM_XSANE_DOC _("XSane doc") #define MENU_ITEM_BACKEND_DOC _("Backend doc") #define MENU_ITEM_AVAILABLE_BACKENDS _("Available backends") @@ -326,6 +380,12 @@ #define MENU_ITEM_TIFF_COMP_JPEG _("JPEG DCT compression") #define MENU_ITEM_TIFF_COMP_PACKBITS _("pack bits") +#define MENU_ITEM_RANGE_SCALE _("Slider (Scale)") +#define MENU_ITEM_RANGE_SCROLLBAR _("Slider (Scrollbar)") +#define MENU_ITEM_RANGE_SPINBUTTON _("Spinbutton") +#define MENU_ITEM_RANGE_SCALE_SPIN _("Scale and Spinbutton") +#define MENU_ITEM_RANGE_SCROLL_SPIN _("Scrollbar and Spinbutton") + #define MENU_ITEM_LINEART_MODE_STANDARD _("Standard options window (lineart)") #define MENU_ITEM_LINEART_MODE_XSANE _("XSane main window (lineart)") #define MENU_ITEM_LINEART_MODE_GRAY _("XSane main window (grayscale->lineart)") @@ -334,10 +394,12 @@ #define MENU_ITEM_FILETYPE_BY_EXT _("by ext") #define MENU_ITEM_PRESET_AREA_ADD_SEL _("Add selection to list") -#define MENU_ITEM_PRESET_AREA_RENAME _("Rename definiton") -#define MENU_ITEM_PRESET_AREA_DELETE _("Delete definition") -#define MENU_OTEM_PRESET_AREA_MOVE_UP _("Move up") -#define MENU_OTEM_PRESET_AREA_MOVE_DWN _("Move down") +#define MENU_ITEM_MEDIUM_ADD _("Add medium definition") + +#define MENU_ITEM_RENAME _("Rename item") +#define MENU_ITEM_DELETE _("Delete item") +#define MENU_ITEM_MOVE_UP _("Move item up") +#define MENU_ITEM_MOVE_DWN _("Move item down") #define PROGRESS_SCANNING _("Scanning") #define PROGRESS_RECEIVING_FRAME_DATA _("Receiving %s data") @@ -352,6 +414,7 @@ #define PROGRESS_SCALING_DATA _("Scaling image") #define PROGRESS_DESPECKLING_DATA _("Despeckling image") #define PROGRESS_BLURING_DATA _("Bluring image") +#define PROGRESS_OCR _("OCR in progress") #define DESC_SCAN_START _("Start scan ") #define DESC_SCAN_CANCEL _("Cancel scan ") @@ -359,7 +422,9 @@ #define DESC_PREVIEW_CANCEL _("Cancel preview scan ") #define DESC_XSANE_MODE _("save-, view-, photocopy-, " \ "fax- or mail-") -#define DESC_XSANE_MEDIUM _("Select source medium type") +#define DESC_XSANE_MEDIUM _("Select source medium type.\n" \ + "To rename, reorder or delete an entry use context menu (right mouse button).\n"\ + "To create a medium enable the option edit medium definition in preferences menu.") #define DESC_FILENAME_COUNTER_STEP _("Value that is added to filenamecounter after scan") #define DESC_BROWSE_FILENAME _("Browse for image filename") @@ -372,7 +437,11 @@ #define DESC_MAILIMAGENAME _("Enter new name for mail image") #define DESC_MAILRECEIVER _("Enter email address") #define DESC_MAILSUBJECT _("Enter subject of email") -#define DESC_PRESET_AREA_NAME _("Enter new name for preset area") +#define DESC_MAIL_FILETYPE _("Select filetype for image attachments") +#define DESC_PRESET_AREA_RENAME _("Enter new name for preset area") +#define DESC_PRESET_AREA_ADD _("Enter name for new preset area") +#define DESC_MEDIUM_RENAME _("Enter new name for medium definition") +#define DESC_MEDIUM_ADD _("Enter name for new medium definition") #define DESC_PRINTER_SELECT _("Select printerdefinition ") @@ -384,7 +453,7 @@ #define DESC_ZOOM_Y _("Set zoomfactor for y direction") #define DESC_COPY_NUMBER _("Set number of copies") -#define DESC_NEGATIVE _("Negative: Invert colors for scanning negatives ") +#define DESC_NEGATIVE _("Negative: Invert colors for scanning negatives ") #define DESC_GAMMA _("Set gamma value") #define DESC_GAMMA_R _("Set gamma value for red component") @@ -404,18 +473,18 @@ #define DESC_THRESHOLD _("Set threshold") #define DESC_RGB_DEFAULT _("RGB default: Set enhancement values for red, " \ - "green and blue to default values :\n" \ + "green and blue to default values :\n" \ " gamma = 1.0\n" \ " brightness = 0\n" \ " contrast = 0") -#define DESC_ENH_AUTO _("Autoadjust gamma, brightness and contrast ") -#define DESC_ENH_DEFAULT _("Set default enhancement values :\n" \ +#define DESC_ENH_AUTO _("Autoadjust gamma, brightness and contrast ") +#define DESC_ENH_DEFAULT _("Set default enhancement values :\n" \ "gamma = 1.0\n" \ "brightness = 0\n" \ "contrast = 0") -#define DESC_ENH_RESTORE _("Restore enhancement values from preferences ") -#define DESC_ENH_STORE _("Store active enhancement values to preferences ") +#define DESC_ENH_RESTORE _("Restore enhancement values from preferences ") +#define DESC_ENH_STORE _("Store active enhancement values to preferences ") #define DESC_HIST_INTENSITY _("Show histogram of intensity/gray ") #define DESC_HIST_RED _("Show histogram of red component ") @@ -450,6 +519,10 @@ #define DESC_SAVE_DEVPREFS_AT_EXIT _("Save device dependant preferences in default file at exit of xsane") #define DESC_OVERWRITE_WARNING _("Warn before overwriting an existing file") #define DESC_SKIP_EXISTING _("If filename counter is automatically increased, used numbers are skipped") +#define DESC_SAVE_PNM16_AS_ASCII _("When a 16 bit image shall be saved in pnm format then use ascii format " \ + "instead of binary format. The binary format is a new format that is not " \ + "supported by all programs. The ascii format is supported by more programs " \ + "but it produces really huge files!!!") #define DESC_REDUCE_16BIT_TO_8BIT _("If scanner sends image with 16 bits/color save image with 8 bits/color") #define DESC_PSFILE_WIDTH _("Width of paper for postscript files") #define DESC_PSFILE_HEIGHT _("Height of paper for postscript files") @@ -458,6 +531,7 @@ #define DESC_MAIN_WINDOW_FIXED _("Use fixed main window size or scrolled, resizable main window") #define DESC_DISABLE_GIMP_PREVIEW_GAMMA _("Disable preview gamma when XSane runs as gimp plugin") #define DESC_PREVIEW_COLORMAP _("Use an own colormap for preview if display depth is 8 bpp") +#define DESC_SHOW_RANGE_MODE _("Select how a range is displayed") #define DESC_PREVIEW_OVERSAMPLING _("Value with that the calculated preview resolution is multiplied") #define DESC_PREVIEW_GAMMA _("Set gamma correction value for preview image") #define DESC_PREVIEW_GAMMA_RED _("Set gamma correction value for red component of preview image") @@ -500,45 +574,67 @@ #define DESC_POP3_USER _("user name for POP3 server") #define DESC_POP3_PASS _("password for POP3 server") #define DESC_MAIL_VIEWER _("Enter command to be executed to view a mail image") -#define DESC_HTML_MAIL _("Mail is sent in html mode, images are displayed directly") +#define DESC_HTML_MAIL _("Mail is sent in html mode, place image with: ") #define DESC_OCR_COMMAND _("Enter command to start ocr program") #define DESC_OCR_INPUTFILE_OPT _("Enter option of the ocr program to define input file") #define DESC_OCR_OUTPUTFILE_OPT _("Enter option of the ocr program to define output file") +#define DESC_OCR_USE_GUI_PIPE_OPT _("Define if the ocr program supports gui progress pipe") +#define DESC_OCR_OUTFD_OPT _("Enter option of the ocr program to define output filedescripor in GUI mode") +#define DESC_OCR_PROGRESS_KEYWORD _("Define Keyword that is used to mark progress information") #define DESC_PERMISSION_READ _("read") #define DESC_PERMISSION_WRITE _("write") #define DESC_PERMISSION_EXECUTE _("execute") +#define DESC_ADD_BATCH _("Add selection for batch scan") #define DESC_PIPETTE_WHITE _("Pick white point") #define DESC_PIPETTE_GRAY _("Pick gray point") #define DESC_PIPETTE_BLACK _("Pick black point") #define DESC_ZOOM_FULL _("Use full scanarea") #define DESC_ZOOM_OUT _("Zoom 20% out") -#define DESC_ZOOM_IN _("Zoom into selected area") +#define DESC_ZOOM_IN _("Click at position to zoom to") +#define DESC_ZOOM_AREA _("Zoom into selected area") #define DESC_ZOOM_UNDO _("Undo last zoom") #define DESC_FULL_PREVIEW_AREA _("Select visible area") #define DESC_AUTOSELECT_SCANAREA _("Autoselect scanarea") +#define DESC_AUTORAISE_SCANAREA _("Autoraise scanarea") #define DESC_DELETE_IMAGES _("Delete preview image cache") -#define DESC_PRESET_AREA _("Preset area") +#define DESC_PRESET_AREA _("Preset area:\n" \ + "To add new area or edit an existing area use contect menu (right mouse button).") #define DESC_ROTATION _("Rotate preview and scan") +#define DESC_RATIO _("Aspect ratio of selection") +#define DESC_PAPER_ORIENTATION _("Define image position for printing") #define DESC_VIEWER_SAVE _("Save image") #define DESC_VIEWER_OCR _("Optical Character Recognition") +#define DESC_VIEWER_UNDO _("Undo last change") #define DESC_VIEWER_CLONE _("Clone image") #define DESC_VIEWER_SCALE _("Scale image") #define DESC_VIEWER_DESPECKLE _("Despeckle image") #define DESC_VIEWER_BLUR _("Blur image") -#define DESC_VIEWER_ROTATE90 _("Rotate image 90 degree") -#define DESC_VIEWER_ROTATE180 _("Rotate image 180 degree") -#define DESC_VIEWER_ROTATE270 _("Rotate image 270 degree") -#define DESC_VIEWER_MIRROR_X _("Mirror image at vertical axis") -#define DESC_VIEWER_MIRROR_Y _("Mirror image at horizontal axis") +#define DESC_ROTATE90 _("Rotate image 90 degree") +#define DESC_ROTATE180 _("Rotate image 180 degree") +#define DESC_ROTATE270 _("Rotate image 270 degree") +#define DESC_MIRROR_X _("Mirror image at vertical axis") +#define DESC_MIRROR_Y _("Mirror image at horizontal axis") #define DESC_VIEWER_ZOOM _("Zoom image") #define DESC_STORE_MEDIUM _("Store medium") #define DESC_DELETE_MEDIUM _("Delete active medium") +#define DESC_SCALE_FACTOR _("Scale factor") +#define DESC_X_SCALE_FACTOR _("X-Scale factor") +#define DESC_Y_SCALE_FACTOR _("Y-Scale factor") +#define DESC_SCALE_WIDTH _("Scale image to width [in pixel]") +#define DESC_SCALE_HEIGHT _("Scale image to height [in pixel]") +#define DESC_BATCH_LIST_EMPTY _("Empty batch list") +#define DESC_BATCH_LIST_SAVE _("Save batch list") +#define DESC_BATCH_LIST_LOAD _("Load batch list") +#define DESC_BATCH_RENAME _("Rename area") +#define DESC_BATCH_ADD _("Add selected preview area to batch list") +#define DESC_BATCH_DEL _("Delete selected area from batch list") +#define DESC_AUTOMATIC _("Turns on automatic mode") #define ERR_HOME_DIR _("Failed to determine home directory:") #define ERR_CHANGE_WORKING_DIR _("Failed to change working directory to") @@ -565,8 +661,11 @@ #define ERR_TOO_MUCH_DATA _("Backend sends more image data than it defined in parameters") #define ERR_LIBTIFF _("LIBTIFF reports error") #define ERR_LIBPNG _("LIBPNG reports error") +#define ERR_LIBJPEG _("LIBJPEG reports error") #define ERR_UNKNOWN_TYPE _("unknown type") #define ERR_UNKNOWN_CONSTRAINT_TYPE _("unknown constraint type") +#define ERR_OPTION_NAME_NULL _("Option has empty name (NULL).") +#define ERR_BACKEND_BUG _("This is a backend bug. Please inform the author of the backend!") #define ERR_FAILED_EXEC_DOC_VIEWER _("Failed to execute documentation viewer:") #define ERR_FAILED_EXEC_FAX_VIEWER _("Failed to execute fax viewer:") #define ERR_FAILED_EXEC_FAX_CMD _("Failed to execute fax command:") @@ -602,6 +701,7 @@ YOU ARE ALONE!\ #define ERR_HEADER_ERROR _("Error") #define ERR_HEADER_WARNING _("Warning") #define ERR_HEADER_INFO _("Information") +#define ERR_HEADER_CHILD_PROCESS_ERROR _("Child process error") #define ERR_FAILED_CREATE_FILE _("Failed to create file:") #define ERR_LOAD_DEVICE_SETTINGS _("Error while loading device settings:") @@ -640,8 +740,6 @@ The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n\ -f, --fax start with fax-mode active\n\ -m, --mail start with mail-mode active\n\ -n, --no-mode-selection disable menu for XSane mode selection\n\ -\n\ - -M, --Medium-calibration enable medium calibration mode\n\ \n\ -F, --Fixed fixed main window size (overwrite preferences value)\n\ -R, --Resizeable resizable, scrolled main window (overwrite preferences value)\n\ @@ -665,6 +763,14 @@ The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n\ #define XSANE_GIMP_MENU_DIALOG_OLD _("/Xtns/XSane/Device dialog...") #define XSANE_GIMP_MENU_OLD _("/Xtns/XSane/") +#define HELP_NO_DEVICES _("Possible reasons:\n" \ + "1) There really is no device that is supported by SANE\n" \ + "2) Supported devices are busy\n" \ + "3) The permissions for the device file do not allow you to use it - try as root\n" \ + "4) The backend is not loaded by SANE (man sane-dll)\n" \ + "5) The backend is not configured correct (man sane-\"backendname\")\n" \ + "6) Possibly there is more than one SANE version installed" ) + /* strings that are used in structures, so it is not allowed to use _()/gettext() here */ /* gettext_noop does mark these texts but does not change the string */ @@ -686,7 +792,7 @@ The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n\ #define MENU_ITEM_SURFACE_letter_P N_("letter port.") #define MENU_ITEM_SURFACE_letter_L N_("letter land.") -#define MENU_ITEM_MEDIUM_FULL_RANGE N_("Full range") +#define MENU_ITEM_MEDIUM_FULL_COLOR_RANGE N_("Full color range") #define MENU_ITEM_MEDIUM_SLIDE N_("Slide") #define MENU_ITEM_MEDIUM_STANDARD_NEG N_("Standard negative") #define MENU_ITEM_MEDIUM_AGFA_NEG N_("Agfa negative") @@ -698,4 +804,22 @@ The format of [DEVICE] is backendname:devicefile (e.g. umax:/dev/scanner).\n\ #define MENU_ITEM_MEDIUM_KONICA_NEG_VX_100 N_("Konica negative VX 100") #define MENU_ITEM_MEDIUM_ROSSMANN_NEG_HR_100 N_("Rossmann negative HR 100") +#define TEXT_MAIL_STATUS_NOT_CREATED N_("Mail project not created") +#define TEXT_MAIL_STATUS_CREATED N_("Mail project created") +#define TEXT_MAIL_STATUS_CHANGED N_("Mail project changed") +#define TEXT_MAIL_STATUS_ERR_READ_PROJECT N_("Error reading mailproject") +#define TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED N_("POP3 connection failed") +#define TEXT_MAIL_STATUS_POP3_LOGIN_FAILED N_("POP3 login failed") +#define TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED N_("SMTP connection failed") +#define TEXT_MAIL_STATUS_SMTP_ERR_FROM N_("From entry not accepted") +#define TEXT_MAIL_STATUS_SMTP_ERR_RCPT N_("Receiver entry not accepted") +#define TEXT_MAIL_STATUS_SMTP_ERR_DATA N_("Mail data not accepted") +#define TEXT_MAIL_STATUS_SENDING N_("Sending mail") +#define TEXT_MAIL_STATUS_SENT N_("Mail has been sent") + +#define TEXT_FAX_STATUS_NOT_CREATED N_("Fax project not created") +#define TEXT_FAX_STATUS_CREATED N_("Fax project created") +#define TEXT_FAX_STATUS_CHANGED N_("Fax project changed") +#define TEXT_FAX_STATUS_QUEUEING_FAX N_("Queueing Fax") +#define TEXT_FAX_STATUS_FAX_QUEUED N_("Fax is queued") #endif diff --git a/src/xsane-viewer.c b/src/xsane-viewer.c index e9a8dd9..9fcae69 100644 --- a/src/xsane-viewer.c +++ b/src/xsane-viewer.c @@ -3,7 +3,7 @@ xsane-viewer.c Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -23,7 +23,6 @@ /* ---------------------------------------------------------------------------------------------------------------------- */ #include "xsane.h" -/* #include */ #include "xsane-back-gtk.h" #include "xsane-front-gtk.h" #include "xsane-preferences.h" @@ -41,11 +40,11 @@ /* ---------------------------------------------------------------------------------------------------------------------- */ -static int xsane_viewer_zoom[] = {35, 50, 71, 100, 141, 200, 282, 400 }; -#define XSANE_VIEWER_ZOOM_ITEMS 8 +static int xsane_viewer_zoom[] = {9, 13, 18, 25, 35, 50, 71, 100, 141, 200, 282, 400 }; /* ---------------------------------------------------------------------------------------------------------------------- */ +static void xsane_viewer_set_sensitivity(Viewer *v, int sensitivity); static gint xsane_viewer_close_callback(GtkWidget *window, gpointer data); static void xsane_viewer_dialog_cancel(GtkWidget *window, gpointer data); static void xsane_viewer_save_callback(GtkWidget *window, gpointer data); @@ -62,10 +61,87 @@ static void xsane_viewer_rotate180_callback(GtkWidget *window, gpointer data); static void xsane_viewer_rotate270_callback(GtkWidget *window, gpointer data); static void xsane_viewer_mirror_x_callback(GtkWidget *window, gpointer data); static void xsane_viewer_mirror_y_callback(GtkWidget *window, gpointer data); -static GtkWidget *xsane_viewer_files_build_menu(Viewer *v); +static GtkWidget *xsane_viewer_file_build_menu(Viewer *v); +static GtkWidget *xsane_viewer_edit_build_menu(Viewer *v); static GtkWidget *xsane_viewer_filters_build_menu(Viewer *v); static int xsane_viewer_read_image(Viewer *v); -Viewer *xsane_viewer_new(char *filename, int reduce_to_lineart, char *output_filename); +Viewer *xsane_viewer_new(char *filename, int allow_reduction_to_lineart, char *output_filename, viewer_modification allow_modification); + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_viewer_set_sensitivity(Viewer *v, int sensitivity) +{ + if (sensitivity) + { + v->block_actions = FALSE; + gtk_widget_set_sensitive(GTK_WIDGET(v->file_menu), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + + switch (v->allow_modification) + { + case VIEWER_NO_MODIFICATION: + gtk_widget_set_sensitive(GTK_WIDGET(v->save_menu_item), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->ocr_menu_item), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->clone_menu_item), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->edit_menu), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->filters_menu), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_menu), FALSE); + + gtk_widget_set_sensitive(GTK_WIDGET(v->save), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->ocr), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->clone), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->edit_button_box), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->filters_button_box), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_button_box), FALSE); + break; + + case VIEWER_NO_NAME_AND_SIZE_MODIFICATION: + gtk_widget_set_sensitive(GTK_WIDGET(v->save_menu_item), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->ocr_menu_item), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->clone_menu_item), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->edit_menu), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->filters_menu), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_menu), FALSE); + + gtk_widget_set_sensitive(GTK_WIDGET(v->save), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->ocr), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->clone), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->edit_button_box), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->filters_button_box), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_button_box), FALSE); + break; + + case VIEWER_NO_NAME_MODIFICATION: + gtk_widget_set_sensitive(GTK_WIDGET(v->ocr_menu_item), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->clone_menu_item), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->ocr), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->clone), FALSE); + /* fall through */ + + case VIEWER_FULL_MODIFICATION: + default: + gtk_widget_set_sensitive(GTK_WIDGET(v->save_menu_item), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->edit_menu), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->filters_menu), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_menu), TRUE); + + gtk_widget_set_sensitive(GTK_WIDGET(v->save), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->edit_button_box), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->filters_button_box), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_button_box), TRUE); + break; + } + } + else + { + v->block_actions = TRUE; + gtk_widget_set_sensitive(GTK_WIDGET(v->file_menu), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->edit_menu), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->filters_menu), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->geometry_menu), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), FALSE); + } +} /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -73,22 +149,41 @@ static gint xsane_viewer_close_callback(GtkWidget *widget, gpointer data) { Viewer *v, *list, **prev_list; + DBG(DBG_proc, "xsane_viewer_close_callback\n"); + v = (Viewer*) gtk_object_get_data(GTK_OBJECT(widget), "Viewer"); - DBG(DBG_proc, "xsane_viewer_close_callback\n"); + if (v->block_actions) /* actions blocked: return */ + { + gdk_beep(); + DBG(DBG_info, "xsane_viewer_close_callback: actions are blocked\n"); + return TRUE; + } if (!v->image_saved) { char buf[256]; snprintf(buf, sizeof(buf), WARN_VIEWER_IMAGE_NOT_SAVED); + xsane_viewer_set_sensitivity(v, FALSE); if (xsane_back_gtk_decision(ERR_HEADER_WARNING, (gchar **) warning_xpm, buf, BUTTON_DO_NOT_CLOSE, BUTTON_DISCARD_IMAGE, TRUE /* wait */)) { + xsane_viewer_set_sensitivity(v, TRUE); return TRUE; } } - remove(v->filename); + /* when no modification is allowed then we work with the original file */ + /* so we should not erase it */ + if (v->allow_modification != VIEWER_NO_MODIFICATION) + { + remove(v->filename); + } + + if (v->undo_filename) + { + remove(v->undo_filename); + } gtk_widget_destroy(v->top); @@ -109,6 +204,31 @@ static gint xsane_viewer_close_callback(GtkWidget *widget, gpointer data) list = list->next_viewer; } + if (v->active_dialog) + { + gtk_widget_destroy(v->active_dialog); + } + + if (v->filename) + { + free(v->filename); + } + + if (v->undo_filename) + { + free(v->undo_filename); + } + + if (v->output_filename) + { + free(v->output_filename); + } + + if (v->last_saved_filename) + { + free(v->last_saved_filename); + } + free(v); return TRUE; @@ -120,7 +240,8 @@ static void xsane_viewer_dialog_cancel(GtkWidget *window, gpointer data) { Viewer *v = (Viewer *) data; - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + xsane_viewer_set_sensitivity(v, TRUE); + v->active_dialog = NULL; } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -132,10 +253,20 @@ static void xsane_viewer_save_callback(GtkWidget *window, gpointer data) char *inputfilename; char windowname[256]; int output_format; + char *filetype = NULL; + int abort = 0; + char buf[256]; + + if (v->block_actions) /* actions blocked: return */ + { + gdk_beep(); + DBG(DBG_info, "xsane_viewer_save_callback: actions are blocked\n"); + return; + } DBG(DBG_proc, "xsane_viewer_save_callback\n"); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), FALSE); + xsane_viewer_set_sensitivity(v, FALSE); if (v->output_filename) { @@ -143,37 +274,46 @@ static void xsane_viewer_save_callback(GtkWidget *window, gpointer data) } else { - int abort = 0; + strncpy(outputfilename, preferences.filename, sizeof(outputfilename)); + } - strcpy(outputfilename, preferences.filename); - + if (v->allow_modification == VIEWER_FULL_MODIFICATION) /* it is allowed to rename the image */ + { snprintf(windowname, sizeof(windowname), "%s %s %s", xsane.prog_name, WINDOW_VIEWER_OUTPUT_FILENAME, xsane.device_text); umask((mode_t) preferences.directory_umask); /* define new file permissions */ - abort = xsane_back_gtk_get_filename(windowname, outputfilename, sizeof(outputfilename), outputfilename, TRUE, TRUE, FALSE); + abort = xsane_back_gtk_get_filename(windowname, outputfilename, sizeof(outputfilename), outputfilename, &filetype, TRUE, TRUE, FALSE, TRUE); umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ if (abort) { - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + xsane_viewer_set_sensitivity(v, TRUE); return; } } + if (v->output_filename) + { + free(v->output_filename); + } + + v->output_filename = strdup(outputfilename); + xsane_update_counter_in_filename(&v->output_filename, FALSE, 0, preferences.filename_counter_len); /* set correct counter length */ + if (preferences.overwrite_warning) /* test if filename already used */ { FILE *testfile; - testfile = fopen(outputfilename, "rb"); /* read binary (b for win32) */ + testfile = fopen(v->output_filename, "rb"); /* read binary (b for win32) */ if (testfile) /* filename used: skip */ { char buf[256]; fclose(testfile); - snprintf(buf, sizeof(buf), WARN_FILE_EXISTS, outputfilename); + snprintf(buf, sizeof(buf), WARN_FILE_EXISTS, v->output_filename); if (xsane_back_gtk_decision(ERR_HEADER_WARNING, (gchar **) warning_xpm, buf, BUTTON_OVERWRITE, BUTTON_CANCEL, TRUE /* wait */) == FALSE) { - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + xsane_viewer_set_sensitivity(v, TRUE); return; } } @@ -181,56 +321,41 @@ static void xsane_viewer_save_callback(GtkWidget *window, gpointer data) inputfilename = strdup(v->filename); - output_format = xsane_identify_output_format(outputfilename, 0); + output_format = xsane_identify_output_format(v->output_filename, filetype, 0); - if (v->reduce_to_lineart) /* reduce grayscale image to lineart before saving */ + if ((!v->allow_reduction_to_lineart) && (output_format == XSANE_PNM)) /* save PNM but do not reduce to lineart (if lineart) */ { - char dummyfilename[1024]; - - if (output_format != XSANE_PNM) + if (xsane_create_secure_file(v->output_filename)) /* remove possibly existing symbolic links for security */ { - xsane_back_gtk_make_path(sizeof(dummyfilename), dummyfilename, 0, 0, "xsane-viewer-", xsane.dev_name, ".ppm", XSANE_PATH_TMP); - } - else /* pbm: no further conversion, we save to destination filename */ - { - snprintf(dummyfilename, sizeof(dummyfilename), "%s", outputfilename); - if (xsane_create_secure_file(dummyfilename)) /* remove possibly existing symbolic links for security */ - { - char buf[256]; + char buf[256]; - snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, dummyfilename); - xsane_back_gtk_error(buf, TRUE); - return; /* error */ - } + snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, v->output_filename); + xsane_back_gtk_error(buf, TRUE); + xsane_viewer_set_sensitivity(v, TRUE); + return; /* error */ } - gtk_progress_set_format_string(GTK_PROGRESS(v->progress_bar), PROGRESS_PACKING_DATA); - gtk_progress_bar_update(GTK_PROGRESS_BAR(v->progress_bar), 0.0); + snprintf(buf, sizeof(buf), "%s: %s", PROGRESS_SAVING_DATA, v->output_filename); + gtk_progress_set_format_string(GTK_PROGRESS(v->progress_bar), buf); - /* the outputfile always is a temporary file, so we do not have to care about symlinks here */ - xsane_save_image_as_lineart(v->filename, dummyfilename, v->progress_bar, &v->cancel_save); - - free(inputfilename); - inputfilename = strdup(dummyfilename); + xsane_copy_file_by_name(v->output_filename, v->filename, v->progress_bar, &v->cancel_save); } - - - if ((!v->reduce_to_lineart) || (output_format != XSANE_PNM)) /* pbm already is saved above, otherwise save now */ + else { - gtk_progress_set_format_string(GTK_PROGRESS(v->progress_bar), PROGRESS_SAVING_DATA); - gtk_progress_bar_update(GTK_PROGRESS_BAR(v->progress_bar), 0.0); - - xsane_save_image_as(inputfilename, outputfilename, output_format, v->progress_bar, &v->cancel_save); - - gtk_progress_set_format_string(GTK_PROGRESS(v->progress_bar), ""); - gtk_progress_bar_update(GTK_PROGRESS_BAR(v->progress_bar), 0.0); + xsane_save_image_as(v->output_filename, inputfilename, output_format, v->progress_bar, &v->cancel_save); } free(inputfilename); v->image_saved = TRUE; - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + v->last_saved_filename = strdup(v->output_filename); + snprintf(buf, sizeof(buf), "%s %s - %s", WINDOW_VIEWER, v->last_saved_filename, xsane.device_text); + gtk_window_set_title(GTK_WINDOW(v->top), buf); + + xsane_update_counter_in_filename(&v->output_filename, preferences.skip_existing_numbers, 1, preferences.filename_counter_len); + + xsane_viewer_set_sensitivity(v, TRUE); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -241,15 +366,18 @@ static void xsane_viewer_ocr_callback(GtkWidget *window, gpointer data) char outputfilename[1024]; char *extensionptr; char windowname[256]; - char *arg[1000]; - int argnr; - pid_t pid; int abort = 0; - int i; + + if (v->block_actions) /* actions blocked: return */ + { + gdk_beep(); + DBG(DBG_info, "xsane_viewer_ocr_callback: actions are blocked\n"); + return; + } DBG(DBG_proc, "xsane_viewer_ocr_callback\n"); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), FALSE); + xsane_viewer_set_sensitivity(v, FALSE); strncpy(outputfilename, preferences.filename, sizeof(outputfilename)-5); @@ -263,133 +391,153 @@ static void xsane_viewer_ocr_callback(GtkWidget *window, gpointer data) snprintf(windowname, sizeof(windowname), "%s %s %s", xsane.prog_name, WINDOW_OCR_OUTPUT_FILENAME, xsane.device_text); umask((mode_t) preferences.directory_umask); /* define new file permissions */ - abort = xsane_back_gtk_get_filename(windowname, outputfilename, sizeof(outputfilename), outputfilename, TRUE, TRUE, FALSE); + abort = xsane_back_gtk_get_filename(windowname, outputfilename, sizeof(outputfilename), outputfilename, NULL, TRUE, TRUE, FALSE, FALSE); umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ if (abort) { - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + xsane_viewer_set_sensitivity(v, TRUE); return; } - argnr = xsane_parse_options(preferences.ocr_command, arg); + while (gtk_events_pending()) /* give gtk the chance to remove the file selection dialog */ + { + gtk_main_iteration(); + } - arg[argnr++] = strdup(preferences.ocr_inputfile_option); - arg[argnr++] = strdup(v->filename); + xsane_save_image_as_text(outputfilename, v->filename, v->progress_bar, &v->cancel_save); - arg[argnr++] = strdup(preferences.ocr_outputfile_option); - arg[argnr++] = strdup(outputfilename); + xsane_viewer_set_sensitivity(v, TRUE); +} - arg[argnr] = 0; +/* ---------------------------------------------------------------------------------------------------------------------- */ - pid = fork(); +static void xsane_viewer_clone_callback(GtkWidget *window, gpointer data) +{ + Viewer *v = (Viewer *) data; + char outfilename[256]; - if (pid == 0) /* new process */ + if (v->block_actions) /* actions blocked: return */ { - DBG(DBG_info, "trying to change user id fo new subprocess:\n"); - DBG(DBG_info, "old effective uid = %d\n", geteuid()); - setuid(getuid()); - DBG(DBG_info, "new effective uid = %d\n", geteuid()); - - execvp(arg[0], arg); /* does not return if successfully */ - DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_OCR_CMD, preferences.ocr_command); - _exit(0); /* do not use exit() here! otherwise gtk gets in trouble */ + gdk_beep(); + DBG(DBG_info, "xsane_viewer_clone_callback: actions are blocked\n"); + return; } - for (i=0; iprogress_bar), PROGRESS_CLONING_DATA); + xsane_copy_file_by_name(outfilename, v->filename, v->progress_bar, &v->cancel_save); + + xsane_viewer_set_sensitivity(v, TRUE); + + if (v->last_saved_filename) { - free(arg[i]); + char buf[256]; + snprintf(buf, sizeof(buf), "%s%s", FILENAME_PREFIX_CLONE_OF, v->last_saved_filename); + xsane_viewer_new(outfilename, v->allow_reduction_to_lineart, buf, v->allow_modification); } - - while (pid) + else { - int status = 0; - pid_t pid_status = waitpid(pid, &status, WNOHANG); - - if (pid == pid_status) - { - pid = 0; /* ok, child process has terminated */ - } - - while (gtk_events_pending()) - { - gtk_main_iteration(); - } - } - - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + xsane_viewer_new(outfilename, v->allow_reduction_to_lineart, NULL, v->allow_modification); + } } /* ---------------------------------------------------------------------------------------------------------------------- */ -static void xsane_viewer_clone_callback(GtkWidget *window, gpointer data) +static void xsane_viewer_adjustment_float_changed(GtkAdjustment *adj_data, float *val) { - Viewer *v = (Viewer *) data; - FILE *outfile; - FILE *infile; - char outfilename[256]; - Image_info image_info; + *val = (float) adj_data->value; +} - DBG(DBG_proc, "xsane_viewer_clone_callback\n"); +/* ---------------------------------------------------------------------------------------------------------------------- */ - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), FALSE); +static void xsane_viewer_adjustment_int_changed(GtkAdjustment *adj_data, int *val) +{ + *val = (int) adj_data->value; +} - infile = fopen(v->filename, "rb"); - if (!infile) - { - DBG(DBG_error, "could not load file %s\n", v->filename); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); +/* ---------------------------------------------------------------------------------------------------------------------- */ - return; - } +static void xsane_viewer_button_changed(GtkWidget *button, int *val) +{ + *val = GTK_TOGGLE_BUTTON(button)->active; +} - xsane_read_pnm_header(infile, &image_info); +/* ---------------------------------------------------------------------------------------------------------------------- */ - DBG(DBG_info, "cloning image %s with geometry: %d x %d x %d, %d colors\n", v->filename, image_info.image_width, image_info.image_height, image_info.depth, image_info.colors); +static void xsane_viewer_scale_set_scale_value_and_adjustments(GtkAdjustment *adj_data, double *scale_val) +{ + GtkAdjustment *adj; + int image_width, image_height; - xsane_back_gtk_make_path(sizeof(outfilename), outfilename, 0, 0, "xsane-viewer-", xsane.dev_name, ".ppm", XSANE_PATH_TMP); + *scale_val = adj_data->value; - outfile = fopen(outfilename, "wb"); - if (!outfile) + image_width = (int) gtk_object_get_data(GTK_OBJECT(adj_data), "image_width"); + image_height = (int) gtk_object_get_data(GTK_OBJECT(adj_data), "image_height"); + + adj = (GtkAdjustment*) gtk_object_get_data(GTK_OBJECT(adj_data), "size-x-adjustment"); + if ((adj) && (image_width)) { - DBG(DBG_error, "could not save file %s\n", outfilename); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + gtk_adjustment_set_value(adj, (*scale_val) * image_width); + } - return; + adj = (GtkAdjustment*) gtk_object_get_data(GTK_OBJECT(adj_data), "size-y-adjustment"); + if ((adj) && (image_height)) + { + gtk_adjustment_set_value(adj, (*scale_val) * image_height); } +} - gtk_progress_set_format_string(GTK_PROGRESS(v->progress_bar), PROGRESS_CLONING_DATA); - gtk_progress_bar_update(GTK_PROGRESS_BAR(v->progress_bar), 0.0); +/* ---------------------------------------------------------------------------------------------------------------------- */ - xsane_save_rotate_image(outfile, infile, &image_info, 0, v->progress_bar, &v->cancel_save); +static void xsane_viewer_scale_set_size_x_value_and_adjustments(GtkAdjustment *adj_data, double *scale_val) +{ + GtkAdjustment *adj; + int image_width, image_height; - fclose(infile); - fclose(outfile); + image_width = (int) gtk_object_get_data(GTK_OBJECT(adj_data), "image_width"); + image_height = (int) gtk_object_get_data(GTK_OBJECT(adj_data), "image_height"); - gtk_progress_set_format_string(GTK_PROGRESS(v->progress_bar), ""); - gtk_progress_bar_update(GTK_PROGRESS_BAR(v->progress_bar), 0.0); + if (!image_width) + { + return; /* we are not able to calulate the scale value */ + } - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + *scale_val = adj_data->value / image_width; - xsane_viewer_new(outfilename, v->reduce_to_lineart, NULL); + adj = (GtkAdjustment*) gtk_object_get_data(GTK_OBJECT(adj_data), "scale-adjustment"); + if (adj) + { + gtk_adjustment_set_value(adj, *scale_val); + } } /* ---------------------------------------------------------------------------------------------------------------------- */ -static void xsane_viewer_spinbutton_float_changed(GtkWidget *spinbutton, gpointer data) +static void xsane_viewer_scale_set_size_y_value_and_adjustments(GtkAdjustment *adj_data, double *scale_val) { - float *val = (float *) data; + GtkAdjustment *adj; + int image_width, image_height; - *val = gtk_spin_button_get_value_as_float((GtkSpinButton *) spinbutton); -} + image_width = (int) gtk_object_get_data(GTK_OBJECT(adj_data), "image_width"); + image_height = (int) gtk_object_get_data(GTK_OBJECT(adj_data), "image_height"); -/* ---------------------------------------------------------------------------------------------------------------------- */ + if (!image_height) + { + return; /* we are not able to calulate the scale value */ + } -static void xsane_viewer_spinbutton_int_changed(GtkWidget *spinbutton, gpointer data) -{ - int *val = (int *) data; + *scale_val = adj_data->value / image_height; - *val = gtk_spin_button_get_value_as_int((GtkSpinButton *) spinbutton); + adj = (GtkAdjustment*) gtk_object_get_data(GTK_OBJECT(adj_data), "scale-adjustment"); + if (adj) + { + gtk_adjustment_set_value(adj, *scale_val); + } } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -398,14 +546,44 @@ static void xsane_viewer_scale_callback(GtkWidget *window, gpointer data) { Viewer *v = (Viewer *) data; GtkWidget *selection_dialog; + GtkWidget *frame; GtkWidget *hbox, *vbox; - GtkWidget *label, *spinbutton, *button; - GtkAdjustment *adjustment; + GtkWidget *button; + GtkObject *scale_widget, *scalex_widget, *scaley_widget; + GtkAdjustment *adjustment_size_x; + GtkAdjustment *adjustment_size_y; + GtkWidget *spinbutton; + GdkPixmap *pixmap; + GdkBitmap *mask; + GtkWidget *pixmapwidget; char buf[256]; + FILE *infile; + Image_info image_info; + + if (v->block_actions == TRUE) /* actions blocked: return */ + { + gdk_beep(); + DBG(DBG_info, "xsane_viewer_scale_callback: actions are blocked\n"); + return; + } DBG(DBG_proc, "xsane_viewer_scale_callback\n"); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), FALSE); + xsane_viewer_set_sensitivity(v, FALSE); + v->block_actions = 2; /* do not set it to TRUE because we have to recall this dialog! */ + + infile = fopen(v->filename, "rb"); + if (!infile) + { + DBG(DBG_error, "could not load file %s\n", v->filename); + xsane_viewer_set_sensitivity(v, TRUE); + return; + } + + xsane_read_pnm_header(infile, &image_info); + + fclose(infile); + if (v->output_filename) { @@ -416,65 +594,187 @@ static void xsane_viewer_scale_callback(GtkWidget *window, gpointer data) snprintf(buf, sizeof(buf), WINDOW_SCALE); } - selection_dialog = gtk_window_new(GTK_WINDOW_DIALOG); - gtk_window_set_position(GTK_WINDOW(selection_dialog), GTK_WIN_POS_MOUSE); - gtk_window_set_title(GTK_WINDOW(selection_dialog), buf); - xsane_set_window_icon(selection_dialog, 0); + if (v->active_dialog) /* use active dialog */ + { + selection_dialog = v->active_dialog; + gtk_container_foreach(GTK_CONTAINER(selection_dialog), (GtkCallback) gtk_widget_destroy, NULL); + if (!v->bind_scale) + { + v->y_scale_factor = v->x_scale_factor; + } + } + else /* first time the dialog is opened */ + { + selection_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); + gtk_window_set_resizable(GTK_WINDOW(selection_dialog), FALSE); + gtk_window_set_position(GTK_WINDOW(selection_dialog), GTK_WIN_POS_MOUSE); + gtk_window_set_title(GTK_WINDOW(selection_dialog), buf); + xsane_set_window_icon(selection_dialog, 0); + g_signal_connect(GTK_OBJECT(selection_dialog), "destroy", (GtkSignalFunc) xsane_viewer_dialog_cancel, (void *) v); + + v->active_dialog = selection_dialog; + v->x_scale_factor = 1.0; + v->y_scale_factor = 1.0; + v->bind_scale = TRUE; + } - v->active_dialog = selection_dialog; + frame = gtk_frame_new(0); + gtk_container_set_border_width(GTK_CONTAINER(frame), 4); + gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); + gtk_container_add(GTK_CONTAINER(selection_dialog), frame); + gtk_widget_show(frame); vbox = gtk_vbox_new(FALSE, 5); - gtk_container_add(GTK_CONTAINER(selection_dialog), vbox); + gtk_container_set_border_width(GTK_CONTAINER(vbox), 4); + gtk_container_add(GTK_CONTAINER(frame), vbox); gtk_widget_show(vbox); -#if 0 /* bind scale */ - button = gtk_check_button_new_with_label(BUTTON_SCALE_BIND); gtk_box_pack_start(GTK_BOX(vbox), button, FALSE, FALSE, 5); - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), v->bind_scale); + g_signal_connect(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_viewer_button_changed, (void *) &v->bind_scale); + g_signal_connect_after(GTK_OBJECT(button), "toggled", (GtkSignalFunc) xsane_viewer_scale_callback, (void *) v); gtk_widget_show(button); -#endif - - /* x_scale factor: <-> */ - - v->x_scale_factor = 1.0; - hbox = gtk_hbox_new(FALSE, 2); - gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); - gtk_widget_show(hbox); - - label = gtk_label_new(TEXT_X_SCALE_FACTOR); - gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 10); - gtk_widget_show(label); - - adjustment = (GtkAdjustment *) gtk_adjustment_new(1.0, 0.01, 2.0, 0.01, 0.1, 0.0); - spinbutton = gtk_spin_button_new(adjustment, 0, 2); - gtk_signal_connect(GTK_OBJECT(spinbutton), "changed", (GtkSignalFunc) xsane_viewer_spinbutton_float_changed, (void *) &v->x_scale_factor); - gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spinbutton), TRUE); - gtk_spin_button_set_shadow_type(GTK_SPIN_BUTTON(spinbutton), GTK_SHADOW_OUT); - gtk_box_pack_end(GTK_BOX(hbox), spinbutton, FALSE, FALSE, 10); - gtk_widget_show(spinbutton); - - /* y_scale factor: <-> */ - - v->y_scale_factor = 1.0; - - hbox = gtk_hbox_new(FALSE, 2); - gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); - gtk_widget_show(hbox); - - label = gtk_label_new(TEXT_Y_SCALE_FACTOR); - gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 10); - gtk_widget_show(label); - - adjustment = (GtkAdjustment *) gtk_adjustment_new(1.0, 0.01, 2.0, 0.01, 0.1, 0.0); - spinbutton = gtk_spin_button_new(adjustment, 0, 2); - gtk_signal_connect(GTK_OBJECT(spinbutton), "changed", (GtkSignalFunc) xsane_viewer_spinbutton_float_changed, (void *) &v->y_scale_factor); - gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spinbutton), TRUE); - gtk_spin_button_set_shadow_type(GTK_SPIN_BUTTON(spinbutton), GTK_SHADOW_OUT); - gtk_box_pack_end(GTK_BOX(hbox), spinbutton, FALSE, FALSE, 10); - gtk_widget_show(spinbutton); + if (v->bind_scale) + { + hbox = gtk_hbox_new(FALSE, 0); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 4); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + gtk_widget_show(hbox); + + /* scale factor: <-> */ + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(hbox), zoom_xpm, + DESC_SCALE_FACTOR, + 0.01, 4.0, 0.01, 0.1, 2, &v->x_scale_factor, &scale_widget, + 0, xsane_viewer_scale_set_scale_value_and_adjustments, + TRUE); + + /* x-size */ + pixmap = gdk_pixmap_create_from_xpm_d(selection_dialog->window, &mask, xsane.bg_trans, (gchar **) size_x_xpm); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); + gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 20); + gtk_widget_show(pixmapwidget); + gdk_drawable_unref(pixmap); + + adjustment_size_x = (GtkAdjustment *) gtk_adjustment_new(v->x_scale_factor * image_info.image_width , 0.01 * image_info.image_width, 4.0 * image_info.image_width, 1.0, 5.0, 0.0); + spinbutton = gtk_spin_button_new(adjustment_size_x, 0, 0); + g_signal_connect(GTK_OBJECT(adjustment_size_x), "value_changed", (GtkSignalFunc) xsane_viewer_scale_set_size_x_value_and_adjustments, (void *) &v->x_scale_factor); + gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spinbutton), FALSE); + gtk_widget_set_size_request(spinbutton, 80, -1); + gtk_box_pack_start(GTK_BOX(hbox), spinbutton, FALSE, FALSE, 0); + gtk_widget_show(spinbutton); + xsane_back_gtk_set_tooltip(xsane.tooltips, spinbutton, DESC_SCALE_WIDTH); + + /* y-size */ + pixmap = gdk_pixmap_create_from_xpm_d(selection_dialog->window, &mask, xsane.bg_trans, (gchar **) size_y_xpm); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); + gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 20); + gtk_widget_show(pixmapwidget); + gdk_drawable_unref(pixmap); + + adjustment_size_y = (GtkAdjustment *) gtk_adjustment_new(v->x_scale_factor * image_info.image_height , 0.01 * image_info.image_height, 4.0 * image_info.image_height, 1.0, 5.0, 0.0); + spinbutton = gtk_spin_button_new(adjustment_size_y, 0, 0); + g_signal_connect(GTK_OBJECT(adjustment_size_y), "value_changed", (GtkSignalFunc) xsane_viewer_scale_set_size_y_value_and_adjustments, (void *) &v->x_scale_factor); + gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spinbutton), FALSE); + gtk_widget_set_size_request(spinbutton, 80, -1); + gtk_box_pack_start(GTK_BOX(hbox), spinbutton, FALSE, FALSE, 0); + gtk_widget_show(spinbutton); + xsane_back_gtk_set_tooltip(xsane.tooltips, spinbutton, DESC_SCALE_HEIGHT); + + gtk_object_set_data(GTK_OBJECT(scale_widget), "size-x-adjustment", (void *) adjustment_size_x); + gtk_object_set_data(GTK_OBJECT(scale_widget), "size-y-adjustment", (void *) adjustment_size_y); + gtk_object_set_data(GTK_OBJECT(scale_widget), "image_width", (void *) image_info.image_width); + gtk_object_set_data(GTK_OBJECT(scale_widget), "image_height", (void *) image_info.image_height); + + gtk_object_set_data(GTK_OBJECT(adjustment_size_x), "scale-adjustment", (void *) scale_widget); + gtk_object_set_data(GTK_OBJECT(adjustment_size_x), "size-y-adjustment", (void *) adjustment_size_y); + gtk_object_set_data(GTK_OBJECT(adjustment_size_x), "image_width", (void *) image_info.image_width); + gtk_object_set_data(GTK_OBJECT(adjustment_size_x), "image_height", (void *) image_info.image_height); + + gtk_object_set_data(GTK_OBJECT(adjustment_size_y), "scale-adjustment", (void *) scale_widget); + gtk_object_set_data(GTK_OBJECT(adjustment_size_y), "size-x-adjustment", (void *) adjustment_size_x); + gtk_object_set_data(GTK_OBJECT(adjustment_size_y), "image_width", (void *) image_info.image_width); + gtk_object_set_data(GTK_OBJECT(adjustment_size_y), "image_height", (void *) image_info.image_height); + } + else + { + /* X */ + hbox = gtk_hbox_new(FALSE, 0); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 4); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + gtk_widget_show(hbox); + + /* x_scale factor: <-> */ + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(hbox), zoom_x_xpm, + DESC_X_SCALE_FACTOR, + 0.01, 4.0, 0.01, 0.1, 2, &v->x_scale_factor, &scalex_widget, + 0, xsane_viewer_scale_set_scale_value_and_adjustments, + TRUE); + + /* x-size */ + pixmap = gdk_pixmap_create_from_xpm_d(selection_dialog->window, &mask, xsane.bg_trans, (gchar **) size_x_xpm); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); + gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 20); + gtk_widget_show(pixmapwidget); + gdk_drawable_unref(pixmap); + + adjustment_size_x = (GtkAdjustment *) gtk_adjustment_new(v->x_scale_factor * image_info.image_width , 0.01 * image_info.image_width, 4.0 * image_info.image_width, 1.0, 5.0, 0.0); + spinbutton = gtk_spin_button_new(adjustment_size_x, 0, 0); + g_signal_connect(GTK_OBJECT(adjustment_size_x), "value_changed", (GtkSignalFunc) xsane_viewer_scale_set_size_x_value_and_adjustments, (void *) &v->x_scale_factor); + gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spinbutton), FALSE); + gtk_widget_set_size_request(spinbutton, 80, -1); + gtk_box_pack_start(GTK_BOX(hbox), spinbutton, FALSE, FALSE, 0); + gtk_widget_show(spinbutton); + xsane_back_gtk_set_tooltip(xsane.tooltips, spinbutton, DESC_SCALE_WIDTH); + + gtk_object_set_data(GTK_OBJECT(scalex_widget), "size-x-adjustment", (void *) adjustment_size_x); + gtk_object_set_data(GTK_OBJECT(scalex_widget), "image_width", (void *) image_info.image_width); + gtk_object_set_data(GTK_OBJECT(scalex_widget), "image_height", (void *) image_info.image_height); + + gtk_object_set_data(GTK_OBJECT(adjustment_size_x), "scale-adjustment", (void *) scalex_widget); + gtk_object_set_data(GTK_OBJECT(adjustment_size_x), "image_width", (void *) image_info.image_width); + gtk_object_set_data(GTK_OBJECT(adjustment_size_x), "image_height", (void *) image_info.image_height); + + + /* Y */ + hbox = gtk_hbox_new(FALSE, 0); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 4); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); + gtk_widget_show(hbox); + + /* y_scale factor: <-> */ + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(hbox), zoom_y_xpm, + DESC_Y_SCALE_FACTOR, + 0.01, 4.0, 0.01, 0.1, 2, &v->y_scale_factor, &scaley_widget, + 0, xsane_viewer_scale_set_scale_value_and_adjustments, + TRUE); + + /* y-size */ + pixmap = gdk_pixmap_create_from_xpm_d(selection_dialog->window, &mask, xsane.bg_trans, (gchar **) size_y_xpm); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); + gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 20); + gtk_widget_show(pixmapwidget); + gdk_drawable_unref(pixmap); + + adjustment_size_y = (GtkAdjustment *) gtk_adjustment_new(v->y_scale_factor * image_info.image_height , 0.01 * image_info.image_height, 4.0 * image_info.image_height, 1.0, 5.0, 0.0); + spinbutton = gtk_spin_button_new(adjustment_size_y, 0, 0); + g_signal_connect(GTK_OBJECT(adjustment_size_y), "value_changed", (GtkSignalFunc) xsane_viewer_scale_set_size_y_value_and_adjustments, (void *) &v->y_scale_factor); + gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spinbutton), FALSE); + gtk_widget_set_size_request(spinbutton, 80, -1); + gtk_box_pack_start(GTK_BOX(hbox), spinbutton, FALSE, FALSE, 0); + gtk_widget_show(spinbutton); + xsane_back_gtk_set_tooltip(xsane.tooltips, spinbutton, DESC_SCALE_HEIGHT); + + gtk_object_set_data(GTK_OBJECT(scaley_widget), "size-y-adjustment", (void *) adjustment_size_y); + gtk_object_set_data(GTK_OBJECT(scaley_widget), "image_width", (void *) image_info.image_width); + gtk_object_set_data(GTK_OBJECT(scaley_widget), "image_height", (void *) image_info.image_height); + + gtk_object_set_data(GTK_OBJECT(adjustment_size_y), "scale-adjustment", (void *) scaley_widget); + gtk_object_set_data(GTK_OBJECT(adjustment_size_y), "image_width", (void *) image_info.image_width); + gtk_object_set_data(GTK_OBJECT(adjustment_size_y), "image_height", (void *) image_info.image_height); + } /* Apply Cancel */ @@ -485,15 +785,16 @@ static void xsane_viewer_scale_callback(GtkWidget *window, gpointer data) button = gtk_button_new_with_label(BUTTON_APPLY); GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_viewer_scale_image, (void *) v); - gtk_signal_connect_object(GTK_OBJECT(button), "clicked", (GtkSignalFunc) gtk_widget_destroy, (GtkObject *) selection_dialog); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_viewer_scale_image, (void *) v); + g_signal_connect_swapped(GTK_OBJECT(button), "clicked", (GtkSignalFunc) gtk_widget_destroy, (GtkObject *) selection_dialog); + gtk_container_add(GTK_CONTAINER(hbox), button); gtk_widget_grab_default(button); gtk_widget_show(button); button = gtk_button_new_with_label(BUTTON_CANCEL); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_viewer_dialog_cancel, (void *) v); - gtk_signal_connect_object(GTK_OBJECT(button), "clicked", (GtkSignalFunc) gtk_widget_destroy, (GtkObject *) selection_dialog); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_viewer_dialog_cancel, (void *) v); + g_signal_connect_swapped(GTK_OBJECT(button), "clicked", (GtkSignalFunc) gtk_widget_destroy, (GtkObject *) selection_dialog); gtk_container_add(GTK_CONTAINER(hbox), button); gtk_widget_show(button); @@ -506,14 +807,22 @@ static void xsane_viewer_despeckle_callback(GtkWidget *window, gpointer data) { Viewer *v = (Viewer *) data; GtkWidget *selection_dialog; + GtkWidget *frame; GtkWidget *hbox, *vbox; GtkWidget *label, *spinbutton, *button; GtkAdjustment *adjustment; char buf[256]; + if (v->block_actions) /* actions blocked: return */ + { + gdk_beep(); + DBG(DBG_info, "xsane_viewer_despeckle_callback: actions are blocked\n"); + return; + } + DBG(DBG_proc, "xsane_viewer_despeckle_callback\n"); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), FALSE); + xsane_viewer_set_sensitivity(v, FALSE); if (v->output_filename) { @@ -524,20 +833,28 @@ static void xsane_viewer_despeckle_callback(GtkWidget *window, gpointer data) snprintf(buf, sizeof(buf), WINDOW_DESPECKLE); } - selection_dialog = gtk_window_new(GTK_WINDOW_DIALOG); + selection_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_position(GTK_WINDOW(selection_dialog), GTK_WIN_POS_MOUSE); gtk_window_set_title(GTK_WINDOW(selection_dialog), buf); xsane_set_window_icon(selection_dialog, 0); + g_signal_connect(GTK_OBJECT(selection_dialog), "destroy", (GtkSignalFunc) xsane_viewer_dialog_cancel, (void *) v); v->active_dialog = selection_dialog; + frame = gtk_frame_new(0); + gtk_container_set_border_width(GTK_CONTAINER(frame), 4); + gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); + gtk_container_add(GTK_CONTAINER(selection_dialog), frame); + gtk_widget_show(frame); + vbox = gtk_vbox_new(FALSE, 5); - gtk_container_add(GTK_CONTAINER(selection_dialog), vbox); + gtk_container_set_border_width(GTK_CONTAINER(vbox), 4); + gtk_container_add(GTK_CONTAINER(frame), vbox); gtk_widget_show(vbox); /* Despeckle radius: <-> */ - v->filter_radius = 2; + v->despeckle_radius = 2; hbox = gtk_hbox_new(FALSE, 2); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); @@ -549,9 +866,8 @@ static void xsane_viewer_despeckle_callback(GtkWidget *window, gpointer data) adjustment = (GtkAdjustment *) gtk_adjustment_new(2.0, 2.0, 10.0, 1.0, 5.0, 0.0); spinbutton = gtk_spin_button_new(adjustment, 0, 0); - gtk_signal_connect(GTK_OBJECT(spinbutton), "changed", (GtkSignalFunc) xsane_viewer_spinbutton_int_changed, (void *) &v->filter_radius); + g_signal_connect(GTK_OBJECT(adjustment), "value_changed", (GtkSignalFunc) xsane_viewer_adjustment_int_changed, (void *) &v->despeckle_radius); gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spinbutton), TRUE); - gtk_spin_button_set_shadow_type(GTK_SPIN_BUTTON(spinbutton), GTK_SHADOW_OUT); gtk_box_pack_end(GTK_BOX(hbox), spinbutton, FALSE, FALSE, 10); gtk_widget_show(spinbutton); @@ -564,15 +880,15 @@ static void xsane_viewer_despeckle_callback(GtkWidget *window, gpointer data) button = gtk_button_new_with_label(BUTTON_APPLY); GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_viewer_despeckle_image, (void *) v); - gtk_signal_connect_object(GTK_OBJECT(button), "clicked", (GtkSignalFunc) gtk_widget_destroy, (GtkObject *) selection_dialog); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_viewer_despeckle_image, (void *) v); + g_signal_connect_swapped(GTK_OBJECT(button), "clicked", (GtkSignalFunc) gtk_widget_destroy, (GtkObject *) selection_dialog); gtk_container_add(GTK_CONTAINER(hbox), button); gtk_widget_grab_default(button); gtk_widget_show(button); button = gtk_button_new_with_label(BUTTON_CANCEL); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_viewer_dialog_cancel, (void *) v); - gtk_signal_connect_object(GTK_OBJECT(button), "clicked", (GtkSignalFunc) gtk_widget_destroy, (GtkObject *) selection_dialog); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_viewer_dialog_cancel, (void *) v); + g_signal_connect_swapped(GTK_OBJECT(button), "clicked", (GtkSignalFunc) gtk_widget_destroy, (GtkObject *) selection_dialog); gtk_container_add(GTK_CONTAINER(hbox), button); gtk_widget_show(button); @@ -585,14 +901,22 @@ static void xsane_viewer_blur_callback(GtkWidget *window, gpointer data) { Viewer *v = (Viewer *) data; GtkWidget *selection_dialog; + GtkWidget *frame; GtkWidget *hbox, *vbox; GtkWidget *label, *spinbutton, *button; GtkAdjustment *adjustment; char buf[256]; + if (v->block_actions) /* actions blocked: return */ + { + gdk_beep(); + DBG(DBG_info, "xsane_viewer_blur_callback: actions are blocked\n"); + return; + } + DBG(DBG_proc, "xsane_viewer_blur_callback\n"); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), FALSE); + xsane_viewer_set_sensitivity(v, FALSE); if (v->output_filename) { @@ -603,21 +927,29 @@ static void xsane_viewer_blur_callback(GtkWidget *window, gpointer data) snprintf(buf, sizeof(buf), WINDOW_BLUR); } - selection_dialog = gtk_window_new(GTK_WINDOW_DIALOG); + selection_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_position(GTK_WINDOW(selection_dialog), GTK_WIN_POS_MOUSE); gtk_window_set_title(GTK_WINDOW(selection_dialog), buf); xsane_set_window_icon(selection_dialog, 0); + g_signal_connect(GTK_OBJECT(selection_dialog), "destroy", (GtkSignalFunc) xsane_viewer_dialog_cancel, (void *) v); v->active_dialog = selection_dialog; + frame = gtk_frame_new(0); + gtk_container_set_border_width(GTK_CONTAINER(frame), 4); + gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); + gtk_container_add(GTK_CONTAINER(selection_dialog), frame); + gtk_widget_show(frame); + vbox = gtk_vbox_new(FALSE, 5); gtk_container_set_border_width(GTK_CONTAINER(vbox), 4); - gtk_container_add(GTK_CONTAINER(selection_dialog), vbox); + gtk_container_add(GTK_CONTAINER(frame), vbox); gtk_widget_show(vbox); + /* Blur radius: <-> */ - v->filter_radius = 2; + v->blur_radius = 1.0; hbox = gtk_hbox_new(FALSE, 2); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); @@ -627,11 +959,10 @@ static void xsane_viewer_blur_callback(GtkWidget *window, gpointer data) gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 10); gtk_widget_show(label); - adjustment = (GtkAdjustment *) gtk_adjustment_new(2.0, 2.0, 20.0, 1.0, 5.0, 0.0); - spinbutton = gtk_spin_button_new(adjustment, 0, 0); - gtk_signal_connect(GTK_OBJECT(spinbutton), "changed", (GtkSignalFunc) xsane_viewer_spinbutton_int_changed, (void *) &v->filter_radius); + adjustment = (GtkAdjustment *) gtk_adjustment_new(1.0, 1.0, 20.0, 0.1, 1.0, 0.0); + spinbutton = gtk_spin_button_new(adjustment, 0, 2); + g_signal_connect(GTK_OBJECT(adjustment), "value_changed", (GtkSignalFunc) xsane_viewer_adjustment_float_changed, (void *) &v->blur_radius); gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spinbutton), TRUE); - gtk_spin_button_set_shadow_type(GTK_SPIN_BUTTON(spinbutton), GTK_SHADOW_OUT); gtk_box_pack_end(GTK_BOX(hbox), spinbutton, FALSE, FALSE, 10); gtk_widget_show(spinbutton); @@ -644,14 +975,14 @@ static void xsane_viewer_blur_callback(GtkWidget *window, gpointer data) button = gtk_button_new_with_label(BUTTON_APPLY); GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_viewer_blur_image, (void *) v); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_viewer_blur_image, (void *) v); gtk_container_add(GTK_CONTAINER(hbox), button); gtk_widget_grab_default(button); gtk_widget_show(button); button = gtk_button_new_with_label(BUTTON_CANCEL); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_viewer_dialog_cancel, (void *) v); - gtk_signal_connect_object(GTK_OBJECT(button), "clicked", (GtkSignalFunc) gtk_widget_destroy, (GtkObject *) selection_dialog); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_viewer_dialog_cancel, (void *) v); + g_signal_connect_swapped(GTK_OBJECT(button), "clicked", (GtkSignalFunc) gtk_widget_destroy, (GtkObject *) selection_dialog); gtk_container_add(GTK_CONTAINER(hbox), button); gtk_widget_show(button); @@ -660,6 +991,42 @@ static void xsane_viewer_blur_callback(GtkWidget *window, gpointer data) /* ---------------------------------------------------------------------------------------------------------------------- */ +static void xsane_viewer_undo_callback(GtkWidget *window, gpointer data) +{ + Viewer *v = (Viewer *) data; + + DBG(DBG_proc, "xsane_viewer_undo_callback\n"); + + if (!v->undo_filename) + { + DBG(DBG_info, "no undo file\n"); + return; + } + + DBG(DBG_info, "removing file %s\n", v->filename); + remove(v->filename); + + DBG(DBG_info, "using undo file %s\n", v->undo_filename); + v->filename = v->undo_filename; + + v->undo_filename = NULL; + v->image_saved = FALSE; + + xsane_viewer_read_image(v); + + if (v->last_saved_filename) + { + char buf[256]; + snprintf(buf, sizeof(buf), "%s (%s) - %s", WINDOW_VIEWER, v->last_saved_filename, xsane.device_text); + gtk_window_set_title(GTK_WINDOW(v->top), buf); + } + + gtk_widget_set_sensitive(GTK_WIDGET(v->undo), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->undo_menu_item), FALSE); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static void xsane_viewer_scale_image(GtkWidget *window, gpointer data) { FILE *outfile; @@ -672,14 +1039,13 @@ static void xsane_viewer_scale_image(GtkWidget *window, gpointer data) gtk_widget_destroy(v->active_dialog); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), FALSE); + xsane_viewer_set_sensitivity(v, FALSE); infile = fopen(v->filename, "rb"); if (!infile) { DBG(DBG_error, "could not load file %s\n", v->filename); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); - + xsane_viewer_set_sensitivity(v, TRUE); return; } @@ -693,8 +1059,7 @@ static void xsane_viewer_scale_image(GtkWidget *window, gpointer data) if (!outfile) { DBG(DBG_error, "could not save file %s\n", outfilename); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); - + xsane_viewer_set_sensitivity(v, TRUE); return; } @@ -702,6 +1067,11 @@ static void xsane_viewer_scale_image(GtkWidget *window, gpointer data) gtk_progress_bar_update(GTK_PROGRESS_BAR(v->progress_bar), 0.0); + if (v->bind_scale) + { + v->y_scale_factor = v->x_scale_factor; + } + xsane_save_scaled_image(outfile, infile, &image_info, v->x_scale_factor, v->y_scale_factor, v->progress_bar, &v->cancel_save); fclose(infile); @@ -710,16 +1080,31 @@ static void xsane_viewer_scale_image(GtkWidget *window, gpointer data) gtk_progress_set_format_string(GTK_PROGRESS(v->progress_bar), ""); gtk_progress_bar_update(GTK_PROGRESS_BAR(v->progress_bar), 0.0); - DBG(DBG_info, "removing file %s\n", v->filename); - remove(v->filename); - free(v->filename); + if (v->undo_filename) + { + DBG(DBG_info, "removing file %s\n", v->undo_filename); + remove(v->undo_filename); + free(v->undo_filename); + } + + v->undo_filename = v->filename; + DBG(DBG_info, "undo file is %s\n", v->undo_filename); + gtk_widget_set_sensitive(GTK_WIDGET(v->undo), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->undo_menu_item), TRUE); v->filename = strdup(outfilename); v->image_saved = FALSE; xsane_viewer_read_image(v); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + if (v->last_saved_filename) + { + char buf[256]; + snprintf(buf, sizeof(buf), "%s (%s) - %s", WINDOW_VIEWER, v->last_saved_filename, xsane.device_text); + gtk_window_set_title(GTK_WINDOW(v->top), buf); + } + + xsane_viewer_set_sensitivity(v, TRUE); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -736,14 +1121,13 @@ static void xsane_viewer_despeckle_image(GtkWidget *window, gpointer data) gtk_widget_destroy(v->active_dialog); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), FALSE); + xsane_viewer_set_sensitivity(v, FALSE); infile = fopen(v->filename, "rb"); if (!infile) { DBG(DBG_error, "could not load file %s\n", v->filename); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); - + xsane_viewer_set_sensitivity(v, TRUE); return; } @@ -757,8 +1141,7 @@ static void xsane_viewer_despeckle_image(GtkWidget *window, gpointer data) if (!outfile) { DBG(DBG_error, "could not save file %s\n", outfilename); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); - + xsane_viewer_set_sensitivity(v, TRUE); return; } @@ -766,7 +1149,7 @@ static void xsane_viewer_despeckle_image(GtkWidget *window, gpointer data) gtk_progress_bar_update(GTK_PROGRESS_BAR(v->progress_bar), 0.0); - xsane_save_despeckle_image(outfile, infile, &image_info, v->filter_radius, v->progress_bar, &v->cancel_save); + xsane_save_despeckle_image(outfile, infile, &image_info, v->despeckle_radius, v->progress_bar, &v->cancel_save); fclose(infile); fclose(outfile); @@ -774,16 +1157,31 @@ static void xsane_viewer_despeckle_image(GtkWidget *window, gpointer data) gtk_progress_set_format_string(GTK_PROGRESS(v->progress_bar), ""); gtk_progress_bar_update(GTK_PROGRESS_BAR(v->progress_bar), 0.0); - DBG(DBG_info, "removing file %s\n", v->filename); - remove(v->filename); - free(v->filename); + if (v->undo_filename) + { + DBG(DBG_info, "removing file %s\n", v->undo_filename); + remove(v->undo_filename); + free(v->undo_filename); + } + + v->undo_filename = v->filename; + DBG(DBG_info, "undo file is %s\n", v->undo_filename); + gtk_widget_set_sensitive(GTK_WIDGET(v->undo), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->undo_menu_item), TRUE); v->filename = strdup(outfilename); v->image_saved = FALSE; xsane_viewer_read_image(v); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + if (v->last_saved_filename) + { + char buf[256]; + snprintf(buf, sizeof(buf), "%s (%s) - %s", WINDOW_VIEWER, v->last_saved_filename, xsane.device_text); + gtk_window_set_title(GTK_WINDOW(v->top), buf); + } + + xsane_viewer_set_sensitivity(v, TRUE); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -800,14 +1198,13 @@ static void xsane_viewer_blur_image(GtkWidget *window, gpointer data) gtk_widget_destroy(v->active_dialog); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), FALSE); + xsane_viewer_set_sensitivity(v, FALSE); infile = fopen(v->filename, "rb"); if (!infile) { DBG(DBG_error, "could not load file %s\n", v->filename); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); - + xsane_viewer_set_sensitivity(v, TRUE); return; } @@ -821,8 +1218,7 @@ static void xsane_viewer_blur_image(GtkWidget *window, gpointer data) if (!outfile) { DBG(DBG_error, "could not save file %s\n", outfilename); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); - + xsane_viewer_set_sensitivity(v, TRUE); return; } @@ -830,7 +1226,7 @@ static void xsane_viewer_blur_image(GtkWidget *window, gpointer data) gtk_progress_bar_update(GTK_PROGRESS_BAR(v->progress_bar), 0.0); - xsane_save_blur_image(outfile, infile, &image_info, v->filter_radius, v->progress_bar, &v->cancel_save); + xsane_save_blur_image(outfile, infile, &image_info, v->blur_radius, v->progress_bar, &v->cancel_save); fclose(infile); fclose(outfile); @@ -838,16 +1234,31 @@ static void xsane_viewer_blur_image(GtkWidget *window, gpointer data) gtk_progress_set_format_string(GTK_PROGRESS(v->progress_bar), ""); gtk_progress_bar_update(GTK_PROGRESS_BAR(v->progress_bar), 0.0); - DBG(DBG_info, "removing file %s\n", v->filename); - remove(v->filename); - free(v->filename); + if (v->undo_filename) + { + DBG(DBG_info, "removing file %s\n", v->undo_filename); + remove(v->undo_filename); + free(v->undo_filename); + } + + v->undo_filename = v->filename; + DBG(DBG_info, "undo file is %s\n", v->undo_filename); + gtk_widget_set_sensitive(GTK_WIDGET(v->undo), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->undo_menu_item), TRUE); v->filename = strdup(outfilename); v->image_saved = FALSE; xsane_viewer_read_image(v); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + if (v->last_saved_filename) + { + char buf[256]; + snprintf(buf, sizeof(buf), "%s (%s) - %s", WINDOW_VIEWER, v->last_saved_filename, xsane.device_text); + gtk_window_set_title(GTK_WINDOW(v->top), buf); + } + + xsane_viewer_set_sensitivity(v, TRUE); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -859,15 +1270,22 @@ static void xsane_viewer_rotate(Viewer *v, int rotation) char outfilename[256]; Image_info image_info; + if (v->block_actions) /* actions blocked: return */ + { + gdk_beep(); + DBG(DBG_info, "xsane_viewer_rotate: actions are blocked\n"); + return; + } + DBG(DBG_proc, "xsane_viewer_rotate(%d)\n", rotation); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), FALSE); + xsane_viewer_set_sensitivity(v, FALSE); infile = fopen(v->filename, "rb"); if (!infile) { DBG(DBG_error, "could not load file %s\n", v->filename); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + xsane_viewer_set_sensitivity(v, TRUE); return; } @@ -882,7 +1300,7 @@ static void xsane_viewer_rotate(Viewer *v, int rotation) if (!outfile) { DBG(DBG_error, "could not save file %s\n", outfilename); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + xsane_viewer_set_sensitivity(v, TRUE); return; } @@ -906,16 +1324,31 @@ static void xsane_viewer_rotate(Viewer *v, int rotation) gtk_progress_set_format_string(GTK_PROGRESS(v->progress_bar), ""); gtk_progress_bar_update(GTK_PROGRESS_BAR(v->progress_bar), 0.0); - DBG(DBG_info, "removing file %s\n", v->filename); - remove(v->filename); - free(v->filename); + if (v->undo_filename) + { + DBG(DBG_info, "removing file %s\n", v->undo_filename); + remove(v->undo_filename); + free(v->undo_filename); + } + + v->undo_filename = v->filename; + DBG(DBG_info, "undo file is %s\n", v->undo_filename); + gtk_widget_set_sensitive(GTK_WIDGET(v->undo), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(v->undo_menu_item), TRUE); v->filename = strdup(outfilename); v->image_saved = FALSE; xsane_viewer_read_image(v); - gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE); + if (v->last_saved_filename) + { + char buf[256]; + snprintf(buf, sizeof(buf), "%s (%s) - %s", WINDOW_VIEWER, v->last_saved_filename, xsane.device_text); + gtk_window_set_title(GTK_WINDOW(v->top), buf); + } + + xsane_viewer_set_sensitivity(v, TRUE); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -985,57 +1418,58 @@ static void xsane_viewer_zoom_callback(GtkWidget *widget, gpointer data) /* ---------------------------------------------------------------------------------------------------------------------- */ -static GtkWidget *xsane_viewer_files_build_menu(Viewer *v) +static GtkWidget *xsane_viewer_file_build_menu(Viewer *v) { GtkWidget *menu, *item; - DBG(DBG_proc, "xsane_viewer_files_build_menu\n"); + DBG(DBG_proc, "xsane_viewer_file_build_menu\n"); menu = gtk_menu_new(); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(menu)); + gtk_menu_set_accel_group(GTK_MENU(menu), xsane.accelerator_group); /* XSane save dialog */ item = gtk_menu_item_new_with_label(MENU_ITEM_SAVE_IMAGE); #if 0 - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_I, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_I, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); #endif gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_save_callback, v); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_save_callback, v); gtk_widget_show(item); + v->save_menu_item = item; + /* XSane save as text (ocr) */ - /* Clone */ - - item = gtk_menu_item_new_with_label(MENU_ITEM_CLONE); + item = gtk_menu_item_new_with_label(MENU_ITEM_OCR); #if 0 - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_I, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_I, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); #endif gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_clone_callback, v); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_ocr_callback, v); gtk_widget_show(item); + v->ocr_menu_item = item; - - /* Scale */ + /* Clone */ - item = gtk_menu_item_new_with_label(MENU_ITEM_SCALE); + item = gtk_menu_item_new_with_label(MENU_ITEM_CLONE); #if 0 - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_I, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_I, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); #endif gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_scale_callback, v); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_clone_callback, v); gtk_widget_show(item); + v->clone_menu_item = item; /* Close */ item = gtk_menu_item_new_with_label(MENU_ITEM_CLOSE); #if 0 - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_Q, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_Q, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); #endif gtk_container_add(GTK_CONTAINER(menu), item); gtk_object_set_data(GTK_OBJECT(item), "Viewer", (void *) v); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_close_callback, v); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_close_callback, v); gtk_widget_show(item); return menu; @@ -1043,6 +1477,31 @@ static GtkWidget *xsane_viewer_files_build_menu(Viewer *v) /* ---------------------------------------------------------------------------------------------------------------------- */ +static GtkWidget *xsane_viewer_edit_build_menu(Viewer *v) +{ + GtkWidget *menu, *item; + + DBG(DBG_proc, "xsane_viewer_edit_build_menu\n"); + + menu = gtk_menu_new(); + gtk_menu_set_accel_group(GTK_MENU(menu), xsane.accelerator_group); + + /* undo */ + + item = gtk_menu_item_new_with_label(MENU_ITEM_UNDO); +#if 0 + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_I, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); +#endif + gtk_menu_append(GTK_MENU(menu), item); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_undo_callback, v); + gtk_widget_show(item); + v->undo_menu_item = item; + + return menu; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static GtkWidget *xsane_viewer_filters_build_menu(Viewer *v) { GtkWidget *menu, *item; @@ -1050,30 +1509,127 @@ static GtkWidget *xsane_viewer_filters_build_menu(Viewer *v) DBG(DBG_proc, "xsane_viewer_filters_build_menu\n"); menu = gtk_menu_new(); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(menu)); + gtk_menu_set_accel_group(GTK_MENU(menu), xsane.accelerator_group); /* Despeckle */ item = gtk_menu_item_new_with_label(MENU_ITEM_DESPECKLE); #if 0 - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_I, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_I, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); #endif gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_despeckle_callback, v); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_despeckle_callback, v); gtk_widget_show(item); + v->despeckle_menu_item = item; /* Blur */ item = gtk_menu_item_new_with_label(MENU_ITEM_BLUR); #if 0 - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_Q, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_Q, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); #endif gtk_container_add(GTK_CONTAINER(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_blur_callback, v); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_blur_callback, v); gtk_widget_show(item); + v->blur_menu_item = item; - return menu; + return menu; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static GtkWidget *xsane_viewer_geometry_build_menu(Viewer *v) +{ + GtkWidget *menu, *item; + + DBG(DBG_proc, "xsane_viewer_geometry_build_menu\n"); + + menu = gtk_menu_new(); + gtk_menu_set_accel_group(GTK_MENU(menu), xsane.accelerator_group); + + + /* Scale */ + + item = gtk_menu_item_new_with_label(MENU_ITEM_SCALE); +#if 0 + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_I, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); +#endif + gtk_menu_append(GTK_MENU(menu), item); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_scale_callback, v); + gtk_widget_show(item); + + + /* insert separator: */ + + item = gtk_menu_item_new(); + gtk_menu_append(GTK_MENU(menu), item); + gtk_widget_show(item); + + + /* rotate90 */ + + item = gtk_menu_item_new_with_label(MENU_ITEM_ROTATE90); +#if 0 + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_1, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); +#endif + gtk_menu_append(GTK_MENU(menu), item); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_rotate90_callback, v); + gtk_widget_show(item); + + + /* rotate180 */ + + item = gtk_menu_item_new_with_label(MENU_ITEM_ROTATE180); +#if 0 + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_2, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); +#endif + gtk_container_add(GTK_CONTAINER(menu), item); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_rotate180_callback, v); + gtk_widget_show(item); + + + /* rotate270 */ + + item = gtk_menu_item_new_with_label(MENU_ITEM_ROTATE270); +#if 0 + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_3, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); +#endif + gtk_container_add(GTK_CONTAINER(menu), item); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_rotate270_callback, v); + gtk_widget_show(item); + + + /* insert separator: */ + + item = gtk_menu_item_new(); + gtk_menu_append(GTK_MENU(menu), item); + gtk_widget_show(item); + + + /* mirror_x */ + + item = gtk_menu_item_new_with_label(MENU_ITEM_MIRROR_X); +#if 0 + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_X, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); +#endif + gtk_container_add(GTK_CONTAINER(menu), item); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_mirror_x_callback, v); + gtk_widget_show(item); + + + /* mirror_y */ + + item = gtk_menu_item_new_with_label(MENU_ITEM_MIRROR_Y); +#if 0 + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_Y, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); +#endif + gtk_container_add(GTK_CONTAINER(menu), item); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_viewer_mirror_y_callback, v); + gtk_widget_show(item); + + + return menu; } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -1241,7 +1797,7 @@ static int xsane_viewer_read_image(Viewer *v) size_unit = "KB"; } - if (v->reduce_to_lineart) + if (v->allow_reduction_to_lineart) { snprintf(buf, sizeof(buf), TEXT_VIEWER_IMAGE_INFO, image_info.image_width, image_info.image_height, 1, image_info.colors, image_info.resolution_x, image_info.resolution_y, size, size_unit); @@ -1266,7 +1822,16 @@ static int xsane_viewer_read_image(Viewer *v) height = gdk_screen_height(); } - gtk_window_set_default_size(GTK_WINDOW(v->top), width, height); +#ifdef HAVE_GTK2 + if (GTK_WIDGET_REALIZED(v->top)) + { + gtk_window_resize(GTK_WINDOW(v->top), width, height); + } + else +#endif + { + gtk_window_set_default_size(GTK_WINDOW(v->top), width, height); + } free(row); free(src_row); @@ -1277,7 +1842,7 @@ static int xsane_viewer_read_image(Viewer *v) /* ---------------------------------------------------------------------------------------------------------------------- */ -Viewer *xsane_viewer_new(char *filename, int reduce_to_lineart, char *output_filename) +Viewer *xsane_viewer_new(char *filename, int allow_reduction_to_lineart, char *output_filename, viewer_modification allow_modification) { char buf[256]; Viewer *v; @@ -1299,16 +1864,32 @@ Viewer *xsane_viewer_new(char *filename, int reduce_to_lineart, char *output_fil memset(v, 0, sizeof(*v)); v->filename = strdup(filename); - v->reduce_to_lineart = reduce_to_lineart; + v->undo_filename = NULL; + v->allow_reduction_to_lineart = allow_reduction_to_lineart; v->zoom = 1.0; v->image_saved = FALSE; + v->allow_modification = allow_modification; v->next_viewer = xsane.viewer_list; xsane.viewer_list = v; + if (v->allow_modification == VIEWER_NO_MODIFICATION) + { + v->image_saved = TRUE; + } + if (output_filename) { v->output_filename = strdup(output_filename); - snprintf(buf, sizeof(buf), "%s %s - %s", WINDOW_VIEWER, v->output_filename, xsane.device_text); + + if (v->image_saved) + { + snprintf(buf, sizeof(buf), "%s %s - %s", WINDOW_VIEWER, v->output_filename, xsane.device_text); + } + else + { + /* add brackets around filename because file is not saved */ + snprintf(buf, sizeof(buf), "%s (%s) - %s", WINDOW_VIEWER, v->output_filename, xsane.device_text); + } } else { @@ -1318,9 +1899,9 @@ Viewer *xsane_viewer_new(char *filename, int reduce_to_lineart, char *output_fil v->top = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(GTK_WINDOW(v->top), buf); xsane_set_window_icon(v->top, 0); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(v->top)); + gtk_window_add_accel_group(GTK_WINDOW(v->top), xsane.accelerator_group); gtk_object_set_data(GTK_OBJECT(v->top), "Viewer", (void *) v); - gtk_signal_connect(GTK_OBJECT(v->top), "delete_event", GTK_SIGNAL_FUNC(xsane_viewer_close_callback), NULL); + g_signal_connect(GTK_OBJECT(v->top), "delete_event", GTK_SIGNAL_FUNC(xsane_viewer_close_callback), NULL); /* set the main vbox */ vbox = gtk_vbox_new(FALSE, 0); @@ -1333,19 +1914,37 @@ Viewer *xsane_viewer_new(char *filename, int reduce_to_lineart, char *output_fil menubar = gtk_menu_bar_new(); gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, FALSE, 0); - /* "Files" submenu: */ + /* "File" submenu: */ menubar_item = gtk_menu_item_new_with_label(MENU_FILE); gtk_container_add(GTK_CONTAINER(menubar), menubar_item); - gtk_menu_item_set_submenu(GTK_MENU_ITEM(menubar_item), xsane_viewer_files_build_menu(v)); -/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_F, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); */ + gtk_menu_item_set_submenu(GTK_MENU_ITEM(menubar_item), xsane_viewer_file_build_menu(v)); +/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_F, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); */ + gtk_widget_show(menubar_item); + v->file_menu = menubar_item; + + /* "Edit" submenu: */ + menubar_item = gtk_menu_item_new_with_label(MENU_EDIT); + gtk_container_add(GTK_CONTAINER(menubar), menubar_item); + gtk_menu_item_set_submenu(GTK_MENU_ITEM(menubar_item), xsane_viewer_edit_build_menu(v)); +/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_F, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); */ gtk_widget_show(menubar_item); + v->edit_menu = menubar_item; /* "Filters" submenu: */ menubar_item = gtk_menu_item_new_with_label(MENU_FILTERS); gtk_container_add(GTK_CONTAINER(menubar), menubar_item); gtk_menu_item_set_submenu(GTK_MENU_ITEM(menubar_item), xsane_viewer_filters_build_menu(v)); -/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_F, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); */ +/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_F, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); */ gtk_widget_show(menubar_item); + v->filters_menu = menubar_item; + + /* "Geometry" submenu: */ + menubar_item = gtk_menu_item_new_with_label(MENU_GEOMETRY); + gtk_container_add(GTK_CONTAINER(menubar), menubar_item); + gtk_menu_item_set_submenu(GTK_MENU_ITEM(menubar_item), xsane_viewer_geometry_build_menu(v)); +/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_F, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); */ + gtk_widget_show(menubar_item); + v->geometry_menu = menubar_item; gtk_widget_show(menubar); @@ -1363,17 +1962,49 @@ Viewer *xsane_viewer_new(char *filename, int reduce_to_lineart, char *output_fil gtk_box_pack_start(GTK_BOX(vbox), v->button_box, FALSE, FALSE, 0); gtk_widget_show(v->button_box); - v->save = xsane_button_new_with_pixmap(v->top->window, v->button_box, file_xpm, DESC_VIEWER_SAVE, (GtkSignalFunc) xsane_viewer_save_callback, v); - v->ocr = xsane_button_new_with_pixmap(v->top->window, v->button_box, ocr_xpm, DESC_VIEWER_OCR, (GtkSignalFunc) xsane_viewer_ocr_callback, v); + + /* top hbox for file icons */ + v->file_button_box = gtk_hbox_new(FALSE, 0); + gtk_container_set_border_width(GTK_CONTAINER(v->file_button_box), 0); + gtk_box_pack_start(GTK_BOX(v->button_box), v->file_button_box, FALSE, FALSE, 0); + gtk_widget_show(v->file_button_box); + + v->save = xsane_button_new_with_pixmap(v->top->window, v->file_button_box, save_xpm, DESC_VIEWER_SAVE, (GtkSignalFunc) xsane_viewer_save_callback, v); + v->ocr = xsane_button_new_with_pixmap(v->top->window, v->file_button_box, ocr_xpm, DESC_VIEWER_OCR, (GtkSignalFunc) xsane_viewer_ocr_callback, v); v->clone = xsane_button_new_with_pixmap(v->top->window, v->button_box, clone_xpm, DESC_VIEWER_CLONE, (GtkSignalFunc) xsane_viewer_clone_callback, v); - v->scale = xsane_button_new_with_pixmap(v->top->window, v->button_box, scale_xpm, DESC_VIEWER_SCALE, (GtkSignalFunc) xsane_viewer_scale_callback, v); - v->despeckle = xsane_button_new_with_pixmap(v->top->window, v->button_box, despeckle_xpm, DESC_VIEWER_DESPECKLE, (GtkSignalFunc) xsane_viewer_despeckle_callback, v); - v->blur = xsane_button_new_with_pixmap(v->top->window, v->button_box, blur_xpm, DESC_VIEWER_BLUR, (GtkSignalFunc) xsane_viewer_blur_callback, v); - v->rotate90 = xsane_button_new_with_pixmap(v->top->window, v->button_box, rotate90_xpm, DESC_VIEWER_ROTATE90, (GtkSignalFunc) xsane_viewer_rotate90_callback, v); - v->rotate180 = xsane_button_new_with_pixmap(v->top->window, v->button_box, rotate180_xpm, DESC_VIEWER_ROTATE180, (GtkSignalFunc) xsane_viewer_rotate180_callback, v); - v->rotate270 = xsane_button_new_with_pixmap(v->top->window, v->button_box, rotate270_xpm, DESC_VIEWER_ROTATE270, (GtkSignalFunc) xsane_viewer_rotate270_callback, v); - v->mirror_x = xsane_button_new_with_pixmap(v->top->window, v->button_box, mirror_x_xpm, DESC_VIEWER_MIRROR_X, (GtkSignalFunc) xsane_viewer_mirror_x_callback, v); - v->mirror_y = xsane_button_new_with_pixmap(v->top->window, v->button_box, mirror_y_xpm, DESC_VIEWER_MIRROR_Y, (GtkSignalFunc) xsane_viewer_mirror_y_callback, v); + + + /* top hbox for edit icons */ + v->edit_button_box = gtk_hbox_new(FALSE, 0); + gtk_container_set_border_width(GTK_CONTAINER(v->edit_button_box), 0); + gtk_box_pack_start(GTK_BOX(v->button_box), v->edit_button_box, FALSE, FALSE, 0); + gtk_widget_show(v->edit_button_box); + + v->undo = xsane_button_new_with_pixmap(v->top->window, v->edit_button_box, undo_xpm, DESC_VIEWER_UNDO, (GtkSignalFunc) xsane_viewer_undo_callback, v); + + + /* top hbox for filter icons */ + v->filters_button_box = gtk_hbox_new(FALSE, 0); + gtk_container_set_border_width(GTK_CONTAINER(v->filters_button_box), 0); + gtk_box_pack_start(GTK_BOX(v->button_box), v->filters_button_box, FALSE, FALSE, 0); + gtk_widget_show(v->filters_button_box); + + v->despeckle = xsane_button_new_with_pixmap(v->top->window, v->filters_button_box, despeckle_xpm, DESC_VIEWER_DESPECKLE, (GtkSignalFunc) xsane_viewer_despeckle_callback, v); + v->blur = xsane_button_new_with_pixmap(v->top->window, v->filters_button_box, blur_xpm, DESC_VIEWER_BLUR, (GtkSignalFunc) xsane_viewer_blur_callback, v); + + + /* top hbox for geometry icons */ + v->geometry_button_box = gtk_hbox_new(FALSE, 0); + gtk_container_set_border_width(GTK_CONTAINER(v->geometry_button_box), 0); + gtk_box_pack_start(GTK_BOX(v->button_box), v->geometry_button_box, FALSE, FALSE, 0); + gtk_widget_show(v->geometry_button_box); + + xsane_button_new_with_pixmap(v->top->window, v->geometry_button_box, scale_xpm, DESC_VIEWER_SCALE, (GtkSignalFunc) xsane_viewer_scale_callback, v); + xsane_button_new_with_pixmap(v->top->window, v->geometry_button_box, rotate90_xpm, DESC_ROTATE90, (GtkSignalFunc) xsane_viewer_rotate90_callback, v); + xsane_button_new_with_pixmap(v->top->window, v->geometry_button_box, rotate180_xpm, DESC_ROTATE180, (GtkSignalFunc) xsane_viewer_rotate180_callback, v); + xsane_button_new_with_pixmap(v->top->window, v->geometry_button_box, rotate270_xpm, DESC_ROTATE270, (GtkSignalFunc) xsane_viewer_rotate270_callback, v); + xsane_button_new_with_pixmap(v->top->window, v->geometry_button_box, mirror_x_xpm, DESC_MIRROR_X, (GtkSignalFunc) xsane_viewer_mirror_x_callback, v); + xsane_button_new_with_pixmap(v->top->window, v->geometry_button_box, mirror_y_xpm, DESC_MIRROR_Y, (GtkSignalFunc) xsane_viewer_mirror_y_callback, v); /* "Zoom" submenu: */ @@ -1384,12 +2015,13 @@ Viewer *xsane_viewer_new(char *filename, int reduce_to_lineart, char *output_fil zoom_menu = gtk_menu_new(); selection = 0; - for (i = 0; i < XSANE_VIEWER_ZOOM_ITEMS; i++) + + for (i = 0; i < sizeof(xsane_viewer_zoom) / sizeof(int); i++) { snprintf(buf, sizeof(buf), "%d %%", xsane_viewer_zoom[i]); zoom_menu_item = gtk_menu_item_new_with_label(buf); gtk_menu_append(GTK_MENU(zoom_menu), zoom_menu_item); - gtk_signal_connect(GTK_OBJECT(zoom_menu_item), "activate", (GtkSignalFunc) xsane_viewer_zoom_callback, v); + g_signal_connect(GTK_OBJECT(zoom_menu_item), "activate", (GtkSignalFunc) xsane_viewer_zoom_callback, v); gtk_object_set_data(GTK_OBJECT(zoom_menu_item), "Selection", (void *) xsane_viewer_zoom[i]); gtk_widget_show(zoom_menu_item); if (v->zoom*100 == xsane_viewer_zoom[i]) @@ -1399,13 +2031,13 @@ Viewer *xsane_viewer_new(char *filename, int reduce_to_lineart, char *output_fil } gtk_option_menu_set_menu(GTK_OPTION_MENU(zoom_option_menu), zoom_menu); gtk_option_menu_set_history(GTK_OPTION_MENU(zoom_option_menu), selection); -/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_F, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); */ +/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_F, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); */ gtk_widget_show(zoom_menu); scrolled_window = gtk_scrolled_window_new(NULL, NULL); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_box_pack_start(GTK_BOX(vbox), scrolled_window, TRUE, TRUE, 0); gtk_widget_show(scrolled_window); @@ -1426,23 +2058,27 @@ Viewer *xsane_viewer_new(char *filename, int reduce_to_lineart, char *output_fil gtk_box_pack_start(GTK_BOX(hbox), v->image_info_label, FALSE, FALSE, 2); gtk_widget_show(v->image_info_label); - gtk_widget_show(v->top); if (xsane_viewer_read_image(v)) /* read image and add preview to the viewport */ { /* error */ } + gtk_widget_show(v->top); v->progress_bar = (GtkProgressBar *) gtk_progress_bar_new(); #if 0 - gtk_widget_set_usize(v->progress_bar, 0, 25); + gtk_widget_set_size_request(v->progress_bar, 0, 25); #endif gtk_box_pack_start(GTK_BOX(vbox), (GtkWidget *) v->progress_bar, FALSE, FALSE, 0); gtk_progress_set_show_text(GTK_PROGRESS(v->progress_bar), TRUE); gtk_progress_set_format_string(GTK_PROGRESS(v->progress_bar), ""); gtk_widget_show(GTK_WIDGET(v->progress_bar)); + xsane_viewer_set_sensitivity(v, TRUE); + + gtk_widget_set_sensitive(GTK_WIDGET(v->undo), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(v->undo_menu_item), FALSE); + return v; } - diff --git a/src/xsane-viewer.h b/src/xsane-viewer.h index 885466b..31d87bc 100644 --- a/src/xsane-viewer.h +++ b/src/xsane-viewer.h @@ -3,7 +3,7 @@ xsane-viewer.h Oliver Rauch - Copyright (C) 2001-2002 Oliver Rauch + Copyright (C) 2001-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -29,51 +29,79 @@ #include #include +typedef enum +{ + VIEWER_NO_MODIFICATION = 0, + VIEWER_NO_NAME_AND_SIZE_MODIFICATION, + VIEWER_NO_NAME_MODIFICATION, + VIEWER_FULL_MODIFICATION +} viewer_modification; + typedef struct Viewer { struct Viewer *next_viewer; char *filename; char *output_filename; + char *last_saved_filename; + char *undo_filename; - int reduce_to_lineart; + int allow_reduction_to_lineart; float zoom; int image_saved; int cancel_save; + viewer_modification allow_modification; + + int despeckle_radius; + float blur_radius; - int filter_radius; - float x_scale_factor; - float y_scale_factor; + int bind_scale; + double x_scale_factor; + double y_scale_factor; GtkWidget *top; GtkWidget *button_box; + GtkWidget *file_button_box; + GtkWidget *edit_button_box; + GtkWidget *filters_button_box; + GtkWidget *geometry_button_box; + + GtkWidget *file_menu; + GtkWidget *edit_menu; + GtkWidget *filters_menu; + GtkWidget *geometry_menu; + GtkWidget *viewport; GtkWidget *window; + GtkWidget *save_menu_item; + GtkWidget *ocr_menu_item; + GtkWidget *clone_menu_item; + + GtkWidget *undo_menu_item; + + GtkWidget *despeckle_menu_item; + GtkWidget *blur_menu_item; + GtkWidget *save; GtkWidget *ocr; + GtkWidget *undo; GtkWidget *clone; - GtkWidget *scale; GtkWidget *despeckle; GtkWidget *blur; - GtkWidget *rotate90; - GtkWidget *rotate180; - GtkWidget *rotate270; - - GtkWidget *mirror_x; - GtkWidget *mirror_y; - GtkWidget *image_info_label; GtkProgressBar *progress_bar; GtkWidget *active_dialog; + + int block_actions; } Viewer; -extern Viewer *xsane_viewer_new(char *filename, int reduce_to_lineart, char *output_filename); +extern Viewer *xsane_viewer_new(char *filename, int reduce_to_lineart, char *output_filename, viewer_modification allow_modification); #endif diff --git a/src/xsane.c b/src/xsane.c index ae07b8c..9ef109f 100644 --- a/src/xsane.c +++ b/src/xsane.c @@ -3,7 +3,7 @@ xsane.c Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -34,6 +34,7 @@ #include "xsane-device-preferences.h" #include "xsane-preferences.h" #include "xsane-icons.h" +#include "xsane-batch-scan.h" #ifdef HAVE_LIBPNG #ifdef HAVE_LIBZ @@ -42,7 +43,6 @@ #endif #endif -#include #include /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -65,7 +65,6 @@ struct option long_options[] = {"Resizeable", no_argument, 0, 'R'}, {"print-filenames", no_argument, 0, 'p'}, {"force-filename", required_argument, 0, 'N'}, - {"Medium-calibration", no_argument, 0, 'M'}, {0, } }; @@ -98,8 +97,8 @@ static const Preferences_medium_t pref_default_medium[]= { /* medium shadow highlight gamma negative */ /* name gray red green blue gray red green blue gray red gren blue */ - { MENU_ITEM_MEDIUM_FULL_RANGE, 0.0, 0.0, 0.0, 0.0, 100.0,100.0,100.0,100.0, 1.00, 1.00, 1.00, 1.00 , 0}, - { MENU_ITEM_MEDIUM_SLIDE, 0.0, 0.0, 0.0, 0.0, 30.0, 30.0, 30.0, 30.0, 1.00, 1.00, 1.00, 1.00 , 0}, + { MENU_ITEM_MEDIUM_FULL_COLOR_RANGE, 0.0, 0.0, 0.0, 0.0, 100.0,100.0,100.0,100.0, 1.00, 1.00, 1.00, 1.00 , 0}, + { MENU_ITEM_MEDIUM_SLIDE, 0.0, 0.0, 0.0, 0.0, 40.0, 40.0, 40.0, 40.0, 1.00, 1.00, 1.00, 1.00 , 0}, { MENU_ITEM_MEDIUM_STANDARD_NEG, 0.0, 7.0, 1.0, 0.0, 66.0, 66.0, 33.0, 16.0, 1.00, 1.00, 1.00, 1.00 , 1}, { MENU_ITEM_MEDIUM_AGFA_NEG, 0.0, 6.0, 2.0, 0.0, 31.0, 61.0, 24.0, 13.0, 1.00, 1.00, 1.00, 1.00 , 1}, { MENU_ITEM_MEDIUM_AGFA_NEG_XRG200_4, 0.0, 12.0, 2.0, 1.6, 35.0, 61.5, 21.5, 14.5, 1.00, 0.80, 0.67, 0.60 , 1}, @@ -114,6 +113,8 @@ static const Preferences_medium_t pref_default_medium[]= /* ---------------------------------------------------------------------------------------------------------------------- */ int DBG_LEVEL = 0; +static guint xsane_resolution_timer = 0; +static guint xsane_mail_send_timer = 0; /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -144,11 +145,6 @@ static void xsane_threshold_changed(void); static void xsane_gamma_changed(GtkAdjustment *adj_data, double *val); static void xsane_set_modus_defaults(void); static void xsane_modus_callback(GtkWidget *xsane_parent, int *num); -static void xsane_filename_counter_step_callback(GtkWidget *widget, gpointer data); -static void xsane_filetype_callback(GtkWidget *widget, gpointer data); -static void xsane_outputfilename_changed_callback(GtkWidget *widget, gpointer data); -static void xsane_browse_filename_callback(GtkWidget *widget, gpointer data); -static void xsane_outputfilename_new(GtkWidget *vbox); static void xsane_enhancement_rgb_default_callback(GtkWidget *widget); static void xsane_enhancement_negative_callback(GtkWidget *widget); static void xsane_auto_enhancement_callback(GtkWidget *widget); @@ -158,10 +154,14 @@ static void xsane_show_histogram_callback(GtkWidget *widget); #ifdef HAVE_WORKING_GTK_GAMMACURVE static void xsane_show_gamma_callback(GtkWidget *widget); #endif +static void xsane_show_batch_scan_callback(GtkWidget *widget); static void xsane_printer_callback(GtkWidget *widget, gpointer data); void xsane_pref_save(void); static int xsane_pref_restore(void); +static void xsane_pref_save_media(void); +static void xsane_pref_restore_media(void); static RETSIGTYPE xsane_quit_handler(int signal); +static RETSIGTYPE xsane_sigchld_handler(int signal); static void xsane_quit(void); static void xsane_exit(void); static gint xsane_standard_option_win_delete(GtkWidget *widget, gpointer data); @@ -170,24 +170,22 @@ static gint xsane_scan_win_delete(GtkWidget *w, gpointer data); static gint xsane_preview_window_destroyed(GtkWidget *widget, gpointer call_data); static void xsane_show_preview_callback(GtkWidget * widget, gpointer call_data); static GtkWidget *xsane_files_build_menu(void); +static gint xsane_medium_context_menu_callback(GtkWidget *widget, GdkEvent *event); static void xsane_set_medium_callback(GtkWidget *widget, gpointer data); static void xsane_set_pref_unit_callback(GtkWidget *widget, gpointer data); +static void xsane_edit_medium_definition_callback(GtkWidget *widget, gpointer data); static void xsane_set_update_policy_callback(GtkWidget *widget, gpointer data); static gint xsane_close_info_callback(GtkWidget *widget, gpointer data); static void xsane_info_dialog(GtkWidget *widget, gpointer data); static void xsane_about_dialog(GtkWidget *widget, gpointer data); static void xsane_about_translation_dialog(GtkWidget *widget, gpointer data); -static SANE_Status xsane_get_area_value(int option, float *val, SANE_Int *unit); -#ifdef XSANE_TEST -static void xsane_batch_scan_delete_callback(GtkWidget *widget, gpointer list); -static void xsane_batch_scan_add_callback(GtkWidget *widget, gpointer list); -static void xsane_batch_scan_dialog(GtkWidget *widget, gpointer data); -#endif +static gint xsane_fax_dialog_delete(); static void xsane_fax_dialog(void); static void xsane_fax_dialog_close(void); static void xsane_fax_receiver_changed_callback(GtkWidget *widget, gpointer data); static void xsane_fax_project_changed_callback(GtkWidget *widget, gpointer data); static void xsane_fax_fine_mode_callback(GtkWidget *widget); +static void xsane_fax_project_update_project_status(); void xsane_fax_project_save(void); static void xsane_fax_project_load(void); static void xsane_fax_project_delete(void); @@ -201,6 +199,8 @@ static void xsane_fax_entry_delete_callback(GtkWidget *widget, gpointer list); static void xsane_fax_show_callback(GtkWidget *widget, gpointer data); static void xsane_fax_send(void); #ifdef XSANE_ACTIVATE_MAIL +static gint xsane_mail_dialog_delete(); +static void xsane_mail_filetype_callback(GtkWidget *filetype_option_menu, char *filetype); static void xsane_mail_dialog(void); static void xsane_mail_dialog_close(void); static void xsane_mail_receiver_changed_callback(GtkWidget *widget, gpointer data); @@ -208,28 +208,34 @@ static void xsane_mail_subject_changed_callback(GtkWidget *widget, gpointer data static void xsane_mail_project_changed_callback(GtkWidget *widget, gpointer data); static void xsane_mail_html_mode_callback(GtkWidget *widget); void xsane_mail_project_save(void); +static void xsane_mail_project_display_status(void); static void xsane_mail_project_load(void); static void xsane_mail_project_delete(void); +static void xsane_mail_project_update_project_status(); static void xsane_mail_project_create(void); static void xsane_mail_entry_move_up_callback(GtkWidget *widget, gpointer list); static void xsane_mail_entry_move_down_callback(GtkWidget *widget, gpointer list); static void xsane_mail_entry_rename_callback(GtkWidget *widget, gpointer list); static void xsane_mail_entry_delete_callback(GtkWidget *widget, gpointer list); static void xsane_mail_show_callback(GtkWidget *widget, gpointer data); -static void xsane_mail_send(void); +#if 0 +static void xsane_mail_edit_callback(GtkWidget *widget, gpointer data); #endif -static void xsane_pref_toggle_tooltips(GtkWidget *widget, gpointer data); static void xsane_mail_send_process(void); static void xsane_mail_send(void); -static void xsane_show_license(GtkWidget *widget, gpointer data); +#endif +static void xsane_pref_toggle_tooltips(GtkWidget *widget, gpointer data); +static void xsane_show_eula(GtkWidget *widget, gpointer data); +static void xsane_show_gpl(GtkWidget *widget, gpointer data); static void xsane_show_doc(GtkWidget *widget, gpointer data); static GtkWidget *xsane_view_build_menu(void); -static GtkWidget *xsane_pref_build_menu(void); +static GtkWidget *xsane_window_build_menu(void); +static GtkWidget *xsane_preferences_build_menu(void); static GtkWidget *xsane_help_build_menu(void); static void xsane_device_dialog(void); static void xsane_choose_dialog_ok_callback(void); static void xsane_select_device_by_key_callback(GtkWidget * widget, gpointer data); -static void xsane_select_device_by_mouse_callback(GtkWidget * widget, GdkEventButton *event, gpointer data); +static int xsane_select_device_by_mouse_callback(GtkWidget * widget, GdkEventButton *event, gpointer data); static void xsane_choose_device(void); static void xsane_usage(void); static int xsane_init(int argc, char **argv); @@ -254,191 +260,6 @@ void xsane_debug_message(int level, const char *fmt, ...) /* ---------------------------------------------------------------------------------------------------------------------- */ -static void xsane_add_medium_definition(char *definition_name) -{ - int i; - - DBG(DBG_proc, "xsane_add_new_medium_definition\n"); - - i = preferences.medium_definitions; - - preferences.medium_definitions++; - preferences.medium = realloc( preferences.medium, preferences.medium_definitions * sizeof(void *)); - - if (xsane.negative == xsane.medium_negative) /* result is positive */ - { - preferences.medium[i] = calloc(sizeof(Preferences_medium_t), 1); - preferences.medium[i]->name = strdup(definition_name); - preferences.medium[i]->shadow_gray = xsane.medium_shadow_gray + (xsane.medium_highlight_gray - xsane.medium_shadow_gray) * xsane.slider_gray.value[0] / 100.0; - preferences.medium[i]->shadow_red = xsane.medium_shadow_red + (xsane.medium_highlight_red - xsane.medium_shadow_red) * xsane.slider_red.value[0] / 100.0; - preferences.medium[i]->shadow_green = xsane.medium_shadow_green + (xsane.medium_highlight_green - xsane.medium_shadow_green) * xsane.slider_green.value[0] / 100.0; - preferences.medium[i]->shadow_blue = xsane.medium_shadow_blue + (xsane.medium_highlight_blue - xsane.medium_shadow_blue) * xsane.slider_blue.value[0] / 100.0; - preferences.medium[i]->highlight_gray = xsane.medium_shadow_gray + (xsane.medium_highlight_gray - xsane.medium_shadow_gray) * xsane.slider_gray.value[2] / 100.0; - preferences.medium[i]->highlight_red = xsane.medium_shadow_red + (xsane.medium_highlight_red - xsane.medium_shadow_red) * xsane.slider_red.value[2] / 100.0; - preferences.medium[i]->highlight_green = xsane.medium_shadow_green + (xsane.medium_highlight_green - xsane.medium_shadow_green) * xsane.slider_green.value[2] / 100.0; - preferences.medium[i]->highlight_blue = xsane.medium_shadow_blue + (xsane.medium_highlight_blue - xsane.medium_shadow_blue) * xsane.slider_blue.value[2] / 100.0; - preferences.medium[i]->gamma_gray = xsane.gamma; - preferences.medium[i]->gamma_red = xsane.gamma * xsane.gamma_red * xsane.medium_gamma_red; - preferences.medium[i]->gamma_green = xsane.gamma * xsane.gamma_green * xsane.medium_gamma_green; - preferences.medium[i]->gamma_blue = xsane.gamma * xsane.gamma_blue * xsane.medium_gamma_blue; - preferences.medium[i]->negative = 0; - } - else /* result is negative */ - { - preferences.medium[i] = calloc(sizeof(Preferences_medium_t), 1); - preferences.medium[i]->name = strdup(definition_name); - preferences.medium[i]->shadow_gray = xsane.medium_shadow_gray + (xsane.medium_highlight_gray - xsane.medium_shadow_gray) * (1.0 - xsane.slider_gray.value[2] / 100.0); - preferences.medium[i]->shadow_red = xsane.medium_shadow_red + (xsane.medium_highlight_red - xsane.medium_shadow_red) * (1.0 - xsane.slider_red.value[2] / 100.0); - preferences.medium[i]->shadow_green = xsane.medium_shadow_green + (xsane.medium_highlight_green - xsane.medium_shadow_green) * (1.0 - xsane.slider_green.value[2] / 100.0); - preferences.medium[i]->shadow_blue = xsane.medium_shadow_blue + (xsane.medium_highlight_blue - xsane.medium_shadow_blue) * (1.0 - xsane.slider_blue.value[2] / 100.0); - preferences.medium[i]->highlight_gray = xsane.medium_shadow_gray + (xsane.medium_highlight_gray - xsane.medium_shadow_gray) * (1.0 - xsane.slider_gray.value[0] / 100.0); - preferences.medium[i]->highlight_red = xsane.medium_shadow_red + (xsane.medium_highlight_red - xsane.medium_shadow_red) * (1.0 - xsane.slider_red.value[0] / 100.0); - preferences.medium[i]->highlight_green = xsane.medium_shadow_green + (xsane.medium_highlight_green - xsane.medium_shadow_green) * (1.0 - xsane.slider_green.value[0] / 100.0); - preferences.medium[i]->highlight_blue = xsane.medium_shadow_blue + (xsane.medium_highlight_blue - xsane.medium_shadow_blue) * (1.0 - xsane.slider_blue.value[0] / 100.0); - preferences.medium[i]->gamma_gray = xsane.gamma; - preferences.medium[i]->gamma_red = xsane.gamma * xsane.gamma_red * xsane.medium_gamma_red; - preferences.medium[i]->gamma_green = xsane.gamma * xsane.gamma_green * xsane.medium_gamma_green; - preferences.medium[i]->gamma_blue = xsane.gamma * xsane.gamma_blue * xsane.medium_gamma_blue; - preferences.medium[i]->negative = 1; - } - - xsane_back_gtk_refresh_dialog(); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -int xsane_add_medium_definition_flag; - -static void xsane_add_medium_definition_button_callback(GtkWidget *widget, gpointer data) -{ - DBG(DBG_proc, "xsane_add_medium_definiton_button_callback\n"); - - xsane_add_medium_definition_flag = (int) data; -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static void xsane_add_medium_definition_callback() -{ - GtkWidget *add_medium_dialog; - GtkWidget *hbox, *vbox, *button, *text, *label; - - xsane_set_sensitivity(FALSE); - - /* set add medium dialog */ - add_medium_dialog = gtk_window_new(GTK_WINDOW_DIALOG); - gtk_window_set_position(GTK_WINDOW(add_medium_dialog), GTK_WIN_POS_MOUSE); - gtk_window_set_title(GTK_WINDOW(add_medium_dialog), WINDOW_STORE_MEDIUM); - xsane_set_window_icon(add_medium_dialog, 0); - gtk_signal_connect_object(GTK_OBJECT(add_medium_dialog), "delete_event", (GtkSignalFunc) xsane_add_medium_definition_button_callback, (GtkObject *) -1); - - /* set the main vbox */ - vbox = gtk_vbox_new(FALSE, 0); - gtk_container_set_border_width(GTK_CONTAINER(vbox), 0); - gtk_container_add(GTK_CONTAINER(add_medium_dialog), vbox); - gtk_widget_show(vbox); - - /* set the main hbox */ - hbox = gtk_hbox_new(FALSE, 0); - xsane_separator_new(vbox, 2); - gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); - gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); - gtk_widget_show(hbox); - - label = gtk_label_new(TEXT_MEDIUM_DEFINITION_NAME); - gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); - gtk_widget_show(label); - - text = gtk_entry_new_with_max_length(64); - xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_PRESET_AREA_NAME); - gtk_entry_set_text(GTK_ENTRY(text), ""); - gtk_widget_set_usize(text, 300, 0); - gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 4); - gtk_widget_show(text); - - /* set the main hbox */ - hbox = gtk_hbox_new(FALSE, 0); - xsane_separator_new(vbox, 2); - gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); - gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); - gtk_widget_show(hbox); - - label = gtk_label_new(TEXT_MEDIUM_DEFINITION_NAME); - gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); - - - button = gtk_button_new_with_label("OK"); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_add_medium_definition_button_callback, (void *) 1); - gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); - gtk_widget_show(button); - - button = gtk_button_new_with_label("Cancel"); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_add_medium_definition_button_callback, (void *) -1); - gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); - gtk_widget_show(button); - - gtk_widget_show(add_medium_dialog); - - xsane_add_medium_definition_flag = 0; - - while (xsane_add_medium_definition_flag == 0) - { - while (gtk_events_pending()) - { - DBG(DBG_info, "xsane_add_medium_definition_callback: calling gtk_main_iteration\n"); - gtk_main_iteration(); - } - } - - if (xsane_add_medium_definition_flag == 1) - { - xsane_add_medium_definition(gtk_entry_get_text(GTK_ENTRY(text))); - } - - gtk_widget_destroy(add_medium_dialog); - - xsane_set_sensitivity(TRUE); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static void xsane_delete_medium_definition_callback() -{ - int i; - - if (xsane.medium_nr == 0) /* do not allow to delete "full range" */ - { - return; - } - - free(preferences.medium[xsane.medium_nr]); - - preferences.medium_definitions--; - - for (i = xsane.medium_nr; i < preferences.medium_definitions; i++) - { - preferences.medium[i] = preferences.medium[i+1]; - } - - if (xsane.medium_nr > 0) - { - xsane.medium_nr--; - } - - xsane.medium_changed = TRUE; - - xsane_set_medium(preferences.medium[xsane.medium_nr]); - - xsane_update_gamma_curve(TRUE); /* if necessary update preview gamma */ - - preview_display_valid(xsane.preview); /* update valid status of preview image */ - /* the valid status depends on gamma handling an medium change */ - - xsane_back_gtk_refresh_dialog(); /* update menu */ -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - static int xsane_option_defined(char *string) { if (string) @@ -493,9 +314,12 @@ static void xsane_gamma_changed(GtkAdjustment *adj_data, double *val) DBG(DBG_proc, "xsane_gamma_changed\n"); *val = adj_data->value; - xsane_enhancement_by_gamma(); - xsane_threshold_changed(); + if (!xsane.block_enhancement_update) + { + xsane_enhancement_by_gamma(); + xsane_threshold_changed(); + } } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -574,17 +398,6 @@ static void xsane_modus_callback(GtkWidget *xsane_parent, int *num) { DBG(DBG_proc, "xsane_modus_callback\n"); - if (xsane.filetype) /* add extension to filename */ - { - char buffer[256]; - - snprintf(buffer, sizeof(buffer), "%s%s", preferences.filename, xsane.filetype); - free(preferences.filename); - free(xsane.filetype); - xsane.filetype = NULL; - preferences.filename = strdup(buffer); - } - xsane.xsane_mode = *num; xsane_set_modus_defaults(); /* set defaults and maximum output size */ @@ -612,331 +425,12 @@ static void xsane_modus_callback(GtkWidget *xsane_parent, int *num) xsane_mail_dialog_close(); } #endif -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static void xsane_filename_counter_step_callback(GtkWidget *widget, gpointer data) -{ - DBG(DBG_proc, "xsane_filename_counter_step_callback\n"); - - preferences.filename_counter_step = (int) data; -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static void xsane_filetype_callback(GtkWidget *widget, gpointer data) -{ - DBG(DBG_proc, "xsane_filetype_callback\n"); - - if (data) - { - char *extension, *filename; - - extension = strrchr(preferences.filename, '.'); - - if ((extension) && (extension != preferences.filename)) - { - if ( (!strcasecmp(extension, ".pnm")) || (!strcasecmp(extension, ".raw")) - || (!strcasecmp(extension, ".png")) || (!strcasecmp(extension, ".ps")) - || (!strcasecmp(extension, ".rgba")) - || (!strcasecmp(extension, ".tiff")) || (!strcasecmp(extension, ".tif")) - || (!strcasecmp(extension, ".jpg")) || (!strcasecmp(extension, ".jpeg")) - ) /* remove filetype extension */ - { - filename = preferences.filename; - *extension = 0; /* remove extension */ - preferences.filename = strdup(filename); /* filename without extension */ - free(filename); /* free unused memory */ - } - } - } - else if (xsane.filetype) - { - char buffer[256]; - - snprintf(buffer, sizeof(buffer), "%s%s", preferences.filename, xsane.filetype); - free(preferences.filename); - free(xsane.filetype); - xsane.filetype = NULL; - preferences.filename = strdup(buffer); - } - - if (data) - { - xsane.filetype = strdup((char *) data); /* set extension for filename */ - } - - /* correct length of filename counter if it is shorter than minimum length */ - xsane_update_counter_in_filename(&preferences.filename, FALSE, 0, preferences.filename_counter_len); - gtk_entry_set_text(GTK_ENTRY(xsane.outputfilename_entry), preferences.filename); - xsane_define_maximum_output_size(); /* is necessary in postscript mode */ -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static void xsane_outputfilename_changed_callback(GtkWidget *widget, gpointer data) -{ - DBG(DBG_proc, "xsane_outputfilename_changed_callback\n"); - - if (preferences.filename) - { - free((void *) preferences.filename); - } - preferences.filename = strdup(gtk_entry_get_text(GTK_ENTRY(widget))); - - xsane_define_maximum_output_size(); /* is necessary in postscript mode */ -} - -/* ----------------------------------------------------------------------------------------------------------------- */ - -static void xsane_browse_filename_callback(GtkWidget *widget, gpointer data) -{ - char filename[1024]; - char windowname[256]; - - DBG(DBG_proc, "xsane_browse_filename_callback\n"); - - xsane_set_sensitivity(FALSE); - - if (xsane.filetype) /* set filetype to "by ext." */ - { - char buffer[256]; - - snprintf(buffer, sizeof(buffer), "%s%s", preferences.filename, xsane.filetype); - free(preferences.filename); - free(xsane.filetype); - xsane.filetype = NULL; - preferences.filename = strdup(buffer); - } - - if (preferences.filename) /* make sure a correct filename is defined */ - { - strncpy(filename, preferences.filename, sizeof(filename)); - filename[sizeof(filename) - 1] = '\0'; - } - else /* no filename given, take standard filename */ - { - strcpy(filename, OUT_FILENAME); - } - - snprintf(windowname, sizeof(windowname), "%s %s %s", xsane.prog_name, WINDOW_OUTPUT_FILENAME, xsane.device_text); - - umask((mode_t) preferences.directory_umask); /* define new file permissions */ - xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, TRUE, TRUE, FALSE); - umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ - - if (preferences.filename) - { - free((void *) preferences.filename); - } - - xsane_set_sensitivity(TRUE); - - preferences.filename = strdup(filename); - - /* correct length of filename counter if it is shorter than minimum length */ - xsane_update_counter_in_filename(&preferences.filename, FALSE, 0, preferences.filename_counter_len); - - gtk_entry_set_text(GTK_ENTRY(xsane.outputfilename_entry), preferences.filename); - - gtk_option_menu_set_history(GTK_OPTION_MENU(xsane.filetype_option_menu), 0); /* set menu to "by ext" */ - xsane_define_maximum_output_size(); /* is necessary in postscript mode */ -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static void xsane_outputfilename_new(GtkWidget *vbox) -{ - GtkWidget *hbox; - GtkWidget *text; - GtkWidget *button; - GtkWidget *xsane_filetype_menu, *xsane_filetype_item; - GtkWidget *xsane_filename_counter_step_option_menu; - GtkWidget *xsane_filename_counter_step_menu; - GtkWidget *xsane_filename_counter_step_item; - GtkWidget *xsane_label; - gchar buf[200]; - int i,j; - int filetype_nr; - int select_item = 0; - - DBG(DBG_proc, "xsane_outputfilename_new\n"); - - /* first line: disk icon, filename box */ - - hbox = gtk_hbox_new(FALSE, 2); - gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); - gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); - - button = xsane_button_new_with_pixmap(xsane.xsane_window->window, hbox, file_xpm, DESC_BROWSE_FILENAME, - (GtkSignalFunc) xsane_browse_filename_callback, NULL); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_B, GDK_CONTROL_MASK, GTK_ACCEL_LOCKED); - - text = gtk_entry_new_with_max_length(255); - gtk_widget_set_usize(text, 80, 0); /* set minimum size */ - xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FILENAME); - gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.filename); - gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 4); - gtk_signal_connect(GTK_OBJECT(text), "changed", (GtkSignalFunc) xsane_outputfilename_changed_callback, NULL); - - xsane.outputfilename_entry = text; - - gtk_widget_show(text); - gtk_widget_show(hbox); - - - /* second line: Step, Type */ - - hbox = gtk_hbox_new(FALSE, 2); - gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); - gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 2); - - /* filename counter step */ - - xsane_label = gtk_label_new(TEXT_FILENAME_COUNTER_STEP); - gtk_box_pack_start(GTK_BOX(hbox), xsane_label, FALSE, FALSE, 2); - gtk_widget_show(xsane_label); - - xsane_filename_counter_step_option_menu = gtk_option_menu_new(); - xsane_back_gtk_set_tooltip(xsane.tooltips, xsane_filename_counter_step_option_menu, DESC_FILENAME_COUNTER_STEP); - gtk_box_pack_start(GTK_BOX(hbox), xsane_filename_counter_step_option_menu, FALSE, FALSE, 2); - gtk_widget_show(xsane_filename_counter_step_option_menu); - gtk_widget_show(hbox); - - xsane_filename_counter_step_menu = gtk_menu_new(); - - select_item = 0; - j = -2; - for (i=0; i < 5; i++) - { - snprintf(buf, sizeof(buf), "%+d", j); - xsane_filename_counter_step_item = gtk_menu_item_new_with_label(buf); - gtk_container_add(GTK_CONTAINER(xsane_filename_counter_step_menu), xsane_filename_counter_step_item); - gtk_signal_connect(GTK_OBJECT(xsane_filename_counter_step_item), "activate", - (GtkSignalFunc) xsane_filename_counter_step_callback, (void *) j); - gtk_widget_show(xsane_filename_counter_step_item); - if (preferences.filename_counter_step == j++) - { - select_item = i; - } - } - - gtk_option_menu_set_menu(GTK_OPTION_MENU(xsane_filename_counter_step_option_menu), xsane_filename_counter_step_menu); - gtk_option_menu_set_history(GTK_OPTION_MENU(xsane_filename_counter_step_option_menu), select_item); - - /* filetype */ - - xsane_filetype_menu = gtk_menu_new(); - - xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_BY_EXT); - gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); - gtk_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", - (GtkSignalFunc) xsane_filetype_callback, NULL); - gtk_widget_show(xsane_filetype_item); - filetype_nr = 0; - select_item = 0; - -#ifdef HAVE_LIBJPEG - xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_JPEG); - gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); - gtk_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", - (GtkSignalFunc) xsane_filetype_callback, XSANE_FILETYPE_JPEG); - gtk_widget_show(xsane_filetype_item); - filetype_nr++; - if ( (xsane.filetype) && (!strcasecmp(xsane.filetype, XSANE_FILETYPE_JPEG)) ) - { - select_item = filetype_nr; - } -#endif - -#ifdef HAVE_LIBPNG -#ifdef HAVE_LIBZ - xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_PNG); - gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); - gtk_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", - (GtkSignalFunc) xsane_filetype_callback, XSANE_FILETYPE_PNG); - gtk_widget_show(xsane_filetype_item); - filetype_nr++; - if ( (xsane.filetype) && (!strcasecmp(xsane.filetype, XSANE_FILETYPE_PNG)) ) - { - select_item = filetype_nr; - } -#endif -#endif - - xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_PNM); - gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); - gtk_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", - (GtkSignalFunc) xsane_filetype_callback, XSANE_FILETYPE_PNM); - gtk_widget_show(xsane_filetype_item); - filetype_nr++; - if ( (xsane.filetype) && (!strcasecmp(xsane.filetype, XSANE_FILETYPE_PNM)) ) - { - select_item = filetype_nr; - } - - xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_PS); - gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); - gtk_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", - (GtkSignalFunc) xsane_filetype_callback, XSANE_FILETYPE_PS); - gtk_widget_show(xsane_filetype_item); - filetype_nr++; - if ( (xsane.filetype) && (!strcasecmp(xsane.filetype, XSANE_FILETYPE_PS)) ) - { - select_item = filetype_nr; - } - - xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_RAW); - gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); - gtk_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", - (GtkSignalFunc) xsane_filetype_callback, XSANE_FILETYPE_RAW); - gtk_widget_show(xsane_filetype_item); - filetype_nr++; - if ( (xsane.filetype) && (!strcasecmp(xsane.filetype, XSANE_FILETYPE_RAW)) ) - { - select_item = filetype_nr; - } - -#ifdef SUPPORT_RGBA - xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_RGBA); - gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); - gtk_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", - (GtkSignalFunc) xsane_filetype_callback, XSANE_FILETYPE_RGBA); - gtk_widget_show(xsane_filetype_item); - filetype_nr++; - if ( (xsane.filetype) && (!strcasecmp(xsane.filetype, XSANE_FILETYPE_RGBA)) ) - { - select_item = filetype_nr; - } -#endif -#ifdef HAVE_LIBTIFF - xsane_filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_TIFF); - gtk_container_add(GTK_CONTAINER(xsane_filetype_menu), xsane_filetype_item); - gtk_signal_connect(GTK_OBJECT(xsane_filetype_item), "activate", - (GtkSignalFunc) xsane_filetype_callback, XSANE_FILETYPE_TIFF); - gtk_widget_show(xsane_filetype_item); - filetype_nr++; - if ( (xsane.filetype) && (!strcasecmp(xsane.filetype, XSANE_FILETYPE_TIFF)) ) + /* make sure dialogs are rebuild, otherwise we can get in trouble */ + while (gtk_events_pending()) { - select_item = filetype_nr; + gtk_main_iteration(); } -#endif - - xsane.filetype_option_menu = gtk_option_menu_new(); - xsane_back_gtk_set_tooltip(xsane.tooltips, xsane.filetype_option_menu, DESC_FILETYPE); - gtk_box_pack_end(GTK_BOX(hbox), xsane.filetype_option_menu, FALSE, FALSE, 2); - gtk_option_menu_set_menu(GTK_OPTION_MENU(xsane.filetype_option_menu), xsane_filetype_menu); - gtk_option_menu_set_history(GTK_OPTION_MENU(xsane.filetype_option_menu), select_item); - gtk_widget_show(xsane.filetype_option_menu); - - xsane_label = gtk_label_new(TEXT_FILETYPE); /* opposite order because of box_pack_end */ - gtk_box_pack_end(GTK_BOX(hbox), xsane_label, FALSE, FALSE, 2); - gtk_widget_show(xsane_label); - - gtk_widget_show(text); - gtk_widget_show(hbox); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -1088,17 +582,8 @@ static void xsane_show_resolution_list_callback(GtkWidget *widget) DBG(DBG_proc, "xsane_show_resolution_list_callback\n"); preferences.show_resolution_list = (GTK_CHECK_MENU_ITEM(widget)->active != 0); - xsane_refresh_dialog(); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ -static void xsane_page_rotate_callback(GtkWidget *widget) -{ - DBG(DBG_proc, "xsane_page_rotate_callback\n"); - - preferences.psrotate = (GTK_CHECK_MENU_ITEM(widget)->active != 0); - xsane_define_maximum_output_size(); + xsane_refresh_dialog(); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -1141,6 +626,35 @@ static void xsane_show_gamma_callback(GtkWidget *widget) /* ---------------------------------------------------------------------------------------------------------------------- */ +static void xsane_show_batch_scan_callback(GtkWidget * widget) +{ + DBG(DBG_proc, "xsane_show_batch_scan_callback\n"); + + preferences.show_batch_scan = (GTK_CHECK_MENU_ITEM(widget)->active != 0); + if (preferences.show_batch_scan) + { + gtk_widget_show(xsane.batch_scan_dialog); + } + else + { + gtk_widget_hide(xsane.batch_scan_dialog); + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_paper_orientation_callback(GtkWidget *widget, gpointer data) +{ + int pos = (int) data; + + DBG(DBG_proc, "xsane_paper_orientation_callback\n"); + + preferences.paper_orientation = pos; + xsane_define_maximum_output_size(); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static void xsane_printer_callback(GtkWidget *widget, gpointer data) { int printer_resolution; @@ -1182,32 +696,58 @@ static void xsane_printer_callback(GtkWidget *widget, gpointer data) /* ---------------------------------------------------------------------------------------------------------------------- */ -static void xsane_resolution_scale_update(GtkAdjustment *adj_data, double *val) +static gint xsane_resolution_timer_callback(GtkAdjustment *adj) +{ + if ((adj) && (!preferences.show_resolution_list)) /* make sure adjustment is valid */ + { + float val = adj->value; + + adj->value += 1.0; /* we need this to make sure that set_value really redraws the widgets */ + gtk_adjustment_set_value(adj, val); + } + + gtk_timeout_remove(xsane_resolution_timer); + xsane_resolution_timer = 0; + + return 0; /* stop timeout */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_resolution_scale_update(GtkAdjustment *adj, double *val) { int printer_resolution; -#if 1 /* gtk does not make sure that the value is quantisized correct */ float diff, old, new, quant; DBG(DBG_proc, "xsane_resolution_scale_update\n"); - quant = adj_data->step_increment; + quant = adj->step_increment; if (quant != 0) { - new = adj_data->value; + new = adj->value; old = *val; diff = quant*((int) ((new - old)/quant)); *val = old + diff; - adj_data->value = *val; - } -#else - DBG(DBG_proc, "xsane_resolution_scale_update\n"); + adj->value = *val; - *val = adj_data->value; +#ifndef _WIN32 + /* the resolution slider gets almost unusable when we do this with win32 */ + if (xsane_resolution_timer) + { + gtk_timeout_remove(xsane_resolution_timer); + xsane_resolution_timer = 0; + } + xsane_resolution_timer = gtk_timeout_add(XSANE_HOLD_TIME, (GtkFunction) xsane_resolution_timer_callback, (gpointer) adj); #endif + } + else + { + *val = adj->value; + } switch (xsane.param.format) { @@ -1243,9 +783,9 @@ static void xsane_resolution_scale_update(GtkAdjustment *adj_data, double *val) static void xsane_resolution_list_callback(GtkWidget *widget, gpointer data) { - GSGMenuItem *menu_item = data; + MenuItem *menu_item = data; SANE_Word val; - gchar *name = gtk_widget_get_name(widget->parent); + const gchar *name = gtk_widget_get_name(widget->parent); int printer_resolution; DBG(DBG_proc, "xsane_resolution_list_callback\n"); @@ -1367,8 +907,8 @@ static int xsane_resolution_widget_new(GtkWidget *parent, int well_known_option, if (!preferences.show_resolution_list) /* user wants slider */ { - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(parent), image_xpm, desc, - min, max, quant, quant*10, 0, 0, resolution, &resolution_widget, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(parent), image_xpm, desc, + min, max, quant, quant*10, 0, resolution, &resolution_widget, well_known_option, xsane_resolution_scale_update, SANE_OPTION_IS_SETTABLE(opt->cap)); } else /* user wants list instead of slider */ @@ -1466,6 +1006,7 @@ static int xsane_resolution_widget_new(GtkWidget *parent, int well_known_option, } str_list[j] = 0; xsane_control_option(xsane.dev, well_known_option, SANE_ACTION_GET_VALUE, &val, 0); + val = xsane_find_best_resolution(well_known_option, val); /* when backends uses default value not in list or range */ sprintf(str, "%d", (int) val); break; @@ -1477,6 +1018,7 @@ static int xsane_resolution_widget_new(GtkWidget *parent, int well_known_option, } str_list[j] = 0; xsane_control_option(xsane.dev, well_known_option, SANE_ACTION_GET_VALUE, &val, 0); + val = xsane_find_best_resolution(well_known_option, val); /* when backends uses default value not in list or range */ sprintf(str, "%d", (int) SANE_UNFIX(val)); break; @@ -1507,13 +1049,13 @@ static int xsane_resolution_widget_new(GtkWidget *parent, int well_known_option, /* ---------------------------------------------------------------------------------------------------------------------- */ -static void xsane_zoom_update(GtkAdjustment *adj_data, double *val) +static void xsane_zoom_update(GtkAdjustment *adj, double *val) { int printer_resolution; DBG(DBG_proc, "xsane_zoom_update\n"); - *val=adj_data->value; + *val=adj->value; switch (xsane.param.format) { @@ -1634,7 +1176,7 @@ static int xsane_zoom_widget_new(GtkWidget *parent, int well_known_option, doubl *zoom = resolution / printer_resolution; - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(parent), image_xpm, desc, min, max, 0.01, 0.1, 0.1, 2, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(parent), image_xpm, desc, min, max, 0.01, 0.1, 2, zoom, &xsane.zoom_widget, well_known_option, xsane_zoom_update, SANE_OPTION_IS_SETTABLE(opt->cap)); @@ -1647,8 +1189,8 @@ static int xsane_zoom_widget_new(GtkWidget *parent, int well_known_option, doubl static void xsane_scanmode_menu_callback(GtkWidget *widget, gpointer data) { - GSGMenuItem *menu_item = data; - GSGDialogElement *elem = menu_item->elem; + MenuItem *menu_item = data; + DialogElement *elem = menu_item->elem; const SANE_Option_Descriptor *opt; int opt_num; int printer_resolution; @@ -1713,7 +1255,7 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ GtkWidget *xsane_hbox_xsane_enhancement; GtkWidget *xsane_frame; GtkWidget *button; - gchar buf[200]; + gchar buf[256]; DBG(DBG_proc, "xsane_update_xsane_callback\n"); @@ -1758,41 +1300,35 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ xsane_modus_item = gtk_menu_item_new_with_label(MENU_ITEM_VIEWER); - gtk_widget_add_accelerator(xsane_modus_item, "activate", xsane.accelerator_group, GDK_V, GDK_CONTROL_MASK, GTK_ACCEL_LOCKED); - gtk_widget_lock_accelerators(xsane_modus_item); - gtk_widget_set_usize(xsane_modus_item, 60, 0); + gtk_widget_add_accelerator(xsane_modus_item, "activate", xsane.accelerator_group, GDK_V, GDK_CONTROL_MASK, DEF_GTK_MENU_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + gtk_widget_set_size_request(xsane_modus_item, 60, -1); gtk_container_add(GTK_CONTAINER(xsane_modus_menu), xsane_modus_item); - gtk_signal_connect(GTK_OBJECT(xsane_modus_item), "activate", - (GtkSignalFunc) xsane_modus_callback, &xsane_scanmode_number[XSANE_VIEWER]); + g_signal_connect(GTK_OBJECT(xsane_modus_item), "activate", (GtkSignalFunc) xsane_modus_callback, &xsane_scanmode_number[XSANE_VIEWER]); gtk_widget_show(xsane_modus_item); xsane_modus_item = gtk_menu_item_new_with_label(MENU_ITEM_SAVE); - gtk_widget_add_accelerator(xsane_modus_item, "activate", xsane.accelerator_group, GDK_S, GDK_CONTROL_MASK, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(xsane_modus_item, "activate", xsane.accelerator_group, GDK_S, GDK_CONTROL_MASK, DEF_GTK_MENU_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_container_add(GTK_CONTAINER(xsane_modus_menu), xsane_modus_item); - gtk_signal_connect(GTK_OBJECT(xsane_modus_item), "activate", - (GtkSignalFunc) xsane_modus_callback, &xsane_scanmode_number[XSANE_SAVE]); + g_signal_connect(GTK_OBJECT(xsane_modus_item), "activate", (GtkSignalFunc) xsane_modus_callback, &xsane_scanmode_number[XSANE_SAVE]); gtk_widget_show(xsane_modus_item); xsane_modus_item = gtk_menu_item_new_with_label(MENU_ITEM_COPY); - gtk_widget_add_accelerator(xsane_modus_item, "activate", xsane.accelerator_group, GDK_C, GDK_CONTROL_MASK, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(xsane_modus_item, "activate", xsane.accelerator_group, GDK_C, GDK_CONTROL_MASK, DEF_GTK_MENU_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_container_add(GTK_CONTAINER(xsane_modus_menu), xsane_modus_item); - gtk_signal_connect(GTK_OBJECT(xsane_modus_item), "activate", - (GtkSignalFunc) xsane_modus_callback, &xsane_scanmode_number[XSANE_COPY]); + g_signal_connect(GTK_OBJECT(xsane_modus_item), "activate", (GtkSignalFunc) xsane_modus_callback, &xsane_scanmode_number[XSANE_COPY]); gtk_widget_show(xsane_modus_item); xsane_modus_item = gtk_menu_item_new_with_label(MENU_ITEM_FAX); - gtk_widget_add_accelerator(xsane_modus_item, "activate", xsane.accelerator_group, GDK_F, GDK_CONTROL_MASK, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(xsane_modus_item, "activate", xsane.accelerator_group, GDK_F, GDK_CONTROL_MASK, DEF_GTK_MENU_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_container_add(GTK_CONTAINER(xsane_modus_menu), xsane_modus_item); - gtk_signal_connect(GTK_OBJECT(xsane_modus_item), "activate", - (GtkSignalFunc) xsane_modus_callback, &xsane_scanmode_number[XSANE_FAX]); + g_signal_connect(GTK_OBJECT(xsane_modus_item), "activate", (GtkSignalFunc) xsane_modus_callback, &xsane_scanmode_number[XSANE_FAX]); gtk_widget_show(xsane_modus_item); #ifdef XSANE_ACTIVATE_MAIL xsane_modus_item = gtk_menu_item_new_with_label(MENU_ITEM_MAIL); - gtk_widget_add_accelerator(xsane_modus_item, "activate", xsane.accelerator_group, GDK_M, GDK_CONTROL_MASK, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(xsane_modus_item, "activate", xsane.accelerator_group, GDK_M, GDK_CONTROL_MASK, DEF_GTK_MENU_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_container_add(GTK_CONTAINER(xsane_modus_menu), xsane_modus_item); - gtk_signal_connect(GTK_OBJECT(xsane_modus_item), "activate", - (GtkSignalFunc) xsane_modus_callback, &xsane_scanmode_number[XSANE_MAIL]); + g_signal_connect(GTK_OBJECT(xsane_modus_item), "activate", (GtkSignalFunc) xsane_modus_callback, &xsane_scanmode_number[XSANE_MAIL]); gtk_widget_show(xsane_modus_item); #endif @@ -1828,9 +1364,9 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ gtk_box_pack_start(GTK_BOX(xsane_vbox_xsane_modus), hbox, FALSE, FALSE, 2); pixmap = gdk_pixmap_create_from_xpm_d(xsane.histogram_dialog->window, &mask, xsane.bg_trans, (gchar **) colormode_xpm); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); gtk_widget_show(pixmapwidget); switch (opt->constraint_type) @@ -1868,9 +1404,9 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ gtk_box_pack_start(GTK_BOX(xsane_vbox_xsane_modus), hbox, FALSE, FALSE, 2); pixmap = gdk_pixmap_create_from_xpm_d(xsane.histogram_dialog->window, &mask, xsane.bg_trans, (gchar **) scanner_xpm); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); gtk_widget_show(pixmapwidget); switch (opt->constraint_type) @@ -1904,10 +1440,17 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); gtk_box_pack_start(GTK_BOX(xsane_vbox_xsane_modus), hbox, FALSE, FALSE, 2); - pixmap = gdk_pixmap_create_from_xpm_d(xsane.histogram_dialog->window, &mask, xsane.bg_trans, (gchar **) medium_xpm); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + if (xsane.medium_calibration) + { + pixmap = gdk_pixmap_create_from_xpm_d(xsane.histogram_dialog->window, &mask, xsane.bg_trans, (gchar **) medium_edit_xpm); + } + else + { + pixmap = gdk_pixmap_create_from_xpm_d(xsane.histogram_dialog->window, &mask, xsane.bg_trans, (gchar **) medium_xpm); + } + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); gtk_widget_show(pixmapwidget); xsane_medium_menu = gtk_menu_new(); @@ -1916,7 +1459,10 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ { xsane_medium_item = gtk_menu_item_new_with_label(preferences.medium[i]->name); gtk_menu_append(GTK_MENU(xsane_medium_menu), xsane_medium_item); - gtk_signal_connect(GTK_OBJECT(xsane_medium_item), "activate", (GtkSignalFunc) xsane_set_medium_callback, (void *)i); + g_signal_connect(GTK_OBJECT(xsane_medium_item), "button_press_event", (GtkSignalFunc) xsane_medium_context_menu_callback, (void *) i); + g_signal_connect(GTK_OBJECT(xsane_medium_item), "activate", (GtkSignalFunc) xsane_set_medium_callback, (void *) i); + gtk_object_set_data(GTK_OBJECT(xsane_medium_item), "Selection", (void *) i); + gtk_widget_show(xsane_medium_item); } @@ -1932,7 +1478,15 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ xsane.medium_widget = xsane_medium_option_menu; - xsane_set_medium(preferences.medium[xsane.medium_nr]); /* set selected medium */ + if (xsane.medium_calibration) /* are we running in medium calibration mode? */ + { + xsane_apply_medium_definition_as_enhancement(preferences.medium[xsane.medium_nr]); + xsane_set_medium(NULL); + } + else + { + xsane_set_medium(preferences.medium[xsane.medium_nr]); + } } else /* no medium selextion for lineart mode: use Full range gamma curve */ { @@ -1971,6 +1525,7 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ GtkWidget *pixmapwidget, *hbox, *xsane_printer_option_menu, *xsane_printer_menu, *xsane_printer_item; GdkBitmap *mask; GdkPixmap *pixmap; + GtkWidget *paper_orientation_option_menu, *paper_orientation_menu, *paper_orientation_item; int i; hbox = gtk_hbox_new(FALSE, 2); @@ -1978,11 +1533,102 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ gtk_box_pack_start(GTK_BOX(xsane_vbox_xsane_modus), hbox, FALSE, FALSE, 2); pixmap = gdk_pixmap_create_from_xpm_d(xsane.histogram_dialog->window, &mask, xsane.bg_trans, (gchar **) printer_xpm); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); gtk_widget_show(pixmapwidget); + + /* printer position */ + paper_orientation_menu = gtk_menu_new(); + + for (i = 0; i <= 12; ++i) + { + gchar **xpm_d; + + if (i == 5) /* 5, 6, 7 are not used */ + { + i = 8; + } + + switch (i) + { + /* portrait */ + default: + case 0: + xpm_d = (gchar **) paper_orientation_portrait_top_left_xpm; + break; + + case 1: + xpm_d = (gchar **) paper_orientation_portrait_top_right_xpm; + break; + + case 2: + xpm_d = (gchar **) paper_orientation_portrait_bottom_right_xpm; + break; + + case 3: + xpm_d = (gchar **) paper_orientation_portrait_bottom_left_xpm; + break; + + case 4: + xpm_d = (gchar **) paper_orientation_portrait_center_xpm; + break; + + /* landscape */ + case 8: + xpm_d = (gchar **) paper_orientation_landscape_top_left_xpm; + break; + + case 9: + xpm_d = (gchar **) paper_orientation_landscape_top_right_xpm; + break; + + case 10: + xpm_d = (gchar **) paper_orientation_landscape_bottom_right_xpm; + break; + + case 11: + xpm_d = (gchar **) paper_orientation_landscape_bottom_left_xpm; + break; + + case 12: + xpm_d = (gchar **) paper_orientation_landscape_center_xpm; + break; + } + + paper_orientation_item = gtk_menu_item_new(); + pixmap = gdk_pixmap_create_from_xpm_d(xsane.histogram_dialog->window, &mask, xsane.bg_trans, xpm_d); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); + gtk_container_add(GTK_CONTAINER(paper_orientation_item), pixmapwidget); + gtk_widget_show(pixmapwidget); + gdk_drawable_unref(pixmap); + + + gtk_container_add(GTK_CONTAINER(paper_orientation_menu), paper_orientation_item); + g_signal_connect(GTK_OBJECT(paper_orientation_item), "activate", (GtkSignalFunc) xsane_paper_orientation_callback, (void *) i); + + gtk_widget_show(paper_orientation_item); + } + + paper_orientation_option_menu = gtk_option_menu_new(); + xsane_back_gtk_set_tooltip(xsane.tooltips, paper_orientation_option_menu, DESC_PAPER_ORIENTATION); + gtk_box_pack_end(GTK_BOX(hbox), paper_orientation_option_menu, FALSE, FALSE, 0); + gtk_option_menu_set_menu(GTK_OPTION_MENU(paper_orientation_option_menu), paper_orientation_menu); + + /* set default selection */ + if (preferences.paper_orientation < 8) /* portrai number is correct */ + { + gtk_option_menu_set_history(GTK_OPTION_MENU(paper_orientation_option_menu), preferences.paper_orientation); + } + else /* numbers 5, 6, 7 are unused, so we have to substract 3 for landscape mode */ + { + gtk_option_menu_set_history(GTK_OPTION_MENU(paper_orientation_option_menu), preferences.paper_orientation-3); + } + + gtk_widget_show(paper_orientation_option_menu); + + xsane_printer_menu = gtk_menu_new(); for (i=0; i < preferences.printerdefinitions; i++) @@ -1991,10 +1637,10 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ if (i<12) { gtk_widget_add_accelerator(xsane_printer_item, "activate", xsane.accelerator_group, - GDK_F1+i, GDK_SHIFT_MASK, GTK_ACCEL_LOCKED); + GDK_F1+i, GDK_SHIFT_MASK, DEF_GTK_MENU_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); } gtk_container_add(GTK_CONTAINER(xsane_printer_menu), xsane_printer_item); - gtk_signal_connect(GTK_OBJECT(xsane_printer_item), "activate", (GtkSignalFunc) xsane_printer_callback, (void *) i); + g_signal_connect(GTK_OBJECT(xsane_printer_item), "activate", (GtkSignalFunc) xsane_printer_callback, (void *) i); gtk_widget_show(xsane_printer_item); } @@ -2010,7 +1656,7 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ /* number of copies */ xsane_text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, xsane_text, DESC_COPY_NUMBER); - gtk_widget_set_usize(xsane_text, 25, 0); + gtk_widget_set_size_request(xsane_text, 25, -1); snprintf(buf, sizeof(buf), "%d", xsane.copy_number); gtk_entry_set_text(GTK_ENTRY(xsane_text), (char *) buf); gtk_box_pack_end(GTK_BOX(hbox), xsane_text, FALSE, FALSE, 10); @@ -2107,8 +1753,8 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ case XSANE_LINEART_XSANE: if (xsane.well_known.threshold > 0) { - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), threshold_xpm, DESC_THRESHOLD, - xsane.threshold_min, xsane.threshold_max, 1.0, 10.0, 0.0, 0, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), threshold_xpm, DESC_THRESHOLD, + xsane.threshold_min, xsane.threshold_max, 1.0, 10.0, 0, &xsane.threshold, &xsane.threshold_widget, 0, xsane_gamma_changed, TRUE); xsane_threshold_changed(); } @@ -2128,55 +1774,55 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ xsane_separator_new(xsane_vbox_xsane_modus, 2); } - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), Gamma_xpm, DESC_GAMMA, - XSANE_GAMMA_MIN, XSANE_GAMMA_MAX, 0.01, 0.1, 0.0, 2, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), Gamma_xpm, DESC_GAMMA, + XSANE_GAMMA_MIN, XSANE_GAMMA_MAX, 0.01, 0.1, 2, &xsane.gamma, &xsane.gamma_widget, 0, xsane_gamma_changed, TRUE); if ( (xsane.xsane_colors > 1) && (!xsane.enhancement_rgb_default) ) { - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), Gamma_red_xpm, DESC_GAMMA_R, - XSANE_GAMMA_MIN, XSANE_GAMMA_MAX, 0.01, 0.1, 0.0, 2, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), Gamma_red_xpm, DESC_GAMMA_R, + XSANE_GAMMA_MIN, XSANE_GAMMA_MAX, 0.01, 0.1, 2, &xsane.gamma_red , &xsane.gamma_red_widget, 0, xsane_gamma_changed, TRUE); - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), Gamma_green_xpm, DESC_GAMMA_G, - XSANE_GAMMA_MIN, XSANE_GAMMA_MAX, 0.01, 0.1, 0.0, 2, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), Gamma_green_xpm, DESC_GAMMA_G, + XSANE_GAMMA_MIN, XSANE_GAMMA_MAX, 0.01, 0.1, 2, &xsane.gamma_green, &xsane.gamma_green_widget, 0, xsane_gamma_changed, TRUE); - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), Gamma_blue_xpm, DESC_GAMMA_B, - XSANE_GAMMA_MIN, XSANE_GAMMA_MAX, 0.01, 0.1, 0.0, 2, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), Gamma_blue_xpm, DESC_GAMMA_B, + XSANE_GAMMA_MIN, XSANE_GAMMA_MAX, 0.01, 0.1, 2, &xsane.gamma_blue , &xsane.gamma_blue_widget, 0, xsane_gamma_changed, TRUE); xsane_separator_new(xsane_vbox_xsane_modus, 2); } - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), brightness_xpm, DESC_BRIGHTNESS, - xsane.brightness_min, xsane.brightness_max, 1.0, 10.0, 0.0, 0, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), brightness_xpm, DESC_BRIGHTNESS, + xsane.brightness_min, xsane.brightness_max, 0.1, 1.0, 1, &xsane.brightness, &xsane.brightness_widget, 0, xsane_gamma_changed, TRUE); if ( (xsane.xsane_colors > 1) && (!xsane.enhancement_rgb_default) ) { - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), brightness_red_xpm, DESC_BRIGHTNESS_R, - xsane.brightness_min, xsane.brightness_max, 1.0, 10.0, 0.0, 0, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), brightness_red_xpm, DESC_BRIGHTNESS_R, + xsane.brightness_min, xsane.brightness_max, 0.1, 1.0, 1, &xsane.brightness_red , &xsane.brightness_red_widget, 0, xsane_gamma_changed, TRUE); - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), brightness_green_xpm, DESC_BRIGHTNESS_G, - xsane.brightness_min, xsane.brightness_max, 1.0, 10.0, 0.0, 0, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), brightness_green_xpm, DESC_BRIGHTNESS_G, + xsane.brightness_min, xsane.brightness_max, 0.1, 1.0, 1, &xsane.brightness_green, &xsane.brightness_green_widget, 0, xsane_gamma_changed, TRUE); - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), brightness_blue_xpm, DESC_BRIGHTNESS_B, - xsane.brightness_min, xsane.brightness_max, 1.0, 10.0, 0.0, 0, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), brightness_blue_xpm, DESC_BRIGHTNESS_B, + xsane.brightness_min, xsane.brightness_max, 0.1, 1.0, 1, &xsane.brightness_blue, &xsane.brightness_blue_widget, 0, xsane_gamma_changed, TRUE); xsane_separator_new(xsane_vbox_xsane_modus, 2); } - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), contrast_xpm, DESC_CONTRAST, - xsane.contrast_gray_min, xsane.contrast_max, 1.0, 10.0, 0.0, 0, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), contrast_xpm, DESC_CONTRAST, + xsane.contrast_gray_min, xsane.contrast_max, 0.1, 1.0, 1, &xsane.contrast, &xsane.contrast_widget, 0, xsane_gamma_changed, TRUE); if ( (xsane.xsane_colors > 1) && (!xsane.enhancement_rgb_default) ) { - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), contrast_red_xpm, DESC_CONTRAST_R, - xsane.contrast_min, xsane.contrast_max, 1.0, 10.0, 0.0, 0, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), contrast_red_xpm, DESC_CONTRAST_R, + xsane.contrast_min, xsane.contrast_max, 0.1, 1.0, 1, &xsane.contrast_red , &xsane.contrast_red_widget, 0, xsane_gamma_changed, TRUE); - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), contrast_green_xpm, DESC_CONTRAST_G, - xsane.contrast_min, xsane.contrast_max, 1.0, 10.0, 0.0, 0, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), contrast_green_xpm, DESC_CONTRAST_G, + xsane.contrast_min, xsane.contrast_max, 0.1, 1.0, 1, &xsane.contrast_green, &xsane.contrast_green_widget, 0, xsane_gamma_changed, TRUE); - xsane_scale_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), contrast_blue_xpm, DESC_CONTRAST_B, - xsane.contrast_min, xsane.contrast_max, 1.0, 10.0, 0.0, 0, + xsane_range_new_with_pixmap(xsane.xsane_window->window, GTK_BOX(xsane_vbox_xsane_modus), contrast_blue_xpm, DESC_CONTRAST_B, + xsane.contrast_min, xsane.contrast_max, 0.1, 1.0, 1, &xsane.contrast_blue, &xsane.contrast_blue_widget, 0, xsane_gamma_changed, TRUE); } @@ -2192,36 +1838,31 @@ GtkWidget *xsane_update_xsane_callback() /* creates the XSane option window */ { button = xsane_toggle_button_new_with_pixmap(xsane.xsane_window->window, xsane_hbox_xsane_enhancement, rgb_default_xpm, DESC_RGB_DEFAULT, &xsane.enhancement_rgb_default, xsane_enhancement_rgb_default_callback); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_B, GDK_SHIFT_MASK, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_B, GDK_CONTROL_MASK, DEF_GTK_ACCEL_LOCKED); } button = xsane_toggle_button_new_with_pixmap(xsane.xsane_window->window, xsane_hbox_xsane_enhancement, negative_xpm, DESC_NEGATIVE, &xsane.negative, xsane_enhancement_negative_callback); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_N, GDK_SHIFT_MASK, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_N, GDK_CONTROL_MASK, DEF_GTK_ACCEL_LOCKED); button = xsane_button_new_with_pixmap(xsane.xsane_window->window, xsane_hbox_xsane_enhancement, enhance_xpm, DESC_ENH_AUTO, xsane_auto_enhancement_callback, NULL); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_E, GDK_SHIFT_MASK, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_E, GDK_CONTROL_MASK, DEF_GTK_ACCEL_LOCKED); button = xsane_button_new_with_pixmap(xsane.xsane_window->window, xsane_hbox_xsane_enhancement, default_enhancement_xpm, DESC_ENH_DEFAULT, xsane_enhancement_restore_default, NULL); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_D, GDK_SHIFT_MASK, GTK_ACCEL_LOCKED); - - button = xsane_button_new_with_pixmap(xsane.xsane_window->window, xsane_hbox_xsane_enhancement, restore_enhancement_xpm, DESC_ENH_RESTORE, - xsane_enhancement_restore, NULL); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_R, GDK_SHIFT_MASK, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_0, GDK_CONTROL_MASK, DEF_GTK_ACCEL_LOCKED); - button = xsane_button_new_with_pixmap(xsane.xsane_window->window, xsane_hbox_xsane_enhancement, store_enhancement_xpm, DESC_ENH_STORE, - xsane_enhancement_store, NULL); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_M, GDK_SHIFT_MASK, GTK_ACCEL_LOCKED); - if (xsane.medium_calibration) /* are we running in medium calibration mode? */ + if (!xsane.medium_calibration) /* do not display "M R" when we are we running in medium calibration mode */ { - button = xsane_button_new_with_pixmap(xsane.xsane_window->window, xsane_hbox_xsane_enhancement, medium_xpm, DESC_STORE_MEDIUM, - xsane_add_medium_definition_callback, NULL); + button = xsane_button_new_with_pixmap(xsane.xsane_window->window, xsane_hbox_xsane_enhancement, restore_enhancement_xpm, DESC_ENH_RESTORE, + xsane_enhancement_restore, NULL); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_R, GDK_CONTROL_MASK, DEF_GTK_ACCEL_LOCKED); - button = xsane_button_new_with_pixmap(xsane.xsane_window->window, xsane_hbox_xsane_enhancement, medium_delete_xpm, DESC_DELETE_MEDIUM, - xsane_delete_medium_definition_callback, NULL); + button = xsane_button_new_with_pixmap(xsane.xsane_window->window, xsane_hbox_xsane_enhancement, store_enhancement_xpm, DESC_ENH_STORE, + xsane_enhancement_store, NULL); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_plus, GDK_CONTROL_MASK, DEF_GTK_ACCEL_LOCKED); } xsane_update_histogram(TRUE /* update raw */); @@ -2321,33 +1962,6 @@ static int xsane_pref_restore(void) } } - if (!preferences.medium_definitions) - { - DBG(DBG_info, "no medium definitions in preferences file, using predefined list\n"); - - preferences.medium_definitions = sizeof(pref_default_medium)/sizeof(Preferences_medium_t); - preferences.medium = calloc(preferences.medium_definitions, sizeof(void *)); - - for (i=0; iname = strdup(_(pref_default_medium[i].name)); - preferences.medium[i]->shadow_gray = pref_default_medium[i].shadow_gray; - preferences.medium[i]->shadow_red = pref_default_medium[i].shadow_red; - preferences.medium[i]->shadow_green = pref_default_medium[i].shadow_green; - preferences.medium[i]->shadow_blue = pref_default_medium[i].shadow_blue; - preferences.medium[i]->highlight_gray = pref_default_medium[i].highlight_gray; - preferences.medium[i]->highlight_red = pref_default_medium[i].highlight_red; - preferences.medium[i]->highlight_green = pref_default_medium[i].highlight_green; - preferences.medium[i]->highlight_blue = pref_default_medium[i].highlight_blue; - preferences.medium[i]->gamma_gray = pref_default_medium[i].gamma_gray; - preferences.medium[i]->gamma_red = pref_default_medium[i].gamma_red; - preferences.medium[i]->gamma_green = pref_default_medium[i].gamma_green; - preferences.medium[i]->gamma_blue = pref_default_medium[i].gamma_blue; - preferences.medium[i]->negative = pref_default_medium[i].negative; - } - } - if (preferences.xsane_version_str) { free(preferences.xsane_version_str); @@ -2369,11 +1983,30 @@ static int xsane_pref_restore(void) } } + if (!preferences.working_directory) + { + char filename[PATH_MAX]; + + if (getcwd(filename, sizeof(filename))) + { + preferences.working_directory = strdup(filename); /* set current working directory */ + } + } + else + { + chdir(preferences.working_directory); /* set working directory */ + } + if (!preferences.filename) { preferences.filename = strdup(OUT_FILENAME); } + if (!preferences.filetype) + { + preferences.filetype = strdup(XSANE_FILETYPE_BY_EXT); + } + if (preferences.printerdefinitions == 0) { xsane_new_printer(); @@ -2414,7 +2047,6 @@ static int xsane_pref_restore(void) preferences.fax_viewer = strdup(FAXVIEWER); } - #ifdef XSANE_ACTIVATE_MAIL if (!preferences.mail_smtp_server) { @@ -2431,53 +2063,151 @@ static int xsane_pref_restore(void) preferences.mail_reply_to = strdup(""); } - if (!preferences.mail_pop3_server) - { - preferences.mail_pop3_server = strdup(""); - } + if (!preferences.mail_pop3_server) + { + preferences.mail_pop3_server = strdup(""); + } + + if (!preferences.mail_pop3_user) + { + preferences.mail_pop3_user = strdup(""); + } + + if (!preferences.mail_pop3_pass) + { + preferences.mail_pop3_pass = strdup(""); + } + + if (!preferences.mail_project) + { + preferences.mail_project = strdup(MAILPROJECT); + } + + if (!preferences.mail_viewer) + { + preferences.mail_viewer = strdup(MAILVIEWER); + } + + if (!preferences.mail_filetype) + { + preferences.mail_filetype = strdup(XSANE_DEFAULT_MAILTYPE); + } +#endif + + if (!preferences.ocr_command) + { + preferences.ocr_command = strdup(OCRCOMMAND); + } + + if (!preferences.ocr_inputfile_option) + { + preferences.ocr_inputfile_option = strdup(OCRINPUTFILEOPT); + } + + if (!preferences.ocr_outputfile_option) + { + preferences.ocr_outputfile_option = strdup(OCROUTPUTFILEOPT); + } + + if (!preferences.ocr_gui_outfd_option) + { + preferences.ocr_gui_outfd_option = strdup(OCROUTFDOPT); + } + + if (!preferences.ocr_progress_keyword) + { + preferences.ocr_progress_keyword = strdup(OCRPROGRESSKEY); + } + + if (!preferences.browser) + { + if (getenv(STRINGIFY(ENVIRONMENT_BROWSER_NAME))) + { + preferences.browser = getenv(STRINGIFY(ENVIRONMENT_BROWSER_NAME)); + } + else + { + preferences.browser = strdup(DEFAULT_BROWSER); + } + } + + return result; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +void xsane_pref_save_media(void) +{ + char filename[PATH_MAX]; + int fd; + + DBG(DBG_proc, "xsane_pref_save_media\n"); + + xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", NULL, "xsane", NULL, ".mdf", XSANE_PATH_LOCAL_SANE); + + DBG(DBG_info2, "saving media to \"%s\"\n", filename); + + umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ + fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0600); /* rw- --- --- */ - if (!preferences.mail_pop3_user) + if (fd < 0) { - preferences.mail_pop3_user = strdup(""); - } + char buf[256]; - if (!preferences.mail_pop3_pass) - { - preferences.mail_pop3_pass = strdup(""); + snprintf(buf, sizeof(buf), "%s %s.", ERR_FAILED_CREATE_FILE, strerror(errno)); + xsane_back_gtk_error(buf, TRUE); + return; } + preferences_save_media(fd); + close(fd); +} +/* ---------------------------------------------------------------------------------------------------------------------- */ - if (!preferences.mail_project) - { - preferences.mail_project = strdup(MAILPROJECT); - } +static void xsane_pref_restore_media(void) +{ + char filename[PATH_MAX]; + int fd; + int i; - if (!preferences.mail_viewer) - { - preferences.mail_viewer = strdup(MAILVIEWER); - } -#endif + DBG(DBG_proc, "xsane_pref_restore_media\n"); - if (!preferences.ocr_command) - { - preferences.ocr_command = strdup(OCRCOMMAND); - } + preferences.medium_definitions = 0; - if (!preferences.ocr_inputfile_option) - { - preferences.ocr_inputfile_option = strdup(OCRINPUTFILEOPT); - } + xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", NULL, "xsane", NULL, ".mdf", XSANE_PATH_LOCAL_SANE); + fd = open(filename, O_RDONLY); - if (!preferences.ocr_outputfile_option) + if (fd >= 0) { - preferences.ocr_outputfile_option = strdup(OCROUTPUTFILEOPT); + preferences_restore_media(fd); + close(fd); } - if (!preferences.doc_viewer) + if (!preferences.medium_definitions) { - preferences.doc_viewer = strdup(DOCVIEWER); + DBG(DBG_info, "no medium definitions found, using predefined list\n"); + + preferences.medium_definitions = sizeof(pref_default_medium)/sizeof(Preferences_medium_t); + preferences.medium = calloc(preferences.medium_definitions, sizeof(void *)); + + for (i=0; iname = strdup(_(pref_default_medium[i].name)); + preferences.medium[i]->shadow_gray = pref_default_medium[i].shadow_gray; + preferences.medium[i]->shadow_red = pref_default_medium[i].shadow_red; + preferences.medium[i]->shadow_green = pref_default_medium[i].shadow_green; + preferences.medium[i]->shadow_blue = pref_default_medium[i].shadow_blue; + preferences.medium[i]->highlight_gray = pref_default_medium[i].highlight_gray; + preferences.medium[i]->highlight_red = pref_default_medium[i].highlight_red; + preferences.medium[i]->highlight_green = pref_default_medium[i].highlight_green; + preferences.medium[i]->highlight_blue = pref_default_medium[i].highlight_blue; + preferences.medium[i]->gamma_gray = pref_default_medium[i].gamma_gray; + preferences.medium[i]->gamma_red = pref_default_medium[i].gamma_red; + preferences.medium[i]->gamma_green = pref_default_medium[i].gamma_green; + preferences.medium[i]->gamma_blue = pref_default_medium[i].gamma_blue; + preferences.medium[i]->negative = pref_default_medium[i].negative; + } } - - return result; } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -2489,6 +2219,60 @@ static RETSIGTYPE xsane_quit_handler(int signal) xsane_quit(); } +/* ---------------------------------------------------------------------------------------------------------------------- */ + +void xsane_add_process_to_list(pid_t pid) +{ + XsaneChildprocess *newprocess; + + DBG(DBG_proc, "xsane_add_process_to_list(%d)\n", pid); + + newprocess = malloc(sizeof(XsaneChildprocess)); + newprocess->pid = pid; + newprocess->next = xsane.childprocess_list; + xsane.childprocess_list = newprocess; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static RETSIGTYPE xsane_sigchld_handler(int signal) +{ + int status; + XsaneChildprocess **childprocess_listptr = &xsane.childprocess_list; + XsaneChildprocess *childprocess = xsane.childprocess_list; + + DBG(DBG_proc, "xsane_sigchld_handler\n"); + + /* normally we would do a wait(&status); here, but some backends fork() a reader + process and test the return status of waitpid() that returns with an error + when we get the signal at first and clean up the process with wait(). + A backend should not handle this as error but some do and so we have to handle this */ + + while (childprocess) + { + XsaneChildprocess *nextprocess; + pid_t pid; + + pid = waitpid(childprocess->pid, &status, WNOHANG); + if ( (WIFEXITED(status)) && (pid == childprocess->pid) ) + { + DBG(DBG_info, "deleteing pid %d from list\n", childprocess->pid); + + nextprocess = childprocess->next; + free(childprocess); /* free memory of element */ + childprocess = nextprocess; /* go to next element */ + *childprocess_listptr = childprocess; /* remove element from list */ + /* childprocess_listptr keeps the same !!! */ + } + else + { + DBG(DBG_info, "keeping pid %d in list\n", childprocess->pid); + + childprocess_listptr = &childprocess->next; /* set pointer to next element */ + childprocess = childprocess->next; /* go to next element */ + } + } +} /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -2548,7 +2332,7 @@ static void xsane_quit(void) xsane.preview_gamma_data_blue = 0; } -#ifdef HAVE_LIBGIMP_GIMP_H +#ifdef HAVE_ANY_GIMP if (xsane.mode == XSANE_GIMP_EXTENSION) { gimp_quit(); @@ -2577,7 +2361,7 @@ static void xsane_exit(void) /* this is called when xsane exits before gtk_main sane_exit(); -#ifdef HAVE_LIBGIMP_GIMP_H +#ifdef HAVE_ANY_GIMP if (xsane.mode == XSANE_GIMP_EXTENSION) { gimp_quit(); @@ -2642,18 +2426,8 @@ static gint xsane_scan_win_delete(GtkWidget *w, gpointer data) } } - if (xsane.filetype) /* add extension to filename */ - { - char buffer[256]; - - snprintf(buffer, sizeof(buffer), "%s%s", preferences.filename, xsane.filetype); - free(preferences.filename); - free(xsane.filetype); - xsane.filetype = 0; - preferences.filename = strdup(buffer); - } - xsane_pref_save(); + xsane_pref_save_media(); if (preferences.save_devprefs_at_exit) { @@ -2703,23 +2477,23 @@ static GtkWidget *xsane_files_build_menu(void) DBG(DBG_proc, "xsane_files_build_menu\n"); menu = gtk_menu_new(); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(menu)); + gtk_menu_set_accel_group(GTK_MENU(menu), xsane.accelerator_group); /* XSane info dialog */ item = gtk_menu_item_new_with_label(MENU_ITEM_INFO); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_I, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_I, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_info_dialog, NULL); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_info_dialog, NULL); gtk_widget_show(item); /* Quit */ item = gtk_menu_item_new_with_label(MENU_ITEM_QUIT); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_Q, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_Q, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_container_add(GTK_CONTAINER(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_scan_win_delete, NULL); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_scan_win_delete, NULL); gtk_widget_show(item); return menu; @@ -2727,6 +2501,334 @@ static GtkWidget *xsane_files_build_menu(void) /* ---------------------------------------------------------------------------------------------------------------------- */ +static gint xsane_medium_move_up_callback(GtkWidget *widget, GtkWidget *medium_widget) +{ + int selection; + + DBG(DBG_proc, "xsane_medium_move_up_callback\n"); + + selection = (int) gtk_object_get_data(GTK_OBJECT(medium_widget), "Selection"); + + if (selection > 1) /* make sure "full range" stays at top */ + { + Preferences_medium_t *help_medium; + + DBG(DBG_info ,"moving up %s\n", preferences.medium[selection]->name); + + help_medium = preferences.medium[selection-1]; + preferences.medium[selection-1] = preferences.medium[selection]; + preferences.medium[selection] = help_medium; + + if (xsane.medium_nr == selection) + { + xsane.medium_nr--; + } + else if (xsane.medium_nr == selection-1) + { + xsane.medium_nr++; + } + + xsane_back_gtk_refresh_dialog(); /* brute-force: update menu */ + } + + return TRUE; /* event is handled */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static gint xsane_medium_move_down_callback(GtkWidget *widget, GtkWidget *medium_widget) +{ + int selection; + + DBG(DBG_proc, "xsane_medium_move_up_callback\n"); + + selection = (int) gtk_object_get_data(GTK_OBJECT(medium_widget), "Selection"); + + if ((selection) && (selection < preferences.medium_definitions-1)) + { + Preferences_medium_t *help_medium; + + DBG(DBG_info ,"moving down %s\n", preferences.medium[selection]->name); + + help_medium = preferences.medium[selection]; + preferences.medium[selection] = preferences.medium[selection+1]; + preferences.medium[selection+1] = help_medium; + + if (xsane.medium_nr == selection) + { + xsane.medium_nr++; + } + else if (xsane.medium_nr == selection+1) + { + xsane.medium_nr--; + } + + xsane_back_gtk_refresh_dialog(); /* brute-force: update menu */ + } + + return TRUE; /* event is handled */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static gint xsane_medium_rename_callback(GtkWidget *widget, GtkWidget *medium_widget) +{ + int selection; + char *oldname; + char *newname; + GtkWidget *old_medium_menu; + int old_selection; + + DBG(DBG_proc, "xsane_medium_rename_callback\n"); + + selection = (int) gtk_object_get_data(GTK_OBJECT(medium_widget), "Selection"); + + oldname = strdup(preferences.medium[selection]->name); + + DBG(DBG_info ,"rename %s\n", oldname); + + /* set menu in correct state, is a bit strange this way but I do not have a better idea */ + old_medium_menu = gtk_option_menu_get_menu(GTK_OPTION_MENU(xsane.medium_widget)); + old_selection = (int) gtk_object_get_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(old_medium_menu))), "Selection"); + gtk_menu_popdown(GTK_MENU(old_medium_menu)); + gtk_option_menu_set_history(GTK_OPTION_MENU(xsane.medium_widget), old_selection); + + if (!xsane_front_gtk_getname_dialog(WINDOW_MEDIUM_RENAME, DESC_MEDIUM_RENAME, oldname, &newname)) + { + free(preferences.medium[selection]->name); + preferences.medium[selection]->name = strdup(newname); + DBG(DBG_info, "renaming %s to %s\n", oldname, newname); + + xsane_back_gtk_refresh_dialog(); /* update menu */ + } + + free(oldname); + free(newname); + + xsane_set_sensitivity(TRUE); + + return TRUE; /* event is handled */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static gint xsane_medium_add_callback(GtkWidget *widget, GtkWidget *medium_widget) +{ + int selection; + char *oldname; + char *newname; + GtkWidget *old_medium_menu; + int old_selection; + int i; + + DBG(DBG_proc, "xsane_medium_add_callback\n"); + + /* add new item after selected item */ + selection = 1 + (int) gtk_object_get_data(GTK_OBJECT(medium_widget), "Selection"); + + oldname = strdup(TEXT_NEW_MEDIA_NAME); + + /* set menu in correct state, is a bit strange this way but I do not have a better idea */ + old_medium_menu = gtk_option_menu_get_menu(GTK_OPTION_MENU(xsane.medium_widget)); + old_selection = (int) gtk_object_get_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(old_medium_menu))), "Selection"); + gtk_menu_popdown(GTK_MENU(old_medium_menu)); + gtk_option_menu_set_history(GTK_OPTION_MENU(xsane.medium_widget), old_selection); + + if (!xsane_front_gtk_getname_dialog(WINDOW_MEDIUM_ADD, DESC_MEDIUM_ADD, oldname, &newname)) + { + preferences.medium_definitions++; + preferences.medium = realloc(preferences.medium, preferences.medium_definitions * sizeof(void *)); + + for (i = preferences.medium_definitions-1; i > selection; i--) + { + preferences.medium[i] = preferences.medium[i-1]; + } + + DBG(DBG_info, "adding new media %s\n", newname); + + if (xsane.negative) + { + preferences.medium[selection] = calloc(sizeof(Preferences_medium_t), 1); + preferences.medium[selection]->name = strdup(newname); + preferences.medium[selection]->shadow_gray = 100.0 - xsane.slider_gray.value[2]; + preferences.medium[selection]->shadow_red = 100.0 - xsane.slider_red.value[2]; + preferences.medium[selection]->shadow_green = 100.0 - xsane.slider_green.value[2]; + preferences.medium[selection]->shadow_blue = 100.0 - xsane.slider_blue.value[2]; + preferences.medium[selection]->highlight_gray = 100.0 - xsane.slider_gray.value[0]; + preferences.medium[selection]->highlight_red = 100.0 - xsane.slider_red.value[0]; + preferences.medium[selection]->highlight_green = 100.0 - xsane.slider_green.value[0]; + preferences.medium[selection]->highlight_blue = 100.0 - xsane.slider_blue.value[0]; + preferences.medium[selection]->gamma_gray = xsane.gamma; + preferences.medium[selection]->gamma_red = xsane.gamma * xsane.gamma_red; + preferences.medium[selection]->gamma_green = xsane.gamma * xsane.gamma_green; + preferences.medium[selection]->gamma_blue = xsane.gamma * xsane.gamma_blue; + preferences.medium[selection]->negative = xsane.negative; + } + else + { + preferences.medium[selection] = calloc(sizeof(Preferences_medium_t), 1); + preferences.medium[selection]->name = strdup(newname); + preferences.medium[selection]->shadow_gray = xsane.slider_gray.value[0]; + preferences.medium[selection]->shadow_red = xsane.slider_red.value[0]; + preferences.medium[selection]->shadow_green = xsane.slider_green.value[0]; + preferences.medium[selection]->shadow_blue = xsane.slider_blue.value[0]; + preferences.medium[selection]->highlight_gray = xsane.slider_gray.value[2]; + preferences.medium[selection]->highlight_red = xsane.slider_red.value[2]; + preferences.medium[selection]->highlight_green = xsane.slider_green.value[2]; + preferences.medium[selection]->highlight_blue = xsane.slider_blue.value[2]; + preferences.medium[selection]->gamma_gray = xsane.gamma; + preferences.medium[selection]->gamma_red = xsane.gamma * xsane.gamma_red; + preferences.medium[selection]->gamma_green = xsane.gamma * xsane.gamma_green; + preferences.medium[selection]->gamma_blue = xsane.gamma * xsane.gamma_blue; + preferences.medium[selection]->negative = xsane.negative; + } + + xsane.medium_nr = selection; /* activate new created medium */ + + xsane_back_gtk_refresh_dialog(); /* update menu */ + xsane_enhancement_by_gamma(); /* update sliders */ + } + + free(oldname); + free(newname); + + xsane_set_sensitivity(TRUE); + + return TRUE; /* event is handled */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static gint xsane_medium_delete_callback(GtkWidget *widget, GtkWidget *medium_widget) +{ + int selection, i; + + DBG(DBG_proc, "xsane_medium_delete_callback\n"); + + selection = (int) gtk_object_get_data(GTK_OBJECT(medium_widget), "Selection"); + + if (selection) /* full range can not be deleted */ + { + DBG(DBG_info ,"deleting %s\n", preferences.medium[selection]->name); + + free(preferences.medium[selection]); + + preferences.medium_definitions--; + + for (i = selection; i < preferences.medium_definitions; i++) + { + preferences.medium[i] = preferences.medium[i+1]; + } + + if (xsane.medium_nr == selection) + { + xsane.medium_nr--; + xsane.medium_changed = TRUE; + + if (xsane.medium_calibration) /* are we running in medium calibration mode? */ + { + xsane_apply_medium_definition_as_enhancement(preferences.medium[xsane.medium_nr]); + xsane_set_medium(NULL); + } + else + { + xsane_set_medium(preferences.medium[xsane.medium_nr]); + } + + xsane_enhancement_by_gamma(); /* update sliders */ + } + + xsane_back_gtk_refresh_dialog(); /* update menu */ + + xsane_update_gamma_curve(TRUE); /* if necessary update preview gamma */ + + preview_display_valid(xsane.preview); /* update valid status of preview image */ + /* the valid status depends on gamma handling an medium change */ + } + + return TRUE; /* event is handled */ +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static gint xsane_medium_context_menu_callback(GtkWidget *widget, GdkEvent *event) +{ + GtkWidget *menu; + GtkWidget *menu_item; + GdkEventButton *event_button; + int selection; + + DBG(DBG_proc, "xsane_medium_context_menu_callback\n"); + + selection = (int) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); + + if (event->type == GDK_BUTTON_PRESS) + { + event_button = (GdkEventButton *) event; + + if (event_button->button == 3) + { + char buf[256]; + + menu = gtk_menu_new(); + + if (xsane.medium_calibration) /* are we running in medium calibration mode? */ + { + /* add medium */ + menu_item = gtk_menu_item_new_with_label(MENU_ITEM_MEDIUM_ADD); + gtk_widget_show(menu_item); + gtk_container_add(GTK_CONTAINER(menu), menu_item); + g_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) xsane_medium_add_callback, widget); + } + + /* rename medium */ + snprintf(buf, sizeof(buf), "%s: %s", preferences.medium[selection]->name, MENU_ITEM_RENAME); + menu_item = gtk_menu_item_new_with_label(buf); + gtk_widget_show(menu_item); + gtk_container_add(GTK_CONTAINER(menu), menu_item); + g_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) xsane_medium_rename_callback, widget); + + if (selection) /* not available for "full area" */ + { + /* delete medium */ + snprintf(buf, sizeof(buf), "%s: %s", preferences.medium[selection]->name, MENU_ITEM_DELETE); + menu_item = gtk_menu_item_new_with_label(buf); + gtk_widget_show(menu_item); + gtk_container_add(GTK_CONTAINER(menu), menu_item); + g_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) xsane_medium_delete_callback, widget); + } + + if (selection>1) /* available from 3rd item */ + { + /* move up */ + snprintf(buf, sizeof(buf), "%s: %s", preferences.medium[selection]->name, MENU_ITEM_MOVE_UP); + menu_item = gtk_menu_item_new_with_label(buf); + gtk_widget_show(menu_item); + gtk_container_add(GTK_CONTAINER(menu), menu_item); + g_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) xsane_medium_move_up_callback, widget); + } + + if ((selection) && (selection < preferences.medium_definitions-1)) + { + /* move down */ + snprintf(buf, sizeof(buf), "%s: %s", preferences.medium[selection]->name, MENU_ITEM_MOVE_DWN); + menu_item = gtk_menu_item_new_with_label(buf); + gtk_widget_show(menu_item); + gtk_container_add(GTK_CONTAINER(menu), menu_item); + g_signal_connect(GTK_OBJECT(menu_item), "activate", (GtkSignalFunc) xsane_medium_move_down_callback, widget); + } + + gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, event_button->button, event_button->time); + + return TRUE; /* event is handled */ + } + } + + return FALSE; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + static void xsane_set_medium_callback(GtkWidget *widget, gpointer data) { int medium_nr = (int) data; @@ -2738,7 +2840,18 @@ static void xsane_set_medium_callback(GtkWidget *widget, gpointer data) xsane.medium_nr = medium_nr; - xsane_set_medium(preferences.medium[medium_nr]); + if (xsane.medium_calibration) /* are we running in medium calibration mode? */ + { + xsane_apply_medium_definition_as_enhancement(preferences.medium[xsane.medium_nr]); + xsane_set_medium(NULL); + } + else + { + xsane_set_medium(preferences.medium[xsane.medium_nr]); + } + + xsane_enhancement_by_gamma(); /* update sliders */ + xsane_back_gtk_refresh_dialog(); /* update menu */ xsane_update_gamma_curve(TRUE); /* if necessary update preview gamma */ @@ -2755,9 +2868,9 @@ static void xsane_set_pref_unit_callback(GtkWidget *widget, gpointer data) DBG(DBG_proc, "xsane_set_pref_unit_callback\n"); - gtk_signal_handler_block_by_func(GTK_OBJECT(xsane.length_unit_mm), (GtkSignalFunc) xsane_set_pref_unit_callback, "mm"); - gtk_signal_handler_block_by_func(GTK_OBJECT(xsane.length_unit_cm), (GtkSignalFunc) xsane_set_pref_unit_callback, "cm"); - gtk_signal_handler_block_by_func(GTK_OBJECT(xsane.length_unit_in), (GtkSignalFunc) xsane_set_pref_unit_callback, "in"); + g_signal_handlers_block_by_func(GTK_OBJECT(xsane.length_unit_mm), (GtkSignalFunc) xsane_set_pref_unit_callback, "mm"); + g_signal_handlers_block_by_func(GTK_OBJECT(xsane.length_unit_cm), (GtkSignalFunc) xsane_set_pref_unit_callback, "cm"); + g_signal_handlers_block_by_func(GTK_OBJECT(xsane.length_unit_in), (GtkSignalFunc) xsane_set_pref_unit_callback, "in"); if (strcmp(unit, "mm") == 0) { @@ -2780,19 +2893,67 @@ static void xsane_set_pref_unit_callback(GtkWidget *widget, gpointer data) gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.length_unit_in), TRUE); } - gtk_signal_handler_unblock_by_func(GTK_OBJECT(xsane.length_unit_mm), (GtkSignalFunc) xsane_set_pref_unit_callback, "mm"); - gtk_signal_handler_unblock_by_func(GTK_OBJECT(xsane.length_unit_cm), (GtkSignalFunc) xsane_set_pref_unit_callback, "cm"); - gtk_signal_handler_unblock_by_func(GTK_OBJECT(xsane.length_unit_in), (GtkSignalFunc) xsane_set_pref_unit_callback, "in"); + g_signal_handlers_unblock_by_func(GTK_OBJECT(xsane.length_unit_mm), (GtkSignalFunc) xsane_set_pref_unit_callback, "mm"); + g_signal_handlers_unblock_by_func(GTK_OBJECT(xsane.length_unit_cm), (GtkSignalFunc) xsane_set_pref_unit_callback, "cm"); + g_signal_handlers_unblock_by_func(GTK_OBJECT(xsane.length_unit_in), (GtkSignalFunc) xsane_set_pref_unit_callback, "in"); + + preferences.length_unit = unit_conversion_factor; + + xsane_refresh_dialog(); + + if (xsane.preview) + { + preview_area_resize(xsane.preview); /* redraw rulers */ + } + + xsane_batch_scan_update_label_list(); /* update units in batch scan list */ + + xsane_pref_save(); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_edit_medium_definition_callback(GtkWidget *widget, gpointer data) +{ + DBG(DBG_proc, "xsane_edit_medium_definition_callback\n"); + + if (GTK_CHECK_MENU_ITEM(widget)->active) /* enable edit mode */ + { + DBG(DBG_info2, "enabling edit mode\n"); - preferences.length_unit = unit_conversion_factor; + xsane.medium_calibration = TRUE; + xsane.no_preview_medium_gamma = TRUE; - xsane_refresh_dialog(); - if (xsane.preview) + xsane.brightness_min = XSANE_MEDIUM_CALIB_BRIGHTNESS_MIN; + xsane.brightness_max = XSANE_MEDIUM_CALIB_BRIGHTNESS_MAX; + xsane.contrast_gray_min = XSANE_CONTRAST_GRAY_MIN; + xsane.contrast_min = XSANE_MEDIUM_CALIB_CONTRAST_MIN; + xsane.contrast_max = XSANE_MEDIUM_CALIB_CONTRAST_MAX; + + xsane_apply_medium_definition_as_enhancement(preferences.medium[xsane.medium_nr]); + xsane_set_medium(NULL); + } + else /* disable edit mode */ { - preview_area_resize(xsane.preview); /* redraw rulers */ + DBG(DBG_info2, "disabling edit mode\n"); + + xsane.medium_calibration = FALSE; + xsane.no_preview_medium_gamma = FALSE; + + xsane.brightness_min = XSANE_BRIGHTNESS_MIN; + xsane.brightness_max = XSANE_BRIGHTNESS_MAX; + xsane.contrast_gray_min = XSANE_CONTRAST_GRAY_MIN; + xsane.contrast_min = XSANE_CONTRAST_MIN; + xsane.contrast_max = XSANE_CONTRAST_MAX; + + xsane_apply_medium_definition_as_enhancement(preferences.medium[0]); + xsane_set_medium(preferences.medium[xsane.medium_nr]); } - xsane_pref_save(); + xsane_enhancement_by_gamma(); /* update sliders */ + xsane_back_gtk_refresh_dialog(); /* update dialog */ + + xsane_update_gamma_curve(TRUE); /* if necessary update preview gamma */ } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -2803,11 +2964,11 @@ static void xsane_set_update_policy_callback(GtkWidget *widget, gpointer data) DBG(DBG_proc, "xsane_set_update_policy_callback\n"); - gtk_signal_handler_block_by_func(GTK_OBJECT(xsane.update_policy_continu), (GtkSignalFunc) xsane_set_update_policy_callback, + g_signal_handlers_block_by_func(GTK_OBJECT(xsane.update_policy_continu), (GtkSignalFunc) xsane_set_update_policy_callback, (void *) GTK_UPDATE_CONTINUOUS); - gtk_signal_handler_block_by_func(GTK_OBJECT(xsane.update_policy_discont), (GtkSignalFunc) xsane_set_update_policy_callback, + g_signal_handlers_block_by_func(GTK_OBJECT(xsane.update_policy_discont), (GtkSignalFunc) xsane_set_update_policy_callback, (void *) GTK_UPDATE_DISCONTINUOUS); - gtk_signal_handler_block_by_func(GTK_OBJECT(xsane.update_policy_delayed), (GtkSignalFunc) xsane_set_update_policy_callback, + g_signal_handlers_block_by_func(GTK_OBJECT(xsane.update_policy_delayed), (GtkSignalFunc) xsane_set_update_policy_callback, (void *) GTK_UPDATE_DELAYED); if (policy == GTK_UPDATE_CONTINUOUS) @@ -2829,11 +2990,11 @@ static void xsane_set_update_policy_callback(GtkWidget *widget, gpointer data) gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.update_policy_delayed), TRUE); } - gtk_signal_handler_unblock_by_func(GTK_OBJECT(xsane.update_policy_continu), (GtkSignalFunc) xsane_set_update_policy_callback, + g_signal_handlers_unblock_by_func(GTK_OBJECT(xsane.update_policy_continu), (GtkSignalFunc) xsane_set_update_policy_callback, (void *) GTK_UPDATE_CONTINUOUS); - gtk_signal_handler_unblock_by_func(GTK_OBJECT(xsane.update_policy_discont), (GtkSignalFunc) xsane_set_update_policy_callback, + g_signal_handlers_unblock_by_func(GTK_OBJECT(xsane.update_policy_discont), (GtkSignalFunc) xsane_set_update_policy_callback, (void *) GTK_UPDATE_DISCONTINUOUS); - gtk_signal_handler_unblock_by_func(GTK_OBJECT(xsane.update_policy_delayed), (GtkSignalFunc) xsane_set_update_policy_callback, + g_signal_handlers_unblock_by_func(GTK_OBJECT(xsane.update_policy_delayed), (GtkSignalFunc) xsane_set_update_policy_callback, (void *) GTK_UPDATE_DELAYED); preferences.gtk_update_policy = policy; @@ -2854,11 +3015,6 @@ static gint xsane_close_info_callback(GtkWidget *widget, gpointer data) xsane_set_sensitivity(TRUE); - xsane_update_histogram(TRUE /* update raw */); -#ifdef HAVE_WORKING_GTK_GAMMACURVE - xsane_update_gamma_dialog(); -#endif - return FALSE; } @@ -2875,15 +3031,16 @@ static void xsane_info_dialog(GtkWidget *widget, gpointer data) sane_get_parameters(xsane.dev, &xsane.param); /* update xsane.param */ - info_dialog = gtk_window_new(GTK_WINDOW_DIALOG); + info_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_position(GTK_WINDOW(info_dialog), GTK_WIN_POS_CENTER); - gtk_window_set_policy(GTK_WINDOW(info_dialog), FALSE, FALSE, FALSE); - gtk_signal_connect(GTK_OBJECT(info_dialog), "destroy", GTK_SIGNAL_FUNC(xsane_close_info_callback), info_dialog); + gtk_window_set_resizable(GTK_WINDOW(info_dialog), FALSE); + g_signal_connect(GTK_OBJECT(info_dialog), "destroy", GTK_SIGNAL_FUNC(xsane_close_info_callback), info_dialog); snprintf(buf, sizeof(buf), "%s %s %s", xsane.prog_name, WINDOW_INFO, xsane.device_text); gtk_window_set_title(GTK_WINDOW(info_dialog), buf); + gtk_container_set_border_width(GTK_CONTAINER(info_dialog), 5); accelerator_group = gtk_accel_group_new(); - gtk_accel_group_attach(accelerator_group, GTK_OBJECT(info_dialog)); + gtk_window_add_accel_group(GTK_WINDOW(info_dialog), accelerator_group); xsane_set_window_icon(info_dialog, 0); @@ -3104,6 +3261,9 @@ static void xsane_info_dialog(GtkWidget *widget, gpointer data) bufptr += strlen(bufptr); #endif + sprintf(bufptr, "TXT, "); + bufptr += strlen(bufptr); + bufptr--; bufptr--; *bufptr = 0; /* erase last comma */ @@ -3125,9 +3285,6 @@ static void xsane_info_dialog(GtkWidget *widget, gpointer data) sprintf(bufptr, "PNM, "); bufptr += strlen(bufptr); - sprintf(bufptr, "RAW, "); - bufptr += strlen(bufptr); - #ifdef SUPPORT_RGBA sprintf(bufptr, "RGBA, "); bufptr += strlen(bufptr); @@ -3146,19 +3303,20 @@ static void xsane_info_dialog(GtkWidget *widget, gpointer data) /* gtk_label_set((GtkLabel *)label, "HALLO"); */ +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_CLOSE); +#else button = gtk_button_new_with_label(BUTTON_CLOSE); - gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, GTK_ACCEL_LOCKED); +#endif + gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_close_info_callback, info_dialog); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_close_info_callback, info_dialog); gtk_box_pack_start(GTK_BOX(vbox), button, FALSE, FALSE, 0); gtk_widget_grab_default(button); gtk_widget_show(button); gtk_widget_show(info_dialog); - xsane_clear_histogram(&xsane.histogram_raw); - xsane_clear_histogram(&xsane.histogram_enh); - xsane_set_sensitivity(FALSE); } @@ -3197,15 +3355,16 @@ static void xsane_about_dialog(GtkWidget *widget, gpointer data) return; } - about_dialog = gtk_window_new(GTK_WINDOW_DIALOG); + about_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_position(GTK_WINDOW(about_dialog), GTK_WIN_POS_CENTER); - gtk_window_set_policy(GTK_WINDOW(about_dialog), FALSE, FALSE, FALSE); - gtk_signal_connect(GTK_OBJECT(about_dialog), "destroy", GTK_SIGNAL_FUNC(xsane_close_about_dialog_callback), NULL); + gtk_window_set_resizable(GTK_WINDOW(about_dialog), FALSE); + g_signal_connect(GTK_OBJECT(about_dialog), "destroy", GTK_SIGNAL_FUNC(xsane_close_about_dialog_callback), NULL); snprintf(buf, sizeof(buf), "%s %s", WINDOW_ABOUT_XSANE, xsane.prog_name); gtk_window_set_title(GTK_WINDOW(about_dialog), buf); + gtk_container_set_border_width(GTK_CONTAINER(about_dialog), 5); accelerator_group = gtk_accel_group_new(); - gtk_accel_group_attach(accelerator_group, GTK_OBJECT(about_dialog)); + gtk_window_add_accel_group(GTK_WINDOW(about_dialog), accelerator_group); xsane_set_window_icon(about_dialog, 0); @@ -3226,10 +3385,10 @@ static void xsane_about_dialog(GtkWidget *widget, gpointer data) xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, "xsane-logo", 0, ".xpm", XSANE_PATH_SYSTEM); pixmap = gdk_pixmap_create_from_xpm(about_dialog->window, &mask, bg_trans, filename); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(vbox), pixmapwidget, FALSE, FALSE, 2); gtk_widget_show(pixmapwidget); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); xsane_separator_new(vbox, 5); @@ -3250,10 +3409,14 @@ static void xsane_about_dialog(GtkWidget *widget, gpointer data) gtk_widget_show(label); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_CLOSE); +#else button = gtk_button_new_with_label(BUTTON_CLOSE); - gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, GTK_ACCEL_LOCKED); +#endif + gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_close_about_dialog_callback, NULL); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_close_about_dialog_callback, NULL); gtk_box_pack_start(GTK_BOX(vbox), button, FALSE, FALSE, 0); gtk_widget_grab_default(button); gtk_widget_show(button); @@ -3280,7 +3443,7 @@ static int xsane_close_about_translation_dialog_callback(GtkWidget *widget, gpoi static void xsane_about_translation_dialog(GtkWidget *widget, gpointer data) { GtkWidget *vbox, *hbox, *button, *label; - char buf[512]; + char buf[1024]; char filename[PATH_MAX]; GtkWidget *pixmapwidget; GdkBitmap *mask; @@ -3296,15 +3459,16 @@ static void xsane_about_translation_dialog(GtkWidget *widget, gpointer data) return; } - about_translation_dialog = gtk_window_new(GTK_WINDOW_DIALOG); + about_translation_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_position(GTK_WINDOW(about_translation_dialog), GTK_WIN_POS_CENTER); - gtk_window_set_policy(GTK_WINDOW(about_translation_dialog), FALSE, FALSE, FALSE); - gtk_signal_connect(GTK_OBJECT(about_translation_dialog), "destroy", GTK_SIGNAL_FUNC(xsane_close_about_translation_dialog_callback), NULL); + gtk_window_set_resizable(GTK_WINDOW(about_translation_dialog), FALSE); + g_signal_connect(GTK_OBJECT(about_translation_dialog), "destroy", GTK_SIGNAL_FUNC(xsane_close_about_translation_dialog_callback), NULL); snprintf(buf, sizeof(buf), "%s %s", WINDOW_ABOUT_TRANSLATION, xsane.prog_name); gtk_window_set_title(GTK_WINDOW(about_translation_dialog), buf); + gtk_container_set_border_width(GTK_CONTAINER(about_translation_dialog), 5); accelerator_group = gtk_accel_group_new(); - gtk_accel_group_attach(accelerator_group, GTK_OBJECT(about_translation_dialog)); + gtk_window_add_accel_group(GTK_WINDOW(about_translation_dialog), accelerator_group); xsane_set_window_icon(about_translation_dialog, 0); @@ -3325,10 +3489,10 @@ static void xsane_about_translation_dialog(GtkWidget *widget, gpointer data) xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, "xsane-logo", 0, ".xpm", XSANE_PATH_SYSTEM); pixmap = gdk_pixmap_create_from_xpm(about_translation_dialog->window, &mask, bg_trans, filename); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(vbox), pixmapwidget, FALSE, FALSE, 2); gtk_widget_show(pixmapwidget); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); xsane_separator_new(vbox, 5); @@ -3343,10 +3507,14 @@ static void xsane_about_translation_dialog(GtkWidget *widget, gpointer data) gtk_widget_show(label); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_CLOSE); +#else button = gtk_button_new_with_label(BUTTON_CLOSE); - gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, GTK_ACCEL_LOCKED); +#endif + gtk_widget_add_accelerator(button, "clicked", accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_close_about_translation_dialog_callback, NULL); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_close_about_translation_dialog_callback, NULL); gtk_box_pack_start(GTK_BOX(vbox), button, FALSE, FALSE, 0); gtk_widget_grab_default(button); gtk_widget_show(button); @@ -3356,154 +3524,9 @@ static void xsane_about_translation_dialog(GtkWidget *widget, gpointer data) /* ---------------------------------------------------------------------------------------------------------------------- */ -static SANE_Status xsane_get_area_value(int option, float *val, SANE_Int *unit) -{ - const SANE_Option_Descriptor *opt; - SANE_Handle dev; - SANE_Word word; - - DBG(DBG_proc, "xsane_get_area_value\n"); - - if (option <= 0) - { - return -1; - } - - if (xsane_control_option(xsane.dev, option, SANE_ACTION_GET_VALUE, &word, 0) == SANE_STATUS_GOOD) - { - dev = xsane.dev; - opt = xsane_get_option_descriptor(dev, option); - - if (unit) - { - *unit = opt->unit; - } - - if (val) - { - if (opt->type == SANE_TYPE_FIXED) - { - *val = (float) word / 65536.0; - } - else - { - *val = (float) word; - } - } - - return 0; - } - else if (val) - { - *val = 0; - } - return -2; -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -#ifdef XSANE_TEST -static void xsane_batch_scan_delete_callback(GtkWidget *widget, gpointer list) -{ - gtk_list_remove_items(GTK_LIST(list), GTK_LIST(list)->selection); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static void xsane_batch_scan_add_callback(GtkWidget *widget, gpointer list) -{ - GtkWidget *list_item; - float tlx, tly, brx, bry; - SANE_Int unit; - char buf[255]; - - DBG(DBG_proc, "xsane_batch_scan_add_callback\n"); - - xsane_get_area_value(xsane.well_known.coord[0], &tlx, &unit); - xsane_get_area_value(xsane.well_known.coord[1], &tly, &unit); - xsane_get_area_value(xsane.well_known.coord[2], &brx, &unit); - xsane_get_area_value(xsane.well_known.coord[3], &bry, &unit); - - if (unit == SANE_UNIT_MM) - { - snprintf(buf, sizeof(buf), " top left (%7.2fmm, %7.2fmm), bottom right (%7.2fmm, %7.2fmm)", tlx, tly, brx, bry); - } - else - { - snprintf(buf, sizeof(buf), " top left (%5.0fpx, %5.0fpx), bottom right (%5.0fpx, %5.0fpx)", tlx, tly, brx, bry); - } - - list_item = gtk_list_item_new_with_label(buf); - gtk_object_set_data(GTK_OBJECT(list_item), "list_item_data", strdup(buf)); - gtk_container_add(GTK_CONTAINER(list), list_item); - gtk_widget_show(list_item); -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static void xsane_batch_scan_dialog(GtkWidget *widget, gpointer data) -{ - GtkWidget *batch_scan_dialog, *batch_scan_vbox, *hbox, *button, *scrolled_window, *list; - char buf[64]; - - DBG(DBG_proc, "xsane_batch_scan_dialog\n"); - - batch_scan_dialog = gtk_window_new(GTK_WINDOW_DIALOG); - xsane_set_window_icon(batch_scan_dialog, 0); - - snprintf(buf, sizeof(buf), "%s %s", xsane.prog_name, WINDOW_BATCH_SCAN); - gtk_window_set_title(GTK_WINDOW(batch_scan_dialog), buf); - - /* set the main vbox */ - batch_scan_vbox = gtk_vbox_new(FALSE, 0); - gtk_container_set_border_width(GTK_CONTAINER(batch_scan_vbox), 0); - gtk_container_add(GTK_CONTAINER(batch_scan_dialog), batch_scan_vbox); - gtk_widget_show(batch_scan_vbox); - - /* set the main hbox */ - hbox = gtk_hbox_new(FALSE, 0); - xsane_separator_new(vbox, 2); - gtk_box_pack_end(GTK_BOX(batch_scan_vbox), hbox, FALSE, FALSE, 5); - gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); - gtk_widget_show(hbox); - - scrolled_window = gtk_scrolled_window_new(0, 0); - gtk_widget_set_usize(scrolled_window, 400, 200); - gtk_container_add(GTK_CONTAINER(batch_scan_vbox), scrolled_window); - gtk_widget_show(scrolled_window); - - list = gtk_list_new(); - - gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scrolled_window), list); - - gtk_widget_show(list); - - - button = gtk_button_new_with_label(BUTTON_OK); - GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_close_dialog_callback, batch_scan_dialog); - gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); - gtk_widget_grab_default(button); - gtk_widget_show(button); - - button = gtk_button_new_with_label(BUTTON_ADD_AREA); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_batch_scan_add_callback, list); - gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); - gtk_widget_show(button); - - button = gtk_button_new_with_label(BUTTON_DELETE); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_batch_scan_delete_callback, list); - gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); - gtk_widget_show(button); - - gtk_widget_show(batch_scan_dialog); -} -#endif - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static void xsane_fax_dialog_delete() +static gint xsane_fax_dialog_delete() { + return TRUE; } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -3524,15 +3547,14 @@ static void xsane_fax_dialog() return; /* window already is open */ } - /* GTK_WINDOW_DIALOG looks better but does not place it nice*/ + /* GTK_WINDOW_TOPLEVEL looks better but does not place it nice*/ fax_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); - gtk_window_set_title(GTK_WINDOW(fax_dialog), buf); snprintf(buf, sizeof(buf), "%s %s", xsane.prog_name, WINDOW_FAX_PROJECT); gtk_window_set_title(GTK_WINDOW(fax_dialog), buf); - gtk_signal_connect(GTK_OBJECT(fax_dialog), "delete_event", (GtkSignalFunc) xsane_fax_dialog_delete, NULL); + g_signal_connect(GTK_OBJECT(fax_dialog), "delete_event", (GtkSignalFunc) xsane_fax_dialog_delete, NULL); xsane_set_window_icon(fax_dialog, 0); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(fax_dialog)); + gtk_window_add_accel_group(GTK_WINDOW(fax_dialog), xsane.accelerator_group); /* set the main vbox */ fax_scan_vbox = gtk_vbox_new(FALSE, 0); @@ -3547,17 +3569,19 @@ static void xsane_fax_dialog() gtk_box_pack_start(GTK_BOX(fax_scan_vbox), hbox, FALSE, FALSE, 2); pixmap = gdk_pixmap_create_from_xpm_d(xsane.shell->window, &mask, xsane.bg_trans, (gchar **) fax_xpm); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); - text = gtk_entry_new_with_max_length(128); + text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FAXPROJECT); + gtk_entry_set_max_length(GTK_ENTRY(text), 128); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.fax_project); gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 4); - gtk_signal_connect(GTK_OBJECT(text), "changed", (GtkSignalFunc) xsane_fax_project_changed_callback, NULL); + g_signal_connect(GTK_OBJECT(text), "changed", (GtkSignalFunc) xsane_fax_project_changed_callback, NULL); xsane.fax_project_entry = text; + xsane.fax_project_entry_box = hbox; gtk_widget_show(pixmapwidget); gtk_widget_show(text); @@ -3576,14 +3600,15 @@ static void xsane_fax_dialog() gtk_widget_realize(fax_dialog); pixmap = gdk_pixmap_create_from_xpm_d(fax_dialog->window, &mask, xsane.bg_trans, (gchar **) faxreceiver_xpm); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); - text = gtk_entry_new_with_max_length(128); + text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FAXRECEIVER); + gtk_entry_set_max_length(GTK_ENTRY(text), 128); gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 4); - gtk_signal_connect(GTK_OBJECT(text), "changed", (GtkSignalFunc) xsane_fax_receiver_changed_callback, NULL); + g_signal_connect(GTK_OBJECT(text), "changed", (GtkSignalFunc) xsane_fax_receiver_changed_callback, NULL); xsane.fax_receiver_entry = text; @@ -3594,14 +3619,14 @@ static void xsane_fax_dialog() /* fine mode */ button = gtk_check_button_new_with_label(RADIO_BUTTON_FINE_MODE); xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_FAX_FINE_MODE); - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), xsane.fax_fine_mode); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), preferences.fax_fine_mode); gtk_box_pack_start(GTK_BOX(fax_project_vbox), button, FALSE, FALSE, 2); gtk_widget_show(button); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_fine_mode_callback, NULL); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_fine_mode_callback, NULL); scrolled_window = gtk_scrolled_window_new(0, 0); - gtk_widget_set_usize(scrolled_window, 200, 100); + gtk_widget_set_size_request(scrolled_window, 200, 100); gtk_container_add(GTK_CONTAINER(fax_project_vbox), scrolled_window); gtk_widget_show(scrolled_window); @@ -3620,22 +3645,22 @@ static void xsane_fax_dialog() gtk_box_pack_start(GTK_BOX(fax_project_vbox), hbox, FALSE, FALSE, 2); button = gtk_button_new_with_label(BUTTON_FILE_INSERT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_entry_insert_callback, list); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_entry_insert_callback, list); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); button = gtk_button_new_with_label(BUTTON_PAGE_SHOW); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_show_callback, list); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_show_callback, list); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); button = gtk_button_new_with_label(BUTTON_PAGE_RENAME); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_entry_rename_callback, list); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_entry_rename_callback, list); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); button = gtk_button_new_with_label(BUTTON_PAGE_DELETE); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_entry_delete_callback, list); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_entry_delete_callback, list); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -3658,12 +3683,12 @@ static void xsane_fax_dialog() gtk_box_pack_start(GTK_BOX(hbox), fax_project_exists_hbox, TRUE, TRUE, 0); button = gtk_button_new_with_label(BUTTON_SEND_PROJECT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_send, NULL); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_send, NULL); gtk_box_pack_start(GTK_BOX(fax_project_exists_hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); button = gtk_button_new_with_label(BUTTON_DELETE_PROJECT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_project_delete, NULL); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_project_delete, NULL); gtk_box_pack_start(GTK_BOX(fax_project_exists_hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -3671,10 +3696,18 @@ static void xsane_fax_dialog() xsane.fax_project_exists = fax_project_exists_hbox; button = gtk_button_new_with_label(BUTTON_CREATE_PROJECT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_project_create, NULL); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_project_create, NULL); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); xsane.fax_project_not_exists = button; + /* progress bar */ + xsane.fax_progress_bar = (GtkProgressBar *) gtk_progress_bar_new(); + gtk_box_pack_start(GTK_BOX(fax_scan_vbox), (GtkWidget *) xsane.fax_progress_bar, FALSE, FALSE, 0); + gtk_progress_set_show_text(GTK_PROGRESS(xsane.fax_progress_bar), TRUE); + gtk_progress_set_format_string(GTK_PROGRESS(xsane.fax_progress_bar), ""); + gtk_widget_show(GTK_WIDGET(xsane.fax_progress_bar)); + + xsane.fax_dialog = fax_dialog; xsane_fax_project_load(); @@ -3693,7 +3726,6 @@ static void xsane_fax_dialog_close() return; } - gtk_accel_group_detach(xsane.accelerator_group, GTK_OBJECT(xsane.fax_dialog)); gtk_widget_destroy(xsane.fax_dialog); xsane.fax_dialog = NULL; @@ -3706,23 +3738,37 @@ static void xsane_fax_project_load() { FILE *projectfile; char page[256]; - char buf[256]; + char filename[PATH_MAX]; GtkWidget *list_item; int i; - char c; + int c; DBG(DBG_proc, "xsane_fax_project_load\n"); - gtk_signal_disconnect_by_func(GTK_OBJECT(xsane.fax_receiver_entry), GTK_SIGNAL_FUNC(xsane_fax_receiver_changed_callback), 0); + if (xsane.fax_status) + { + free(xsane.fax_status); + xsane.fax_status = NULL; + } + + if (xsane.fax_receiver) + { + free(xsane.fax_receiver); + xsane.fax_receiver = NULL; + } + + g_signal_handlers_disconnect_by_func(GTK_OBJECT(xsane.fax_receiver_entry), GTK_SIGNAL_FUNC(xsane_fax_receiver_changed_callback), 0); gtk_list_remove_items(GTK_LIST(xsane.fax_list), GTK_LIST(xsane.fax_list)->children); - snprintf(buf, sizeof(buf), "%s/xsane-fax-list", preferences.fax_project); - projectfile = fopen(buf, "rb"); /* read binary (b for win32) */ + snprintf(filename, sizeof(filename), "%s/xsane-fax-list", preferences.fax_project); + projectfile = fopen(filename, "rb"); /* read binary (b for win32) */ if ((!projectfile) || (feof(projectfile))) { - snprintf(buf, sizeof(buf), "%s/page-1.ps", preferences.fax_project); - xsane.fax_filename=strdup(buf); + xsane.fax_status=strdup(TEXT_FAX_STATUS_NOT_CREATED); + + snprintf(filename, sizeof(filename), "%s/page-1.pnm", preferences.fax_project); + xsane.fax_filename=strdup(filename); xsane_update_counter_in_filename(&xsane.fax_filename, FALSE, 0, preferences.filename_counter_len); /* correct counter len */ xsane.fax_receiver=strdup(""); @@ -3735,6 +3781,20 @@ static void xsane_fax_project_load() } else { + i=0; + c=0; + while ((i<255) && (c != 10) && (c != EOF)) /* first line is receiver phone number or address */ + { + c = fgetc(projectfile); + page[i++] = c; + } + page[i-1] = 0; + if (strchr(page, '@')) + { + *strchr(page, '@') = 0; + } + xsane.fax_status = strdup(page); + i=0; c=0; while ((i<255) && (c != 10) && (c != EOF)) /* first line is receiver phone number or address */ @@ -3757,8 +3817,8 @@ static void xsane_fax_project_load() } page[i-1] = 0; - snprintf(buf, sizeof(buf), "%s/%s", preferences.fax_project, page); - xsane.fax_filename=strdup(buf); + snprintf(filename, sizeof(filename), "%s/%s", preferences.fax_project, page); + xsane.fax_filename=strdup(filename); while (!feof(projectfile)) { @@ -3774,8 +3834,23 @@ static void xsane_fax_project_load() if (c > 1) { + char *type; + char *extension; + + extension = strrchr(page, '.'); + if (extension) + { + type = strdup(extension); + *extension = 0; + } + else + { + type = strdup(""); + } + list_item = gtk_list_item_new_with_label(page); gtk_object_set_data(GTK_OBJECT(list_item), "list_item_data", strdup(page)); + gtk_object_set_data(GTK_OBJECT(list_item), "list_item_type", strdup(type)); gtk_container_add(GTK_CONTAINER(xsane.fax_list), list_item); gtk_widget_show(list_item); } @@ -3791,7 +3866,10 @@ static void xsane_fax_project_load() fclose(projectfile); } - gtk_signal_connect(GTK_OBJECT(xsane.fax_receiver_entry), "changed", (GtkSignalFunc) xsane_fax_receiver_changed_callback, NULL); + g_signal_connect(GTK_OBJECT(xsane.fax_receiver_entry), "changed", (GtkSignalFunc) xsane_fax_receiver_changed_callback, NULL); + + gtk_progress_set_format_string(GTK_PROGRESS(xsane.fax_progress_bar), _(xsane.fax_status)); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.fax_progress_bar), 0.0); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -3810,7 +3888,7 @@ static void xsane_fax_project_delete() list_item = GTK_OBJECT(list->data); page = strdup((char *) gtk_object_get_data(list_item, "list_item_data")); xsane_convert_text_to_filename(&page); - snprintf(file, sizeof(file), "%s/%s.ps", preferences.fax_project, page); + snprintf(file, sizeof(file), "%s/%s.pnm", preferences.fax_project, page); free(page); remove(file); list = list->next; @@ -3825,10 +3903,28 @@ static void xsane_fax_project_delete() /* ---------------------------------------------------------------------------------------------------------------------- */ +static void xsane_fax_project_update_project_status() +{ + FILE *projectfile; + char filename[PATH_MAX]; + char buf[256]; + + snprintf(filename, sizeof(filename), "%s/xsane-fax-list", preferences.fax_project); + projectfile = fopen(filename, "r+b"); /* r+ = read and write, position = start of file */ + + snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ + fprintf(projectfile, "%s\n", buf); /* first line is status of mail */ + + fclose(projectfile); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + void xsane_fax_project_save() { FILE *projectfile; char *page; + char *type; char filename[256]; GList *list = (GList *) GTK_LIST(xsane.fax_list)->children; GtkObject *list_item; @@ -3858,6 +3954,22 @@ void xsane_fax_project_save() return; } + if (xsane.fax_status) + { + char buf[256]; + + snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ + fprintf(projectfile, "%s\n", buf); /* first line is status of mail */ + gtk_progress_set_format_string(GTK_PROGRESS(xsane.fax_progress_bar), _(xsane.fax_status)); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.fax_progress_bar), 0.0); + } + else + { + fprintf(projectfile, " \n"); /* no mail status */ + gtk_progress_set_format_string(GTK_PROGRESS(xsane.fax_progress_bar), ""); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.fax_progress_bar), 0.0); + } + if (xsane.fax_receiver) { fprintf(projectfile, "%s\n", xsane.fax_receiver); /* first line is receiver phone number or address */ @@ -3881,7 +3993,8 @@ void xsane_fax_project_save() { list_item = GTK_OBJECT(list->data); page = (char *) gtk_object_get_data(list_item, "list_item_data"); - fprintf(projectfile, "%s\n", page); + type = (char *) gtk_object_get_data(list_item, "list_item_type"); + fprintf(projectfile, "%s%s\n", page, type); list = list->next; } fclose(projectfile); @@ -3895,6 +4008,11 @@ static void xsane_fax_project_create() if (strlen(preferences.fax_project)) { + if (xsane.fax_status) + { + free(xsane.fax_status); + } + xsane.fax_status = strdup(TEXT_FAX_STATUS_CREATED); xsane_fax_project_save(); xsane_fax_project_load(); } @@ -3906,6 +4024,12 @@ static void xsane_fax_receiver_changed_callback(GtkWidget *widget, gpointer data { DBG(DBG_proc, "xsane_fax_receiver_changed_callback\n"); + if (xsane.fax_status) + { + free(xsane.fax_status); + } + xsane.fax_status = strdup(TEXT_FAX_STATUS_CHANGED); + if (xsane.fax_receiver) { free((void *) xsane.fax_receiver); @@ -3913,6 +4037,9 @@ static void xsane_fax_receiver_changed_callback(GtkWidget *widget, gpointer data xsane.fax_receiver = strdup(gtk_entry_get_text(GTK_ENTRY(widget))); xsane_fax_project_save(); + + gtk_progress_set_format_string(GTK_PROGRESS(xsane.fax_progress_bar), _(xsane.fax_status)); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.fax_progress_bar), 0.0); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -3936,25 +4063,31 @@ static void xsane_fax_fine_mode_callback(GtkWidget * widget) { DBG(DBG_proc, "xsane_fax_fine_mode_callback\n"); - xsane.fax_fine_mode = (GTK_TOGGLE_BUTTON(widget)->active != 0); + preferences.fax_fine_mode = (GTK_TOGGLE_BUTTON(widget)->active != 0); } /* ---------------------------------------------------------------------------------------------------------------------- */ static void xsane_list_entrys_swap(GtkWidget *list_item_1, GtkWidget *list_item_2) { - char *text1; - char *text2; + char *page1; + char *page2; + char *type1; + char *type2; DBG(DBG_proc, "xsane_list_entrys_swap\n"); - text1 = (char *) gtk_object_get_data(GTK_OBJECT(list_item_1), "list_item_data"); - text2 = (char *) gtk_object_get_data(GTK_OBJECT(list_item_2), "list_item_data"); - - gtk_label_set(GTK_LABEL(gtk_container_children(GTK_CONTAINER(list_item_1))->data), text2); - gtk_label_set(GTK_LABEL(gtk_container_children(GTK_CONTAINER(list_item_2))->data), text1); - gtk_object_set_data(GTK_OBJECT(list_item_1), "list_item_data", text2); - gtk_object_set_data(GTK_OBJECT(list_item_2), "list_item_data", text1); + page1 = (char *) gtk_object_get_data(GTK_OBJECT(list_item_1), "list_item_data"); + type1 = (char *) gtk_object_get_data(GTK_OBJECT(list_item_1), "list_item_type"); + page2 = (char *) gtk_object_get_data(GTK_OBJECT(list_item_2), "list_item_data"); + type2 = (char *) gtk_object_get_data(GTK_OBJECT(list_item_2), "list_item_type"); + + gtk_label_set(GTK_LABEL(gtk_container_children(GTK_CONTAINER(list_item_1))->data), page2); + gtk_label_set(GTK_LABEL(gtk_container_children(GTK_CONTAINER(list_item_2))->data), page1); + gtk_object_set_data(GTK_OBJECT(list_item_1), "list_item_data", page2); + gtk_object_set_data(GTK_OBJECT(list_item_1), "list_item_type", type2); + gtk_object_set_data(GTK_OBJECT(list_item_2), "list_item_data", page1); + gtk_object_set_data(GTK_OBJECT(list_item_2), "list_item_type", type1); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -4058,6 +4191,7 @@ static void xsane_fax_entry_rename_callback(GtkWidget *widget, gpointer list) GList *select; char *oldpage; char *newpage; + char *type; char oldfile[256]; char newfile[256]; @@ -4070,14 +4204,15 @@ static void xsane_fax_entry_rename_callback(GtkWidget *widget, gpointer list) GtkWidget *text; GtkWidget *button; GtkWidget *vbox, *hbox; - char buf[256]; + char filename[PATH_MAX]; list_item = select->data; oldpage = strdup((char *) gtk_object_get_data(GTK_OBJECT(list_item), "list_item_data")); + type = strdup((char *) gtk_object_get_data(GTK_OBJECT(list_item), "list_item_type")); xsane_set_sensitivity(FALSE); - rename_dialog = gtk_window_new(GTK_WINDOW_DIALOG); + rename_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); xsane_set_window_icon(rename_dialog, 0); /* set the main vbox */ @@ -4094,27 +4229,36 @@ static void xsane_fax_entry_rename_callback(GtkWidget *widget, gpointer list) gtk_widget_show(hbox); gtk_window_set_position(GTK_WINDOW(rename_dialog), GTK_WIN_POS_CENTER); - gtk_window_set_policy(GTK_WINDOW(rename_dialog), FALSE, FALSE, FALSE); - snprintf(buf, sizeof(buf), "%s %s", xsane.prog_name, WINDOW_FAX_RENAME); - gtk_window_set_title(GTK_WINDOW(rename_dialog), buf); - gtk_signal_connect(GTK_OBJECT(rename_dialog), "delete_event", (GtkSignalFunc) xsane_fax_entry_rename_button_callback, (void *) -1); + gtk_window_set_resizable(GTK_WINDOW(rename_dialog), FALSE); + snprintf(filename, sizeof(filename), "%s %s", xsane.prog_name, WINDOW_FAX_RENAME); + gtk_window_set_title(GTK_WINDOW(rename_dialog), filename); + g_signal_connect(GTK_OBJECT(rename_dialog), "delete_event", (GtkSignalFunc) xsane_fax_entry_rename_button_callback,(void *) -1); gtk_widget_show(rename_dialog); - text = gtk_entry_new_with_max_length(64); + text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_FAXPAGENAME); + gtk_entry_set_max_length(GTK_ENTRY(text), 64); gtk_entry_set_text(GTK_ENTRY(text), oldpage); - gtk_widget_set_usize(text, 300, 0); + gtk_widget_set_size_request(text, 300, -1); gtk_box_pack_start(GTK_BOX(vbox), text, TRUE, TRUE, 4); gtk_widget_show(text); - button = gtk_button_new_with_label("OK"); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_entry_rename_button_callback, (void *) 1); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_OK); +#else + button = gtk_button_new_with_label(BUTTON_OK); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_entry_rename_button_callback, (void *) 1); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); - button = gtk_button_new_with_label("Cancel"); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_entry_rename_button_callback, (void *) -1); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); +#else + button = gtk_button_new_with_label(BUTTON_CANCEL); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_entry_rename_button_callback, (void *) -1); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -4138,8 +4282,8 @@ static void xsane_fax_entry_rename_callback(GtkWidget *widget, gpointer list) xsane_convert_text_to_filename(&oldpage); xsane_convert_text_to_filename(&newpage); - snprintf(oldfile, sizeof(oldfile), "%s/%s.ps", preferences.fax_project, oldpage); - snprintf(newfile, sizeof(newfile), "%s/%s.ps", preferences.fax_project, newpage); + snprintf(oldfile, sizeof(oldfile), "%s/%s%s", preferences.fax_project, oldpage, type); + snprintf(newfile, sizeof(newfile), "%s/%s%s", preferences.fax_project, newpage, type); rename(oldfile, newfile); @@ -4148,6 +4292,7 @@ static void xsane_fax_entry_rename_callback(GtkWidget *widget, gpointer list) free(oldpage); free(newpage); + free(type); gtk_widget_destroy(rename_dialog); @@ -4160,14 +4305,11 @@ static void xsane_fax_entry_rename_callback(GtkWidget *widget, gpointer list) static void xsane_fax_entry_insert_callback(GtkWidget *widget, gpointer list) { GtkWidget *list_item; - char filename[1024]; + char filename[PATH_MAX]; char windowname[255]; DBG(DBG_proc, "xsane_fax_entry_insert_callback\n"); - xsane_clear_histogram(&xsane.histogram_raw); - xsane_clear_histogram(&xsane.histogram_enh); - xsane_set_sensitivity(FALSE); snprintf(windowname, sizeof(windowname), "%s %s %s", xsane.prog_name, WINDOW_FAX_INSERT, preferences.fax_project); @@ -4175,7 +4317,7 @@ static void xsane_fax_entry_insert_callback(GtkWidget *widget, gpointer list) umask((mode_t) preferences.directory_umask); /* define new file permissions */ - if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, TRUE, FALSE, FALSE)) /* filename is selected */ + if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, TRUE, FALSE, FALSE, FALSE)) /* filename is selected */ { FILE *sourcefile; @@ -4184,34 +4326,48 @@ static void xsane_fax_entry_insert_callback(GtkWidget *widget, gpointer list) { char buf[1024]; - fgets(buf, 1024, sourcefile); + fgets(buf, sizeof(buf), sourcefile); if (!strncmp("%!PS", buf, 4)) { FILE *destfile; - + char destpath[PATH_MAX]; + char *destfilename; + char *destfiletype; + char *extension; + + destfilename = strdup(strrchr(filename, '/')+1); + extension = strrchr(destfilename, '.'); + if (extension) + { + destfiletype = strdup(extension); + *extension = 0; + } + else + { + destfiletype = strdup(""); + } + + snprintf(destpath, sizeof(destpath), "%s/%s%s", preferences.fax_project, destfilename, destfiletype); /* copy file to project directory */ - if (xsane_create_secure_file(xsane.fax_filename)) /* remove possibly existing symbolic links for security + if (xsane_create_secure_file(destpath)) /* remove possibly existing symbolic links for security */ { fclose(sourcefile); - snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, xsane.fax_filename); + snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, destpath); xsane_back_gtk_error(buf, TRUE); return; /* error */ } - destfile = fopen(xsane.fax_filename, "wb"); /* write binary (b for win32) */ + destfile = fopen(destpath, "wb"); /* write binary (b for win32) */ if (destfile) /* file is created */ { - char *extension; - char *page; - fprintf(destfile, "%s\n", buf); while (!feof(sourcefile)) { - fgets(buf, 1024, sourcefile); + fgets(buf, sizeof(buf), sourcefile); fprintf(destfile, "%s", buf); } @@ -4219,21 +4375,15 @@ static void xsane_fax_entry_insert_callback(GtkWidget *widget, gpointer list) /* add filename to fax page list */ - page = strdup(strrchr(xsane.fax_filename,'/')+1); - extension = strrchr(page, '.'); - if (extension) - { - *extension = 0; - } - - list_item = gtk_list_item_new_with_label(page); - gtk_object_set_data(GTK_OBJECT(list_item), "list_item_data", strdup(page)); + list_item = gtk_list_item_new_with_label(destfilename); + gtk_object_set_data(GTK_OBJECT(list_item), "list_item_data", strdup(destfilename)); + gtk_object_set_data(GTK_OBJECT(list_item), "list_item_type", strdup(destfiletype)); gtk_container_add(GTK_CONTAINER(xsane.fax_list), list_item); gtk_widget_show(list_item); xsane_update_counter_in_filename(&xsane.fax_filename, TRUE, 1, preferences.filename_counter_len); xsane_fax_project_save(); - free(page); + free(destfilename); } else /* file could not be created */ { @@ -4260,7 +4410,6 @@ static void xsane_fax_entry_insert_callback(GtkWidget *widget, gpointer list) umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ xsane_set_sensitivity(TRUE); - xsane_update_histogram(TRUE /* update raw */); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -4270,7 +4419,8 @@ static void xsane_fax_entry_delete_callback(GtkWidget *widget, gpointer list) GtkObject *list_item; GList *select; char *page; - char file[256]; + char *type; + char filename[PATH_MAX]; DBG(DBG_proc, "xsane_fax_entry_delete_callback\n"); @@ -4279,10 +4429,12 @@ static void xsane_fax_entry_delete_callback(GtkWidget *widget, gpointer list) { list_item = GTK_OBJECT(select->data); page = strdup((char *) gtk_object_get_data(list_item, "list_item_data")); + type = strdup((char *) gtk_object_get_data(list_item, "list_item_type")); xsane_convert_text_to_filename(&page); - snprintf(file, sizeof(file), "%s/%s.ps", preferences.fax_project, page); + snprintf(filename, sizeof(filename), "%s/%s%s", preferences.fax_project, page, type); free(page); - remove(file); + free(type); + remove(filename); gtk_widget_destroy(GTK_WIDGET(list_item)); xsane_fax_project_save(); } @@ -4294,42 +4446,162 @@ static void xsane_fax_show_callback(GtkWidget *widget, gpointer list) { GtkObject *list_item; GList *select; - pid_t pid; - char *arg[100]; char *page; + char *type; + char filename[256]; + + DBG(DBG_proc, "xsane_fax_entry_show_callback\n"); + + select = GTK_LIST(list)->selection; + if (select) + { + list_item = GTK_OBJECT(select->data); + page = strdup((char *) gtk_object_get_data(list_item, "list_item_data")); + type = strdup((char *) gtk_object_get_data(list_item, "list_item_type")); + xsane_convert_text_to_filename(&page); + snprintf(filename, sizeof(filename), "%s/%s%s", preferences.fax_project, page, type); + + if (!strncmp(type, ".pnm", 4)) + { + /* when we do not allow any modification then we can work with the original file */ + /* so we do not have to copy the image into a dummy file here! */ + + xsane_viewer_new(filename, FALSE, filename, VIEWER_NO_MODIFICATION); + } + else if (!strncmp(type, ".ps", 3)) + { + char *arg[100]; + int argnr; + pid_t pid; + + argnr = xsane_parse_options(preferences.fax_viewer, arg); + arg[argnr++] = filename; + arg[argnr] = 0; + + pid = fork(); + + if (pid == 0) /* new process */ + { + FILE *ipc_file = NULL; + + if (xsane.ipc_pipefd[0]) + { + close(xsane.ipc_pipefd[0]); /* close reading end of pipe */ + ipc_file = fdopen(xsane.ipc_pipefd[1], "w"); + } + + DBG(DBG_info, "trying to change user id fo new subprocess:\n"); + DBG(DBG_info, "old effective uid = %d\n", (int) geteuid()); + setuid(getuid()); + DBG(DBG_info, "new effective uid = %d\n", (int) geteuid()); + + execvp(arg[0], arg); /* does not return if successfully */ + DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_FAX_VIEWER, preferences.fax_viewer); + + /* send error message via IPC pipe to parent process */ + if (ipc_file) + { + fprintf(ipc_file, "%s %s:\n%s", ERR_FAILED_EXEC_FAX_VIEWER, preferences.fax_viewer, strerror(errno)); + fflush(ipc_file); /* make sure message is displayed */ + fclose(ipc_file); + } + + _exit(0); /* do not use exit() here! otherwise gtk gets in trouble */ + } + else /* parent process */ + { + xsane_add_process_to_list(pid); /* add pid to child process list */ + } + } + + free(page); + free(type); + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static int xsane_fax_convert_pnm_to_ps(char *source_filename, char *fax_filename) +{ + FILE *outfile; + FILE *infile; + Image_info image_info; char buf[256]; - int argnr; + int cancel_save; + + /* open progressbar */ + snprintf(buf, sizeof(buf), "%s - %s", PROGRESS_CONVERTING_DATA, source_filename); + gtk_progress_set_format_string(GTK_PROGRESS(xsane.fax_progress_bar), buf); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.fax_progress_bar), 0.0); + + while (gtk_events_pending()) + { + DBG(DBG_info, "calling gtk_main_iteration\n"); + gtk_main_iteration(); + } + + infile = fopen(source_filename, "rb"); /* read binary (b for win32) */ + if (infile != 0) + { + xsane_read_pnm_header(infile, &image_info); + + umask((mode_t) preferences.image_umask); /* define image file permissions */ + outfile = fopen(fax_filename, "wb"); /* b = binary mode for win32 */ + umask(XSANE_DEFAULT_UMASK); /* define new file permissions */ + if (outfile != 0) + { + float imagewidth, imageheight; + + imagewidth = 72.0 * image_info.image_width /image_info.resolution_x; /* width in 1/72 inch */ + imageheight = 72.0 * image_info.image_height/image_info.resolution_y; /* height in 1/72 inch */ + + DBG(DBG_info, "imagewidth = %f 1/72 inch\n", imagewidth); + DBG(DBG_info, "imageheight = %f 1/72 inch\n", imageheight); + + xsane_save_ps(outfile, infile, + &image_info, + imagewidth, imageheight, + preferences.fax_leftoffset * 72.0/MM_PER_INCH, /* paper_left_margin */ + preferences.fax_bottomoffset * 72.0/MM_PER_INCH, /* paper_bottom_margin */ + preferences.fax_width * 72.0/MM_PER_INCH, /* paper_width */ + preferences.fax_height * 72.0/MM_PER_INCH, /* paper_height */ + 0 /* portrait top left */, + xsane.fax_progress_bar, + &cancel_save); + fclose(outfile); + } + else + { + char buf[256]; - DBG(DBG_proc, "xsane_fax_entry_show_callback\n"); + DBG(DBG_info, "open of faxfile `%s'failed : %s\n", fax_filename, strerror(errno)); - select = GTK_LIST(list)->selection; - if (select) + snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, fax_filename, strerror(errno)); + xsane_back_gtk_error(buf, TRUE); + } + + fclose(infile); + } + else { - argnr = xsane_parse_options(preferences.fax_viewer, arg); + char buf[256]; - list_item = GTK_OBJECT(select->data); - page = (char *) gtk_object_get_data(list_item, "list_item_data"); - page = strdup(page); - xsane_convert_text_to_filename(&page); - snprintf(buf, sizeof(buf), "%s/%s.ps", preferences.fax_project, page); - free(page); - arg[argnr++] = buf; - arg[argnr] = 0; + DBG(DBG_info, "open of faxfile `%s'failed : %s\n", source_filename, strerror(errno)); - pid = fork(); + snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); + xsane_back_gtk_error(buf, TRUE); + } - if (pid == 0) /* new process */ - { - DBG(DBG_info, "trying to change user id fo new subprocess:\n"); - DBG(DBG_info, "old effective uid = %d\n", geteuid()); - setuid(getuid()); - DBG(DBG_info, "new effective uid = %d\n", geteuid()); + gtk_progress_set_format_string(GTK_PROGRESS(xsane.fax_progress_bar), ""); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.fax_progress_bar), 0.0); - execvp(arg[0], arg); /* does not return if successfully */ - DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_FAX_VIEWER, preferences.fax_viewer); - _exit(0); /* do not use exit() here! otherwise gtk gets in trouble */ - } + while (gtk_events_pending()) + { + DBG(DBG_info, "calling gtk_main_iteration\n"); + gtk_main_iteration(); } + + return 0; } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -4337,11 +4609,15 @@ static void xsane_fax_show_callback(GtkWidget *widget, gpointer list) static void xsane_fax_send() { char *page; + char *type; + char *fax_type=".ps"; GList *list = (GList *) GTK_LIST(xsane.fax_list)->children; GtkObject *list_item; pid_t pid; char *arg[1000]; char buf[256]; + char source_filename[PATH_MAX]; + char fax_filename[PATH_MAX]; int argnr = 0; int i; @@ -4356,14 +4632,12 @@ static void xsane_fax_send() return; } - xsane_clear_histogram(&xsane.histogram_raw); - xsane_clear_histogram(&xsane.histogram_enh); - xsane_set_sensitivity(FALSE); + /* gtk_widget_set_sensitive(xsane.fax_dialog, FALSE); */ argnr = xsane_parse_options(preferences.fax_command, arg); - if (xsane.fax_fine_mode) /* fine mode */ + if (preferences.fax_fine_mode) /* fine mode */ { if (xsane_option_defined(preferences.fax_fine_option)) { @@ -4393,11 +4667,33 @@ static void xsane_fax_send() { list_item = GTK_OBJECT(list->data); page = strdup((char *) gtk_object_get_data(list_item, "list_item_data")); + type = strdup((char *) gtk_object_get_data(list_item, "list_item_type")); xsane_convert_text_to_filename(&page); - snprintf(buf, sizeof(buf), "%s/%s.ps", preferences.fax_project, page); - free(page); - arg[argnr++] = strdup(buf); + snprintf(source_filename, sizeof(source_filename), "%s/%s%s", preferences.fax_project, page, type); + snprintf(fax_filename, sizeof(fax_filename), "%s/%s-fax%s", preferences.fax_project, page, fax_type); + if (xsane_create_secure_file(fax_filename)) /* remove possibly existing symbolic links for security */ + { + char buf[256]; + + snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, fax_filename); + xsane_back_gtk_error(buf, TRUE); + return; /* error */ + } + + if (!strncmp(type, ".pnm", 4)) + { + DBG(DBG_info, "converting %s to %s\n", source_filename, fax_filename); + xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); + } + else if (!strncmp(type, ".ps", 3)) + { + int cancel_save = 0; + xsane_copy_file_by_name(fax_filename, source_filename, xsane.fax_progress_bar, &cancel_save); + } + arg[argnr++] = strdup(fax_filename); list = list->next; + free(page); + free(type); } arg[argnr] = 0; @@ -4406,27 +4702,57 @@ static void xsane_fax_send() if (pid == 0) /* new process */ { - DBG(DBG_info, "trying to change user id fo new subprocess:\n"); - DBG(DBG_info, "old effective uid = %d\n", geteuid()); + FILE *ipc_file = NULL; + + if (xsane.ipc_pipefd[0]) + { + close(xsane.ipc_pipefd[0]); /* close reading end of pipe */ + ipc_file = fdopen(xsane.ipc_pipefd[1], "w"); + } + + DBG(DBG_info, "trying to change user id for new subprocess:\n"); + DBG(DBG_info, "old effective uid = %d\n", (int) geteuid()); setuid(getuid()); - DBG(DBG_info, "new effective uid = %d\n", geteuid()); + DBG(DBG_info, "new effective uid = %d\n", (int) geteuid()); execvp(arg[0], arg); /* does not return if successfully */ DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_FAX_CMD, preferences.fax_command); + + /* send error message via IPC pipe to parent process */ + if (ipc_file) + { + fprintf(ipc_file, "%s %s:\n%s", ERR_FAILED_EXEC_FAX_CMD, preferences.fax_command, strerror(errno)); + fflush(ipc_file); /* make sure message is displayed */ + fclose(ipc_file); + } + _exit(0); /* do not use exit() here! otherwise gtk gets in trouble */ } + else /* parent process */ + { + xsane_add_process_to_list(pid); /* add pid to child process list */ + } for (i=0; ichildren; + while (list) + { + list_item = GTK_OBJECT(list->data); + page = strdup((char *) gtk_object_get_data(list_item, "list_item_data")); + xsane_convert_text_to_filename(&page); + snprintf(fax_filename, sizeof(fax_filename), "%s/%s-fax%s", preferences.fax_project, page, fax_type); + free(page); + + DBG(DBG_info, "removing %s\n", fax_filename); + remove(fax_filename); + + list = list->next; + } + + xsane.fax_status = strdup(TEXT_FAX_STATUS_FAX_QUEUED); + xsane_fax_project_update_project_status(); + gtk_progress_set_format_string(GTK_PROGRESS(xsane.fax_progress_bar), _(xsane.fax_status)); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.fax_progress_bar), 0.0); + xsane_set_sensitivity(TRUE); - xsane_update_histogram(TRUE /* update raw */); + + /* gtk_widget_set_sensitive(xsane.fax_dialog, TRUE); */ } + + DBG(DBG_info, "xsane_fax_send: done\n"); } /* ---------------------------------------------------------------------------------------------------------------------- */ #ifdef XSANE_ACTIVATE_MAIL -static void xsane_mail_dialog_delete() +static gint xsane_mail_dialog_delete() +{ + return TRUE; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_mail_filetype_callback(GtkWidget *filetype_option_menu, char *filetype) { + DBG(DBG_proc, "xsane_mail_filetype_callback(%s)\n", filetype); + + if (preferences.mail_filetype) + { + free(preferences.mail_filetype); + } + preferences.mail_filetype = strdup(filetype); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -4458,12 +4822,15 @@ static void xsane_mail_dialog() GtkWidget *hbox; GtkWidget *scrolled_window, *list; GtkWidget *pixmapwidget, *text; - GtkWidget *vscrollbar; GtkWidget *attachment_frame, *text_frame; GtkWidget *label; + GtkWidget *filetype_menu, *filetype_item; + GtkWidget *filetype_option_menu; GdkPixmap *pixmap; GdkBitmap *mask; char buf[64]; + int filetype_nr; + int select_item; DBG(DBG_proc, "xsane_mail_dialog\n"); @@ -4472,15 +4839,14 @@ static void xsane_mail_dialog() return; /* window already is open */ } - /* GTK_WINDOW_DIALOG looks better but does not place it nice*/ + /* GTK_WINDOW_TOPLEVEL looks better but does not place it nice*/ mail_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); - gtk_window_set_title(GTK_WINDOW(mail_dialog), buf); snprintf(buf, sizeof(buf), "%s %s", xsane.prog_name, WINDOW_MAIL_PROJECT); gtk_window_set_title(GTK_WINDOW(mail_dialog), buf); - gtk_signal_connect(GTK_OBJECT(mail_dialog), "delete_event", (GtkSignalFunc) xsane_mail_dialog_delete, NULL); + g_signal_connect(GTK_OBJECT(mail_dialog), "delete_event", (GtkSignalFunc) xsane_mail_dialog_delete, NULL); xsane_set_window_icon(mail_dialog, 0); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(mail_dialog)); + gtk_window_add_accel_group(GTK_WINDOW(mail_dialog), xsane.accelerator_group); /* set the main vbox */ mail_scan_vbox = gtk_vbox_new(FALSE, 0); @@ -4495,17 +4861,19 @@ static void xsane_mail_dialog() gtk_box_pack_start(GTK_BOX(mail_scan_vbox), hbox, FALSE, FALSE, 2); pixmap = gdk_pixmap_create_from_xpm_d(xsane.shell->window, &mask, xsane.bg_trans, (gchar **) mail_xpm); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); - text = gtk_entry_new_with_max_length(128); + text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_MAILPROJECT); + gtk_entry_set_max_length(GTK_ENTRY(text), 128); gtk_entry_set_text(GTK_ENTRY(text), (char *) preferences.mail_project); gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 4); - gtk_signal_connect(GTK_OBJECT(text), "changed", (GtkSignalFunc) xsane_mail_project_changed_callback, NULL); + g_signal_connect(GTK_OBJECT(text), "changed", (GtkSignalFunc) xsane_mail_project_changed_callback, NULL); xsane.mail_project_entry = text; + xsane.mail_project_entry_box = hbox; gtk_widget_show(pixmapwidget); gtk_widget_show(text); @@ -4524,14 +4892,15 @@ static void xsane_mail_dialog() gtk_widget_realize(mail_dialog); pixmap = gdk_pixmap_create_from_xpm_d(mail_dialog->window, &mask, xsane.bg_trans, (gchar **) mailreceiver_xpm); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); - text = gtk_entry_new_with_max_length(128); + text = gtk_entry_new(); + gtk_entry_set_max_length(GTK_ENTRY(text), 128); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_MAILRECEIVER); gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 4); - gtk_signal_connect(GTK_OBJECT(text), "changed", (GtkSignalFunc) xsane_mail_receiver_changed_callback, NULL); + g_signal_connect(GTK_OBJECT(text), "changed", (GtkSignalFunc) xsane_mail_receiver_changed_callback, NULL); xsane.mail_receiver_entry = text; @@ -4548,14 +4917,15 @@ static void xsane_mail_dialog() gtk_widget_realize(mail_dialog); pixmap = gdk_pixmap_create_from_xpm_d(mail_dialog->window, &mask, xsane.bg_trans, (gchar **) subject_xpm); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 2); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); - text = gtk_entry_new_with_max_length(128); + text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_MAILSUBJECT); + gtk_entry_set_max_length(GTK_ENTRY(text), 128); gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 4); - gtk_signal_connect(GTK_OBJECT(text), "changed", (GtkSignalFunc) xsane_mail_subject_changed_callback, NULL); + g_signal_connect(GTK_OBJECT(text), "changed", (GtkSignalFunc) xsane_mail_subject_changed_callback, NULL); xsane.mail_subject_entry = text; @@ -4574,19 +4944,47 @@ static void xsane_mail_dialog() gtk_container_set_border_width(GTK_CONTAINER(hbox), 4); gtk_container_add(GTK_CONTAINER(text_frame), hbox); gtk_widget_show(hbox); + +#ifdef HAVE_GTK_TEXT_VIEW_H + { + GtkWidget *scrolled_window, *text_view, *text_buffer; - /* Create the GtkText widget */ - text = gtk_text_new(NULL, NULL); - gtk_text_set_editable(GTK_TEXT(text), TRUE); /* text is editable */ - gtk_text_set_word_wrap(GTK_TEXT(text), TRUE); /* wrap complete words */ - gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 0); - gtk_widget_show(text); - xsane.mail_text_widget = text; + /* create a scrolled window to get a vertical scrollbar */ + scrolled_window = gtk_scrolled_window_new(NULL, NULL); + gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled_window), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); + gtk_container_add(GTK_CONTAINER(hbox), scrolled_window); + gtk_widget_show(scrolled_window); + + /* create the gtk_text_view widget */ + text_view = gtk_text_view_new(); + gtk_text_view_set_editable(GTK_TEXT_VIEW(text_view), TRUE); + gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(text_view), GTK_WRAP_WORD); + gtk_container_add(GTK_CONTAINER(scrolled_window), text_view); + gtk_widget_show(text_view); + + /* get the text_buffer widget and insert the text from file */ + text_buffer = (GtkWidget *) gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_view)); + + xsane.mail_text_widget = text_buffer; + } +#else + { + GtkWidget *vscrollbar; + + /* Create the GtkText widget */ + text = gtk_text_new(NULL, NULL); + gtk_text_set_editable(GTK_TEXT(text), TRUE); /* text is editable */ + gtk_text_set_word_wrap(GTK_TEXT(text), TRUE); /* wrap complete words */ + gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 0); + gtk_widget_show(text); + xsane.mail_text_widget = text; - /* Add a vertical scrollbar to the GtkText widget */ - vscrollbar = gtk_vscrollbar_new(GTK_TEXT(text)->vadj); - gtk_box_pack_start(GTK_BOX(hbox), vscrollbar, FALSE, FALSE, 0); - gtk_widget_show(vscrollbar); + /* Add a vertical scrollbar to the GtkText widget */ + vscrollbar = gtk_vscrollbar_new(GTK_TEXT(text)->vadj); + gtk_box_pack_start(GTK_BOX(hbox), vscrollbar, FALSE, FALSE, 0); + gtk_widget_show(vscrollbar); + } +#endif /* html mail */ @@ -4595,9 +4993,80 @@ static void xsane_mail_dialog() gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), xsane.mail_html_mode); gtk_box_pack_start(GTK_BOX(mail_project_vbox), button, FALSE, FALSE, 2); gtk_widget_show(button); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_html_mode_callback, NULL); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_html_mode_callback, NULL); xsane.mail_html_mode_widget = button; + xsane_separator_new(mail_scan_vbox, 2); + + /* FILETYPE MENU */ + /* button box, active when project exists */ + hbox = gtk_hbox_new(FALSE, 2); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); + gtk_box_pack_start(GTK_BOX(mail_project_vbox), hbox, FALSE, FALSE, 2); + gtk_widget_show(hbox); + + filetype_menu = gtk_menu_new(); + + filetype_nr = -1; + select_item = 0; + + +#ifdef HAVE_LIBJPEG + filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_JPEG); + gtk_container_add(GTK_CONTAINER(filetype_menu), filetype_item); + g_signal_connect(GTK_OBJECT(filetype_item), "activate", (GtkSignalFunc) xsane_mail_filetype_callback, (void *) XSANE_FILETYPE_JPEG); + gtk_widget_show(filetype_item); + filetype_nr++; + if ( (preferences.mail_filetype) && (!strcasecmp(preferences.mail_filetype, XSANE_FILETYPE_JPEG)) ) + { + select_item = filetype_nr; + } +#endif + + +#ifdef HAVE_LIBPNG +#ifdef HAVE_LIBZ + filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_PNG); + gtk_container_add(GTK_CONTAINER(filetype_menu), filetype_item); + g_signal_connect(GTK_OBJECT(filetype_item), "activate", (GtkSignalFunc) xsane_mail_filetype_callback, (void *) XSANE_FILETYPE_PNG); + gtk_widget_show(filetype_item); + filetype_nr++; + if ( (preferences.mail_filetype) && (!strcasecmp(preferences.mail_filetype, XSANE_FILETYPE_PNG)) ) + { + select_item = filetype_nr; + } +#endif +#endif + + +#ifdef HAVE_LIBTIFF + filetype_item = gtk_menu_item_new_with_label(MENU_ITEM_FILETYPE_TIFF); + gtk_container_add(GTK_CONTAINER(filetype_menu), filetype_item); + g_signal_connect(GTK_OBJECT(filetype_item), "activate", (GtkSignalFunc) xsane_mail_filetype_callback, (void *) XSANE_FILETYPE_TIFF); + gtk_widget_show(filetype_item); + filetype_nr++; + if ( (preferences.mail_filetype) && (!strcasecmp(preferences.mail_filetype, XSANE_FILETYPE_TIFF)) ) + { + select_item = filetype_nr; + } +#endif + + label = gtk_label_new(TEXT_MAIL_FILETYPE); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); + gtk_widget_show(label); + + filetype_option_menu = gtk_option_menu_new(); + xsane_back_gtk_set_tooltip(xsane.tooltips, filetype_option_menu, DESC_MAIL_FILETYPE); + gtk_option_menu_set_menu(GTK_OPTION_MENU(filetype_option_menu), filetype_menu); + if (select_item >= 0) + { + gtk_option_menu_set_history(GTK_OPTION_MENU(filetype_option_menu), select_item); + } + gtk_box_pack_end(GTK_BOX(hbox), filetype_option_menu, FALSE, FALSE, 2); + gtk_widget_show(filetype_menu); + gtk_widget_show(filetype_option_menu); + + /* attachment frame */ attachment_frame = gtk_frame_new(TEXT_ATTACHMENTS); gtk_box_pack_start(GTK_BOX(mail_project_vbox), attachment_frame, FALSE, FALSE, 2); @@ -4605,7 +5074,7 @@ static void xsane_mail_dialog() /* attachment list */ scrolled_window = gtk_scrolled_window_new(0, 0); - gtk_widget_set_usize(scrolled_window, 200, 100); + gtk_widget_set_size_request(scrolled_window, 200, 100); gtk_container_add(GTK_CONTAINER(attachment_frame), scrolled_window); gtk_widget_show(scrolled_window); @@ -4623,17 +5092,26 @@ static void xsane_mail_dialog() gtk_box_pack_start(GTK_BOX(mail_project_vbox), hbox, FALSE, FALSE, 2); button = gtk_button_new_with_label(BUTTON_IMAGE_SHOW); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_show_callback, list); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_show_callback, list); + gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); + gtk_widget_show(button); + +#if 0 + /* before we enable the edit function we have to make sure that the rename function + does also rename the image name of the opened viewer */ + button = gtk_button_new_with_label(BUTTON_IMAGE_EDIT); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_edit_callback, list); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); +#endif button = gtk_button_new_with_label(BUTTON_IMAGE_RENAME); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_entry_rename_callback, list); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_entry_rename_callback, list); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); button = gtk_button_new_with_label(BUTTON_IMAGE_DELETE); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_entry_delete_callback, list); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_entry_delete_callback, list); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -4644,22 +5122,6 @@ static void xsane_mail_dialog() xsane.mail_project_box = mail_project_vbox; - - /* status info */ - hbox = gtk_hbox_new(FALSE, 2); - gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); - gtk_box_pack_start(GTK_BOX(mail_scan_vbox), hbox, FALSE, FALSE, 2); - gtk_widget_show(hbox); - - label = gtk_label_new(TEXT_MAIL_STATUS); - gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); - gtk_widget_show(label); - - label = gtk_label_new(""); - gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); - gtk_widget_show(label); - xsane.mail_status_label = label; - xsane_separator_new(mail_scan_vbox, 2); @@ -4675,12 +5137,12 @@ static void xsane_mail_dialog() gtk_box_pack_start(GTK_BOX(hbox), mail_project_exists_hbox, TRUE, TRUE, 0); button = gtk_button_new_with_label(BUTTON_SEND_PROJECT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_send, NULL); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_send, NULL); gtk_box_pack_start(GTK_BOX(mail_project_exists_hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); button = gtk_button_new_with_label(BUTTON_DELETE_PROJECT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_project_delete, NULL); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_project_delete, NULL); gtk_box_pack_start(GTK_BOX(mail_project_exists_hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -4688,10 +5150,18 @@ static void xsane_mail_dialog() xsane.mail_project_exists = mail_project_exists_hbox; button = gtk_button_new_with_label(BUTTON_CREATE_PROJECT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_project_create, NULL); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_project_create, NULL); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); xsane.mail_project_not_exists = button; + /* progress bar */ + xsane.mail_progress_bar = (GtkProgressBar *) gtk_progress_bar_new(); + gtk_box_pack_start(GTK_BOX(mail_scan_vbox), (GtkWidget *) xsane.mail_progress_bar, FALSE, FALSE, 0); + gtk_progress_set_show_text(GTK_PROGRESS(xsane.mail_progress_bar), TRUE); + gtk_progress_set_format_string(GTK_PROGRESS(xsane.mail_progress_bar), ""); + gtk_widget_show(GTK_WIDGET(xsane.mail_progress_bar)); + + xsane.mail_dialog = mail_dialog; xsane_mail_project_load(); @@ -4710,11 +5180,135 @@ static void xsane_mail_dialog_close() return; } - gtk_accel_group_detach(xsane.accelerator_group, GTK_OBJECT(xsane.mail_dialog)); gtk_widget_destroy(xsane.mail_dialog); xsane.mail_dialog = NULL; xsane.mail_list = NULL; + xsane.mail_progress_bar = NULL; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_mail_project_set_sensitive(int sensitive) +{ + gtk_widget_set_sensitive(xsane.mail_project_box, sensitive); + gtk_widget_set_sensitive(xsane.mail_project_exists, sensitive); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_mail_project_display_status() +{ + FILE *lockfile; + char buf[256]; + char filename[PATH_MAX]; + int val; + int i, c; + + DBG(DBG_proc, "xsane_mail_project_display_status\n"); + + snprintf(filename, sizeof(filename), "%s/lockfile", preferences.mail_project); + lockfile = fopen(filename, "rb"); /* read binary (b for win32) */ + + if (lockfile) + { + i=0; + c=0; + while ((i<255) && (c != 10) && (c != EOF)) /* first line is mail status */ + { + c = fgetc(lockfile); + buf[i++] = c; + } + buf[i-1] = 0; + + fscanf(lockfile, "%d\n", &val); + + fclose(lockfile); + + if ( (!strcmp(buf, TEXT_MAIL_STATUS_SENDING)) || + (!strcmp(buf, TEXT_MAIL_STATUS_SENT)) || + (!strcmp(buf, TEXT_MAIL_STATUS_ERR_READ_PROJECT)) || + (!strcmp(buf, TEXT_MAIL_STATUS_POP3_CONNECTION_FAILED)) || + (!strcmp(buf, TEXT_MAIL_STATUS_POP3_LOGIN_FAILED)) || + (!strcmp(buf, TEXT_MAIL_STATUS_SMTP_CONNECTION_FAILED)) || + (!strcmp(buf, TEXT_MAIL_STATUS_SMTP_ERR_FROM)) || + (!strcmp(buf, TEXT_MAIL_STATUS_SMTP_ERR_RCPT)) || + (!strcmp(buf, TEXT_MAIL_STATUS_SMTP_ERR_DATA)) || + (!strcmp(buf, TEXT_MAIL_STATUS_SENT)) ) + { + if (strcmp(xsane.mail_status, buf)) + { + if (xsane.mail_status) + { + free(xsane.mail_status); + } + xsane.mail_status = strdup(buf); + + if (xsane.mail_progress_bar) + { + gtk_progress_set_format_string(GTK_PROGRESS(xsane.mail_progress_bar), _(xsane.mail_status)); + } + } + + xsane.mail_progress_val = val / 100.0; + if (xsane.mail_progress_bar) + { + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.mail_progress_bar), xsane.mail_progress_val); + } + + DBG(DBG_info, "reading from lockfile: mail_status %s, mail_progress_val %1.3f\n" , xsane.mail_status, xsane.mail_progress_val); + + if (strcmp(xsane.mail_status, TEXT_MAIL_STATUS_SENDING)) /* not sending */ + { + DBG(DBG_info, "removing %s\n", filename); + remove(filename); /* remove lockfile */ + + xsane.mail_progress_val = 0.0; + + xsane_mail_project_update_project_status(); + + if (xsane.mail_dialog) + { + xsane_mail_project_load(); + + xsane_mail_project_set_sensitive(TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(xsane.start_button), TRUE); + } + } + } + } + else + { + DBG(DBG_info, "no lockfile present\n"); + if (xsane.mail_progress_bar) + { + gtk_progress_set_format_string(GTK_PROGRESS(xsane.mail_progress_bar), _(xsane.mail_status)); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.mail_progress_bar), xsane.mail_progress_val); + } + + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static gint xsane_mail_send_timer_callback(gpointer data) +{ + xsane_mail_project_display_status(); + + if (strcmp(xsane.mail_status, TEXT_MAIL_STATUS_SENDING)) /* not sending */ + { + if (xsane_mail_send_timer) + { + DBG(DBG_info, "disabling mail send timer\n"); + xsane_mail_send_timer = 0; + } + } + + return xsane_mail_send_timer; } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -4723,10 +5317,13 @@ static void xsane_mail_project_load() { FILE *projectfile; char page[256]; + char *type; + char *extension; char buf[256]; + char filename[PATH_MAX]; GtkWidget *list_item; int i; - char c; + int c; DBG(DBG_proc, "xsane_mail_project_load\n"); @@ -4754,25 +5351,29 @@ static void xsane_mail_project_load() xsane.mail_subject = NULL; } - gtk_signal_disconnect_by_func(GTK_OBJECT(xsane.mail_receiver_entry), GTK_SIGNAL_FUNC(xsane_mail_receiver_changed_callback), 0); - gtk_signal_disconnect_by_func(GTK_OBJECT(xsane.mail_subject_entry), GTK_SIGNAL_FUNC(xsane_mail_subject_changed_callback), 0); - gtk_signal_disconnect_by_func(GTK_OBJECT(xsane.mail_html_mode_widget), GTK_SIGNAL_FUNC(xsane_mail_html_mode_callback), 0); + g_signal_handlers_disconnect_by_func(GTK_OBJECT(xsane.mail_receiver_entry), GTK_SIGNAL_FUNC(xsane_mail_receiver_changed_callback), 0); + g_signal_handlers_disconnect_by_func(GTK_OBJECT(xsane.mail_subject_entry), GTK_SIGNAL_FUNC(xsane_mail_subject_changed_callback), 0); + g_signal_handlers_disconnect_by_func(GTK_OBJECT(xsane.mail_html_mode_widget), GTK_SIGNAL_FUNC(xsane_mail_html_mode_callback), 0); +#ifdef HAVE_GTK_TEXT_VIEW_H + gtk_text_buffer_set_text(GTK_TEXT_BUFFER(xsane.mail_text_widget), "", 0); +#else gtk_text_set_point(GTK_TEXT(xsane.mail_text_widget), 0); gtk_text_forward_delete(GTK_TEXT(xsane.mail_text_widget), gtk_text_get_length(GTK_TEXT(xsane.mail_text_widget))); +#endif gtk_list_remove_items(GTK_LIST(xsane.mail_list), GTK_LIST(xsane.mail_list)->children); - snprintf(buf, sizeof(buf), "%s/xsane-mail-list", preferences.mail_project); - projectfile = fopen(buf, "rb"); /* read binary (b for win32) */ + snprintf(filename, sizeof(filename), "%s/xsane-mail-list", preferences.mail_project); + projectfile = fopen(filename, "rb"); /* read binary (b for win32) */ if ((!projectfile) || (feof(projectfile))) { - snprintf(buf, sizeof(buf), "%s/page-1.png", preferences.mail_project); - xsane.mail_filename=strdup(buf); + snprintf(filename, sizeof(filename), "%s/image-1.pnm", preferences.mail_project); + xsane.mail_filename=strdup(filename); xsane_update_counter_in_filename(&xsane.mail_filename, FALSE, 0, preferences.filename_counter_len); /* correct counter len */ - xsane.mail_status=strdup("not existant"); - gtk_label_set(GTK_LABEL(xsane.mail_status_label), _(xsane.mail_status)); + xsane.mail_status=strdup(TEXT_MAIL_STATUS_NOT_CREATED); + xsane.mail_progress_val = 0.0; xsane.mail_receiver=strdup(""); gtk_entry_set_text(GTK_ENTRY(xsane.mail_receiver_entry), (char *) xsane.mail_receiver); @@ -4780,9 +5381,12 @@ static void xsane_mail_project_load() xsane.mail_subject=strdup(""); gtk_entry_set_text(GTK_ENTRY(xsane.mail_subject_entry), (char *) xsane.mail_subject); - gtk_widget_set_sensitive(xsane.mail_project_box, FALSE); gtk_widget_hide(xsane.mail_project_exists); gtk_widget_show(xsane.mail_project_not_exists); + + gtk_widget_set_sensitive(xsane.mail_project_box, FALSE); + gtk_widget_set_sensitive(xsane.mail_project_exists, FALSE); + /* do not change sensitivity of mail_project_entry_box here !!! */ gtk_widget_set_sensitive(GTK_WIDGET(xsane.start_button), FALSE); xsane.mail_project_save = 0; @@ -4797,13 +5401,17 @@ static void xsane_mail_project_load() page[i++] = c; } page[i-1] = 0; + if (strchr(page, '@')) + { + *strchr(page, '@') = 0; + } if (xsane.mail_status) { free(xsane.mail_status); } xsane.mail_status = strdup(page); - gtk_label_set(GTK_LABEL(xsane.mail_status_label), _(xsane.mail_status)); + xsane.mail_progress_val = 0.0; i=0; @@ -4828,8 +5436,8 @@ static void xsane_mail_project_load() } page[i-1] = 0; - snprintf(buf, sizeof(buf), "%s/%s", preferences.mail_project, page); - xsane.mail_filename=strdup(buf); + snprintf(filename, sizeof(filename), "%s/%s", preferences.mail_project, page); + xsane.mail_filename=strdup(filename); i=0; @@ -4883,10 +5491,22 @@ static void xsane_mail_project_load() break; /* mailtext follows */ } + extension = strrchr(page, '.'); + if (extension) + { + type = strdup(extension); + *extension = 0; + } + else + { + type = strdup(""); + } + if (c > 1) { list_item = gtk_list_item_new_with_label(page); gtk_object_set_data(GTK_OBJECT(list_item), "list_item_data", strdup(page)); + gtk_object_set_data(GTK_OBJECT(list_item), "list_item_type", strdup(type)); gtk_container_add(GTK_CONTAINER(xsane.mail_list), list_item); gtk_widget_show(list_item); } @@ -4895,22 +5515,35 @@ static void xsane_mail_project_load() while (!feof(projectfile)) { i = fread(buf, 1, sizeof(buf), projectfile); +#ifdef HAVE_GTK_TEXT_VIEW_H + gtk_text_buffer_insert_at_cursor(GTK_TEXT_BUFFER(xsane.mail_text_widget), buf, i); +#else gtk_text_insert(GTK_TEXT(xsane.mail_text_widget), NULL, NULL, NULL, buf, i); +#endif } - if (xsane.mail_status[0] == '*') /* mail project is locked (sending) */ + if (!strcmp(xsane.mail_status, TEXT_MAIL_STATUS_SENDING)) /* mail project is locked (sending) */ { - gtk_widget_set_sensitive(xsane.mail_project_box, FALSE); + xsane_mail_project_set_sensitive(FALSE); + gtk_widget_set_sensitive(xsane.mail_project_entry_box, TRUE); gtk_widget_set_sensitive(GTK_WIDGET(xsane.start_button), FALSE); + + if (xsane_mail_send_timer == 0) + { + xsane_mail_send_timer = gtk_timeout_add(100, (GtkFunction) xsane_mail_send_timer_callback, NULL); + DBG(DBG_info, "enabling mail send timer (%d)\n", xsane_mail_send_timer); + } } else { - gtk_widget_set_sensitive(xsane.mail_project_box, TRUE); - gtk_widget_show(xsane.mail_project_exists); - gtk_widget_hide(xsane.mail_project_not_exists); + xsane_mail_project_set_sensitive(TRUE); + gtk_widget_set_sensitive(xsane.mail_project_entry_box, TRUE); gtk_widget_set_sensitive(GTK_WIDGET(xsane.start_button), TRUE); } + gtk_widget_show(xsane.mail_project_exists); + gtk_widget_hide(xsane.mail_project_not_exists); + xsane.mail_project_save = 1; } @@ -4919,9 +5552,14 @@ static void xsane_mail_project_load() fclose(projectfile); } - gtk_signal_connect(GTK_OBJECT(xsane.mail_html_mode_widget), "clicked", (GtkSignalFunc) xsane_mail_html_mode_callback, NULL); - gtk_signal_connect(GTK_OBJECT(xsane.mail_receiver_entry), "changed", (GtkSignalFunc) xsane_mail_receiver_changed_callback, NULL); - gtk_signal_connect(GTK_OBJECT(xsane.mail_subject_entry), "changed", (GtkSignalFunc) xsane_mail_subject_changed_callback, NULL); + gtk_progress_set_format_string(GTK_PROGRESS(xsane.mail_progress_bar), _(xsane.mail_status)); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.mail_progress_bar), xsane.mail_progress_val); + + xsane_mail_project_display_status(); + + g_signal_connect(GTK_OBJECT(xsane.mail_html_mode_widget), "clicked", (GtkSignalFunc) xsane_mail_html_mode_callback, NULL); + g_signal_connect(GTK_OBJECT(xsane.mail_receiver_entry), "changed", (GtkSignalFunc) xsane_mail_receiver_changed_callback, NULL); + g_signal_connect(GTK_OBJECT(xsane.mail_subject_entry), "changed", (GtkSignalFunc) xsane_mail_subject_changed_callback, NULL); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -4929,6 +5567,7 @@ static void xsane_mail_project_load() static void xsane_mail_project_delete() { char *page; + char *type; char file[256]; GList *list = (GList *) GTK_LIST(xsane.mail_list)->children; GtkObject *list_item; @@ -4939,9 +5578,11 @@ static void xsane_mail_project_delete() { list_item = GTK_OBJECT(list->data); page = strdup((char *) gtk_object_get_data(list_item, "list_item_data")); + type = strdup((char *) gtk_object_get_data(list_item, "list_item_type")); xsane_convert_text_to_filename(&page); - snprintf(file, sizeof(file), "%s/%s.png", preferences.mail_project, page); + snprintf(file, sizeof(file), "%s/%s%s", preferences.mail_project, page, type); free(page); + free(type); remove(file); list = list->next; } @@ -4955,15 +5596,18 @@ static void xsane_mail_project_delete() /* ---------------------------------------------------------------------------------------------------------------------- */ -void xsane_mail_project_update_status() +static void xsane_mail_project_update_project_status() { FILE *projectfile; + char filename[PATH_MAX]; char buf[256]; - snprintf(buf, sizeof(buf), "%s/xsane-mail-list", preferences.mail_project); - projectfile = fopen(buf, "r+b"); /* r+ = read and write, position = start of file */ - snprintf(buf, 32, "%s ", xsane.mail_status); /* fill 32 characters status line */ + snprintf(filename, sizeof(filename), "%s/xsane-mail-list", preferences.mail_project); + projectfile = fopen(filename, "r+b"); /* r+ = read and write, position = start of file */ + + snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.mail_status); /* fill 32 characters status line */ fprintf(projectfile, "%s\n", buf); /* first line is status of mail */ + fclose(projectfile); } @@ -4974,7 +5618,8 @@ void xsane_mail_project_save() FILE *projectfile; GList *list = (GList *) GTK_LIST(xsane.mail_list)->children; GtkObject *list_item; - char *image; + char *page; + char *type; gchar *mail_text; char filename[256]; @@ -4983,16 +5628,8 @@ void xsane_mail_project_save() umask((mode_t) preferences.directory_umask); /* define new file permissions */ mkdir(preferences.mail_project, 0777); /* make sure directory exists */ - snprintf(filename, sizeof(filename), "%s/xsane-mail-list", preferences.mail_project); - - if (xsane.mail_status) - { - if (xsane.mail_status[0] == '?') - { - return; - } - } - + snprintf(filename, sizeof(filename), "%s/xsane-mail-list", preferences.mail_project); + if (xsane_create_secure_file(filename)) /* remove possibly existing symbolic links for security */ { char buf[256]; @@ -5006,14 +5643,18 @@ void xsane_mail_project_save() if (xsane.mail_status) { - snprintf(filename, 32, "%s ", xsane.mail_status); /* fill 32 characters status line */ - fprintf(projectfile, "%s\n", filename); /* first line is status of mail */ - gtk_label_set(GTK_LABEL(xsane.mail_status_label), _(xsane.mail_status)); + char buf[256]; + + snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.mail_status); /* fill 32 characters status line */ + fprintf(projectfile, "%s\n", buf); /* first line is status of mail */ + gtk_progress_set_format_string(GTK_PROGRESS(xsane.mail_progress_bar), _(xsane.mail_status)); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.mail_progress_bar), 0.0); } else { fprintf(projectfile, " \n"); /* no mail status */ - gtk_label_set(GTK_LABEL(xsane.mail_status_label), ""); + gtk_progress_set_format_string(GTK_PROGRESS(xsane.mail_progress_bar), ""); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.mail_progress_bar), 0.0); } if (xsane.mail_receiver) @@ -5056,14 +5697,25 @@ void xsane_mail_project_save() while (list) { list_item = GTK_OBJECT(list->data); - image = (char *) gtk_object_get_data(list_item, "list_item_data"); - fprintf(projectfile, "%s\n", image); + page = (char *) gtk_object_get_data(list_item, "list_item_data"); + type = (char *) gtk_object_get_data(list_item, "list_item_type"); + fprintf(projectfile, "%s%s\n", page, type); list = list->next; } /* save mail text */ fprintf(projectfile, "mailtext:\n"); +#ifdef HAVE_GTK_TEXT_VIEW_H + { + GtkTextIter start, end; + + gtk_text_buffer_get_start_iter(GTK_TEXT_BUFFER(xsane.mail_text_widget), &start); + gtk_text_buffer_get_end_iter(GTK_TEXT_BUFFER(xsane.mail_text_widget), &end); + mail_text = gtk_text_buffer_get_text(GTK_TEXT_BUFFER(xsane.mail_text_widget), &start, &end, FALSE); + } +#else mail_text = gtk_editable_get_chars(GTK_EDITABLE(xsane.mail_text_widget), 0, -1); +#endif fprintf(projectfile, "%s", mail_text); fclose(projectfile); @@ -5081,7 +5733,7 @@ static void xsane_mail_project_create() { free(xsane.mail_status); } - xsane.mail_status = strdup("created"); + xsane.mail_status = strdup(TEXT_MAIL_STATUS_CREATED); xsane_mail_project_save(); xsane_mail_project_load(); } @@ -5103,8 +5755,9 @@ static void xsane_mail_receiver_changed_callback(GtkWidget *widget, gpointer dat { free(xsane.mail_status); } - xsane.mail_status = strdup("changed"); - xsane_mail_project_save(); + xsane.mail_status = strdup(TEXT_MAIL_STATUS_CHANGED); + xsane.mail_project_save = 1; + xsane_mail_project_display_status(); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -5123,8 +5776,9 @@ static void xsane_mail_subject_changed_callback(GtkWidget *widget, gpointer data { free(xsane.mail_status); } - xsane.mail_status = strdup("changed"); - xsane_mail_project_save(); + xsane.mail_status = strdup(TEXT_MAIL_STATUS_CHANGED); + xsane.mail_project_save = 1; + xsane_mail_project_display_status(); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -5161,8 +5815,9 @@ static void xsane_mail_html_mode_callback(GtkWidget * widget) { free(xsane.mail_status); } - xsane.mail_status = strdup("changed"); - xsane_mail_project_save(); + xsane.mail_status = strdup(TEXT_MAIL_STATUS_CHANGED); + xsane.mail_project_save = 1; + xsane_mail_project_display_status(); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -5205,7 +5860,7 @@ static void xsane_mail_entry_move_up_callback(GtkWidget *widget, gpointer list) { free(xsane.mail_status); } - xsane.mail_status = strdup("changed"); + xsane.mail_status = strdup(TEXT_MAIL_STATUS_CHANGED); xsane_mail_project_save(); } } @@ -5252,7 +5907,7 @@ static void xsane_mail_entry_move_down_callback(GtkWidget *widget, gpointer list { free(xsane.mail_status); } - xsane.mail_status = strdup("changed"); + xsane.mail_status = strdup(TEXT_MAIL_STATUS_CHANGED); xsane_mail_project_save(); } } @@ -5278,6 +5933,7 @@ static void xsane_mail_entry_rename_callback(GtkWidget *widget, gpointer list) GList *select; char *oldpage; char *newpage; + char *type; char oldfile[256]; char newfile[256]; @@ -5290,14 +5946,15 @@ static void xsane_mail_entry_rename_callback(GtkWidget *widget, gpointer list) GtkWidget *text; GtkWidget *button; GtkWidget *vbox, *hbox; - char buf[256]; + char filename[PATH_MAX]; list_item = select->data; oldpage = strdup((char *) gtk_object_get_data(GTK_OBJECT(list_item), "list_item_data")); + type = strdup((char *) gtk_object_get_data(GTK_OBJECT(list_item), "list_item_type")); xsane_set_sensitivity(FALSE); - rename_dialog = gtk_window_new(GTK_WINDOW_DIALOG); + rename_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); xsane_set_window_icon(rename_dialog, 0); /* set the main vbox */ @@ -5314,27 +5971,36 @@ static void xsane_mail_entry_rename_callback(GtkWidget *widget, gpointer list) gtk_widget_show(hbox); gtk_window_set_position(GTK_WINDOW(rename_dialog), GTK_WIN_POS_CENTER); - gtk_window_set_policy(GTK_WINDOW(rename_dialog), FALSE, FALSE, FALSE); - snprintf(buf, sizeof(buf), "%s %s", xsane.prog_name, WINDOW_MAIL_RENAME); - gtk_window_set_title(GTK_WINDOW(rename_dialog), buf); - gtk_signal_connect(GTK_OBJECT(rename_dialog), "delete_event", (GtkSignalFunc) xsane_mail_entry_rename_button_callback, (void *) -1); + gtk_window_set_resizable(GTK_WINDOW(rename_dialog), FALSE); + snprintf(filename, sizeof(filename), "%s %s", xsane.prog_name, WINDOW_MAIL_RENAME); + gtk_window_set_title(GTK_WINDOW(rename_dialog), filename); + g_signal_connect(GTK_OBJECT(rename_dialog), "delete_event", (GtkSignalFunc) xsane_mail_entry_rename_button_callback, (void *) -1); gtk_widget_show(rename_dialog); - text = gtk_entry_new_with_max_length(64); + text = gtk_entry_new(); xsane_back_gtk_set_tooltip(xsane.tooltips, text, DESC_MAILIMAGENAME); + gtk_entry_set_max_length(GTK_ENTRY(text), 64); gtk_entry_set_text(GTK_ENTRY(text), oldpage); - gtk_widget_set_usize(text, 300, 0); + gtk_widget_set_size_request(text, 300, -1); gtk_box_pack_start(GTK_BOX(vbox), text, TRUE, TRUE, 4); gtk_widget_show(text); - button = gtk_button_new_with_label("OK"); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_entry_rename_button_callback, (void *) 1); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_OK); +#else + button = gtk_button_new_with_label(BUTTON_OK); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_entry_rename_button_callback, (void *) 1); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); - button = gtk_button_new_with_label("Cancel"); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_entry_rename_button_callback, (void *) -1); +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); +#else + button = gtk_button_new_with_label(BUTTON_CANCEL); +#endif + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_mail_entry_rename_button_callback,(void *) -1); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -5358,8 +6024,8 @@ static void xsane_mail_entry_rename_callback(GtkWidget *widget, gpointer list) xsane_convert_text_to_filename(&oldpage); xsane_convert_text_to_filename(&newpage); - snprintf(oldfile, sizeof(oldfile), "%s/%s.png", preferences.mail_project, oldpage); - snprintf(newfile, sizeof(newfile), "%s/%s.png", preferences.mail_project, newpage); + snprintf(oldfile, sizeof(oldfile), "%s/%s%s", preferences.mail_project, oldpage, type); + snprintf(newfile, sizeof(newfile), "%s/%s%s", preferences.mail_project, newpage, type); rename(oldfile, newfile); @@ -5367,7 +6033,7 @@ static void xsane_mail_entry_rename_callback(GtkWidget *widget, gpointer list) { free(xsane.mail_status); } - xsane.mail_status = strdup("changed"); + xsane.mail_status = strdup(TEXT_MAIL_STATUS_CHANGED); xsane_mail_project_save(); } @@ -5387,6 +6053,7 @@ static void xsane_mail_entry_delete_callback(GtkWidget *widget, gpointer list) GtkObject *list_item; GList *select; char *page; + char *type; char file[256]; DBG(DBG_proc, "xsane_mail_entry_delete_callback\n"); @@ -5396,9 +6063,11 @@ static void xsane_mail_entry_delete_callback(GtkWidget *widget, gpointer list) { list_item = GTK_OBJECT(select->data); page = strdup((char *) gtk_object_get_data(list_item, "list_item_data")); + type = strdup((char *) gtk_object_get_data(list_item, "list_item_type")); xsane_convert_text_to_filename(&page); - snprintf(file, sizeof(file), "%s/%s.png", preferences.mail_project, page); + snprintf(file, sizeof(file), "%s/%s%s", preferences.mail_project, page, type); free(page); + free(type); remove(file); gtk_widget_destroy(GTK_WIDGET(list_item)); @@ -5406,7 +6075,7 @@ static void xsane_mail_entry_delete_callback(GtkWidget *widget, gpointer list) { free(xsane.mail_status); } - xsane.mail_status = strdup("changed"); + xsane.mail_status = strdup(TEXT_MAIL_STATUS_CHANGED); xsane_mail_project_save(); } } @@ -5417,43 +6086,92 @@ static void xsane_mail_show_callback(GtkWidget *widget, gpointer list) { GtkObject *list_item; GList *select; - pid_t pid; - char *arg[100]; char *page; - char buf[256]; - int argnr; + char *type; + char filename[256]; DBG(DBG_proc, "xsane_mail_entry_show_callback\n"); select = GTK_LIST(list)->selection; if (select) { - argnr = xsane_parse_options(preferences.mail_viewer, arg); + list_item = GTK_OBJECT(select->data); + page = strdup((char *) gtk_object_get_data(list_item, "list_item_data")); + type = strdup((char *) gtk_object_get_data(list_item, "list_item_type")); + xsane_convert_text_to_filename(&page); + snprintf(filename, sizeof(filename), "%s/%s%s", preferences.mail_project, page, type); + free(page); + free(type); + + xsane_viewer_new(filename, FALSE, filename, VIEWER_NO_MODIFICATION); + } +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#if 0 +static void xsane_mail_edit_callback(GtkWidget *widget, gpointer list) +{ + GtkObject *list_item; + GList *select; + char *page; + char *type; + char filename[256]; + FILE *outfile; + FILE *infile; + char outfilename[256]; + Image_info image_info; + int cancel_save; + + DBG(DBG_proc, "xsane_mail_entry_show_callback\n"); + select = GTK_LIST(list)->selection; + if (select) + { list_item = GTK_OBJECT(select->data); - page = (char *) gtk_object_get_data(list_item, "list_item_data"); - page = strdup(page); + page = strdup((char *) gtk_object_get_data(list_item, "list_item_data")); + type = strdup((char *) gtk_object_get_data(list_item, "list_item_type")); xsane_convert_text_to_filename(&page); - snprintf(buf, sizeof(buf), "%s/%s.png", preferences.mail_project, page); + snprintf(filename, sizeof(filename), "%s/%s%s", preferences.mail_project, page, type); free(page); - arg[argnr++] = buf; - arg[argnr] = 0; + free(type); - pid = fork(); - if (pid == 0) /* new process */ + infile = fopen(filename, "rb"); + if (!infile) { - DBG(DBG_info, "trying to change user id fo new subprocess:\n"); - DBG(DBG_info, "old effective uid = %d\n", geteuid()); - setuid(getuid()); - DBG(DBG_info, "new effective uid = %d\n", geteuid()); + DBG(DBG_error, "could not load file %s\n", filename); + return; + } - execvp(arg[0], arg); /* does not return if successfully */ - DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_MAIL_VIEWER, preferences.mail_viewer); - _exit(0); /* do not use exit() here! otherwise gtk gets in trouble */ + xsane_read_pnm_header(infile, &image_info); + + DBG(DBG_info, "copying image %s with geometry: %d x %d x %d, %d colors\n", filename, image_info.image_width, image_info.image_height, image_info.depth, image_info.colors); + + xsane_back_gtk_make_path(sizeof(outfilename), outfilename, 0, 0, "xsane-viewer-", xsane.dev_name, ".pnm", XSANE_PATH_TMP); + + outfile = fopen(outfilename, "wb"); + if (!outfile) + { + DBG(DBG_error, "could not save file %s\n", outfilename); + return; } + + gtk_progress_set_format_string(GTK_PROGRESS(xsane.mail_progress_bar), PROGRESS_CLONING_DATA); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.mail_progress_bar), 0.0); + + xsane_save_rotate_image(outfile, infile, &image_info, 0, xsane.mail_progress_bar, &cancel_save); + + fclose(infile); + fclose(outfile); + + gtk_progress_set_format_string(GTK_PROGRESS(xsane.mail_progress_bar), ""); + gtk_progress_bar_update(GTK_PROGRESS_BAR(xsane.mail_progress_bar), 0.0); + + xsane_viewer_new(outfilename, FALSE, filename, VIEWER_NO_NAME_MODIFICATION); } } +#endif /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -5466,29 +6184,32 @@ static void xsane_create_mail(int fd) char *mail_text = NULL; char *mail_text_pos = NULL; char **attachment_filename = NULL; - char c; char buf[256]; char filename[256]; char content_id[256]; char image[256]; int i, j; + int c; int attachments = 0; int use_attachment = 0; int mail_text_size = 0; - snprintf(buf, sizeof(buf), "%s/xsane-mail-list", preferences.mail_project); - projectfile = fopen(buf, "rb"); /* read binary (b for win32) */ + DBG(DBG_proc, "xsane_create_mail\n"); + + snprintf(filename, sizeof(filename), "%s/xsane-mail-list", preferences.mail_project); + projectfile = fopen(filename, "rb"); /* read binary (b for win32) */ if ((!projectfile) || (feof(projectfile))) { - DBG(DBG_error, "could not open mail project file %s\n", buf); + DBG(DBG_error, "could not open mail project file %s\n", filename); if (xsane.mail_status) { free(xsane.mail_status); } - xsane.mail_status = strdup("could not read mailproject"); - xsane_mail_project_update_status(); + xsane.mail_status = strdup(TEXT_MAIL_STATUS_ERR_READ_PROJECT); + xsane.mail_progress_val = 0.0; + xsane_front_gtk_mail_project_update_lockfile_status(); return; } @@ -5520,9 +6241,24 @@ static void xsane_create_mail(int fd) if (strcmp("mailtext:", image) && (c > 1)) { + char imagename[256]; + char *filename; + char *extension; + DBG(DBG_info, " - %s\n", image); + + extension = strrchr(image, '.'); + if (extension) + { + *extension = 0; + } + + snprintf(imagename, sizeof(imagename), "%s%s", image, preferences.mail_filetype); + filename=strdup(imagename); + xsane_convert_text_to_filename(&filename); attachment_filename = realloc(attachment_filename, (attachments+1)*sizeof(void *)); - attachment_filename[attachments++] = strdup(image); + attachment_filename[attachments++] = strdup(filename); + free(filename); } else { @@ -5533,11 +6269,12 @@ static void xsane_create_mail(int fd) /* read mail text */ while (!feof(projectfile)) { - mail_text = realloc(mail_text, mail_text_size+1024); /* increase mail_text by 1KB */ + mail_text = realloc(mail_text, mail_text_size+1025); /* increase mail_text by 1KB */ mail_text_size += fread(mail_text+mail_text_size, 1, 1024, projectfile); /* read next KB */ } DBG(DBG_info, "%d bytes mailtext read\n", mail_text_size); + *(mail_text + mail_text_size) = 0; /* set end of text marker */ mail_text_pos = mail_text; if (xsane.mail_html_mode) /* create html mail */ @@ -5556,13 +6293,11 @@ static void xsane_create_mail(int fd) if (use_attachment < attachments) { - image_filename = strdup(attachment_filename[use_attachment++]); - xsane_convert_text_to_filename(&image_filename); + image_filename = attachment_filename[use_attachment++]; DBG(DBG_info, "inserting image cid for %s\n", image_filename); snprintf(content_id, sizeof(content_id), "%s", image_filename); /* content_id */ snprintf(buf, sizeof(buf), "

    \n", content_id); write(fd, buf, strlen(buf)); - free(image_filename); } else /* more images selected than available */ { @@ -5582,13 +6317,11 @@ static void xsane_create_mail(int fd) while (use_attachment < attachments) /* append not already referenced images */ { - image_filename = strdup(attachment_filename[use_attachment++]); - xsane_convert_text_to_filename(&image_filename); + image_filename = attachment_filename[use_attachment++]; DBG(DBG_info, "appending image cid for %s\n", image_filename); snprintf(content_id, sizeof(content_id), "%s", image_filename); /* content_id */ snprintf(buf, sizeof(buf), "

    \n", content_id); write(fd, buf, strlen(buf)); - free(image_filename); } snprintf(buf, sizeof(buf), "\n"); @@ -5597,25 +6330,35 @@ static void xsane_create_mail(int fd) for (i=0; ichildren; + GtkObject *list_item; + char source_filename[PATH_MAX]; + char mail_filename[PATH_MAX]; + int output_format; + int cancel_save = 0; DBG(DBG_proc, "xsane_mail_send\n"); - gtk_widget_set_sensitive(xsane.mail_project_box, FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(xsane.start_button), FALSE); + xsane_set_sensitivity(FALSE); /* do not allow changing xsane mode */ while (gtk_events_pending()) { + DBG(DBG_info, "calling gtk_main_iteration\n"); gtk_main_iteration(); } + if (xsane.mail_project_save) + { + xsane.mail_project_save = 0; + xsane_mail_project_save(); + } + + xsane.mail_progress_size = 0; + xsane.mail_progress_bytes = 0; + + while (list) + { + list_item = GTK_OBJECT(list->data); + image = strdup((char *) gtk_object_get_data(list_item, "list_item_data")); + type = strdup((char *) gtk_object_get_data(list_item, "list_item_type")); + xsane_convert_text_to_filename(&image); + snprintf(source_filename, sizeof(source_filename), "%s/%s%s", preferences.mail_project, image, type); + snprintf(mail_filename, sizeof(mail_filename), "%s/mail-%s%s", preferences.mail_project, image, preferences.mail_filetype); + free(image); + free(type); + DBG(DBG_info, "converting %s to %s\n", source_filename, mail_filename); + output_format = xsane_identify_output_format(mail_filename, NULL, NULL); + xsane_save_image_as(mail_filename, source_filename, output_format, xsane.mail_progress_bar, &cancel_save); + list = list->next; + xsane.mail_progress_size += xsane_get_filesize(mail_filename); + } + + if (xsane.mail_status) { free(xsane.mail_status); } - xsane.mail_status = strdup("* sending"); - xsane_mail_project_save(); + xsane.mail_status = strdup(TEXT_MAIL_STATUS_SENDING); + xsane.mail_progress_val = 0.0; + xsane_mail_project_display_status(); /* display status before creating lockfile! */ + xsane_front_gtk_mail_project_update_lockfile_status(); /* create lockfile and update status */ pid = fork(); if (pid == 0) /* new process */ { - DBG(DBG_info, "trying to change user id fo new subprocess:\n"); - DBG(DBG_info, "old effective uid = %d\n", geteuid()); + FILE *ipc_file = NULL; + + if (xsane.ipc_pipefd[0]) + { + close(xsane.ipc_pipefd[0]); /* close reading end of pipe */ + ipc_file = fdopen(xsane.ipc_pipefd[1], "w"); + } + + DBG(DBG_info, "trying to change user id for new subprocess:\n"); + DBG(DBG_info, "old effective uid = %d\n", (int) geteuid()); setuid(getuid()); - DBG(DBG_info, "new effective uid = %d\n", geteuid()); + DBG(DBG_info, "new effective uid = %d\n", (int) geteuid()); xsane_mail_send_process(); _exit(0); /* do not use exit() here! otherwise gtk gets in trouble */ } - - memset (&act, 0, sizeof (act)); - act.sa_handler = xsane_mail_send_process_exited; - sigaction (SIGCHLD, &act, 0); - - if (xsane.mail_status) + else /* parent process */ { - free(xsane.mail_status); + xsane_add_process_to_list(pid); /* add pid to child process list */ } - xsane.mail_status = strdup("?"); + + xsane_mail_send_timer = gtk_timeout_add(100, (GtkFunction) xsane_mail_send_timer_callback, NULL); + DBG(DBG_info, "enabling mail send timer (%d)\n", xsane_mail_send_timer); + + xsane_set_sensitivity(TRUE); /* allow changing xsane mode */ +#if 0 + gtk_widget_set_sensitive(xsane.mail_project_entry_box, TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(xsane.start_button), FALSE); + gtk_widget_set_sensitive(xsane.mail_project_box, FALSE); +#endif + xsane_mail_project_set_sensitive(FALSE); } #endif @@ -5829,9 +6632,16 @@ static void xsane_pref_toggle_tooltips(GtkWidget *widget, gpointer data) /* ---------------------------------------------------------------------------------------------------------------------- */ -static void xsane_show_license(GtkWidget *widget, gpointer data) +static void xsane_show_eula(GtkWidget *widget, gpointer data) +{ + xsane_display_eula(0); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static void xsane_show_gpl(GtkWidget *widget, gpointer data) { - xsane_display_license(0); + xsane_display_gpl(); } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -5847,6 +6657,7 @@ static void xsane_show_doc_via_nsr(GtkWidget *widget, gpointer data) /* show via DBG(DBG_proc, "xsane_show_doc_via_nsr(%s)\n", name); + /* at first we have to test if netscape is running */ /* a simple way is to take a look at ~/.netscape/lock */ /* when this is a link we can assume that netscape is running */ @@ -5879,15 +6690,36 @@ static void xsane_show_doc_via_nsr(GtkWidget *widget, gpointer data) /* show via if (pid == 0) /* new process */ { - DBG(DBG_info, "trying to change user id fo new subprocess:\n"); - DBG(DBG_info, "old effective uid = %d\n", geteuid()); + FILE *ipc_file = NULL; + + if (xsane.ipc_pipefd[0]) + { + close(xsane.ipc_pipefd[0]); /* close reading end of pipe */ + ipc_file = fdopen(xsane.ipc_pipefd[1], "w"); + } + + DBG(DBG_info, "trying to change user id for new subprocess:\n"); + DBG(DBG_info, "old effective uid = %d\n", (int) geteuid()); setuid(getuid()); - DBG(DBG_info, "new effective uid = %d\n", geteuid()); + DBG(DBG_info, "new effective uid = %d\n", (int) geteuid()); execvp(arg[0], arg); /* does not return if successfully */ - DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_DOC_VIEWER, preferences.doc_viewer); + DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_DOC_VIEWER, preferences.browser); + + /* send error message via IPC pipe to parent process */ + if (ipc_file) + { + fprintf(ipc_file, "%s %s:\n%s", ERR_FAILED_EXEC_DOC_VIEWER, preferences.browser, strerror(errno)); + fflush(ipc_file); /* make sure message is displayed */ + fclose(ipc_file); + } + _exit(0); /* do not use exit() here! otherwise gtk gets in trouble */ } + else /* parent process */ + { + xsane_add_process_to_list(pid); /* add pid to child process list */ + } } else /* netscape not running */ { @@ -5900,15 +6732,36 @@ static void xsane_show_doc_via_nsr(GtkWidget *widget, gpointer data) /* show via if (pid == 0) /* new process */ { - DBG(DBG_info, "trying to change user id fo new subprocess:\n"); - DBG(DBG_info, "old effective uid = %d\n", geteuid()); + FILE *ipc_file = NULL; + + if (xsane.ipc_pipefd[0]) + { + close(xsane.ipc_pipefd[0]); /* close reading end of pipe */ + ipc_file = fdopen(xsane.ipc_pipefd[1], "w"); + } + + DBG(DBG_info, "trying to change user id for new subprocess:\n"); + DBG(DBG_info, "old effective uid = %d\n", (int) geteuid()); setuid(getuid()); - DBG(DBG_info, "new effective uid = %d\n", geteuid()); + DBG(DBG_info, "new effective uid = %d\n", (int) geteuid()); execvp(arg[0], arg); /* does not return if successfully */ - DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_DOC_VIEWER, preferences.doc_viewer); + DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_DOC_VIEWER, preferences.browser); + + /* send error message via IPC pipe to parent process */ + if (ipc_file) + { + fprintf(ipc_file, "%s %s:\n%s", ERR_FAILED_EXEC_DOC_VIEWER, preferences.browser, strerror(errno)); + fflush(ipc_file); /* make sure message is displayed */ + fclose(ipc_file); + } + _exit(0); /* do not use exit() here! otherwise gtk gets in trouble */ } + else /* parent process */ + { + xsane_add_process_to_list(pid); /* add pid to child process list */ + } } while (gtk_events_pending()) @@ -5917,6 +6770,54 @@ static void xsane_show_doc_via_nsr(GtkWidget *widget, gpointer data) /* show via } } +/* ---------------------------------------------------------------------------------------------------------------------- */ +#if 0 +/* may be used to parse command lines for execvp like popen does */ +static char **xsane_parse_command(char *command_line, char *url) +{ + char **argv = NULL; + //char *command = strdup(command_line); + char command[1024]; + char *command_pos = command; + char *arg_end; + int size = 0; + + snprintf(command, sizeof(command), command_line, url); + + argv = malloc(sizeof(char *) * 2); + + while (command_pos) + { + argv = realloc(argv, sizeof(char *) * (size+2)); + + arg_end = strchr(command_pos, ' '); + if (arg_end) + { + *arg_end = 0; + } + + argv[size] = strdup(command_pos); + + if (arg_end) + { + command_pos = arg_end + 1; + } + else + { + command_pos = NULL; + } + + size++; + } + + argv[size] = NULL; + + free(command); + + return (argv); +} +#endif + /* ---------------------------------------------------------------------------------------------------------------------- */ static void xsane_show_doc(GtkWidget *widget, gpointer data) @@ -5939,135 +6840,82 @@ static void xsane_show_doc(GtkWidget *widget, gpointer data) snprintf(path, sizeof(path), "%s/%s-doc.html", STRINGIFY(PATH_XSANE_DOC_DIR), name); /* no, we use original doc */ } - if (!strcmp(preferences.doc_viewer, DOCVIEWER_NETSCAPE)) + if (!strcmp(preferences.browser, BROWSER_NETSCAPE)) { xsane_show_doc_via_nsr(widget, (void *) path); } else { - arg[0] = preferences.doc_viewer; + arg[0] = preferences.browser; arg[1] = path; arg[2] = 0; pid = fork(); if (pid == 0) /* new process */ - { - DBG(DBG_info, "trying to change user id fo new subprocess:\n"); - DBG(DBG_info, "old effective uid = %d\n", geteuid()); + { + FILE *ipc_file = NULL; + + if (xsane.ipc_pipefd[0]) + { + close(xsane.ipc_pipefd[0]); /* close reading end of pipe */ + ipc_file = fdopen(xsane.ipc_pipefd[1], "w"); + } + + DBG(DBG_info, "trying to change user id for new subprocess:\n"); + DBG(DBG_info, "old effective uid = %d\n", (int) geteuid()); setuid(getuid()); - DBG(DBG_info, "new effective uid = %d\n", geteuid()); + DBG(DBG_info, "new effective uid = %d\n", (int) geteuid()); DBG(DBG_info, "executing %s %s\n", arg[0], arg[1]); execvp(arg[0], arg); /* does not return if successfully */ - DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_DOC_VIEWER, preferences.doc_viewer); - _exit(0); /* do not use exit() here! otherwise gtk gets in trouble */ - } - } -} - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -static GtkWidget *xsane_view_build_menu(void) -{ - GtkWidget *menu, *item; - - DBG(DBG_proc, "xsane_view_build_menu\n"); - - menu = gtk_menu_new(); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(menu)); - /* gtk_menu_set_accel_group(GTK_MENU(menu), xsane.accelerator_group); */ - - /* show tooltips */ - - item = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_TOOLTIPS); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_1, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); - gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(item), preferences.tooltips_enabled); - gtk_menu_append(GTK_MENU(menu), item); - gtk_widget_show(item); - gtk_signal_connect(GTK_OBJECT(item), "toggled", (GtkSignalFunc) xsane_pref_toggle_tooltips, NULL); - - - /* insert separator: */ - - item = gtk_menu_item_new(); - gtk_menu_append(GTK_MENU(menu), item); - gtk_widget_show(item); - - - /* show preview */ - - xsane.show_preview_widget = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_PREVIEW); - gtk_widget_add_accelerator(xsane.show_preview_widget, "activate", xsane.accelerator_group, GDK_2, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); - gtk_menu_append(GTK_MENU(menu), xsane.show_preview_widget); - gtk_widget_show(xsane.show_preview_widget); - gtk_signal_connect(GTK_OBJECT(xsane.show_preview_widget), "toggled", (GtkSignalFunc) xsane_show_preview_callback, NULL); - - /* show histogram */ - - xsane.show_histogram_widget = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_HISTOGRAM); - gtk_widget_add_accelerator(xsane.show_histogram_widget, "activate", xsane.accelerator_group, GDK_3, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); - gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.show_histogram_widget), preferences.show_histogram); - gtk_menu_append(GTK_MENU(menu), xsane.show_histogram_widget); - gtk_widget_show(xsane.show_histogram_widget); - gtk_signal_connect(GTK_OBJECT(xsane.show_histogram_widget), "toggled", (GtkSignalFunc) xsane_show_histogram_callback, NULL); - - -#ifdef HAVE_WORKING_GTK_GAMMACURVE - /* show gamma */ - - xsane.show_gamma_widget = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_GAMMA); - gtk_widget_add_accelerator(xsane.show_gamma_widget, "activate", xsane.accelerator_group, GDK_4, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); - gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.show_gamma_widget), preferences.show_gamma); - gtk_menu_append(GTK_MENU(menu), xsane.show_gamma_widget); - gtk_widget_show(xsane.show_gamma_widget); - gtk_signal_connect(GTK_OBJECT(xsane.show_gamma_widget), "toggled", (GtkSignalFunc) xsane_show_gamma_callback, NULL); -#endif - - - /* show standard options */ - - xsane.show_standard_options_widget = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_STANDARDOPTIONS); - gtk_widget_add_accelerator(xsane.show_standard_options_widget, "activate", xsane.accelerator_group, GDK_5, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); - gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.show_standard_options_widget), preferences.show_standard_options); - gtk_menu_append(GTK_MENU(menu), xsane.show_standard_options_widget); - gtk_widget_show(xsane.show_standard_options_widget); - gtk_signal_connect(GTK_OBJECT(xsane.show_standard_options_widget), "toggled", - (GtkSignalFunc) xsane_show_standard_options_callback, NULL); + DBG(DBG_error, "%s %s\n", ERR_FAILED_EXEC_DOC_VIEWER, preferences.browser); + /* send error message via IPC pipe to parent process */ + if (ipc_file) + { + fprintf(ipc_file, "%s %s:\n%s", ERR_FAILED_EXEC_DOC_VIEWER, preferences.browser, strerror(errno)); + fflush(ipc_file); /* make sure message is displayed */ + fclose(ipc_file); + } - /* show advanced options */ + _exit(0); /* do not use exit() here! otherwise gtk gets in trouble */ + } + else /* parent process */ + { + xsane_add_process_to_list(pid); /* add pid to child process list */ + } + } +} - xsane.show_advanced_options_widget = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_ADVANCEDOPTIONS); - gtk_widget_add_accelerator(xsane.show_advanced_options_widget, "activate", xsane.accelerator_group, GDK_6, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); - gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.show_advanced_options_widget), preferences.show_advanced_options); - gtk_menu_append(GTK_MENU(menu), xsane.show_advanced_options_widget); - gtk_widget_show(xsane.show_advanced_options_widget); - gtk_signal_connect(GTK_OBJECT(xsane.show_advanced_options_widget), "toggled", - (GtkSignalFunc) xsane_show_advanced_options_callback, NULL); +/* ---------------------------------------------------------------------------------------------------------------------- */ - return menu; +static void xsane_scan_callback(void) +{ + xsane.scan_rotation = xsane.preview->rotation; + xsane_scan_dialog(); } /* ---------------------------------------------------------------------------------------------------------------------- */ -static GtkWidget *xsane_pref_build_menu(void) +static GtkWidget *xsane_view_build_menu(void) { GtkWidget *menu, *item, *submenu, *subitem; - DBG(DBG_proc, "xsane_pref_build_menu\n"); + DBG(DBG_proc, "xsane_view_build_menu\n"); menu = gtk_menu_new(); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(menu)); + gtk_menu_set_accel_group(GTK_MENU(menu), xsane.accelerator_group); + /* show tooltips */ - /* XSane setup dialog */ - - item = gtk_menu_item_new_with_label(MENU_ITEM_SETUP); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_S, GDK_SHIFT_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + item = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_TOOLTIPS); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_T, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(item), preferences.tooltips_enabled); gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_setup_dialog, NULL); gtk_widget_show(item); + g_signal_connect(GTK_OBJECT(item), "toggled", (GtkSignalFunc) xsane_pref_toggle_tooltips, NULL); + /* insert separator: */ @@ -6076,126 +6924,205 @@ static GtkWidget *xsane_pref_build_menu(void) gtk_widget_show(item); -#ifdef XSANE_TEST - /* XSane batch scan dialog */ + /* show resolution list */ + + xsane.show_resolution_list_widget = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_RESOLUTIONLIST); + gtk_widget_add_accelerator(xsane.show_resolution_list_widget, "activate", xsane.accelerator_group, GDK_L, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.show_resolution_list_widget), preferences.show_resolution_list); + gtk_menu_append(GTK_MENU(menu), xsane.show_resolution_list_widget); + gtk_widget_show(xsane.show_resolution_list_widget); + g_signal_connect(GTK_OBJECT(xsane.show_resolution_list_widget), "toggled", (GtkSignalFunc) xsane_show_resolution_list_callback, NULL); - item = gtk_menu_item_new_with_label("Batch scan"); - gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_batch_scan_dialog, NULL); - gtk_widget_show(item); /* insert separator: */ item = gtk_menu_item_new(); gtk_menu_append(GTK_MENU(menu), item); gtk_widget_show(item); -#endif - /* length unit */ + /* update policy */ - item = gtk_menu_item_new_with_label(MENU_ITEM_LENGTH_UNIT); + item = gtk_menu_item_new_with_label(MENU_ITEM_UPDATE_POLICY); gtk_menu_append(GTK_MENU(menu), item); gtk_widget_show(item); submenu = gtk_menu_new(); - subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_LENGTH_MILLIMETERS); + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_POLICY_CONTINUOUS); gtk_menu_append(GTK_MENU(submenu), subitem); - if ( (preferences.length_unit > 0.9) && (preferences.length_unit < 1.1)) + if (preferences.gtk_update_policy == GTK_UPDATE_CONTINUOUS) { gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); } - gtk_signal_connect(GTK_OBJECT(subitem), "activate", (GtkSignalFunc) xsane_set_pref_unit_callback, "mm"); + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_set_update_policy_callback, (void *) GTK_UPDATE_CONTINUOUS); gtk_widget_show(subitem); - xsane.length_unit_mm = subitem; + xsane.update_policy_continu = subitem; - subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_LENGTH_CENTIMETERS); + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_POLICY_DISCONTINU); gtk_menu_append(GTK_MENU(submenu), subitem); - if ( (preferences.length_unit > 9.9) && (preferences.length_unit < 10.1)) + if (preferences.gtk_update_policy == GTK_UPDATE_DISCONTINUOUS) { gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); } - gtk_signal_connect(GTK_OBJECT(subitem), "activate", (GtkSignalFunc) xsane_set_pref_unit_callback, "cm"); + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_set_update_policy_callback, (void *) GTK_UPDATE_DISCONTINUOUS); gtk_widget_show(subitem); - xsane.length_unit_cm = subitem; + xsane.update_policy_discont = subitem; - subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_LENGTH_INCHES); + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_POLICY_DELAYED); gtk_menu_append(GTK_MENU(submenu), subitem); - if ( (preferences.length_unit > 25.3) && (preferences.length_unit < 25.5)) + if (preferences.gtk_update_policy == GTK_UPDATE_DELAYED) { gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); } - gtk_signal_connect(GTK_OBJECT(subitem), "activate", (GtkSignalFunc) xsane_set_pref_unit_callback, "in"); + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_set_update_policy_callback, (void *) GTK_UPDATE_DELAYED); gtk_widget_show(subitem); - xsane.length_unit_in = subitem; + xsane.update_policy_delayed = subitem; gtk_menu_item_set_submenu(GTK_MENU_ITEM(item), submenu); + /* insert separator: */ item = gtk_menu_item_new(); gtk_menu_append(GTK_MENU(menu), item); gtk_widget_show(item); - /* update policy */ - item = gtk_menu_item_new_with_label(MENU_ITEM_UPDATE_POLICY); + /* length unit */ + + item = gtk_menu_item_new_with_label(MENU_ITEM_LENGTH_UNIT); gtk_menu_append(GTK_MENU(menu), item); gtk_widget_show(item); submenu = gtk_menu_new(); - subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_POLICY_CONTINUOUS); + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_LENGTH_MILLIMETERS); gtk_menu_append(GTK_MENU(submenu), subitem); - if (preferences.gtk_update_policy == GTK_UPDATE_CONTINUOUS) + if ( (preferences.length_unit > 0.9) && (preferences.length_unit < 1.1)) { gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); } - gtk_signal_connect(GTK_OBJECT(subitem), "activate", (GtkSignalFunc) xsane_set_update_policy_callback, (void *) GTK_UPDATE_CONTINUOUS); + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_set_pref_unit_callback, "mm"); gtk_widget_show(subitem); - xsane.update_policy_continu = subitem; + xsane.length_unit_mm = subitem; - subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_POLICY_DISCONTINU); + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_LENGTH_CENTIMETERS); gtk_menu_append(GTK_MENU(submenu), subitem); - if (preferences.gtk_update_policy == GTK_UPDATE_DISCONTINUOUS) + if ( (preferences.length_unit > 9.9) && (preferences.length_unit < 10.1)) { gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); } - gtk_signal_connect(GTK_OBJECT(subitem), "activate", (GtkSignalFunc) xsane_set_update_policy_callback, (void *) GTK_UPDATE_DISCONTINUOUS); + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_set_pref_unit_callback, "cm"); gtk_widget_show(subitem); - xsane.update_policy_discont = subitem; + xsane.length_unit_cm = subitem; - subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_POLICY_DELAYED); + subitem = gtk_check_menu_item_new_with_label(SUBMENU_ITEM_LENGTH_INCHES); gtk_menu_append(GTK_MENU(submenu), subitem); - if (preferences.gtk_update_policy == GTK_UPDATE_DELAYED) + if ( (preferences.length_unit > 25.3) && (preferences.length_unit < 25.5)) { gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(subitem), TRUE); } - gtk_signal_connect(GTK_OBJECT(subitem), "activate", (GtkSignalFunc) xsane_set_update_policy_callback, (void *) GTK_UPDATE_DELAYED); + g_signal_connect(GTK_OBJECT(subitem), "toggled", (GtkSignalFunc) xsane_set_pref_unit_callback, "in"); gtk_widget_show(subitem); - xsane.update_policy_delayed = subitem; + xsane.length_unit_in = subitem; gtk_menu_item_set_submenu(GTK_MENU_ITEM(item), submenu); + return menu; +} - /* insert separator: */ +/* ---------------------------------------------------------------------------------------------------------------------- */ - item = gtk_menu_item_new(); - gtk_menu_append(GTK_MENU(menu), item); - gtk_widget_show(item); +static GtkWidget *xsane_window_build_menu(void) +{ + GtkWidget *menu; + DBG(DBG_proc, "xsane_window_build_menu\n"); - /* show resolution list */ + menu = gtk_menu_new(); + gtk_menu_set_accel_group(GTK_MENU(menu), xsane.accelerator_group); - xsane.show_resolution_list_widget = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_RESOLUTIONLIST); - gtk_widget_add_accelerator(xsane.show_resolution_list_widget, "activate", xsane.accelerator_group, GDK_L, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); - gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.show_resolution_list_widget), preferences.show_resolution_list); - gtk_menu_append(GTK_MENU(menu), xsane.show_resolution_list_widget); - gtk_widget_show(xsane.show_resolution_list_widget); - gtk_signal_connect(GTK_OBJECT(xsane.show_resolution_list_widget), "toggled", - (GtkSignalFunc) xsane_show_resolution_list_callback, NULL); + /* show preview */ + + xsane.show_preview_widget = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_PREVIEW); + gtk_widget_add_accelerator(xsane.show_preview_widget, "activate", xsane.accelerator_group, GDK_1, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + gtk_menu_append(GTK_MENU(menu), xsane.show_preview_widget); + gtk_widget_show(xsane.show_preview_widget); + g_signal_connect(GTK_OBJECT(xsane.show_preview_widget), "toggled", (GtkSignalFunc) xsane_show_preview_callback, NULL); + + /* show histogram */ + + xsane.show_histogram_widget = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_HISTOGRAM); + gtk_widget_add_accelerator(xsane.show_histogram_widget, "activate", xsane.accelerator_group, GDK_2, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.show_histogram_widget), preferences.show_histogram); + gtk_menu_append(GTK_MENU(menu), xsane.show_histogram_widget); + gtk_widget_show(xsane.show_histogram_widget); + g_signal_connect(GTK_OBJECT(xsane.show_histogram_widget), "toggled", (GtkSignalFunc) xsane_show_histogram_callback, NULL); + + +#ifdef HAVE_WORKING_GTK_GAMMACURVE + /* show gamma */ + + xsane.show_gamma_widget = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_GAMMA); + gtk_widget_add_accelerator(xsane.show_gamma_widget, "activate", xsane.accelerator_group, GDK_3, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.show_gamma_widget), preferences.show_gamma); + gtk_menu_append(GTK_MENU(menu), xsane.show_gamma_widget); + gtk_widget_show(xsane.show_gamma_widget); + g_signal_connect(GTK_OBJECT(xsane.show_gamma_widget), "toggled", (GtkSignalFunc) xsane_show_gamma_callback, NULL); +#endif + + /* show batch_scan */ + + xsane.show_batch_scan_widget = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_BATCH_SCAN); + gtk_widget_add_accelerator(xsane.show_batch_scan_widget, "activate", xsane.accelerator_group, GDK_4, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.show_batch_scan_widget), preferences.show_batch_scan); + gtk_menu_append(GTK_MENU(menu), xsane.show_batch_scan_widget); + gtk_widget_show(xsane.show_batch_scan_widget); + g_signal_connect(GTK_OBJECT(xsane.show_batch_scan_widget), "toggled", (GtkSignalFunc) xsane_show_batch_scan_callback, NULL); + + /* show standard options */ + + xsane.show_standard_options_widget = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_STANDARDOPTIONS); + gtk_widget_add_accelerator(xsane.show_standard_options_widget, "activate", xsane.accelerator_group, GDK_5, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.show_standard_options_widget), preferences.show_standard_options); + gtk_menu_append(GTK_MENU(menu), xsane.show_standard_options_widget); + gtk_widget_show(xsane.show_standard_options_widget); + g_signal_connect(GTK_OBJECT(xsane.show_standard_options_widget), "toggled", (GtkSignalFunc) xsane_show_standard_options_callback, NULL); + + + /* show advanced options */ + + xsane.show_advanced_options_widget = gtk_check_menu_item_new_with_label(MENU_ITEM_SHOW_ADVANCEDOPTIONS); + gtk_widget_add_accelerator(xsane.show_advanced_options_widget, "activate", xsane.accelerator_group, GDK_6, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.show_advanced_options_widget), preferences.show_advanced_options); + gtk_menu_append(GTK_MENU(menu), xsane.show_advanced_options_widget); + gtk_widget_show(xsane.show_advanced_options_widget); + g_signal_connect(GTK_OBJECT(xsane.show_advanced_options_widget), "toggled", (GtkSignalFunc) xsane_show_advanced_options_callback, NULL); + + return menu; +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +static GtkWidget *xsane_preferences_build_menu(void) +{ + GtkWidget *menu, *item; + + DBG(DBG_proc, "xsane_preferences_build_menu\n"); + + menu = gtk_menu_new(); + gtk_menu_set_accel_group(GTK_MENU(menu), xsane.accelerator_group); + + + /* XSane setup dialog */ + + item = gtk_menu_item_new_with_label(MENU_ITEM_SETUP); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_S, GDK_MOD1_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + gtk_menu_append(GTK_MENU(menu), item); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_setup_dialog, NULL); + gtk_widget_show(item); /* insert separator: */ @@ -6204,16 +7131,14 @@ static GtkWidget *xsane_pref_build_menu(void) gtk_widget_show(item); - /* page orientation */ - item = gtk_check_menu_item_new_with_label(MENU_ITEM_PAGE_ROTATE); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_R, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); - gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(item), preferences.psrotate); + /* change working directory */ + + item = gtk_menu_item_new_with_label(MENU_ITEM_CHANGE_WORKING_DIR); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_D, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_menu_append(GTK_MENU(menu), item); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_change_working_directory, NULL); gtk_widget_show(item); - gtk_signal_connect(GTK_OBJECT(item), "toggled", (GtkSignalFunc) xsane_page_rotate_callback, NULL); - - /* insert separator: */ @@ -6221,34 +7146,33 @@ static GtkWidget *xsane_pref_build_menu(void) gtk_menu_append(GTK_MENU(menu), item); gtk_widget_show(item); - /* Save device setting */ + /* edit medium definitions */ - item = gtk_menu_item_new_with_label(MENU_ITEM_SAVE_DEVICE_SETTINGS); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_P, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + item = gtk_check_menu_item_new_with_label(MENU_ITEM_EDIT_MEDIUM_DEF); + g_signal_connect(GTK_OBJECT(item), "toggled", (GtkSignalFunc) xsane_edit_medium_definition_callback, NULL); gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_device_preferences_save, NULL); gtk_widget_show(item); - /* Load device setting */ + /* insert separator: */ - item = gtk_menu_item_new_with_label(MENU_ITEM_LOAD_DEVICE_SETTINGS); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_G, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + item = gtk_menu_item_new(); gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_device_preferences_load, NULL); gtk_widget_show(item); - /* insert separator: */ + /* Save device setting */ - item = gtk_menu_item_new(); + item = gtk_menu_item_new_with_label(MENU_ITEM_SAVE_DEVICE_SETTINGS); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_P, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_menu_append(GTK_MENU(menu), item); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_device_preferences_save, NULL); gtk_widget_show(item); - /* change working directory */ + /* Load device setting */ - item = gtk_menu_item_new_with_label(MENU_ITEM_CHANGE_WORKING_DIR); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_D, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + item = gtk_menu_item_new_with_label(MENU_ITEM_LOAD_DEVICE_SETTINGS); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_G, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_change_working_directory, NULL); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_device_preferences_load, NULL); gtk_widget_show(item); return menu; @@ -6263,23 +7187,16 @@ static GtkWidget *xsane_help_build_menu(void) DBG(DBG_proc, "xsane_help_build_menu\n"); menu = gtk_menu_new(); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(menu)); + gtk_menu_set_accel_group(GTK_MENU(menu), xsane.accelerator_group); - /* XSane about dialog */ - - item = gtk_menu_item_new_with_label(MENU_ITEM_ABOUT_XSANE); - gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_about_dialog, NULL); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F6, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); - gtk_widget_show(item); - /* XSane about translation dialog */ + /* XSane doc -> html viewer */ - item = gtk_menu_item_new_with_label(MENU_ITEM_ABOUT_TRANSLATION); + item = gtk_menu_item_new_with_label(MENU_ITEM_XSANE_DOC); gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_about_translation_dialog, NULL); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F7, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_doc, (void *) "sane-xsane"); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F1, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_widget_show(item); @@ -6290,28 +7207,46 @@ static GtkWidget *xsane_help_build_menu(void) gtk_widget_show(item); - /* XSane license */ + /* Backend doc -> html viewer */ + + if (xsane.backend) + { + item = gtk_menu_item_new_with_label(MENU_ITEM_BACKEND_DOC); + gtk_menu_append(GTK_MENU(menu), item); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_doc, (void *) xsane.backend); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F2, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + gtk_widget_show(item); + } + + + /* available backends -> html viewer */ - item = gtk_menu_item_new_with_label(MENU_ITEM_XSANE_LICENSE); + item = gtk_menu_item_new_with_label(MENU_ITEM_AVAILABLE_BACKENDS); gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_license, NULL); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F8, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_doc, (void *) "sane-backends"); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F3, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_widget_show(item); + + /* problems -> html viewer */ - /* separator */ + item = gtk_menu_item_new_with_label(MENU_ITEM_PROBLEMS); + gtk_menu_append(GTK_MENU(menu), item); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_doc, (void *) "sane-problems"); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F4, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + gtk_widget_show(item); item = gtk_menu_item_new(); gtk_menu_append(GTK_MENU(menu), item); gtk_widget_show(item); - /* XSane doc -> html viewer */ + /* scantips -> html viewer */ - item = gtk_menu_item_new_with_label(MENU_ITEM_XSANE_DOC); + item = gtk_menu_item_new_with_label(MENU_ITEM_SCANTIPS); gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_doc, (void *) "sane-xsane"); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F1, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_doc, (void *) "sane-scantips"); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F5, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_widget_show(item); @@ -6322,48 +7257,47 @@ static GtkWidget *xsane_help_build_menu(void) gtk_widget_show(item); - /* Backend doc -> html viewer */ - - if (xsane.backend) - { - item = gtk_menu_item_new_with_label(MENU_ITEM_BACKEND_DOC); - gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_doc, (void *) xsane.backend); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F2, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); - gtk_widget_show(item); - } - - - /* available backends -> html viewer */ + /* XSane about dialog */ - item = gtk_menu_item_new_with_label(MENU_ITEM_AVAILABLE_BACKENDS); + item = gtk_menu_item_new_with_label(MENU_ITEM_ABOUT_XSANE); gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_doc, (void *) "sane-backends"); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F3, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_about_dialog, NULL); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F6, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_widget_show(item); - - /* problems -> html viewer */ + /* XSane about translation dialog */ - item = gtk_menu_item_new_with_label(MENU_ITEM_PROBLEMS); + item = gtk_menu_item_new_with_label(MENU_ITEM_ABOUT_TRANSLATION); gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_doc, (void *) "sane-problems"); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F4, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_about_translation_dialog, NULL); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F7, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_widget_show(item); + + /* separator */ + item = gtk_menu_item_new(); gtk_menu_append(GTK_MENU(menu), item); gtk_widget_show(item); - /* scantips -> html viewer */ + /* XSane eula */ - item = gtk_menu_item_new_with_label(MENU_ITEM_SCANTIPS); + item = gtk_menu_item_new_with_label(MENU_ITEM_XSANE_EULA); + gtk_menu_append(GTK_MENU(menu), item); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_eula, NULL); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F8, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + gtk_widget_show(item); + + /* gpl */ + + item = gtk_menu_item_new_with_label(MENU_ITEM_XSANE_GPL); gtk_menu_append(GTK_MENU(menu), item); - gtk_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_doc, (void *) "sane-scantips"); - gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F5, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); + g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_gpl, NULL); + gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F9, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); gtk_widget_show(item); + return menu; } @@ -6373,12 +7307,14 @@ void xsane_panel_build() { GtkWidget *standard_vbox; GtkWidget *advanced_vbox; - GtkWidget *parent, *vbox, *button, *label; + GtkWidget *standard_parent; + GtkWidget *advanced_parent; + GtkWidget *parent, *button, *label; const SANE_Option_Descriptor *opt; SANE_Handle dev = xsane.dev; double dval, dmin, dmax, dquant; char *buf, str[16], title[256]; - GSGDialogElement *elem; + DialogElement *elem; SANE_Word quant, val; SANE_Status status; SANE_Int num_words; @@ -6414,6 +7350,10 @@ void xsane_panel_build() xsane.well_known.highlight_r = -1; xsane.well_known.highlight_g = -1; xsane.well_known.highlight_b = -1; + xsane.well_known.batch_scan_start = -1; + xsane.well_known.batch_scan_loop = -1; + xsane.well_known.batch_scan_end = -1; + xsane.well_known.batch_scan_next_tl_y = -1; /* standard options */ @@ -6444,97 +7384,142 @@ void xsane_panel_build() vector_opts = alloca(xsane.num_elements * sizeof (int)); - parent = standard_vbox; + standard_parent = standard_vbox; + advanced_parent = advanced_vbox; for (i = 1; i < xsane.num_elements; ++i) + { + opt = xsane_get_option_descriptor(dev, i); + if (!SANE_OPTION_IS_ACTIVE(opt->cap)) + { + continue; + } + + /* pick up well-known options as we go: */ + if (opt->name) { - opt = xsane_get_option_descriptor(dev, i); - if (!SANE_OPTION_IS_ACTIVE(opt->cap)) + if (strcmp(opt->name, SANE_NAME_PREVIEW) == 0 && opt->type == SANE_TYPE_BOOL) + { + xsane.well_known.preview = i; continue; + } + else if (strcmp(opt->name, SANE_NAME_SCAN_RESOLUTION) == 0 + && opt->unit == SANE_UNIT_DPI && (opt->type == SANE_TYPE_INT || opt->type == SANE_TYPE_FIXED)) + xsane.well_known.dpi = i; + else if (strcmp(opt->name, SANE_NAME_SCAN_X_RESOLUTION) == 0 + && opt->unit == SANE_UNIT_DPI && (opt->type == SANE_TYPE_INT || opt->type == SANE_TYPE_FIXED)) + xsane.well_known.dpi_x = i; + else if (strcmp(opt->name, SANE_NAME_SCAN_Y_RESOLUTION) == 0 + && opt->unit == SANE_UNIT_DPI && (opt->type == SANE_TYPE_INT || opt->type == SANE_TYPE_FIXED)) + xsane.well_known.dpi_y = i; + else if (strcmp (opt->name, SANE_NAME_SCAN_MODE) == 0) + xsane.well_known.scanmode = i; + else if (strcmp (opt->name, SANE_NAME_SCAN_SOURCE) == 0) + xsane.well_known.scansource = i; + else if (strcmp (opt->name, SANE_NAME_SCAN_TL_X) == 0) + xsane.well_known.coord[xsane_back_gtk_TL_X] = i; + else if (strcmp (opt->name, SANE_NAME_SCAN_TL_Y) == 0) + xsane.well_known.coord[xsane_back_gtk_TL_Y] = i; + else if (strcmp (opt->name, SANE_NAME_SCAN_BR_X) == 0) + xsane.well_known.coord[xsane_back_gtk_BR_X] = i; + else if (strcmp (opt->name, SANE_NAME_SCAN_BR_Y) == 0) + xsane.well_known.coord[xsane_back_gtk_BR_Y] = i; + else if (strcmp (opt->name, SANE_NAME_GAMMA_VECTOR) == 0) + xsane.well_known.gamma_vector = i; + else if (strcmp (opt->name, SANE_NAME_GAMMA_VECTOR_R) == 0) + xsane.well_known.gamma_vector_r = i; + else if (strcmp (opt->name, SANE_NAME_GAMMA_VECTOR_G) == 0) + xsane.well_known.gamma_vector_g = i; + else if (strcmp (opt->name, SANE_NAME_GAMMA_VECTOR_B) == 0) + xsane.well_known.gamma_vector_b = i; + else if (strcmp (opt->name, SANE_NAME_BIT_DEPTH) == 0) + xsane.well_known.bit_depth = i; + else if (strcmp (opt->name, SANE_NAME_THRESHOLD) == 0) + xsane.well_known.threshold = i; + else if (strcmp (opt->name, SANE_NAME_HIGHLIGHT) == 0) + xsane.well_known.highlight = i; + else if (strcmp (opt->name, SANE_NAME_HIGHLIGHT_R) == 0) + xsane.well_known.highlight_r = i; + else if (strcmp (opt->name, SANE_NAME_HIGHLIGHT_G) == 0) + xsane.well_known.highlight_g = i; + else if (strcmp (opt->name, SANE_NAME_HIGHLIGHT_B) == 0) + xsane.well_known.highlight_b = i; + else if (strcmp (opt->name, SANE_NAME_SHADOW) == 0) + xsane.well_known.shadow = i; + else if (strcmp (opt->name, SANE_NAME_SHADOW_R) == 0) + xsane.well_known.shadow_r = i; + else if (strcmp (opt->name, SANE_NAME_SHADOW_G) == 0) + xsane.well_known.shadow_g = i; + else if (strcmp (opt->name, SANE_NAME_SHADOW_B) == 0) + xsane.well_known.shadow_b = i; + else if (strcmp (opt->name, SANE_NAME_BATCH_SCAN_START) == 0) + xsane.well_known.batch_scan_start = i; + else if (strcmp (opt->name, SANE_NAME_BATCH_SCAN_LOOP) == 0) + xsane.well_known.batch_scan_loop = i; + else if (strcmp (opt->name, SANE_NAME_BATCH_SCAN_END) == 0) + xsane.well_known.batch_scan_end = i; + else if (strcmp (opt->name, SANE_NAME_BATCH_SCAN_NEXT_TL_Y) == 0) + xsane.well_known.batch_scan_next_tl_y = i; + } + + elem = xsane.element + i; + + if (opt->unit == SANE_UNIT_NONE) + { + snprintf(title, sizeof(title), "%s", _BGT(opt->title)); + } + else + { + snprintf(title, sizeof(title), "%s [%s]", _BGT(opt->title), xsane_back_gtk_unit_string(opt->unit)); + } + + if (opt->cap & SANE_CAP_ADVANCED) + { + parent = advanced_parent; + } + else + { + parent = standard_parent; + } - /* pick up well-known options as we go: */ - if (opt->name) + switch (opt->type) + { + case SANE_TYPE_GROUP: + /* group a set of options */ + if (opt->cap & SANE_CAP_ADVANCED) { - if (strcmp(opt->name, SANE_NAME_PREVIEW) == 0 && opt->type == SANE_TYPE_BOOL) - { - xsane.well_known.preview = i; - continue; - } - else if (strcmp(opt->name, SANE_NAME_SCAN_RESOLUTION) == 0 - && opt->unit == SANE_UNIT_DPI && (opt->type == SANE_TYPE_INT || opt->type == SANE_TYPE_FIXED)) - xsane.well_known.dpi = i; - else if (strcmp(opt->name, SANE_NAME_SCAN_X_RESOLUTION) == 0 - && opt->unit == SANE_UNIT_DPI && (opt->type == SANE_TYPE_INT || opt->type == SANE_TYPE_FIXED)) - xsane.well_known.dpi_x = i; - else if (strcmp(opt->name, SANE_NAME_SCAN_Y_RESOLUTION) == 0 - && opt->unit == SANE_UNIT_DPI && (opt->type == SANE_TYPE_INT || opt->type == SANE_TYPE_FIXED)) - xsane.well_known.dpi_y = i; - else if (strcmp (opt->name, SANE_NAME_SCAN_MODE) == 0) - xsane.well_known.scanmode = i; - else if (strcmp (opt->name, SANE_NAME_SCAN_SOURCE) == 0) - xsane.well_known.scansource = i; - else if (strcmp (opt->name, SANE_NAME_SCAN_TL_X) == 0) - xsane.well_known.coord[xsane_back_gtk_TL_X] = i; - else if (strcmp (opt->name, SANE_NAME_SCAN_TL_Y) == 0) - xsane.well_known.coord[xsane_back_gtk_TL_Y] = i; - else if (strcmp (opt->name, SANE_NAME_SCAN_BR_X) == 0) - xsane.well_known.coord[xsane_back_gtk_BR_X] = i; - else if (strcmp (opt->name, SANE_NAME_SCAN_BR_Y) == 0) - xsane.well_known.coord[xsane_back_gtk_BR_Y] = i; - else if (strcmp (opt->name, SANE_NAME_GAMMA_VECTOR) == 0) - xsane.well_known.gamma_vector = i; - else if (strcmp (opt->name, SANE_NAME_GAMMA_VECTOR_R) == 0) - xsane.well_known.gamma_vector_r = i; - else if (strcmp (opt->name, SANE_NAME_GAMMA_VECTOR_G) == 0) - xsane.well_known.gamma_vector_g = i; - else if (strcmp (opt->name, SANE_NAME_GAMMA_VECTOR_B) == 0) - xsane.well_known.gamma_vector_b = i; - else if (strcmp (opt->name, SANE_NAME_BIT_DEPTH) == 0) - xsane.well_known.bit_depth = i; - else if (strcmp (opt->name, SANE_NAME_THRESHOLD) == 0) - xsane.well_known.threshold = i; - else if (strcmp (opt->name, SANE_NAME_HIGHLIGHT) == 0) - xsane.well_known.highlight = i; - else if (strcmp (opt->name, SANE_NAME_HIGHLIGHT_R) == 0) - xsane.well_known.highlight_r = i; - else if (strcmp (opt->name, SANE_NAME_HIGHLIGHT_G) == 0) - xsane.well_known.highlight_g = i; - else if (strcmp (opt->name, SANE_NAME_HIGHLIGHT_B) == 0) - xsane.well_known.highlight_b = i; - else if (strcmp (opt->name, SANE_NAME_SHADOW) == 0) - xsane.well_known.shadow = i; - else if (strcmp (opt->name, SANE_NAME_SHADOW_R) == 0) - xsane.well_known.shadow_r = i; - else if (strcmp (opt->name, SANE_NAME_SHADOW_G) == 0) - xsane.well_known.shadow_g = i; - else if (strcmp (opt->name, SANE_NAME_SHADOW_B) == 0) - xsane.well_known.shadow_b = i; + /* advanced group: put all options to the advanced options window */ + standard_parent = xsane_back_gtk_group_new(advanced_vbox, title); + advanced_parent = standard_parent; + elem->widget = standard_parent; } + else + { + /* we create the group twice. if no option is defined in one of this groups */ + /* then the group is not shown */ - elem = xsane.element + i; - - if (opt->unit == SANE_UNIT_NONE) - { - snprintf(title, sizeof(title), "%s", _BGT(opt->title)); - } - else - { - snprintf(title, sizeof(title), "%s [%s]", _BGT(opt->title), xsane_back_gtk_unit_string(opt->unit)); - } + /* standard group: put standard options to the standard options window */ + standard_parent = xsane_back_gtk_group_new(standard_vbox, title); + elem->widget = standard_parent; - switch (opt->type) - { - case SANE_TYPE_GROUP: - /* group a set of options */ - vbox = standard_vbox; - if (opt->cap & SANE_CAP_ADVANCED) - { - vbox = advanced_vbox; - } - parent = xsane_back_gtk_group_new(vbox, title); - elem->widget = parent; - break; + /* standard group: put advanced options to the advanced options window */ + advanced_parent = xsane_back_gtk_group_new(advanced_vbox, title); + elem->widget2 = advanced_parent; + } + break; + + case SANE_TYPE_BOOL: + if (!opt->name) + { + DBG(DBG_error, "xsane_panel_build: Option %d, type SANE_TYPE_BOOL\n", i); + DBG(DBG_error, "=> %s\n", ERR_OPTION_NAME_NULL); + DBG(DBG_error, "=> %s\n", ERR_BACKEND_BUG); + break; + } - case SANE_TYPE_BOOL: + if ( (strcmp(opt->name, SANE_NAME_BATCH_SCAN_START) ) && /* do not show batch scan options */ + (strcmp(opt->name, SANE_NAME_BATCH_SCAN_LOOP) ) && + (strcmp(opt->name, SANE_NAME_BATCH_SCAN_END) ) ) + { assert(opt->size == sizeof(SANE_Word)); status = xsane_control_option(xsane.dev, i, SANE_ACTION_GET_VALUE, &val, 0); if (status != SANE_STATUS_GOOD) @@ -6543,209 +7528,266 @@ void xsane_panel_build() } xsane_back_gtk_button_new(parent, title, val, elem, xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); gtk_widget_show(parent->parent); + } + break; + + case SANE_TYPE_INT: + if (!opt->name) + { + DBG(DBG_error, "xsane_panel_build: Option %d, type SANE_TYPE_INT\n", i); + DBG(DBG_error, "=> %s\n", ERR_OPTION_NAME_NULL); + DBG(DBG_error, "=> %s\n", ERR_BACKEND_BUG); + break; + } + + if (opt->size != sizeof(SANE_Word)) + { + vector_opts[num_vector_opts++] = i; break; + } - case SANE_TYPE_INT: - if (opt->size != sizeof(SANE_Word)) - { - vector_opts[num_vector_opts++] = i; - break; - } - status = xsane_control_option(xsane.dev, i, SANE_ACTION_GET_VALUE, &val, 0); - if (status != SANE_STATUS_GOOD) - { - goto get_value_failed; - } + status = xsane_control_option(xsane.dev, i, SANE_ACTION_GET_VALUE, &val, 0); + if (status != SANE_STATUS_GOOD) + { + goto get_value_failed; + } - switch (opt->constraint_type) - { - case SANE_CONSTRAINT_RANGE: - if ( (strcmp(opt->name, SANE_NAME_SCAN_RESOLUTION) ) && /* do not show resolution */ - (strcmp(opt->name, SANE_NAME_SCAN_X_RESOLUTION)) && /* do not show x-resolution */ - (strcmp(opt->name, SANE_NAME_SCAN_Y_RESOLUTION)) ) /* do not show y-resolution */ - { - /* use a scale */ - quant = opt->constraint.range->quant; - if (quant == 0) - { - quant = 1; /* we have integers */ - } + switch (opt->constraint_type) + { + case SANE_CONSTRAINT_NONE: + xsane_back_gtk_value_new(parent, title, val, 1, + (opt->cap & SANE_CAP_AUTOMATIC), elem, xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); + gtk_widget_show(parent->parent); + break; - xsane_back_gtk_scale_new(parent, title, val, opt->constraint.range->min, opt->constraint.range->max, quant, - (opt->cap & SANE_CAP_AUTOMATIC), elem, xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); - gtk_widget_show(parent->parent); + case SANE_CONSTRAINT_RANGE: + if ( (strcmp(opt->name, SANE_NAME_SCAN_RESOLUTION) ) && /* do not show resolution */ + (strcmp(opt->name, SANE_NAME_SCAN_X_RESOLUTION)) && /* do not show x-resolution */ + (strcmp(opt->name, SANE_NAME_SCAN_Y_RESOLUTION)) ) /* do not show y-resolution */ + { + /* use a scale */ + quant = opt->constraint.range->quant; + if (quant == 0) + { + quant = 1; /* we have integers */ } - break; - case SANE_CONSTRAINT_WORD_LIST: - if ( (strcmp(opt->name, SANE_NAME_SCAN_RESOLUTION) ) && /* do not show resolution */ - (strcmp(opt->name, SANE_NAME_SCAN_X_RESOLUTION)) && /* do not show x-resolution */ - (strcmp(opt->name, SANE_NAME_SCAN_Y_RESOLUTION)) ) /* do not show y-resolution */ + xsane_back_gtk_range_new(parent, title, val, opt->constraint.range->min, opt->constraint.range->max, quant, + (opt->cap & SANE_CAP_AUTOMATIC), elem, xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); + gtk_widget_show(parent->parent); + } + break; + + case SANE_CONSTRAINT_WORD_LIST: + if ( (strcmp(opt->name, SANE_NAME_SCAN_RESOLUTION) ) && /* do not show resolution */ + (strcmp(opt->name, SANE_NAME_SCAN_X_RESOLUTION)) && /* do not show x-resolution */ + (strcmp(opt->name, SANE_NAME_SCAN_Y_RESOLUTION)) ) /* do not show y-resolution */ + { + /* use a "list-selection" widget */ + num_words = opt->constraint.word_list[0]; + str_list = malloc((num_words + 1) * sizeof(str_list[0])); + for (j = 0; j < num_words; ++j) { - /* use a "list-selection" widget */ - num_words = opt->constraint.word_list[0]; - str_list = malloc((num_words + 1) * sizeof(str_list[0])); - for (j = 0; j < num_words; ++j) - { - sprintf(str, "%d", opt->constraint.word_list[j + 1]); - str_list[j] = strdup(str); - } - str_list[j] = 0; - sprintf(str, "%d", val); - xsane_back_gtk_option_menu_new(parent, title, str_list, str, elem, xsane.tooltips, _BGT(opt->desc), - SANE_OPTION_IS_SETTABLE(opt->cap)); - free(str_list); - gtk_widget_show(parent->parent); + sprintf(str, "%d", opt->constraint.word_list[j + 1]); + str_list[j] = strdup(str); } - break; + str_list[j] = 0; + sprintf(str, "%d", val); + xsane_back_gtk_option_menu_new(parent, title, str_list, str, elem, xsane.tooltips, _BGT(opt->desc), + SANE_OPTION_IS_SETTABLE(opt->cap)); + free(str_list); + gtk_widget_show(parent->parent); + } + break; - default: - DBG(DBG_error, "xsane_panel_build: %s %d!\n", ERR_UNKNOWN_CONSTRAINT_TYPE, opt->constraint_type); - break; - } + default: + DBG(DBG_error, "xsane_panel_build: Option %d, type SANE_TYPE_INT\n", i); + DBG(DBG_error, "=> %s %d!\n", ERR_UNKNOWN_CONSTRAINT_TYPE, opt->constraint_type); + break; + } + break; + + case SANE_TYPE_FIXED: + if (!opt->name) + { + DBG(DBG_error, "xsane_panel_build: Option %d, type SANE_TYPE_FIXED\n", i); + DBG(DBG_error, "=> %s\n", ERR_OPTION_NAME_NULL); + DBG(DBG_error, "=> %s\n", ERR_BACKEND_BUG); + break; + } + + if (opt->size != sizeof (SANE_Word)) + { + vector_opts[num_vector_opts++] = i; break; + } + status = xsane_control_option(xsane.dev, i, SANE_ACTION_GET_VALUE, &val, 0); + if (status != SANE_STATUS_GOOD) + { + goto get_value_failed; + } - case SANE_TYPE_FIXED: - if (opt->size != sizeof (SANE_Word)) - { - vector_opts[num_vector_opts++] = i; - break; - } - status = xsane_control_option(xsane.dev, i, SANE_ACTION_GET_VALUE, &val, 0); - if (status != SANE_STATUS_GOOD) - { - goto get_value_failed; - } + switch (opt->constraint_type) + { + case SANE_CONSTRAINT_NONE: + dval = SANE_UNFIX(val); - switch (opt->constraint_type) - { - case SANE_CONSTRAINT_RANGE: - if ( (strcmp(opt->name, SANE_NAME_SCAN_RESOLUTION) ) && /* do not show resolution */ - (strcmp(opt->name, SANE_NAME_SCAN_X_RESOLUTION)) && /* do not show x-resolution */ - (strcmp(opt->name, SANE_NAME_SCAN_Y_RESOLUTION)) && /* do not show y-resolution */ - ((strcmp(opt->name, SANE_NAME_THRESHOLD) || (xsane.lineart_mode == XSANE_LINEART_STANDARD))) - /* do not show threshold if user wants the slider in the xsane main window */ - ) - { - /* use a scale */ - dval = SANE_UNFIX(val); - dmin = SANE_UNFIX(opt->constraint.range->min); - dmax = SANE_UNFIX(opt->constraint.range->max); - dquant = SANE_UNFIX(quant = opt->constraint.range->quant); + if (opt->unit == SANE_UNIT_MM) + { + dval /= preferences.length_unit; + } - if (opt->unit == SANE_UNIT_MM) - { - dval /= preferences.length_unit; - dmin /= preferences.length_unit; - dmax /= preferences.length_unit; - dquant /= preferences.length_unit; - } + xsane_back_gtk_value_new(parent, title, dval, 0.001, (opt->cap & SANE_CAP_AUTOMATIC), elem, + xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); + gtk_widget_show(parent->parent); + break; - if (dquant == 0) /* no quantization specified */ - { - dquant = 0.01; /* display x.2 digits */ - } + case SANE_CONSTRAINT_RANGE: + if ( (strcmp(opt->name, SANE_NAME_SCAN_RESOLUTION) ) && /* do not show resolution */ + (strcmp(opt->name, SANE_NAME_SCAN_X_RESOLUTION)) && /* do not show x-resolution */ + (strcmp(opt->name, SANE_NAME_SCAN_Y_RESOLUTION)) && /* do not show y-resolution */ + ((strcmp(opt->name, SANE_NAME_THRESHOLD) || (xsane.lineart_mode == XSANE_LINEART_STANDARD))) && + /* do not show threshold if user wants the slider in the xsane main window */ + (strcmp(opt->name, SANE_NAME_BATCH_SCAN_NEXT_TL_Y) ) /* do not show batch scan options */ + ) + { + /* use a scale */ + dval = SANE_UNFIX(val); + dmin = SANE_UNFIX(opt->constraint.range->min); + dmax = SANE_UNFIX(opt->constraint.range->max); + dquant = SANE_UNFIX(quant = opt->constraint.range->quant); - xsane_back_gtk_scale_new(parent, title, dval, dmin, dmax, dquant, (opt->cap & SANE_CAP_AUTOMATIC), elem, - xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); - gtk_widget_show(parent->parent); + if (opt->unit == SANE_UNIT_MM) + { + dval /= preferences.length_unit; + dmin /= preferences.length_unit; + dmax /= preferences.length_unit; + dquant /= preferences.length_unit; } - break; - case SANE_CONSTRAINT_WORD_LIST: - if ( (strcmp(opt->name, SANE_NAME_SCAN_RESOLUTION) ) && /* do not show resolution */ - (strcmp(opt->name, SANE_NAME_SCAN_X_RESOLUTION)) && /* do not show x-resolution */ - (strcmp(opt->name, SANE_NAME_SCAN_Y_RESOLUTION)) ) /* do not show y-resolution */ + if (dquant == 0) /* no quantization specified */ { - /* use a "list-selection" widget */ - num_words = opt->constraint.word_list[0]; - str_list = malloc ((num_words + 1) * sizeof (str_list[0])); - for (j = 0; j < num_words; ++j) - { - sprintf(str, "%g", SANE_UNFIX(opt->constraint.word_list[j + 1])); - str_list[j] = strdup(str); - } - str_list[j] = 0; - sprintf(str, "%g", SANE_UNFIX(val)); - xsane_back_gtk_option_menu_new(parent, title, str_list, str, elem, xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); - free (str_list); - gtk_widget_show(parent->parent); + dquant = 0.001; /* display x.3 digits */ } - break; - default: - DBG(DBG_error, "xsane_panel_build: %s %d!\n", ERR_UNKNOWN_CONSTRAINT_TYPE, opt->constraint_type); - break; - } - break; - - case SANE_TYPE_STRING: - buf = malloc (opt->size); - status = xsane_control_option(xsane.dev, i, SANE_ACTION_GET_VALUE, buf, 0); - if (status != SANE_STATUS_GOOD) - { - free (buf); - goto get_value_failed; - } + xsane_back_gtk_range_new(parent, title, dval, dmin, dmax, dquant, (opt->cap & SANE_CAP_AUTOMATIC), elem, + xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); + gtk_widget_show(parent->parent); + } + break; - switch (opt->constraint_type) - { - case SANE_CONSTRAINT_STRING_LIST: - if ( (strcmp (opt->name, SANE_NAME_SCAN_MODE) != 0) && /* do not show scanmode */ - (strcmp (opt->name, SANE_NAME_SCAN_SOURCE) != 0) ) /* do not show scansource */ + case SANE_CONSTRAINT_WORD_LIST: + if ( (strcmp(opt->name, SANE_NAME_SCAN_RESOLUTION) ) && /* do not show resolution */ + (strcmp(opt->name, SANE_NAME_SCAN_X_RESOLUTION)) && /* do not show x-resolution */ + (strcmp(opt->name, SANE_NAME_SCAN_Y_RESOLUTION)) ) /* do not show y-resolution */ + { + /* use a "list-selection" widget */ + num_words = opt->constraint.word_list[0]; + str_list = malloc ((num_words + 1) * sizeof (str_list[0])); + for (j = 0; j < num_words; ++j) { - /* use a "list-selection" widget */ - xsane_back_gtk_option_menu_new(parent, title, (char **) opt->constraint.string_list, buf, - elem, xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); - gtk_widget_show (parent->parent); + sprintf(str, "%g", SANE_UNFIX(opt->constraint.word_list[j + 1])); + str_list[j] = strdup(str); } - break; + str_list[j] = 0; + sprintf(str, "%g", SANE_UNFIX(val)); + xsane_back_gtk_option_menu_new(parent, title, str_list, str, elem, xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); + free (str_list); + gtk_widget_show(parent->parent); + } + break; + + default: + DBG(DBG_error, "xsane_panel_build: Option %d, type SANE_TYPE_FIXED\n", i); + DBG(DBG_error, "=> %s %d!\n", ERR_UNKNOWN_CONSTRAINT_TYPE, opt->constraint_type); + break; + } + break; + + case SANE_TYPE_STRING: + if (!opt->name) + { + DBG(DBG_error, "xsane_panel_build: Option %d, type SANE_TYPE_STRING\n", i); + DBG(DBG_error, "=> %s\n", ERR_OPTION_NAME_NULL); + DBG(DBG_error, "=> %s\n", ERR_BACKEND_BUG); + break; + } - case SANE_CONSTRAINT_NONE: - xsane_back_gtk_text_entry_new(parent, title, buf, elem, xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); + buf = malloc(opt->size); + status = xsane_control_option(xsane.dev, i, SANE_ACTION_GET_VALUE, buf, 0); + if (status != SANE_STATUS_GOOD) + { + free(buf); + goto get_value_failed; + } + + switch (opt->constraint_type) + { + case SANE_CONSTRAINT_STRING_LIST: + if ( (strcmp (opt->name, SANE_NAME_SCAN_MODE) != 0) && /* do not show scanmode */ + (strcmp (opt->name, SANE_NAME_SCAN_SOURCE) != 0) ) /* do not show scansource */ + { + /* use a "list-selection" widget */ + xsane_back_gtk_option_menu_new(parent, title, (char **) opt->constraint.string_list, buf, + elem, xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); gtk_widget_show (parent->parent); - break; + } + break; - default: - DBG(DBG_error, "xsane_panel_build: %s %d!\n", ERR_UNKNOWN_CONSTRAINT_TYPE, opt->constraint_type); - break; - } - free (buf); - break; + case SANE_CONSTRAINT_NONE: + xsane_back_gtk_text_entry_new(parent, title, buf, elem, xsane.tooltips, _BGT(opt->desc), SANE_OPTION_IS_SETTABLE(opt->cap)); + gtk_widget_show (parent->parent); + break; + + default: + DBG(DBG_error, "xsane_panel_build: Option %d, type SANE_TYPE_STRING\n", i); + DBG(DBG_error, "=> %s %d!\n", ERR_UNKNOWN_CONSTRAINT_TYPE, opt->constraint_type); + break; + } + free(buf); + break; - case SANE_TYPE_BUTTON: - button = gtk_button_new(); - gtk_signal_connect(GTK_OBJECT (button), "clicked", (GtkSignalFunc) xsane_back_gtk_push_button_callback, elem); - xsane_back_gtk_set_tooltip(xsane.tooltips, button, _BGT(opt->desc)); + case SANE_TYPE_BUTTON: + if (!opt->name) + { + DBG(DBG_error, "xsane_panel_build: Option %d, type SANE_TYPE_BUTTON\n", i); + DBG(DBG_error, "=> %s\n", ERR_OPTION_NAME_NULL); + DBG(DBG_error, "=> %s\n", ERR_BACKEND_BUG); + break; + } - label = gtk_label_new(title); - gtk_container_add(GTK_CONTAINER (button), label); + button = gtk_button_new(); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_back_gtk_push_button_callback, elem); + xsane_back_gtk_set_tooltip(xsane.tooltips, button, _BGT(opt->desc)); - gtk_box_pack_start(GTK_BOX (parent), button, FALSE, TRUE, 0); + label = gtk_label_new(title); + gtk_container_add(GTK_CONTAINER (button), label); - gtk_widget_show(label); - gtk_widget_show(button); + gtk_box_pack_start(GTK_BOX (parent), button, FALSE, TRUE, 0); - gtk_widget_set_sensitive(button, SANE_OPTION_IS_SETTABLE(opt->cap)); + gtk_widget_show(label); + gtk_widget_show(button); - elem->widget = button; - gtk_widget_show(parent->parent); - break; + gtk_widget_set_sensitive(button, SANE_OPTION_IS_SETTABLE(opt->cap)); - default: - DBG(DBG_error, "xsane_panel_build: %s %d\n", ERR_UNKNOWN_TYPE, opt->type); - break; - } - continue; + elem->widget = button; + gtk_widget_show(parent->parent); + break; + + default: + DBG(DBG_error, "xsane_panel_build: %s %d\n", ERR_UNKNOWN_TYPE, opt->type); + break; + } + continue; get_value_failed: - { - char msg[256]; + { + char msg[256]; - sprintf(msg, "%s %s: %s.", ERR_GET_OPTION, opt->name, XSANE_STRSTATUS(status)); - xsane_back_gtk_error(msg, TRUE); - } + sprintf(msg, "%s %s: %s.", ERR_GET_OPTION, opt->name, XSANE_STRSTATUS(status)); + xsane_back_gtk_error(msg, TRUE); } + } if ((xsane.well_known.dpi_x == -1) && (xsane.well_known.dpi_y != -1)) { @@ -6777,6 +7819,7 @@ void xsane_panel_build() - create tooltip style - create dialog xsane.histogram_dialog - create dialog xsane.gamma_dialog + - create dialog xsane.batch_scan - panel_build() - create dialog xsane.preview */ @@ -6785,6 +7828,7 @@ static void xsane_device_dialog(void) { GtkWidget *vbox, *hbox, *button, *frame, *infobox; GtkWidget *menubar, *menubar_item; + GtkStyle *current_style; const gchar *devname; char buf[256]; char windowname[255]; @@ -6810,7 +7854,7 @@ static void xsane_device_dialog(void) /* will never come to here */ } - if (xsane_control_option(xsane.dev, 0, SANE_ACTION_GET_VALUE, &xsane.num_elements, 0) != SANE_STATUS_GOOD) + if (sane_control_option(xsane.dev, 0, SANE_ACTION_GET_VALUE, &xsane.num_elements, 0) != SANE_STATUS_GOOD) { xsane_back_gtk_error(ERR_OPTION_COUNT, TRUE); sane_close(xsane.dev); @@ -6835,11 +7879,39 @@ static void xsane_device_dialog(void) xsane.backend = malloc(strlen(textptr)+6); sprintf(xsane.backend, "sane-%s", textptr); /* add "sane-" */ + DBG(DBG_info, "Setting backend name \"%s\"\n", xsane.backend); + + xsane.backend_translation = xsane.backend; + bindtextdomain(xsane.backend_translation, STRINGIFY(LOCALEDIR)); /* set path for backend translation texts */ +#ifdef HAVE_GTK2 + bind_textdomain_codeset(xsane.backend_translation, "UTF-8"); +#endif + + if (!strlen(dgettext(xsane.backend_translation, ""))) /* translation not valid, use general translation table */ + { + xsane.backend_translation = "sane-backends"; + DBG(DBG_info, "Setting general translation table \"sane-backends\" with localedir: %s\n", STRINGIFY(LOCALEDIR)); + } + else /* we have a valid table for the backend */ + { + DBG(DBG_info, "Setting backend translation table \"%s\" with localedir: %s\n", xsane.backend_translation, STRINGIFY(LOCALEDIR)); + } + } + else /* use general backend name "sane-backends" for sane */ + { + xsane.backend = strdup("sane-backends"); + DBG(DBG_info, "Setting general backend name \"%s\"\n", xsane.backend); - DBG(DBG_info, "Setting backend \"%s\" localedir: %s\n", xsane.backend, STRINGIFY(LOCALEDIR)); - bindtextdomain(xsane.backend, STRINGIFY(LOCALEDIR)); /* set path for backend translation texts */ + xsane.backend_translation = xsane.backend; + DBG(DBG_info, "Setting general translation table \"sane-backends\" with localedir: %s\n", STRINGIFY(LOCALEDIR)); } + bindtextdomain("sane-backends", STRINGIFY(LOCALEDIR)); /* set path for backend translation texts */ +#ifdef HAVE_GTK2 + bind_textdomain_codeset(xsane.backend_translation, "UTF-8"); +#endif + + /* create device-text for window titles */ snprintf(devicetext, sizeof(devicetext), "%s", xsane.devlist[xsane.selected_dev]->model); @@ -6890,16 +7962,16 @@ static void xsane_device_dialog(void) /* create the xsane dialog box */ xsane.shell = gtk_window_new(GTK_WINDOW_TOPLEVEL); - gtk_widget_set_uposition(xsane.shell, XSANE_SHELL_POS_X, XSANE_SHELL_POS_Y); + gtk_window_move(GTK_WINDOW(xsane.shell), XSANE_SHELL_POS_X, XSANE_SHELL_POS_Y); sprintf(windowname, "%s %s %s", xsane.prog_name, XSANE_VERSION, xsane.device_text); gtk_window_set_title(GTK_WINDOW(xsane.shell), (char *) windowname); - gtk_signal_connect(GTK_OBJECT(xsane.shell), "delete_event", GTK_SIGNAL_FUNC(xsane_scan_win_delete), NULL); + g_signal_connect(GTK_OBJECT(xsane.shell), "delete_event", GTK_SIGNAL_FUNC(xsane_scan_win_delete), NULL); xsane_set_window_icon(xsane.shell, 0); /* create the xsane main window accelerator table */ xsane.accelerator_group = gtk_accel_group_new(); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(xsane.shell)); + gtk_window_add_accel_group(GTK_WINDOW(xsane.shell), xsane.accelerator_group); /* set the main vbox */ @@ -6916,21 +7988,29 @@ static void xsane_device_dialog(void) menubar_item = gtk_menu_item_new_with_label(MENU_FILE); gtk_container_add(GTK_CONTAINER(menubar), menubar_item); gtk_menu_item_set_submenu(GTK_MENU_ITEM(menubar_item), xsane_files_build_menu()); -/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_F, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); */ +/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_F, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); */ gtk_widget_show(menubar_item); /* "Preferences" submenu: */ menubar_item = gtk_menu_item_new_with_label(MENU_PREFERENCES); gtk_container_add(GTK_CONTAINER(menubar), menubar_item); - gtk_menu_item_set_submenu(GTK_MENU_ITEM(menubar_item), xsane_pref_build_menu()); -/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_P, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); */ + gtk_menu_item_set_submenu(GTK_MENU_ITEM(menubar_item), xsane_preferences_build_menu()); +/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_P, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); */ gtk_widget_show(menubar_item); /* "View" submenu: */ menubar_item = gtk_menu_item_new_with_label(MENU_VIEW); gtk_container_add(GTK_CONTAINER(menubar), menubar_item); gtk_menu_item_set_submenu(GTK_MENU_ITEM(menubar_item), xsane_view_build_menu()); -/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_V, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); */ +/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_V, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); */ + gtk_widget_show(menubar_item); + + + /* "Window" submenu: */ + menubar_item = gtk_menu_item_new_with_label(MENU_WINDOW); + gtk_container_add(GTK_CONTAINER(menubar), menubar_item); + gtk_menu_item_set_submenu(GTK_MENU_ITEM(menubar_item), xsane_window_build_menu()); +/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_V, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); */ gtk_widget_show(menubar_item); @@ -6939,7 +8019,7 @@ static void xsane_device_dialog(void) gtk_container_add(GTK_CONTAINER(menubar), menubar_item); gtk_menu_item_right_justify((GtkMenuItem *) menubar_item); gtk_menu_item_set_submenu(GTK_MENU_ITEM(menubar_item), xsane_help_build_menu()); -/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_H, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); */ +/* gtk_widget_add_accelerator(menubar_item, "select", xsane.accelerator_group, GDK_H, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); */ gtk_widget_show(menubar_item); gtk_widget_show(menubar); @@ -6949,7 +8029,7 @@ static void xsane_device_dialog(void) if (xsane.main_window_fixed) /* fixed window: use it like it is */ { /* shrink grow auto_shrink */ - gtk_window_set_policy(GTK_WINDOW(xsane.shell), FALSE, FALSE, TRUE); /* auto size */ + gtk_window_set_resizable(GTK_WINDOW(xsane.shell), FALSE); xsane_vbox_main = gtk_vbox_new(TRUE, 5); /* we need this to set the wanted borders */ gtk_container_set_border_width(GTK_CONTAINER(xsane_vbox_main), 5); @@ -6960,11 +8040,10 @@ static void xsane_device_dialog(void) gtk_window_set_default_size(GTK_WINDOW(xsane.shell), XSANE_SHELL_WIDTH, XSANE_SHELL_HEIGHT); /* set default size */ /* shrink grow auto_shrink */ - gtk_window_set_policy(GTK_WINDOW(xsane.shell), TRUE, TRUE, FALSE); /* allow resizing */ + gtk_window_set_resizable(GTK_WINDOW(xsane.shell), TRUE); /* allow resizing */ xsane.main_dialog_scrolled = gtk_scrolled_window_new(0, 0); - gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(xsane.main_dialog_scrolled), - GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(xsane.main_dialog_scrolled), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_container_add(GTK_CONTAINER(xsane_window), xsane.main_dialog_scrolled); gtk_widget_show(xsane.main_dialog_scrolled); @@ -6982,32 +8061,30 @@ static void xsane_device_dialog(void) gtk_widget_show(xsane_vbox_main); #if 0 - /* add vendors logo */ + /* add vendor`s logo */ xsane_vendor_pixmap_new(xsane.shell->window, xsane_window); #endif /* create the scanner standard options dialog box */ - xsane.standard_options_shell = gtk_window_new(GTK_WINDOW_DIALOG); - gtk_widget_set_uposition(xsane.standard_options_shell, XSANE_STD_OPTIONS_POS_X, XSANE_STD_OPTIONS_POS_Y); + xsane.standard_options_shell = gtk_window_new(GTK_WINDOW_TOPLEVEL); + gtk_window_move(GTK_WINDOW(xsane.standard_options_shell), XSANE_STD_OPTIONS_POS_X, XSANE_STD_OPTIONS_POS_Y); sprintf(windowname, "%s %s", WINDOW_STANDARD_OPTIONS, xsane.device_text); gtk_window_set_title(GTK_WINDOW(xsane.standard_options_shell), (char *) windowname); - /* shrink grow auto_shrink */ - gtk_window_set_policy(GTK_WINDOW(xsane.standard_options_shell), FALSE, FALSE, TRUE); - gtk_signal_connect(GTK_OBJECT(xsane.standard_options_shell), "delete_event", - GTK_SIGNAL_FUNC(xsane_standard_option_win_delete), NULL); + gtk_window_set_resizable(GTK_WINDOW(xsane.standard_options_shell), FALSE); + g_signal_connect(GTK_OBJECT(xsane.standard_options_shell), "delete_event", GTK_SIGNAL_FUNC(xsane_standard_option_win_delete), NULL); xsane_set_window_icon(xsane.standard_options_shell, 0); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(xsane.standard_options_shell)); + gtk_window_add_accel_group(GTK_WINDOW(xsane.standard_options_shell), xsane.accelerator_group); xsane_vbox_standard = gtk_vbox_new(FALSE, 5); /* has been TRUE before I added backend pixmap */ gtk_container_set_border_width(GTK_CONTAINER(xsane_vbox_standard), 5); gtk_container_add(GTK_CONTAINER(xsane.standard_options_shell), xsane_vbox_standard); gtk_widget_show(xsane_vbox_standard); - /* add vendors logo */ + /* add vendor`s logo */ xsane_vendor_pixmap_new(xsane.standard_options_shell->window, xsane_vbox_standard); /* create a subwindow so the standard dialog keeps its position on rebuilds: */ @@ -7018,18 +8095,16 @@ static void xsane_device_dialog(void) /* create the scanner advanced options dialog box */ - xsane.advanced_options_shell = gtk_window_new(GTK_WINDOW_DIALOG); - gtk_widget_set_uposition(xsane.advanced_options_shell, XSANE_ADV_OPTIONS_POS_X, XSANE_ADV_OPTIONS_POS_Y); + xsane.advanced_options_shell = gtk_window_new(GTK_WINDOW_TOPLEVEL); + gtk_window_move(GTK_WINDOW(xsane.advanced_options_shell), XSANE_ADV_OPTIONS_POS_X, XSANE_ADV_OPTIONS_POS_Y); sprintf(windowname, "%s %s",WINDOW_ADVANCED_OPTIONS, xsane.device_text); gtk_window_set_title(GTK_WINDOW(xsane.advanced_options_shell), (char *) windowname); - /* shrink grow auto_shrink */ - gtk_window_set_policy(GTK_WINDOW(xsane.advanced_options_shell), FALSE, FALSE, TRUE); - gtk_signal_connect(GTK_OBJECT(xsane.advanced_options_shell), "delete_event", - GTK_SIGNAL_FUNC(xsane_advanced_option_win_delete), NULL); + gtk_window_set_resizable(GTK_WINDOW(xsane.advanced_options_shell), FALSE); + g_signal_connect(GTK_OBJECT(xsane.advanced_options_shell), "delete_event", GTK_SIGNAL_FUNC(xsane_advanced_option_win_delete), NULL); xsane_set_window_icon(xsane.advanced_options_shell, 0); - gtk_accel_group_attach(xsane.accelerator_group, GTK_OBJECT(xsane.advanced_options_shell)); + gtk_window_add_accel_group(GTK_WINDOW(xsane.advanced_options_shell), xsane.accelerator_group); xsane_vbox_advanced = gtk_vbox_new(FALSE, 5); /* has been TRUE before I added backend pixmap */ gtk_container_set_border_width(GTK_CONTAINER(xsane_vbox_advanced), 5); @@ -7073,10 +8148,8 @@ static void xsane_device_dialog(void) /* define tooltips colors */ xsane.tooltips = gtk_tooltips_new(); - colormap = gdk_window_get_colormap(xsane.shell->window); + colormap = gdk_drawable_get_colormap(xsane.shell->window); -/* I don`t know why the following does not work with gtk-1.2.x */ -/* but the gimp has the same problems ;-) */ /* use black as foreground: */ xsane.tooltips_fg.red = 0; xsane.tooltips_fg.green = 0; @@ -7089,21 +8162,14 @@ static void xsane_device_dialog(void) xsane.tooltips_bg.blue = 35979; gdk_color_alloc(colormap, &xsane.tooltips_bg); -/* as long as gtk_tooltips_set_colors() does not work : */ -#ifdef BUGGY_GTK_TOOLTIPS_SET_COLORS gtk_tooltips_force_window(xsane.tooltips); - { - GtkStyle *current_style = gtk_style_copy(gtk_widget_get_style(xsane.tooltips->tip_window)); - current_style->bg[GTK_STATE_NORMAL] = xsane.tooltips_bg; - current_style->fg[GTK_STATE_NORMAL] = xsane.tooltips_fg; - gtk_widget_set_style(xsane.tooltips->tip_window, current_style); - } -#else - gtk_tooltips_set_colors(xsane.tooltips, &xsane.tooltips_bg, &xsane.tooltips_fg); -#endif - xsane_back_gtk_set_tooltips(preferences.tooltips_enabled); + current_style = gtk_style_copy(gtk_widget_get_style(xsane.tooltips->tip_window)); + current_style->bg[GTK_STATE_NORMAL] = xsane.tooltips_bg; + current_style->fg[GTK_STATE_NORMAL] = xsane.tooltips_fg; + gtk_widget_set_style(xsane.tooltips->tip_window, current_style); + xsane_back_gtk_set_tooltips(preferences.tooltips_enabled); /* create histogram dialog and set colors */ @@ -7114,17 +8180,19 @@ static void xsane_device_dialog(void) xsane_create_gamma_dialog(xsane.device_text); /* create the free gamma curve dialog */ #endif + /* create batch_scan dialog */ + xsane_create_batch_scan_dialog(xsane.device_text); + /* The bottom area: info frame, progress bar, start and cancel button */ - xsane_separator_new(xsane_window, 2); - hbox = gtk_hbox_new(FALSE, 5); - gtk_box_pack_end(GTK_BOX(xsane_window), hbox, FALSE, FALSE, 5); - gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); + hbox = gtk_hbox_new(FALSE, 3); + gtk_box_pack_end(GTK_BOX(xsane_window), hbox, FALSE, FALSE, 0); + gtk_container_set_border_width(GTK_CONTAINER(hbox), 3); gtk_widget_show(hbox); /* vertical box for info frame and progress bar */ - vbox = gtk_vbox_new(FALSE, 5); - gtk_box_pack_start(GTK_BOX(hbox), vbox, TRUE, TRUE, 0); + vbox = gtk_vbox_new(FALSE, 3); + gtk_box_pack_start(GTK_BOX(hbox), vbox, TRUE, TRUE, 5); gtk_widget_show(vbox); @@ -7135,7 +8203,7 @@ static void xsane_device_dialog(void) gtk_widget_show(frame); infobox = gtk_hbox_new(FALSE, 5); - gtk_container_set_border_width(GTK_CONTAINER(infobox), 2); + gtk_container_set_border_width(GTK_CONTAINER(infobox), 4); gtk_container_add(GTK_CONTAINER(frame), infobox); gtk_widget_show(infobox); @@ -7152,24 +8220,28 @@ static void xsane_device_dialog(void) /* vertical box for scan and cancel button */ - vbox = gtk_vbox_new(FALSE, 5); + vbox = gtk_vbox_new(FALSE, 3); gtk_box_pack_start(GTK_BOX(hbox), vbox, TRUE, TRUE, 0); gtk_widget_show(vbox); /* The Scan button */ - button = gtk_button_new_with_label(BUTTON_START); + button = gtk_button_new_with_label(BUTTON_SCAN); xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_SCAN_START); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_Return, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_scan_dialog, NULL); - gtk_box_pack_start(GTK_BOX(vbox), button, FALSE, FALSE, 0); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_Return, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_scan_callback, NULL); + gtk_box_pack_start(GTK_BOX(vbox), button, TRUE, TRUE, 0); gtk_widget_show(button); xsane.start_button = GTK_OBJECT(button); /* The Cancel button */ +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); +#else button = gtk_button_new_with_label(BUTTON_CANCEL); +#endif xsane_back_gtk_set_tooltip(xsane.tooltips, button, DESC_SCAN_CANCEL); - gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_Escape, 0, GTK_ACCEL_VISIBLE | GTK_ACCEL_LOCKED); - gtk_box_pack_start(GTK_BOX(vbox), button, FALSE, FALSE, 0); + gtk_widget_add_accelerator(button, "clicked", xsane.accelerator_group, GDK_Escape, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED); + gtk_box_pack_start(GTK_BOX(vbox), button, TRUE, TRUE, 0); gtk_widget_show(button); gtk_widget_set_sensitive(GTK_WIDGET(button), FALSE); xsane.cancel_button = GTK_OBJECT(button); @@ -7181,7 +8253,7 @@ static void xsane_device_dialog(void) /* create preview dialog */ xsane.preview = preview_new(); - gtk_signal_connect(GTK_OBJECT(xsane.preview->top), "delete_event", GTK_SIGNAL_FUNC(xsane_preview_window_destroyed), NULL); + g_signal_connect(GTK_OBJECT(xsane.preview->top), "delete_event", GTK_SIGNAL_FUNC(xsane_preview_window_destroyed), NULL); xsane_device_preferences_restore(); /* restore device-settings */ xsane_set_modus_defaults(); @@ -7201,6 +8273,11 @@ static void xsane_device_dialog(void) gtk_widget_show(xsane.advanced_options_shell); } + if (preferences.show_batch_scan) + { + gtk_widget_show(xsane.batch_scan_dialog); + } + gtk_widget_show(xsane.shell); /* call as last so focus is on it */ while (gtk_events_pending()) @@ -7220,9 +8297,20 @@ static void xsane_device_dialog(void) } gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.show_preview_widget), xsane.show_preview); - xsane_set_all_resolutions(); /* make sure resolution, resolution_x and resolution_y are up to date */ xsane_define_maximum_output_size(); /* draw maximum output frame in preview window if necessary */ xsane_refresh_dialog(); + xsane_set_all_resolutions(); /* make sure resolution, resolution_x and resolution_y are up to date */ + + if (xsane.batch_scan_load_default_list) + { + char filename[PATH_MAX]; + + DBG(DBG_proc, "batch_scan:load default list\n"); + xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", "batch-lists", 0, "default", ".xbl", XSANE_PATH_LOCAL_SANE); + xsane_batch_scan_load_list_from_file(filename); + + xsane.batch_scan_load_default_list = 0; /* mark list is loaded, we only want to load the list at program startup */ + } } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -7231,7 +8319,7 @@ static void xsane_choose_dialog_ok_callback(void) { DBG(DBG_proc, "xsane_choose_dialog_ok_callback\n"); - gtk_signal_disconnect_by_func(GTK_OBJECT(xsane.choose_device_dialog), GTK_SIGNAL_FUNC(xsane_exit), 0); + g_signal_handlers_disconnect_by_func(GTK_OBJECT(xsane.choose_device_dialog), GTK_SIGNAL_FUNC(xsane_exit), 0); gtk_widget_destroy(xsane.choose_device_dialog); xsane_device_dialog(); } @@ -7247,7 +8335,7 @@ static void xsane_select_device_by_key_callback(GtkWidget * widget, gpointer dat /* ---------------------------------------------------------------------------------------------------------------------- */ -static void xsane_select_device_by_mouse_callback(GtkWidget * widget, GdkEventButton *event, gpointer data) +static int xsane_select_device_by_mouse_callback(GtkWidget * widget, GdkEventButton *event, gpointer data) { DBG(DBG_proc, "xsane_select_device_by_mouse_callback\n"); @@ -7256,6 +8344,8 @@ static void xsane_select_device_by_mouse_callback(GtkWidget * widget, GdkEventBu { xsane_choose_dialog_ok_callback(); } + + return 0; } /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -7263,8 +8353,8 @@ static void xsane_select_device_by_mouse_callback(GtkWidget * widget, GdkEventBu static void xsane_choose_device(void) { GtkWidget *main_vbox, *vbox, *hbox, *button, *device_frame, *device_vbox, *pixmapwidget, *label; - GdkBitmap *mask; - GdkPixmap *pixmap; + GdkBitmap *mask = NULL; + GdkPixmap *pixmap = NULL; GtkStyle *style; GdkColor *bg_trans; GSList *owner; @@ -7272,7 +8362,7 @@ static void xsane_choose_device(void) gint i; const SANE_Device *adev; char buf[256]; - char vendor[9]; + char vendor[12]; char model[17]; char type[20]; char filename[PATH_MAX]; @@ -7299,15 +8389,15 @@ static void xsane_choose_device(void) } } - xsane.choose_device_dialog = gtk_window_new(GTK_WINDOW_DIALOG); + xsane.choose_device_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_position(GTK_WINDOW(xsane.choose_device_dialog), GTK_WIN_POS_CENTER); - gtk_window_set_policy(GTK_WINDOW(xsane.choose_device_dialog), FALSE, FALSE, FALSE); - gtk_signal_connect(GTK_OBJECT(xsane.choose_device_dialog), "destroy", GTK_SIGNAL_FUNC(xsane_exit), NULL); + gtk_window_set_resizable(GTK_WINDOW(xsane.choose_device_dialog), FALSE); + g_signal_connect(GTK_OBJECT(xsane.choose_device_dialog), "destroy", GTK_SIGNAL_FUNC(xsane_exit), NULL); snprintf(buf, sizeof(buf), "%s %s %s", xsane.prog_name, XSANE_VERSION, WINDOW_DEVICE_SELECTION); gtk_window_set_title(GTK_WINDOW(xsane.choose_device_dialog), buf); device_selection_accelerator_group = gtk_accel_group_new(); /* do we have to delete it when dialog is closed ? */ - gtk_accel_group_attach(device_selection_accelerator_group, GTK_OBJECT(xsane.choose_device_dialog)); + gtk_window_add_accel_group(GTK_WINDOW(xsane.choose_device_dialog), device_selection_accelerator_group); main_vbox = gtk_vbox_new(FALSE, 0); gtk_container_set_border_width(GTK_CONTAINER(main_vbox), 0); @@ -7327,10 +8417,10 @@ static void xsane_choose_device(void) xsane_back_gtk_make_path(sizeof(filename), filename, "xsane", 0, "xsane-logo", 0, ".xpm", XSANE_PATH_SYSTEM); pixmap = gdk_pixmap_create_from_xpm(xsane.choose_device_dialog->window, &mask, bg_trans, filename); - pixmapwidget = gtk_pixmap_new(pixmap, mask); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); gtk_box_pack_start(GTK_BOX(vbox), pixmapwidget, FALSE, FALSE, 2); gtk_widget_show(pixmapwidget); - gdk_pixmap_unref(pixmap); + gdk_drawable_unref(pixmap); xsane_set_window_icon(xsane.choose_device_dialog, (gchar **) 0); @@ -7339,11 +8429,10 @@ static void xsane_choose_device(void) gtk_widget_show(label); gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 2); - xsane_separator_new(vbox, 5); - /* list the drivers with radiobuttons */ device_frame = gtk_frame_new(TEXT_AVAILABLE_DEVICES); + gtk_container_set_border_width(GTK_CONTAINER(device_frame), 4); gtk_box_pack_start(GTK_BOX(vbox), device_frame, FALSE, FALSE, 2); gtk_widget_show(device_frame); @@ -7406,13 +8495,11 @@ static void xsane_choose_device(void) if (i<12) { - gtk_widget_add_accelerator(button, "clicked", device_selection_accelerator_group, GDK_F1+i, 0, GTK_ACCEL_LOCKED); + gtk_widget_add_accelerator(button, "clicked", device_selection_accelerator_group, GDK_F1+i, 0, DEF_GTK_ACCEL_LOCKED); } - gtk_signal_connect(GTK_OBJECT(button), "button_press_event", - (GtkSignalFunc) xsane_select_device_by_mouse_callback, (void *) (long) i); - gtk_signal_connect(GTK_OBJECT(button), "clicked", - (GtkSignalFunc) xsane_select_device_by_key_callback, (void *) (long) i); + g_signal_connect(GTK_OBJECT(button), "button_press_event", (GtkSignalFunc) xsane_select_device_by_mouse_callback, (void *) (long) i); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_select_device_by_key_callback, (void *) (long) i); gtk_box_pack_start(GTK_BOX(device_vbox), button, TRUE, TRUE, 0); gtk_widget_show(button); owner = gtk_radio_button_group(GTK_RADIO_BUTTON(button));; @@ -7432,17 +8519,25 @@ static void xsane_choose_device(void) gtk_widget_show(hbox); /* The OK button */ +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_OK); +#else button = gtk_button_new_with_label(BUTTON_OK); +#endif GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_choose_dialog_ok_callback, NULL); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_choose_dialog_ok_callback, NULL); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_grab_default(button); gtk_widget_show(button); /* The Cancel button */ +#ifdef HAVE_GTK2 + button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); +#else button = gtk_button_new_with_label(BUTTON_CANCEL); - gtk_widget_add_accelerator(button, "clicked", device_selection_accelerator_group, GDK_Escape, 0, GTK_ACCEL_LOCKED); - gtk_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_exit, NULL); +#endif + gtk_widget_add_accelerator(button, "clicked", device_selection_accelerator_group, GDK_Escape, 0, DEF_GTK_ACCEL_LOCKED); + g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_exit, NULL); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); gtk_widget_show(button); @@ -7468,8 +8563,12 @@ static int xsane_init(int argc, char **argv) 3 - if wrong sane major version was found */ { GtkWidget *device_scanning_dialog; - GtkWidget *main_vbox; + GtkWidget *main_vbox, *hbox; + GdkPixmap *pixmap; + GdkBitmap *mask; + GtkWidget *pixmapwidget; GtkWidget *label; + GtkWidget *frame; struct stat st; char filename[PATH_MAX]; char buf[256]; @@ -7482,10 +8581,15 @@ static int xsane_init(int argc, char **argv) gtk_init(&argc, &argv); setlocale(LC_NUMERIC, "C"); -#ifdef HAVE_LIBGIMP_GIMP_H +#ifdef HAVE_ANY_GIMP gtk_rc_parse(gimp_gtkrc()); +# ifdef HAVE_GIMP_2 + gdk_set_use_xshm(TRUE); +# else gdk_set_use_xshm(gimp_use_xshm()); +# endif + #endif /* before we open any windows we have to read the style file */ @@ -7509,7 +8613,7 @@ static int xsane_init(int argc, char **argv) { int ch; - while((ch = getopt_long(argc, argv, "cd:fghlmnpsvFMN:RV", long_options, 0)) != EOF) + while((ch = getopt_long(argc, argv, "cd:fghlmnpsvFN:RV", long_options, 0)) != EOF) { switch(ch) { @@ -7517,7 +8621,7 @@ static int xsane_init(int argc, char **argv) /* GIMP. If xsane is compiled without GIMP support */ /* then you get the error message when GIMP does */ /* query or tries to start the xsane plugin! */ -#ifndef HAVE_LIBGIMP_GIMP_H +#ifndef HAVE_ANY_GIMP printf("%s: %s\n", argv[0], ERR_GIMP_SUPPORT_MISSING); exit(0); #endif @@ -7526,10 +8630,10 @@ static int xsane_init(int argc, char **argv) case 'v': /* --version */ printf("%s-%s %s %s\n", xsane.prog_name, XSANE_VERSION, XSANE_COPYRIGHT_SIGN, XSANE_COPYRIGHT_TXT); printf(" %s %s\n", TEXT_EMAIL, XSANE_EMAIL); - printf(" %s %s\n", TEXT_PACKAGE, PACKAGE_VERSION); + printf(" %s %s\n", TEXT_PACKAGE, XSANE_PACKAGE_VERSION); printf(" %s%d.%d.%d\n", TEXT_GTK_VERSION, GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); -#ifdef HAVE_LIBGIMP_GIMP_H +#ifdef HAVE_ANY_GIMP printf(" %s, %s%s\n", TEXT_WITH_GIMP_SUPPORT, TEXT_GIMP_VERSION, GIMP_VERSION); #else printf(" %s\n", TEXT_WITHOUT_GIMP_SUPPORT); @@ -7548,8 +8652,7 @@ static int xsane_init(int argc, char **argv) #endif printf("pnm, "); - printf("ps, "); - printf("raw"); + printf("ps"); #ifdef SUPPORT_RGBA printf(", rgba"); @@ -7558,6 +8661,9 @@ static int xsane_init(int argc, char **argv) #ifdef HAVE_LIBTIFF printf(", tiff"); #endif + + printf(", txt"); + printf("\n"); exit(0); break; @@ -7613,17 +8719,6 @@ static int xsane_init(int argc, char **argv) xsane.print_filenames = TRUE; break; - case 'M': /* --Medium-calibration */ - xsane.medium_calibration = TRUE; - xsane.no_preview_medium_gamma = TRUE; - - xsane.brightness_min = XSANE_MEDIUM_CALIB_BRIGHTNESS_MIN; - xsane.brightness_max = XSANE_MEDIUM_CALIB_BRIGHTNESS_MAX; - xsane.contrast_gray_min = XSANE_MEDIUM_CALIB_CONTRAST_MIN; - xsane.contrast_min = XSANE_MEDIUM_CALIB_CONTRAST_MIN; - xsane.contrast_max = XSANE_MEDIUM_CALIB_CONTRAST_MAX; - break; - case 'h': /* --help */ default: xsane_usage(); @@ -7634,13 +8729,15 @@ static int xsane_init(int argc, char **argv) if (xsane_pref_restore()) /* restore preferences, returns TRUE if license is not accpted yet */ { - if (xsane_display_license(1)) /* show license and ask for accept/not accept */ + if (xsane_display_eula(1)) /* show license and ask for accept/not accept */ { - DBG(DBG_info, "user did not accept license, we abort\n"); - return 1; /* User did not accept license */ + DBG(DBG_info, "user did not accept eula, we abort\n"); + return 1; /* User did not accept eula */ } } + xsane_pref_restore_media(); + #ifndef HAVE_OS2_H if (!getuid()) /* root ? */ { @@ -7670,27 +8767,53 @@ static int xsane_init(int argc, char **argv) return 3; } - device_scanning_dialog = gtk_window_new(GTK_WINDOW_DIALOG); + device_scanning_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_position(GTK_WINDOW(device_scanning_dialog), GTK_WIN_POS_CENTER); - gtk_window_set_policy(GTK_WINDOW(device_scanning_dialog), FALSE, FALSE, FALSE); + gtk_window_set_resizable(GTK_WINDOW(device_scanning_dialog), FALSE); snprintf(buf, sizeof(buf), "%s %s", xsane.prog_name, XSANE_VERSION); gtk_window_set_title(GTK_WINDOW(device_scanning_dialog), buf); + g_signal_connect(GTK_OBJECT(device_scanning_dialog), "delete_event", GTK_SIGNAL_FUNC(xsane_quit), NULL); + xsane_set_window_icon(device_scanning_dialog, 0); + + frame = gtk_frame_new(NULL); + gtk_container_set_border_width(GTK_CONTAINER(frame), 10); + gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_ETCHED_IN); + gtk_container_add(GTK_CONTAINER(device_scanning_dialog), frame); + gtk_widget_show(frame); main_vbox = gtk_vbox_new(FALSE, 0); gtk_container_set_border_width(GTK_CONTAINER(main_vbox), 20); - gtk_container_add(GTK_CONTAINER(device_scanning_dialog), main_vbox); + gtk_container_add(GTK_CONTAINER(frame), main_vbox); gtk_widget_show(main_vbox); + hbox = gtk_hbox_new(FALSE, 0); + gtk_box_pack_start(GTK_BOX(main_vbox), hbox, FALSE, FALSE, 2); + gtk_widget_show(hbox); + + /* add device icon */ + pixmap = gdk_pixmap_create_from_xpm_d(device_scanning_dialog->window, &mask, xsane.bg_trans, (gchar **) device_xpm); + pixmapwidget = gtk_image_new_from_pixmap(pixmap, mask); + gtk_box_pack_start(GTK_BOX(hbox), pixmapwidget, FALSE, FALSE, 10); + gtk_widget_show(pixmapwidget); + gdk_drawable_unref(pixmap); + + /* add text */ snprintf(buf, sizeof(buf), " %s ", TEXT_SCANNING_DEVICES); label = gtk_label_new(buf); - gtk_box_pack_start(GTK_BOX(main_vbox), label, FALSE, FALSE, 2); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2); gtk_widget_show(label); - xsane_set_window_icon(device_scanning_dialog, 0); - gtk_widget_show(device_scanning_dialog); + /* wait 100 ms to make sure window is displayed */ + usleep(100000); /* this makes sure that the text "scanning for devices" is displayed */ + + while (gtk_events_pending()) + { + gtk_main_iteration(); + } + xsane_widget_test_uposition(device_scanning_dialog); /* wait 100 ms to make sure window is displayed */ @@ -7746,6 +8869,16 @@ static int xsane_init(int argc, char **argv) /* ---------------------------------------------------------------------------------------------------------------------- */ +static void xsane_help_no_devices(void) +{ + char buf[512]; + + snprintf(buf, sizeof(buf), "%s\n\n%s", ERR_NO_DEVICES, HELP_NO_DEVICES); + xsane_back_gtk_decision(WINDOW_NO_DEVICES, (gchar**) no_device_xpm, buf, BUTTON_CLOSE, NULL, TRUE); +} + +/* ---------------------------------------------------------------------------------------------------------------------- */ + void xsane_interface(int argc, char **argv) { struct SIGACTION act; @@ -7783,17 +8916,28 @@ void xsane_interface(int argc, char **argv) { char buf[256]; - snprintf(buf, sizeof(buf), "%s: %s\n", xsane.prog_name, ERR_NO_DEVICES); - xsane_back_gtk_error(buf, TRUE); + snprintf(buf, sizeof(buf), "%s\n", ERR_NO_DEVICES); + + if (xsane_back_gtk_decision(WINDOW_NO_DEVICES, (gchar**) no_device_xpm, buf, BUTTON_HELP, BUTTON_CLOSE, TRUE)) + { + xsane_help_no_devices(); + } xsane_exit(); } } - /* define SIGTERM-handler to make sure that e.g. all temporary files are deleted */ - /* when xsane gets a SIGTERM signal */ + /* define SIGTERM, SIGINT, SIGHUP-handler to make sure that e.g. all temporary files are deleted */ + /* when xsane gets such a signal */ memset(&act, 0, sizeof(act)); act.sa_handler = xsane_quit_handler; sigaction(SIGTERM, &act, 0); + sigaction(SIGINT, &act, 0); + sigaction(SIGHUP, &act, 0); + + /* add a signal handler that cleans up zombie child processes */ + memset(&act, 0, sizeof(act)); + act.sa_handler = xsane_sigchld_handler; + sigaction(SIGCHLD, &act, 0); gtk_main(); sane_exit(); @@ -7817,8 +8961,6 @@ int main(int argc, char **argv) xsane.main_window_fixed = -1; /* no command line option given, use preferences or fixed */ - xsane.get_deskrelative_origin = 0; - xsane.mode = XSANE_STANDALONE; xsane.xsane_mode = XSANE_VIEWER; xsane.lineart_mode = XSANE_LINEART_STANDARD; @@ -7904,6 +9046,8 @@ int main(int argc, char **argv) xsane.print_filenames = FALSE; xsane.force_filename = FALSE; + xsane.batch_scan_load_default_list = TRUE; /* load default batch scan list at program startup */ + xsane.prog_name = strrchr(argv[0], '/'); if (xsane.prog_name) { @@ -7914,16 +9058,36 @@ int main(int argc, char **argv) xsane.prog_name = argv[0]; } + if (!pipe(xsane.ipc_pipefd)) /* success */ + { + DBG(DBG_info, "created ipc_pipefd for inter progress communication\n"); +#ifndef BUGGY_GDK_INPUT_EXCEPTION + gdk_input_add(xsane.ipc_pipefd[0], GDK_INPUT_READ | GDK_INPUT_EXCEPTION, xsane_back_gtk_ipc_dialog_callback, 0); +#endif + } + else + { + DBG(DBG_info, "could not create pipe for inter progress communication\n"); + xsane.ipc_pipefd[0] = 0; + xsane.ipc_pipefd[1] = 0; + } + #if 0 bindtextdomain(PACKAGE, STRINGIFY(LOCALEDIR)); textdomain(PACKAGE); +#ifdef HAVE_GTK2 + bind_textdomain_codeset(PACKAGE, "UTF-8"); +#endif #else - DBG(DBG_info, "Setting xsane localedir: %s\n", STRINGIFY(LOCALEDIR)); + DBG(DBG_info, "Setting xsane translation table with localedir: %s\n", STRINGIFY(LOCALEDIR)); bindtextdomain(xsane.prog_name, STRINGIFY(LOCALEDIR)); textdomain(xsane.prog_name); +#ifdef HAVE_GTK2 + bind_textdomain_codeset(xsane.prog_name, "UTF-8"); +#endif #endif -#ifdef HAVE_LIBGIMP_GIMP_H +#ifdef HAVE_ANY_GIMP { GPrintFunc old_print_func; GPrintFunc old_printerr_func; @@ -7945,8 +9109,14 @@ int main(int argc, char **argv) /* don`t know why, but os2 does need this one, a bit different to WIN32 */ set_gimp_PLUG_IN_INFO(&PLUG_IN_INFO); #endif + +#ifdef HAVE_GIMP_2 + /* gimp_main() returns 1 if xsane wasn't invoked by GIMP */ + result = gimp_main(&PLUG_IN_INFO, argc, argv); +#else /* gimp_main() returns 1 if xsane wasn't invoked by GIMP */ result = gimp_main(argc, argv); +#endif #if 0 /* this is the old version that seems to use the compatibility functions */ diff --git a/src/xsane.h b/src/xsane.h index 579bb0c..b54ee50 100644 --- a/src/xsane.h +++ b/src/xsane.h @@ -3,7 +3,7 @@ xsane.h Oliver Rauch - Copyright (C) 1998-2002 Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch This file is part of the XSANE package. This program is free software; you can redistribute it and/or modify @@ -27,53 +27,13 @@ /* ---------------------------------------------------------------------------------------------------------------------- */ -/* #define XSANE_TEST */ -/* #define SUPPORT_RGBA */ - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -#define XSANE_VERSION "0.84" -#define XSANE_AUTHOR "Oliver Rauch" -#define XSANE_COPYRIGHT "Oliver Rauch" -#define XSANE_DATE "1998-2002" -#define XSANE_EMAIL "Oliver.Rauch@xsane.org" -#define XSANE_HOMEPAGE "http://www.xsane.org" -#define XSANE_COPYRIGHT_TXT XSANE_DATE " " XSANE_COPYRIGHT - -/* ---------------------------------------------------------------------------------------------------------------------- */ - -#define XSANE_DEBUG_ENVIRONMENT "XSANE_DEBUG" - -#define XSANE_DEFAULT_UMASK 0007 -#define XSANE_HOLD_TIME 200 -#define XSANE_CONTINUOUS_HOLD_TIME 10 -#define XSANE_DEFAULT_DEVICE "SANE_DEFAULT_DEVICE" - -#ifndef SLASH -# define SLASH '/' -#endif - -#ifndef XSANE_FIXED_HOME_PATH -# define XSANE_FIXED_HOME_PATH /tmp -#endif - -#ifndef ENVIRONMENT_HOME_DIR_NAME -# define ENVIRONMENT_HOME_DIR_NAME HOME -#endif - -#ifndef ENVIRONMENT_TEMP_DIR_NAME -# define ENVIRONMENT_TEMP_DIR_NAME TMP -#endif - -/* ---------------------------------------------------------------------------------------------------------------------- */ - /* needed for most of the xsane sources: */ #ifdef _AIX # include #endif -#ifdef __hpux +#if defined(__hpux) || defined(__sgi) # include #endif @@ -92,25 +52,213 @@ #include #include -#include +/* OS/2 want sys/types before sys/stat */ #include +#include #include #include #include +#include "xsaneopts.h" #include "../include/config.h" #include "../include/sanei_signal.h" +#include +#include +#include + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#if 0 +#define DEF_GTK_ACCEL_LOCKED 0 +#else +#define DEF_GTK_ACCEL_LOCKED GTK_ACCEL_LOCKED +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +/* #define XSANE_TEST */ +/* #define SUPPORT_RGBA */ +/* #define HAVE_WORKING_GTK_GAMMACURVE */ + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#define XSANE_VERSION "0.97" +#define XSANE_AUTHOR "Oliver Rauch" +#define XSANE_COPYRIGHT "Oliver Rauch" +#define XSANE_DATE "1998-2005" +#define XSANE_EMAIL "Oliver.Rauch@xsane.org" +#define XSANE_HOMEPAGE "http://www.xsane.org" +#define XSANE_COPYRIGHT_TXT XSANE_DATE " " XSANE_COPYRIGHT + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#define XSANE_DEBUG_ENVIRONMENT "XSANE_DEBUG" + +#define XSANE_DEFAULT_UMASK 0007 +#define XSANE_HOLD_TIME 200 +#define XSANE_CONTINUOUS_HOLD_TIME 10 +#define XSANE_DEFAULT_DEVICE "SANE_DEFAULT_DEVICE" +#define XSANE_3PASS_BUFFER_RGB_SIZE 1024 + +#ifdef HAVE_WINDOWS_H +# define BUGGY_GDK_INPUT_EXCEPTION +# define _WIN32 +#endif + +#ifdef HAVE_LIBPNG +#ifdef HAVE_LIBZ +# define XSANE_DEFAULT_MAILTYPE XSANE_FILETYPE_PNG +# define XSANE_ACTIVATE_MAIL +#endif +#endif + +#ifndef XSANE_DEFAULT_MAILTYPE +#ifdef HAVE_LIBJPEG +# define XSANE_DEFAULT_MAILTYPE XSANE_FILETYPE_JPEG +# define XSANE_ACTIVATE_MAIL +#endif +#endif + +#ifndef XSANE_DEFAULT_MAILTYPE +#ifdef HAVE_LIBTIFF +# define XSANE_DEFAULT_MAILTYPE XSANE_FILETYPE_TIFF +# define XSANE_ACTIVATE_MAIL +#endif +#endif + +#ifndef XSANE_DEFAULT_MAILTYPE +# define XSANE_DEFAULT_MAILTYPE XSANE_FILETYPE_PNM +#endif + + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#ifndef SLASH +# ifdef _WIN32 +# define SLASH '\\' +# elif defined(HAVE_OS2_H) +# define SLASH '\\' +# else +# define SLASH '/' +# endif +#endif + +/* *** NOT USED IN THE MOMENT. MAY BE USED LATER *** */ +/* ************************************************* */ +#ifndef XSANE_FIXED_HOME_DIR +# ifdef _WIN32 +# define XSANE_FIXED_HOME_DIR c:\\SANE-Images +# elif defined(HAVE_OS2_H) +# define XSANE_FIXED_HOME_DIR c:\\SANE-Images +# else +# define XSANE_FIXED_HOME_DIR /tmp +# endif +#endif + +/* *** FIXED_APPDATA_DIR is used when the environment variable *** */ +/* *** ENVIRONMENT_APPDATA_DIR_NAME does not exist. It is used *** */ +/* *** to store the configuration files of xsane. *** */ +/* *************************************************************** */ +#ifndef XSANE_FIXED_APPDATA_DIR +# ifdef _WIN32 +# define XSANE_FIXED_APPDATA_DIR c:\\SANE +# elif defined(HAVE_OS2_H) +# define XSANE_FIXED_APPDATA_DIR c:\\SANE +# else +# define XSANE_FIXED_APPDATA_DIR /tmp +# endif +#endif + +/* *** NOT USED IN THE MOMENT. MAY BE USED LATER *** */ +/* ************************************************* */ +#ifndef ENVIRONMENT_HOME_DIR_NAME +# ifdef _WIN32 +# define ENVIRONMENT_HOME_DIR_NAME HOME +# elif defined(HAVE_OS2_H) +# define ENVIRONMENT_HOME_DIR_NAME HOME +# else +# define ENVIRONMENT_HOME_DIR_NAME HOME +# endif +#endif + +/* *** ENVIRONMENT_APPDATA_DIR_NAME is used to store the *** */ +/* *** configuration files of xsane. *** */ +/* *************************************************************** */ +#ifndef ENVIRONMENT_APPDATA_DIR_NAME +# ifdef _WIN32 +# define ENVIRONMENT_APPDATA_DIR_NAME APPDATA +# elif defined(HAVE_OS2_H) +# define ENVIRONMENT_APPDATA_DIR_NAME HOME +# else +# define ENVIRONMENT_APPDATA_DIR_NAME HOME +# endif +#endif + +/* *** NOT USED IN THE MOMENT. MAY BE USED LATER *** */ +/* ************************************************* */ +#ifndef ENVIRONMENT_SYSTEMROOT_DIR_NAME +# ifdef _WIN32 +/* SYSTEMROOT is used on WIN2K and WINXP */ +# define ENVIRONMENT_SYSTEMROOT_DIR_NAME_1 SYSTEMROOT +# define ENVIRONMENT_SYSTEMROOT_DIR_NAME_2 WINDIR +/* WINDIR is used on WIN98 and WINME */ +# elif defined(HAVE_OS2_H) +# define ENVIRONMENT_SYSTEMROOT_DIR_NAME_1 NONE +# define ENVIRONMENT_SYSTEMROOT_DIR_NAME_2 NONE +# else +# define ENVIRONMENT_SYSTEMROOT_DIR_NAME_1 NONE +# define ENVIRONMENT_SYSTEMROOT_DIR_NAME_2 NONE +# endif +#endif + +#ifndef ENVIRONMENT_TEMP_DIR_NAME +# define ENVIRONMENT_TEMP_DIR_NAME TMP +#endif + +#ifndef ENVIRONMENT_BROWSER_NAME +# define ENVIRONMENT_BROWSER_NAME BROWSER +#endif + +/* *** DEFAULT_BROWSER is used when environment variable *** */ +/* *** BROWSER is not defined at first startup of xsane. *** */ +/* *************************************************************** */ +#ifndef DEFAULT_BROWSER +# ifdef _WIN32 +# define DEFAULT_BROWSER "iexplore.exe" +# elif defined(HAVE_OS2_H) +# define DEFAULT_BROWSER "netscape" +# else +# define DEFAULT_BROWSER "netscape" +# endif +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + #include "xsane-text.h" #include "xsane-fixedtext.h" #include "xsane-icons.h" #include "xsane-viewer.h" -#include -#include -#include +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#if GTK_MAJOR_VERSION == 2 +# define HAVE_GTK2 +# ifndef _WIN32 +# define USE_GTK2_WINDOW_GET_POSITION +# endif +#endif + +#ifdef HAVE_GTK2 +# define HAVE_GTK_TEXT_VIEW_H +# define DEF_GTK_MENU_ACCEL_VISIBLE GTK_ACCEL_VISIBLE +#else /* we don't have gtk+-2.0 */ +# include "xsane-gtk-1_x-compat.h" +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ #ifdef ENABLE_NLS # include @@ -133,14 +281,8 @@ /* ---------------------------------------------------------------------------------------------------------------------- */ -#ifdef HAVE_LIBPNG -#ifdef HAVE_LIBZ -# define XSANE_ACTIVATE_MAIL -#endif -#endif - -#ifdef _WIN32 -# define BUGGY_GTK_TOOLTIPS_SET_COLORS +#ifdef HAVE_OS2_H +# define strcasecmp stricmp #endif /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -164,6 +306,7 @@ typedef struct } pref_default_preset_area_t; /* ---------------------------------------------------------------------------------------------------------------------- */ + typedef struct { /* The option number of the well-known options. Each of these may @@ -189,30 +332,34 @@ typedef struct int shadow_r; int shadow_g; int shadow_b; + int batch_scan_start; + int batch_scan_loop; + int batch_scan_end; + int batch_scan_next_tl_y; } -GSGWellKnownOptions; +WellKnownOptions; /* ---------------------------------------------------------------------------------------------------------------------- */ typedef struct { gchar *label; - struct GSGDialogElement *elem; + struct DialogElement *elem; gint index; } -GSGMenuItem; +MenuItem; /* ---------------------------------------------------------------------------------------------------------------------- */ -typedef struct GSGDialogElement +typedef struct DialogElement { - GtkWidget *automatic; /* auto button for options that support this */ GtkWidget *widget; + GtkWidget *widget2; GtkObject *data; int menu_size; /* # of items in menu (if any) */ - GSGMenuItem *menu; + MenuItem *menu; } -GSGDialogElement; +DialogElement; /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -243,6 +390,8 @@ typedef struct Image_info double contrast_blue; double threshold; + + int reduce_to_lineart; } Image_info; @@ -252,30 +401,34 @@ Image_info; /* ---------------------------------------------------------------------------------------------------------------------- */ -#ifdef HAVE_LIBGIMP_GIMP_H +#ifdef HAVE_ANY_GIMP # include -# ifdef HAVE_LIBGIMP_GIMPFEATURES_H -# include +# ifdef HAVE_GIMP_2 +# define GIMP_HAVE_RESOLUTION_INFO # else -# define GIMP_CHECK_VERSION(major, minor, micro) 0 -# endif /* HAVE_LIBGIMP_GIMPFEATURES_H */ +# ifdef HAVE_LIBGIMP_GIMPFEATURES_H +# include +# else +# define GIMP_CHECK_VERSION(major, minor, micro) 0 +# endif /* HAVE_LIBGIMP_GIMPFEATURES_H */ +# endif # ifdef GIMP_CHECK_VERSION # if GIMP_CHECK_VERSION(1,1,25) -/* ok, we have the new gimp interface */ +/* ok, we have the gimp-1.2 or gimp-2.0 interface */ # else -/* we have the old gimp interface and need the compatibility header file */ +/* we have the gimp-1.0 interface and need the compatibility header file */ # include "xsane-gimp-1_0-compat.h" # endif # else -/* we have the old gimp interface and need the compatibility header file */ +/* we have the gimp-1.0 interface and need the compatibility header file */ # include "xsane-gimp-1_0-compat.h" # endif extern GimpPlugInInfo PLUG_IN_INFO; /* needed for win32 */ -#endif /* HAVE_LIBGIMP_GIMP_H */ +#endif /* HAVE_ANY_GIMP */ /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -288,6 +441,7 @@ extern void xsane_pref_save(void); extern void xsane_interface(int argc, char **argv); extern void xsane_fax_project_save(void); extern void xsane_mail_project_save(void); +extern void xsane_batch_scan_add(void); /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -311,18 +465,20 @@ extern void xsane_mail_project_save(void); #define FAXNORMALOPT "-l" #define FAXFINEOPT "-m" #define FAXVIEWER "gv" +#define FAXCONVERTPSTOPNM "gs -dNOPAUSE -dBATCH -q -r204 -sDEVICE=pnm -sOutputFile=" #define MAILPROJECT "mailproject" #define MAILCOMMAND "sendmail" #define MAILVIEWER "xv" #define OCRCOMMAND "gocr" #define OCRINPUTFILEOPT "-i" #define OCROUTPUTFILEOPT "-o" -#define DOCVIEWER_NETSCAPE "netscape" -#define DOCVIEWER DOCVIEWER_NETSCAPE +#define OCROUTFDOPT "-x" +#define OCRPROGRESSKEY "" +#define BROWSER_NETSCAPE "netscape" #define XSANE_MEDIUM_CALIB_BRIGHTNESS_MIN -1000.0 #define XSANE_MEDIUM_CALIB_BRIGHTNESS_MAX 1000.0 -#define XSANE_MEDIUM_CALIB_CONTRAST_MIN 0.0 +#define XSANE_MEDIUM_CALIB_CONTRAST_MIN -1000.0 #define XSANE_MEDIUM_CALIB_CONTRAST_MAX 1000.0 #define XSANE_BRIGHTNESS_MIN -100.0 @@ -344,6 +500,8 @@ extern void xsane_mail_project_save(void); #define XSANE_HISTOGRAM_POS_Y 50 #define XSANE_GAMMA_POS_X 280 #define XSANE_GAMMA_POS_Y 420 +#define XSANE_BATCH_POS_X 480 +#define XSANE_BATCH_POS_Y 420 #define XSANE_STD_OPTIONS_POS_X 1 #define XSANE_STD_OPTIONS_POS_Y 400 #define XSANE_ADV_OPTIONS_POS_X 280 @@ -376,7 +534,7 @@ extern void xsane_mail_project_save(void); enum { XSANE_UNKNOWN, XSANE_PNM, XSANE_JPEG, XSANE_PNG, XSANE_PS, XSANE_TIFF, XSANE_RGBA, - XSANE_RAW16, XSANE_PNM16 + XSANE_RAW16, XSANE_PNM16, XSANE_TEXT }; /* ---------------------------------------------------------------------------------------------------------------------- */ @@ -409,12 +567,20 @@ typedef struct XsaneSlider /* ---------------------------------------------------------------------------------------------------------------------- */ +typedef struct XsaneChildprocess +{ + pid_t pid; + struct XsaneChildprocess *next; +} XsaneChildprocess; + +/* ---------------------------------------------------------------------------------------------------------------------- */ + typedef struct Xsane { SANE_Int sane_backend_versioncode; char *backend; + char *backend_translation; char *device_set_filename; - char *filetype; char *output_filename; char *dummy_filename; @@ -436,15 +602,22 @@ typedef struct Xsane SANE_Handle *dev; const char *dev_name; - GSGWellKnownOptions well_known; + WellKnownOptions well_known; int num_elements; - GSGDialogElement *element; + DialogElement *element; u_int rebuild : 1; int pixelcolor; int scanning; int reading_data; int cancel_scan; + int batch_scan_load_default_list; /* load default list at program startup flag */ + int batch_loop; /* is set when batch scanning and not last scan */ + int batch_scan_use_stored_scanmode; + int batch_scan_use_stored_resolution; + int batch_scan_use_stored_bit_depth; + SANE_Status status_of_last_scan; + /* free gamma curve widgets */ GtkWidget *gamma_curve_gray; GtkWidget *gamma_curve_red; @@ -470,13 +643,21 @@ typedef struct Xsane GtkWidget *histogram_dialog; GtkWidget *gamma_dialog; + GtkWidget *batch_scan_dialog; + GtkWidget *batch_scan_button_box; + GtkWidget *batch_scan_action_box; + GtkWidget *batch_scan_list; + GtkAdjustment *batch_scan_vadjustment; + GtkWidget *fax_dialog; GtkWidget *fax_list; GtkWidget *fax_project_box; GtkWidget *fax_project_exists; GtkWidget *fax_project_not_exists; GtkWidget *fax_project_entry; + GtkWidget *fax_project_entry_box; GtkWidget *fax_receiver_entry; + GtkProgressBar *fax_progress_bar; GtkWidget *mail_dialog; GtkWidget *mail_list; @@ -484,11 +665,12 @@ typedef struct Xsane GtkWidget *mail_project_exists; GtkWidget *mail_project_not_exists; GtkWidget *mail_project_entry; + GtkWidget *mail_project_entry_box; GtkWidget *mail_receiver_entry; GtkWidget *mail_subject_entry; GtkWidget *mail_text_widget; GtkWidget *mail_html_mode_widget; - GtkWidget *mail_status_label; + GtkProgressBar *mail_progress_bar; GdkPixmap *window_icon_pixmap; GdkBitmap *window_icon_mask; @@ -508,16 +690,22 @@ typedef struct Xsane int main_window_fixed; int mode_selection; +#ifndef USE_GTK2_WINDOW_GET_POSITION int get_deskrelative_origin; +#endif /* various scanning related state: */ SANE_Int depth; size_t num_bytes; size_t bytes_read; + int read_offset_16; + char last_offset_16_byte; + int lineart_to_grayscale_x; GtkProgressBar *progress_bar; int input_tag; SANE_Parameters param; int adf_page_counter; + int scan_rotation; /* for standalone mode: */ GtkWidget *filename_entry; @@ -539,6 +727,7 @@ typedef struct Xsane struct XsaneSlider slider_red; struct XsaneSlider slider_green; struct XsaneSlider slider_blue; + guint batch_scan_gamma_timer; /* has to be guint */ guint slider_timer; /* has to be guint */ int slider_timer_restart; @@ -597,6 +786,7 @@ typedef struct Xsane GtkWidget *show_preview_widget; GtkWidget *show_histogram_widget; GtkWidget *show_gamma_widget; + GtkWidget *show_batch_scan_widget; GtkWidget *show_standard_options_widget; GtkWidget *show_advanced_options_widget; GtkWidget *show_resolution_list_widget; @@ -619,7 +809,6 @@ typedef struct Xsane SANE_Bool scanner_gamma_color; SANE_Bool scanner_gamma_gray; - int fax_fine_mode; int mail_project_save; int mail_html_mode; @@ -632,15 +821,20 @@ typedef struct Xsane u_char *histogram_gamma_data_red, *histogram_gamma_data_green, *histogram_gamma_data_blue; u_char *histogram_medium_gamma_data_red, *histogram_medium_gamma_data_green, *histogram_medium_gamma_data_blue; + char *fax_status; char *fax_filename; char *fax_receiver; + float mail_progress_val; + int mail_progress_size; + int mail_progress_bytes; char *mail_status; char *mail_filename; char *mail_receiver; char *mail_subject; int block_update_param; + int block_enhancement_update; int broken_pipe; /* for printercommand pipe */ @@ -667,6 +861,8 @@ typedef struct Xsane int histogram_dialog_posy; int gamma_dialog_posx; int gamma_dialog_posy; + int batch_dialog_posx; + int batch_dialog_posy; int preview_dialog_posx; int preview_dialog_posy; int preview_dialog_width; @@ -724,6 +920,9 @@ typedef struct Xsane /* -------------------------------------------------- */ + int ipc_pipefd[2]; /* for inter process communication error messages */ + XsaneChildprocess *childprocess_list; + } Xsane; extern struct Xsane xsane; @@ -753,6 +952,7 @@ typedef struct XsaneSetup GtkWidget *overwrite_warning_button; GtkWidget *increase_filename_counter_button; GtkWidget *skip_existing_numbers_button; + GtkWidget *save_pnm16_as_ascii_button; GtkWidget *reduce_16bit_to_8bit_button; GtkWidget *main_window_fixed_button; @@ -773,7 +973,7 @@ typedef struct XsaneSetup GtkWidget *disable_gimp_preview_gamma_button; GtkWidget *preview_oversampling_entry; GtkWidget *preview_own_cmap_button; - GtkWidget *doc_viewer_entry; + GtkWidget *browser_entry; GtkWidget *fax_command_entry; GtkWidget *fax_receiver_option_entry; @@ -801,6 +1001,9 @@ typedef struct XsaneSetup GtkWidget *ocr_command_entry; GtkWidget *ocr_inputfile_option_entry; GtkWidget *ocr_outputfile_option_entry; + GtkWidget *ocr_use_gui_pipe_entry; + GtkWidget *ocr_gui_outfd_option_entry; + GtkWidget *ocr_progress_keyword_entry; int filename_counter_len; @@ -808,6 +1011,7 @@ typedef struct XsaneSetup int tiff_compression8_nr; int tiff_compression1_nr; + int show_range_mode; int lineart_mode; int image_permissions; diff --git a/src/xsaneopts.h b/src/xsaneopts.h new file mode 100644 index 0000000..8dbd655 --- /dev/null +++ b/src/xsaneopts.h @@ -0,0 +1,52 @@ +/* xsane -- a graphical (X11, gtk) scanner-oriented SANE frontend + + xsaneopts.h + + Oliver Rauch + Copyright (C) 1998-2005 Oliver Rauch + This file is part of the XSANE package. + + 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#include + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#ifndef XSANEOPTS_H +#define XSANEOPTS_H + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#ifndef SANE_NAME_BATCH_SCAN_START +# define SANE_NAME_BATCH_SCAN_START "batch-scan-start" +#endif + +#ifndef SANE_NAME_BATCH_SCAN_LOOP +# define SANE_NAME_BATCH_SCAN_LOOP "batch-scan-loop" +#endif + +#ifndef SANE_NAME_BATCH_SCAN_END +# define SANE_NAME_BATCH_SCAN_END "batch-scan-end" +#endif + +#ifndef SANE_NAME_BATCH_SCAN_NEXT_TL_Y +# define SANE_NAME_BATCH_SCAN_NEXT_TL_Y "batch-scan-next-tl-y" +#endif + +/* ---------------------------------------------------------------------------------------------------------------------- */ + +#endif /* XSANEOPTS_H */ diff --git a/xsane-WIN32-README.txt b/xsane-WIN32-README.txt new file mode 100644 index 0000000..1bd792a --- /dev/null +++ b/xsane-WIN32-README.txt @@ -0,0 +1,24 @@ +Installation of XSane WIN32: + +The archive contains a directory "sane". You must +extract the zip archive to c:\ so that you get +the directory c:\sane + +XSane will not work when you put it to any other place! + + +Configuration of XSane WIN32: + +edit c:\sane\etc\sane.d\net.conf +and put the IP address of the server where the scanner +is connected into one line, e.g: +192.168.0.1 + +make sure that c:\sane\etc\sane.d\dll.conf +contains the line +net + + +Start XSane WIN32: + +Execute c:\sane\bin\xsane.exe diff --git a/xsane-WIN32-compilation.txt b/xsane-WIN32-compilation.txt index 40a07bd..0373dc9 100644 --- a/xsane-WIN32-compilation.txt +++ b/xsane-WIN32-compilation.txt @@ -1,142 +1,68 @@ -This is the list of what I did to compile and install xsane-win32. -Some parts may not be exact because I wrote them down from my mind. - - -I) Needed installation of cygwin: - - I.1) go to http://cygwin.com - I.2) click the install cygwin button - I.3) follow the instructions (I installed all packages - but not all packages are necessary) - - install to c:\cygwin - - use preselected options - I.4) mkdir c:/sane - - I.5) cp /bin/cygwin1.dll c:/sane - I.6) cp /bin/cygjpeg*.dll c:/sane - I.7) cp /bin/cygpng*.dll c:/sane - I.8) cp /bin/cygtiff*.dll c:/sane - I.9) cp /bin/cygz.dll c:/sane - I.a) cp /bin/cygintl.dll c:/sane - - - -II) Needed gtk+ and glib: - - II.1) get glib-dev-*.zip and gtk+-dev-*.zip and iconv-dev*.zip - from http://user.sgic.fi/~tml/gimp/win32/ - - II.2) start cygwin bash shell - II.3) mkdir /src - - II.4) unpack gtk+, glib and iconv to c:\cygwin - - II.5) cd /src/glib - II.6) cp *.h /usr/include - II.7) cp libglib*.a /usr/lib - II.8) cp glib-*.dll c:/sane - - II.9) cd /src/gtk+/gdk - II.a) mkdir /usr/include/gdk - II.b) cp *.h /usr/include/gdk - II.c) cp libgdk-*.a /usr/lib - II.d) cp gdk-*.dll c:/sane - - II.e) cd /src/gtk+/gtk - II.f) mkdir /usr/include/gtk - II.g) cp *.h /usr/include/gtk - II.h) cp libgtk-*.a /usr/lib - II.i) cp gtk-*.dll c:/sane - - II.j) cd /src/libiconv*/src - II.k) cp iconv*.dll c:/sane - - -IIb) If GIMP-Plugin shall be compiled (otherwise skip this section): - - IIb.1) get gimp-dev-*.zip - from http://user.sgic.fi/~tml/gimp/win32/ - - IIb.2) unpack gimp-dev to c:\cygwin - IIb.3) cd /src/gimp/libgimp - IIb.4) mkdir /usr/include/libgimp - IIb.5) cp *.h /usr/include/libgimp - IIb.6) cp gimp-*.dll c:/sane - IIb.7) cp libgimp-*.a /usr/lib - - -III) Needed sane-parts: - - III.1) copy sane-source-package to /src - III.2) cd /src - III.3) tar xvzf sane-*.tar.gz - III.4) cd /src/sane-* - III.5) edit backend/net.c and change sanei_backend.h to sanei_backend_win32.h - III.6) cp src/sane-*/include/sane/sanei_backend.h to include/sane/sanei_backend_win32.h - III.7) remove all lines containing "ENTRY" from sane/include/sanei_backend_win32.h - III.8) call ./configure --prefix=/cygdrive/c/sane - (do not use c:/sane because ":" is used as path separator) - III.9) edit backend/Makefile - - remove all backends but net from PRELOADABLE_BACKENDS - - remove dll from ALL_BACKENDS - - add net to DLL_PRELOAD - - remove dll.lo dll-s.lo from line beginning with "libsane.la:" - III.a) Remove lines with isfdtype and vsyslog from sanei/sanei_init_debug.c - III.b) compile sane (in directory sane-1.0.*) (call make) - this should create a file backend/.libs/libsane.a and frontend/scanimage.exe - III.c) mkdir /usr/include/sane - III.d) cp include/sane/sane.h /usr/include/sane - III.e) cp include/sane/saneopts.h /usr/include/sane - III.f) cp backend/.libs/libsane.a /usr/lib - III.g) cp frontend/scanimage.exe /sane - - - -IV) compiling xsane: - - IV.1) copy xsane-source-package to /src - IV.2) cd /src - IV.3) tar xvzf xsane-*.tar.gz - IV.4) cd /xsane-* - IV.5) edit configure and remove "exit" after "ERROR: SANE" and "ERROR: GTK" - IV.6) copy src/Makefile.in.WIN32 to src/Makefile.in - IV.7) call ./configure --prefix="c:'\\\\'sane" - ignore errors about missing gtk, gimp and sane - IV.8) In src/Makefile do: - - check GTK-DLL names, GDK-DLL names in GTK_LIBS: - GTK_LIBS = -lgtk-1.3 -lgdk-1.3 - and name of gimp-library: - GIMP_LIBS = -lgimp-1.2 -lglib-1.3 - - When you want to compile xsane without gimp support: - comment out GIMP_LIBS ... with a "#" - - When you want to compile xsane with debug output, - remove "-mwindows" from the CC=... line - (this creates a Dosbox when xsane is started, - XSANE_DEBUG=128 and SANE_DEBUG_NET=128 enables - debug messages) - IV.9) compile xsane (in directory xsane-0.*/) (call make) - IV.a) make install - - - - -V) set up correct environment - - V.1) mkdir c:/sane/etc - V.2) mkdir c:/sane/etc/sane.d - V.3) vi c:/sane/etc/sane.d/net.conf - and enter a list of NetBEUI names or of IP-addresses - of machines you want to connect to. On some Windows - system IP-addresses are not accepted; if you experience - any problems try the NetBUI names. - - example for net.conf: - myhost1 - myhost2.mydomain.com - 192.168.0.1 - 192.169.1.73 - V.4) mkdir c:/sane/home - V.5) mkdir c:/sane/home/xsane - - - +To compile xsane on WIN32/CYGWIN + +- install cygwin with several packages like gcc... + don´t ask me what packages exactly are needed, I + simply installed the complete thing. + +- install gtk+-2.2.x with all necessary libraries: + - atk + - glib + - gmodules + - gobject + - gthread + - gdk + - gdk-pixbuf + - pango, pangowin32 + +- install libiconv-1.8-w32-1 (or may be newer) + +- mkdir c:/sane +- mkdir c:/sane/bin +- mkdir c:/sane/etc + +- cp /bin/cygwin-1.dll c:/sane/bin +- cp /bin/cygiconv-2.dll c:/sane/bin +- cp /bin/cygintl-2.dll c:/sane/bin +- cp /bin/cygjpeg-62.dll c:/sane/bin +- cp /bin/cygjpeg6b.dll c:/sane/bin +- cp /bin/cygpng2.dll c:/sane/bin +- cp /bin/cygpng10.dll c:/sane/bin +- cp /bin/cygpng12.dll c:/sane/bin +- cp /bin/cygtiff4.dll c:/sane/bin +- cp /bin/cygz.dll c:/sane/bin +- cp /bin/libintl-1.dll c:/sane/bin + +- cp -a /etc/pango c:/sane/etc/ +- cp -a /etc/gtk-2.0 c:/sane/etc/ + +May be with different source path: +- cp /libiconv-1.8-w32-1/iconv.dll c:/sane/bin + +- compile and install sane backends-1.0.15 or later + - ./configure --prefix=c:/sane + - make + - make install + +- compile and install xsane: + - export SANE_CONFIG=c:/sane/bin/sane-config + - ./configure --prefix=c:/sane + - edit src/Makefile and replace + -DLOCALEDIR=$(datadir)/locale + by + -DLOCALEDIR=/cygdrive/c/sane/share/locale + comment: some libraries and programs need the directories as c:\..., + some libraries work with c:\... and /cygdrive/c/..., + libintl only works with /cygdrive/c/... + - cp po/UTF8/* po (may be this is not necessary any more) + - make + - make install + +- setup sane: + - edit c:/sane/etc/sane.d/dll.conf + and make sure the backend you want to use is enabled + - edit c:/sane/etc/sane.d/net.conf + and enter the IP address or the NetBEUI name of the + server where the scanner is connected + - edit c:/sane/etc/sane.d/"backendname".conf + to configure the backend "backendname" + diff --git a/xsane-WIN32-compilation.txt.old b/xsane-WIN32-compilation.txt.old new file mode 100644 index 0000000..c99a8b5 --- /dev/null +++ b/xsane-WIN32-compilation.txt.old @@ -0,0 +1,142 @@ +This is the list of what I did to compile and install xsane-win32. +Some parts may not be exact because I wrote them down from my mind. + + +I) Needed installation of cygwin: + + I.1) go to http://cygwin.com + I.2) click the install cygwin button + I.3) follow the instructions (I installed all packages + but not all packages are necessary) + - install to c:\cygwin + - use preselected options + I.4) mkdir c:/sane + + I.5) cp /bin/cygwin1.dll c:/sane + I.6) cp /bin/cygjpeg*.dll c:/sane + I.7) cp /bin/cygpng*.dll c:/sane + I.8) cp /bin/cygtiff*.dll c:/sane + I.9) cp /bin/cygz.dll c:/sane + I.a) cp /bin/cygintl.dll c:/sane + + + +II) Needed gtk+ and glib: + + II.1) get glib-dev-*.zip and gtk+-dev-*.zip and iconv-dev*.zip + from http://user.sgic.fi/~tml/gimp/win32/ + + II.2) start cygwin bash shell + II.3) mkdir /src + + II.4) unpack gtk+, glib and iconv to c:\cygwin + + II.5) cd /src/glib + II.6) cp *.h /usr/include + II.7) cp libglib*.a /usr/lib + II.8) cp glib-*.dll c:/sane + + II.9) cd /src/gtk+/gdk + II.a) mkdir /usr/include/gdk + II.b) cp *.h /usr/include/gdk + II.c) cp libgdk-*.a /usr/lib + II.d) cp gdk-*.dll c:/sane + + II.e) cd /src/gtk+/gtk + II.f) mkdir /usr/include/gtk + II.g) cp *.h /usr/include/gtk + II.h) cp libgtk-*.a /usr/lib + II.i) cp gtk-*.dll c:/sane + + II.j) cd /src/libiconv*/src + II.k) cp iconv*.dll c:/sane + + +IIb) If GIMP-Plugin shall be compiled (otherwise skip this section): + + IIb.1) get gimp-dev-*.zip + from http://user.sgic.fi/~tml/gimp/win32/ + + IIb.2) unpack gimp-dev to c:\cygwin + IIb.3) cd /src/gimp/libgimp + IIb.4) mkdir /usr/include/libgimp + IIb.5) cp *.h /usr/include/libgimp + IIb.6) cp gimp-*.dll c:/sane + IIb.7) cp libgimp-*.a /usr/lib + + +III) Needed sane-parts: + + III.1) copy sane-source-package to /src + III.2) cd /src + III.3) tar xvzf sane-*.tar.gz + III.4) cd /src/sane-* + III.5) edit backend/net.c and change sanei_backend.h to sanei_backend_win32.h + III.6) cp src/sane-*/include/sane/sanei_backend.h to include/sane/sanei_backend_win32.h + III.7) remove all lines containing "ENTRY" from sane/include/sanei_backend_win32.h + III.8) call ./configure --prefix=/cygdrive/c/sane + (do not use c:/sane because ":" is used as path separator) + III.9) edit backend/Makefile + - remove all backends but net from PRELOADABLE_BACKENDS + - remove dll from ALL_BACKENDS + - add net to DLL_PRELOAD + - remove dll.lo dll-s.lo from line beginning with "libsane.la:" + III.a) Remove lines with isfdtype and vsyslog from sanei/sanei_init_debug.c + III.b) compile sane (in directory sane-1.0.*) (call make) + this should create a file backend/.libs/libsane.a and frontend/scanimage.exe + III.c) mkdir /usr/include/sane + III.d) cp include/sane/sane.h /usr/include/sane + III.e) cp include/sane/saneopts.h /usr/include/sane + III.f) cp backend/.libs/libsane.a /usr/lib + III.g) cp frontend/scanimage.exe /sane + + + +IV) compiling xsane: + + IV.1) copy xsane-source-package to /src + IV.2) cd /src + IV.3) tar xvzf xsane-*.tar.gz + IV.4) cd /xsane-* + IV.5) edit configure and remove "exit" after "ERROR: SANE" and "ERROR: GTK" + IV.6) copy src/Makefile.in.WIN32 to src/Makefile.in + IV.7) call ./configure --prefix=c:/sane + ignore errors about missing gtk, gimp and sane + IV.8) In src/Makefile do: + - check GTK-DLL names, GDK-DLL names in GTK_LIBS: + GTK_LIBS = -lgtk-1.3 -lgdk-1.3 + and name of gimp-library: + GIMP_LIBS = -lgimp-1.2 -lglib-1.3 + - When you want to compile xsane without gimp support: + comment out GIMP_LIBS ... with a "#" + - When you want to compile xsane with debug output, + remove "-mwindows" from the CC=... line + (this creates a Dosbox when xsane is started, + XSANE_DEBUG=128 and SANE_DEBUG_NET=128 enables + debug messages) + IV.9) compile xsane (in directory xsane-0.*/) (call make) + IV.a) make install + + + + +V) set up correct environment + + V.1) mkdir c:/sane/etc + V.2) mkdir c:/sane/etc/sane.d + V.3) vi c:/sane/etc/sane.d/net.conf + and enter a list of NetBEUI names or of IP-addresses + of machines you want to connect to. On some Windows + system IP-addresses are not accepted; if you experience + any problems try the NetBUI names. + + example for net.conf: + myhost1 + myhost2.mydomain.com + 192.168.0.1 + 192.169.1.73 + V.4) mkdir c:/sane/home + V.5) mkdir c:/sane/home/xsane + + + diff --git a/xsane.ACCELKEYS b/xsane.ACCELKEYS index c847d5c..9a1706d 100644 --- a/xsane.ACCELKEYS +++ b/xsane.ACCELKEYS @@ -29,7 +29,7 @@ Ctl 1 Show Tooltips Ctl 2 Show preview Ctl 3 Show Histogram Ctl 3 (Show Gamma Dialog) -Ctl 4 Show Advanced Options +Ctl 4 Show Standard Options Ctl 5 Show Advanced Options Ctl B Browse Filename diff --git a/xsane.BUGS b/xsane.BUGS index fa403c8..ed2710d 100644 --- a/xsane.BUGS +++ b/xsane.BUGS @@ -1,20 +1,25 @@ ----------------------------------------------------------------------------------- +- preferecnes files are not read til the end when e.g. an unknown or old + varaiable name is found + +- xsane dies without error message when saveing file to full disk + +- the SIGTERM handler is not called when gimp exits with xsane-plugin open. - - preview selection does not fit exact the scanned image? (I can not reproduce - this) +- SANE_CAP_AUTOMATIC does only work with range +- SANE_CAP_AUTOMATIC : automatic mode is not stored when options are reloaded (SANE_INFO_RELOAD_OPTIONS) + +---------------------------------------------------------------------------------- - - on some systems it is reported that: - - saving as png -> coredump - it looks like this is caused by wrong png versions - (old bug report, does anyown still have this problem?) +- xsane sometimes crashes at program startup with snapscan backend in panel_rebuild + while destroying the widgets - reason unknown, may be solved by test if widget exists -If you have one of the problem above please contact me and tell me: +If you have one of the problem above or any other problem please contact me and tell me: - used xsane version - cpu - operating system - byteorder of the cpu - if you know - ram size - - used sane version + - used sane-backends version - used backend and version - used scanner - bit depth (lineart, 8bits/color or 16bits/color) diff --git a/xsane.CHANGES b/xsane.CHANGES index d436827..b27cbf6 100644 --- a/xsane.CHANGES +++ b/xsane.CHANGES @@ -1928,7 +1928,7 @@ xsane-0.82 -> 0.83: xsane-0.83 -> 0.84: ------------------- - - if xsane-license.txt is not file when it shall be displayed then xsane does + - if xsane-license.txt is not found when it shall be displayed then xsane does print an error message and behaves like when the user did not accept the license. - if xsane-startimage.pnm is not found then an image of the size 1x1 pixel is @@ -1957,3 +1957,721 @@ xsane-0.83 -> 0.84: - added Plustek logo + +xsane-0.84 -> 0.85: +------------------- + + - replaced xsane_control_option by back_gtk_set_option in xsane_set_resolution. + if changing resolution causes a SANE_RELOAD_OPTIONS this is handled now. + + - replaced xsane_save_scaled_image by a routine that does a blur over all covered pixel + insetad of using one pixel in the middle of the covered area + + - changed radius definition of blur and despeckle, now r=1 means nothing happens + + - extended blur routine, radius is now of type float, so you e.g. can blur with a + radius of 1.3. + + - replaced all xsane*_scale_new* by xsane*_range_new*, the range can be displayed as: + - slider (scale) + value on right + - slider (scrollbar) + value on right + - spinbutton + - scale + spinbutton + - scrollbar + spinbutton + the user can select, which disply mode he likes to use. + + - added timeout callback for xsane_resolution to set correct quantisation + + - Some people complained that the user has to accept the GPL to use the program. + In fact from the view of the GPL it is not necessary that the user accepts + the license to run the program. But it is important that the user reads + and accepts the "NO WARRANTY" part of the license. Due to this I created + two license dialogs: + - EULA-Dialog displays the "NO WARRANTY" part of the GPL + - GPL-Dialog displays the compelte GPL + To run the program the user has to accept the "NO WARRANTY" agreement + after installation and each update of xsane. + I hope this compromise is usable for every side. Please understand and + accept that it is necessary in some countries that the user accepts the + no warranty agreement to make sure that the authors and others do not + have to pay any compensation in the case of any damage + + - removed bug in scan and in preview-scan 16 bit routines when + sane_read returned with odd number of bytes + + - reduced maximum filename counter length from 10 digits to 9 digits. + (10 digits need more than long int, long long int is not portable (not ANSI C)) + + - update_counter_in_filename does not touch the counter when step = 0 and + min_length = 0 + + - added preview function autoraise_scanarea (may be the name is stupid?): + if you select this function and click to an image then the image + is selected as scanarea + + - colored preview pipette icons and zoom icons + + - Changes/preparation for gtk+-2.0: + + - added xsane-gtk-1_x-compat.h that wraps gtk+-2.0 functions to gtk+-1.x functions + when gtk+-1.x is used + + - replaced all gtk_accel_group_attach() by gtk_window_add_accel_group() and + gtk_menu_set_accel_group() + + - repleaced all GTK_WINDOW_DIALOG by GTK_WINDOW_TOPLEVEL + + - addeded alternative part that uses gtk_text_view (gtk+-2.0) instead of gtk_text (gtk+-1.x) + + - repleaced all gtk_signal_connect* by g_signal_connect* and defined makros for gtk+-1.x + - repleaced all gtk_signal_handler* by g_signal_handlers* and defined makros for gtk+-1.x + + - repleaced (gtk+-1.x) + gtk_widget_draw(hist->pixmapwid, &rect); + for gtk+-2.0 by + gtk_widget_queue_draw(hist->pixmapwid); + gdk_window_process_updates(hist->pixmapwid->window, FALSE); + + - filename entry is not set directly by gtk_entry_set_text(), it is set + by xsane_set_filename() now + + +xsane-0.85 -> 0.86: +------------------- + + - reversed the change of xsane-0.84->0.85 that replaced + xsane_control_option by back_gtk_set_option in xsane_set_resolution. + If resolution change causes a SANE_RELOAD_OPTIONS this is not handled any + more. + Reason: It caused a segfault in different situations when panel_rebuild + was called. I tried to implement that it works like expected, but the + resolution option needs a lot of special cases handling that makes it + very hard to handle this. Also the gtk slider does not work when + the panel is rebuild each time when the value is changed. + + - increased vendor length from 9 to 12 characters. + + - changed dialog of viewer/scale + - The dialog uses xsane_range instead of a spinbutton now + - The scale sliders for x and y can be binded now, + + - added %%Pages: 1 1 to header of postscript files in xsane-save.c + + - changed preview zoom icons and function names: + - changed icon and name of zoom_in to zoom_area + - added new function zoom_in: if enabled a zoom cursor + is selected and when the user clicks to the preview + with the left or middle mouse button then it is zoomed + to the clicked position + + +xsane-0.86 -> 0.87: +------------------- + + - preview_update_maximum_output_size: function sets block bit + at beginning of routine and resets it at end of routine, this + way it is made sure that the function is not called + recursive. This avoids infinite loops when backend + changes geometry options. + + - xsane-device-preferences.c: saving and loading device options + does test for num_options now + + - added xsane.ipc_pipefd and gdk_input_add(xsane.ipc_pipefd,...), + a child process can write to the pipe and xsane displays the + text in an error dialog (not for win32) + - added inter process communication pipe. When a child process + wants to display an error message it can write the message to + ipc_pipefd[1] and xsane will display the message in an error dialog + + - xsane_back_gtk_decision_dialog can handle multiple dialogs now, + (used by xsane_back_gtk_error/warning/message/info + + - added clear/redraw histogram to xsane_set_sensitivity() + removed clear/redraw histogram near calls to xsane_set_sensitivity() + + - add xsane_sigchld_handler to cleanup zombie child processes, + this replaces xsane_mail_send_process_exited() + + - changed progress bar pipe of ocr program: + -default option is "-x" (gocr) + -default progress keyword is "" (gocr) + -expects to values: "%d %d\r", main, sub + first value is used for progress bar, both are printed as text + + - moved at the end of function xsane_device_dialog() + the call xsane_set_all_resolutions(); after xsane_refresh_dialog(); + this way the backend default resolution is not overwritten at program startup + + - changed calculation of aspect for startimage in preview_update_surface() from image aspect + to preview aspect + + - xsane-scan.c saving lineart image as grayscale does work correct now: + - fwrite writes correct number of bytes + - x value is stored in global struct XSane so that it is not reset at + the beginning of xsane_read_image_data() + + - moved ocr routine from xsane-viewer.c to xsane-save.c + + - ocr routine can be selected by saving image as ".txt" or ".text" format + + - added filetype menu to fileselection dialog + + - changed behaviour of filetype menues: the extension immedeatly is added to/changed in + the filename (and is not added/corrected when the scan begins). + Now the filetype menu does behave the same way as gimp does. This means that + you e.g. can select filetype "jpeg" and name the file "image.pnm", in this + case the filetype is (like selected) "jpeg". I do not like this, but this is + how most programs do handle this situation. + + - filetype is saved in preferences + + - filetype "by ext" is handled as "" instead of NULL now + + - selected working directory is saved in xsane preferences + + - error_xpm, warning_xpm and info_xpm got a little 3d look + + - added test for gtk2 to aclocal.m4 and configure.in/configure + + - added bind_textdomain_codeset(xsane.prog_name, "UTF-8"); after bindtextdomain + + - gtk-fileselection for selecting directories: for gtk2: + - selection_entry hidden + - added "/." to end of predefined path + - for gtk1 the text in selection_entry is removed from the filename after selection has finished + + - updated translations: de, tr, ja, es, fr, cs, sv + + - new translation: sk (slovakian), thanks to Zdenko Podobn + + - changed configure script to support gtk2 + + +xsane-0.87 -> 0.88: +------------------- + + - xsane_back_gtk_range_new: made sure that digits is not negative + and for gtk+-1 that digits<6 + + - xsane_load_mail_project: changed "char c" to "int c" to get a chance to + identify EOF + + - xsane_load_fax_project: changed "char c" to "int c" to get a chance to + identify EOF + + - xsane_resolution_list_callback: changed "gchar *name" to "const gchar *name" + + - xsane_add_medium_definition: changed "char *definition_name" to "const gchar *definition_name" + + - added xsane-batch-scan.[ch] + + - added routine preview_create_batch_icon_from_file() to xsane-preview.c + + - xsane_batch_scan_update_icon_list is called by xsane_enhancement_by_gamma via a timer + this way a gamma correction also is visible in the icon list + + - added xsane.scan_rotation that is used by xsane-scan.c instead of xsane.preview->rotation + + - updated translations: cs, de, es, ja, ru, tr + + +xsane-0.88 -> 0.89: +------------------- + + - 3 pass scanning: data interleaving is done in buffer, patch by + + - replaced fork() by spawnvp for ocr command in xsane-save.c (patch by Franz Bakan) + + - xsane_save_jpeg does reduce a 16bit/sample images to 8bit/sample at first because jpeg does + not support 16 bit/sample + + - xsane_save_ps does reduce 16bit/sample images to 8bit/sample while saving + + - When scanning to file (mode SAVE) then the warning about image depth reduction 16->8 bit/sample + for jpeg and postscript is not printed any more. + + - Since april 2000 there is defined a pnm (ppm/pgm) format for 16 bit binary images. + With this format the unofficial RAW16 format that has been used by xsane until version 0.88 + becomes senseless. The RAW16 format has been removed, xsane does create 16 bit binary pnm files + now (the difference between the RAW16 and the pnm16binary format is that the pnm16binary format + always uses MSB first while RAW16 was written in machine byte order). + In preferences-Setup->Image there is a selection if the pnm16 image shall be saved in ascii or + binary format. + When you have any problems with the pnm16binary format then make sure at first that the program + you use does support it correct. imagemagic does support it, the xv version 3.10a does not + support it. + + - read_pnm_header now does read the gamma, contrast, brightness, threshold values, so when these + data is saved in an image then it is correct now. + + - gamma, brightness, contrast and threshold are added in the header of pnm files now + + - when 16 bit image is scanned and "reduce 16bit image to 8bit" is selected and the image + is saved as pnm then the file is created correct now + + - batch scan thumbnail: replaced gdk_image by gtk_preview + gdk_image needs pixel colors based on hardware, gtk_preview uses truecolor pixels. + + - added po file converstion to utf8 in po/Makefile[.in] + + - added documentation for batch scan window + + - changed page size in range from (max-min)*1e-40 to (max-min)*1e-30 + because some systems like solaris had problems (one long bar that + could not be moved) + + - xsane-preview.c: in case of an error the error error text is created before + preview_scan_done is called when parameters->* are needed for creating the + error message + + - made html pages compatible to html 4.01 + + - changed header of postscript files, may be this solves the printing problem on some systems + + - added "%%EOF" to end of postscript files + + - updated translations: cs, de, fr, ja, nl, ru, sv (update for 0.88), tr + - new translations: pt, pt_BR + + - add no_device icon in error message: no devices available + + - added help_no_devices dialog + + - added device icon in device_scanning_dialog + + - added a frame in the decision dialog + + - when preview_autoselect_scanarea does not find an image then + the complete image is used + + - added accelerator key ESC to decision dialog: + when a reject button (right) is available then ESC=reject, + when no reject button is available then ESC=OK. + + - set block_update_maximum_output_size_clipping in preview_rotation_callback, + now rotation does work like expected when in copy mode + + - added paper_orientation menu in copy mode + + + +xsane-0.89 -> 0.90: +------------------- + + - replaced "round(i+0.5)" in xsane_save_ps by "ceil(i)" because round is not + available on all systems + + - replaced order of includes for sys/types.h ans sys/stat.h in xsane.h + + - removed some includes from some *.c files that are already in xsane.h + + - added to xsane.h: + #ifdef HAVE_OS2_H + # define strcasecmp stricmp + #endif + + - always set position of outputfilename_entry to the right + + - added test for (pid_status < 0) in xsane_fax_send in routine + waiting for child process. The program does continue now + when the fax is sent. + + - fax setup: added "set program defaults" buttons for efax, hylafax and mgetty+sendfax + + - bindtextdomain for backend is set for sane-"backendname" and sane-backends + sane-backends is used when sane-"backendname" does not exist (no "" entry) + + - set codeset for backend textdomain to "UTF-8" + + - xsane-preview.c: motion_notify_event_handler: added + if (p->selection_xedge != -1) and if (p->selection_yedge != -1) + before setting new coordinates + + - xsane-preview.c: added aspect_ratio function to motion_event_handler + + - added aspect_ratio menu to preview window + + - xsane-save.c: save_scaled_image: added " 0.5" to round image width and height + + - xsane-viewer.c: added widgets to scale dialog that allow defining image size + + - aclocal.m4: added "-lintl" when gettext is found in libintl + + - aclocal.m4: added warning that check for gtk is not possible when pkg-config + is not available + + - added romanian (ro.po), vietnamese (vi.po) and danish (da.po) translation + + - updated translation based on xsane-0.89 texts: es, it, ru + + - updated translations: cs, de, fr, nl, sk, tr + + - replaced some signals for spinbutton by signals for adjustments in xsane-viewer.c + + - xsane_mail_dialog_close() and xsane_fax_dialog_close(): + removed gtk_window_remove_accel_group(GTK_WINDOW(xsane.mail_dialog), xsane.accelerator_group); + + - xsane-scan.c/xsane_read_image_data() and xsane-preview.c/preview_read_image_data: + when we have no select_fd then we don't leave the scanloop with break; but + we do a gtk_main_loop and continue; + + - xsane-scan.c and xsane-preview.c: WIN32 now also does use the gdk_input_add functions. + + - preview: added output of RGB values of the pixel under the pointer in the preview + + - xsane_create_preview_gamma_curve: replaced 255 by 255.99999 to create correct preview gamma table + + +xsane-0.90 -> 0.91: +------------------- + + - xsane_generate_dummy_filename(): use temporary file in case xsane.mode == XSANE_GIMP_EXTENSION + + - changed accellerator keys that used letters to other key (if possible same key with , + because with these accelartor keys it was not possible to enter these letters in any entries. + + - added accelerator group to mail dialog again, it is now possible to enter all texts and use + the accelerator keys at the same time + + - added zoom of image under the pointer to the preview window + + - removed all c++ style remarks "//" + + - changed behaviour of medium definition mode: + - The raw histogram now does show the raw data when the selected medium definition + is not set to the full range + - When creating a new medium definition the name of the used definition is preset + - When creating a new medium definition then this definition is selected + - When deleting a definition then the previous definition is selected + + - renamed temporary file "preview-level*" to "xsane-preview-level*" + + - position of batch scan dialog is saved in device preferences + + - added chines tranlation (zh) + + - corrected RGBA mode + + - added blocking function to viewer: it is not possible to open two dialogs for the same + viewer at the same time + + - added signal handling for SIGINT and SIGHUP + + - in Batch scanning mode sane_cancel is called between all scans! This has to be done + because it is not allowed to change scan parameters between sane_start and sane_cancel. + + +xsane-0.91 -> 0.92: +------------------- + + - moved setting of preview gamma table from preview_start_scan (called 3 times for + 3 pass scan) to preview_scan (called once when "preview scan" button is pressed). + This should avoid error messages in 3 pass scanning mode + + - removed parameter label from xsane_back_gtk_autobutton_new() + + - xsane_back_gtk_autobutton_update sets range widget to insensitive in automatic mode + + - added jpeg error_exit handler + + - added several tests for errors after wrting image data (full disk) (not complete) + + - if an advanced option is defined in a standard group then this option is listed in + the advanced options window now. For this a standard group also is created in the + advanced options window. If a group has no items then the group is not shown. + + - an option without SANE_CAP_SOFT_DETECT is not read any more in xsane_control_option + + - updated translations: sv + + +xsane-0.92 -> 0.93: +------------------- + + - added ranlib to lib/Makefile.in to process liblib.a + + - added 2 calls xsane_find_best_resolution() in xsane_resolution_widget_new() + to make sure that active value really is selectable in a list of resolutions + + - added range values 9-25% to scaling list of xsane-viewer: 9, 13, 18, 25, 35, 50, 71, 100, 141, 200, 282, 400 + + - when no docviewer is defined at xsane startup (generally when xsane is started the first time) then + xsane tries to read the environment variable $BROWSER, if this fails it sets docviewer to netscape. + + - xsane-preferences.c: mail dependant entries are only used when mail is activated + + - replaced label HAVE_LIBGIMP_GIMP_H by HAVE_ANY_GIMP + HAVE_ANY_GIMP is defined in configure.in when HAVE_GIMP=yes + + - added HAVE_GIMP_2 parts to xsane.c, xsane.h and xsane-save.c + HAVE_GIMP_2 is defined by configure.in when GIMP-2.0 was found + + - created subdirectory m4 and put self written macros from aclocal.m4 to m4/*.m4, + copied gtk.m4, gtk-2.0.m4 and gimp-2.0.m4 from aclocal installation to m4 subdirectory, + gimp-orauch.m4 contains a modified gimp.m4 that also can handle gimp-1.0.x + (the original script only does work when gimptool is installed, gimp-1.0.x comes without it) + a new aclocal.m4 can be created with "aclocal -I m4/." + + - configure.in: changed AM_FUNC_ALLOCA to AC_FUNC_ALLOCA + + - configure.in + src/xsane.c: changed PACKAGE_VERSION to XSANE_PACKAGE_VERSION + because PACKAGE_VERSION did not work any more, looks like a new feature of aclocal or autoconf + + - updated translations: de, it, da, cs, nl, es, sk, ro, fr + + - po/Makefile.in: added test for msgfmt, gmsgfmt, gencat + +xsane-0.93 -> 0.94: +------------------- + + - changed "s" to UTF8 codeset + + - added test and warning message if option is defined without name (NULL) + to xsane_panel_build + + - added handling for options with of SANE_TYPE_INT and SANE_TYPE FIXED + with CONSTRAINT_TYPE_NONE , uses spinbutton, no sliders + + - changed default medium definition of Slide from highlight=30% to highlight=40% + + - xsane_[back_gtk_]option_menu_new: added empty element to end of list + xsane_[back_gtk_]option_menu_lookup: test for existing element before comparision + + - moved media defintions from xsane.rc to xsane.mdf + + - preview: preset area: added definition name to context menu items + + - preview: add preset area: you can change the suggested name now + + - medium definitions: added same context menue like in preset area menu, + removed buttons "add medium" and "delete medium", they are in the + contect menu now + + - added documentation how to use a medium and how to define a medium + + - improved documentation how to edit the preset area definitions + + - in edit medium definition mode autmatic scanarea selection and automatic + color correction is disbaled + + - docs: replaced www.mostang.com/sane by www.sane-project.org + and sane-devel@mostang.com by sane-devel@lists.alioth.debian.org + + - batch_scan default list is loaded at program startup + + - added test for BUGGY_GDK_INPUT_EXECEPTION in xsane.c and xsane-preview.c + when gdk_input_add shall be used + + - changed order in xsane.h: system includes are moved to the beginning of + the file. This way it is possible to test for operating system header files + to decide how some #defines are made + + - added m4 makro test for msnative struct for windows + + - BUGGY_GDK_INPUT_EXCEPTION is defined for windows + + - src/Makefile.in: removed both "\" in + -DPATH_XSANE_DOC_DIR=\$(xsanedocdir) -DPATH_SANE_DATA_DIR=\$(sanedatadir) + + - created new xsane-WIN32-compilation.txt + + - for windows the GTK1 version of xsane_window_get_position is used + + - xsane_back_gtk_get_filename: directory is prepared with ending SLASH + instead of ending "/.", this does work with windows now when SLASH is \ + + +xsane-0.94 -> 0.95: +------------------- + + - For xsane-win32 the xsane icon is added to the windows ressource of xsane.exe: + added definition of XSANE_ICON=xsane-icon.opc to configure[.in] + added creation rule of xsane-icon.opc to src/Makefile[.in] + added @XSANE_ICON@ to XSANE_OBJS + + - in xsane_back_gtk_value_update: removed rounding (+ 0.5) in case SANE_TYPE_INT + + - changed menues in the xsane main dialog: + - added new menu "Window" + - moved Window menue entries form "View" to "Window" + - moved "Show resolution list" entry from menu "Preferences" to "View" + - moved "Update policy" entry from menu "Preferences" to "View" + - moved "Length unit" entry from menu "Preferences" to "View" + + - added test if resolution list is displayed or scale is displayed in + xsane_resolution_timer_callback(). Without this test it sometimes + happened that pressing CTRL+L (Swap show resolution list) caused a + segfault because the timer callback was executed in a moment where the + adjustment is not valid + + - added: if (???->window) + before each: gdk_window_process_updates(???->window) + in xsane-gamma.c, this made problems with gtk+2.x + + - when a postscript file is added to a faxproject then the original name of the + file is also used in the faxproject now. The pagecounter is still increased! + + - fax fine mode selection is stored in preferences now + + - handling of viewer filenames changed: + - when an image is saved in the viewer then the viewer shows the filename in + the window title and the viewer remembers the filename + - when the image has been changed after it has been saved then the filename + in the window title is shown in brackets + - when the filename ends with a number (counter) then the number is automatically + increased when the file is saved + - when a saved image is cloned then the suggested filename of the cloned image is + clone-of-"old-filename" + + - viewer: added support for different modification restrictions + - VIEWER_NO_MODIFICATION (only view) + - VIEWER_NO_NAME_AND_SIZE_MODIFICATION (some filters allowed but keep size, e.g. fax) + - VIEWER_NO_NAME_MODIFICATION (use given name, e.g. fax, mail) + - VIEWER_FULL_MODIFICATION (normal mode) + + - added undo function (1 step) to viewer + + - changed menues in the xsane viewer dialog: + - added menu "Edit" + - added menu "Geometry" + - moved Scale function from menu "File" to menu "Geometry" + - added rotation and mirror functions to menu "Geometry" + - added undo function to menu "Edit" + + - changed button boxes/icons in the xsane viewer dialog: + - added button boxes equal to menus: file, edit, filters, geometry + - added undo icon to edit box + - moved blur uand despeckle icon to filter box + - moved scale, rotation and mirrir icons to geometry box + + - replaced several "char buf[???];" by "char filename[PATH_MAX];" + + - changed fax mode: + - scanned images are stored in pnm format + - for each list entry there is a data and a type information now + - internal viewer is used now for pnm-fax files + - faxviewer is used for ps files + - before sending the fax pnm images are converted into ps images + - after sending the fax ps images are erased + + - changed e-mail mode: + - scanned images are stored in pnm format + - for each list entry there is a data and a type information now + - internal viewer is used now for pnm-mail files + - before sending the mail pnm images are converted into png images + - after sending the mail the png images are erased + - mail project status is translated now + - BUFIX: end of email text is marked with 0 byte + + - added function xsane_viewer_set_sensitivity() + - moved all gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE/FALSE); to it + - added several gtk_widget_set_sensitive(???_menu, TRUE/FALSE); commands to it + - moved almost all v->block_actions to it + - now it should not be possible any more to crash xsane by closing the viewer + while it is saving something + + - added info "reduce to lineart" to image_info + xsane-pnm-header + + - renamed viewer v->reduce_to_lineart to v->allow_reduction_to_lineart + + - save_image_as() now automatically reduces lineart images to pbm before saving + + - new translations: hu + + - updated translations: de, es, ja, pt, pt_BR, sk + + +xsane-0.95 -> 0.96: +------------------- + + - fax progress bar does not change it's height any more when the fax dialog is resized + + - mail progress bar does not change it's height any more when the mail dialog is resized + + - added lockfile to mail project. The lockfile contains status and progress information + from the mail_send_process and is used to display a progress_bar + + - mail status is only translated when it is displayed via gtk, in the data structures + the untranslated texts are used + + - changed mail_attach_image_png to mail_attach_image, mime type is defined by parameter + + - added filetype menu to mail dialog with filetypes PNG, JPEG and TIFF + + - bugfix: viewer saves lineart PNM images again as lineart (bug in xsane-0.95) + + - when image is saved as pnm and it is not reduced to lineart then the input file + is copied with xsane_copy_file => much faster + + - xsane-save.c: reordered function parameters for saving/conversion functions to + (outfile, infile,...) or (output_filename, input_filename, ...) + (before we had sometimes infile at first and sometimes outfile at first) + + - xsane_set_sensitivity: mail_dialog and fax_dialog: + the sensitivity off all but the progress_bar is set + + - While mail is prepared (images are converted) the xsane sensitivity is set to + FALSE to make sure that the xsane mode is not changed in this case. + while sending the mail (after preparation) the xsane sensitivity is set to + TRUE and the project entry sensitivity is also TRUE, it is allowed to + changed xsane mode and to change the mailproject, because the + sending of the mail is done in a separate process, so there is no + influence by changing the mail project name. + + - Comment: + When xsane is closed while sending one or more mails then xsane is closed + but the mail sending subprocesses are not terminated. + + - added SMTP (HELO/FROM/RCPT/DATA) errors to mail status + + - added xsane.fax_status, it is saved in the first line of the xsane-fax-list + this means that the fax project directories are incompatible to earlier versions! + + - added mail_status and fax_status = ..._CHANGED when a new page is added to + the project + + - updated images in documentation + + - updated email modus in documentation + + - email images are named "image-1" instead of "page-1" + + - fax_dialog_delete() and mail_dialog_delete() return TRUE now. + In windows it was possible to delete the dialogs what caused + a crash when the window should be used or closed. + + - translations: U=updated, N=not updated + cs da de es fr hu it ja nl pt pt_BR ro ru sk sl sr sv tr vi zh + U U U U U N N U U U U U U N N N N U U N + + - xsane-preferences.c: when identifier is unknown or not a string then + the parser does not abort or crash any more. + XSane now should not have any problems with old config files. + + +xsane-0.96 -> 0.97: +------------------- + + - write_smtp_footer(): changed ".\r\n" by "\r\n.\r\n", this + solves problems with microsoft exchange servers. + + - translations: U=updated, N=not updated, A=added/new + cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv tr vi zh + N N N N N N U N N A N N N N N N N N N N U + + - xsane-save.c: xsane_copy_file(): removed fclose(infile) and fclose(outfile) + this bug caused the error "*** glibc detected *** double free or corruption (!prev): 0x........ ***" + with new gelibc versions + xsane-save.c: xsane_copy_file_by_name(): added fclose(infile) and fclose(outfile) + + - rmoved gtk_events_pending() from the waiting loop in xsane_back_gtk_get_filename, + it looks like gtk_events_pending() increases CPU load very much. + + - xsane-scan.c: function xsane_reduce_to_lineart(): corrected order of filenames in + xsane_save_image_as_lineart() + + - xsane_device_dialog(...): uses sane_control_option instead of xsane_control_option + to read option number 0. This means that it is not needed that SANE_CAP_SOFT_DETECT + is set for option number 0 + diff --git a/xsane.FAQ b/xsane.FAQ new file mode 100644 index 0000000..2b568f4 --- /dev/null +++ b/xsane.FAQ @@ -0,0 +1,26 @@ + +================================================================================ +Q: Have you considered adding a scan to PDF multipage functionality to XSane? +-------------------------------------------------------------------------------- +A: +I already made up my mind about scanning to a pdf file. +The pdf format is a bad format for scanning images. +When you scan a text document to a pdf file then there are +two large differences to usual pdf documents: + +- the size of the scanned documents is about 10-50 times larger than +the size of a comparable text document +- you can not search such a document + +So scanning text and saving it as image to pdf is no good idea. + +And for scanning photos: +The PDF format is a document format, more comparable +to the Microsoft Word format than to jpeg, png or Tiff. +When you scanned 100 pictures to a pdf document, how +will you extract one of the pictures? + +I plan to include multipage tiff and postscript files. +But not in the near future - I do not have the time for it +in the moment. +================================================================================ diff --git a/xsane.INSTALL b/xsane.INSTALL index c5e7446..f30cebb 100644 --- a/xsane.INSTALL +++ b/xsane.INSTALL @@ -50,5 +50,17 @@ DO THE FOLLOWING AS NORMAL USER: If something does not work like expected read file xsane.PROBLEMS + +XSANE AS GIMP PLUGIN +-------------------- + +To run xsane as gimp plugin it has to be compiled with gimp support +(you need package gimp, gimp-devel and may be pkg-tool) before you +call configure). + +To run xsane under the gimp(1), simply set a symbolic link from the xsane-binary to one of +the gimp(1) plug-ins directories. (Read the manpage of xsane for more details)! + + DO NOT RUN XSANE AS ROOT! diff --git a/xsane.NEWS b/xsane.NEWS index 15291f2..6defa63 100644 --- a/xsane.NEWS +++ b/xsane.NEWS @@ -1,6 +1,11 @@ NEWS: + The medium definitions are stored in xsane.mdf instead + of xsane.rc now. There is no automatic transformation. + When you send your xsane.rc file (remove your mail password) + to me then I will create a xsane.mdf file for you. + no special you have to care about to get xsane to work. Read xsane.CHANGES if you are interested in details of what has changed. diff --git a/xsane.PROBLEMS b/xsane.PROBLEMS index d3a7c04..5cf2506 100644 --- a/xsane.PROBLEMS +++ b/xsane.PROBLEMS @@ -66,6 +66,13 @@ READ THIS FILE IF YOU EXPERIENCE ANY PROBLEM ln -s /usr/bin/Netscape /usr/bin/netscape + - I have installed gtk+-2.x.x and configure does find it but xsane is compiled with + gtk-1.x.x, why? + + When xsane is compiled as gimp plugin then xsane is compiled with the gtk version + that is used for gimp. When you disable the gimp plugin then xsane can be compiled + with gtk+-2.x.x! + - If you call ./configure a second time, it may be good to call make distclean before that, if that does not work, remove config.cache: @@ -99,6 +106,11 @@ READ THIS FILE IF YOU EXPERIENCE ANY PROBLEM Make sure that you do not have installed more than one version of each lib! + - If you want to remove all sane files from your filesystem: + find / -mount -iname "*sane*" -exec rm -rf {} \; + pay attantion: this really removes all files containg "sane" in the + filename (caseinsensitive) + - If you are running BSD and gtk-config is not in your path or is named gtk?.?-config, make sure environment variable GTK_CONFIG is set with full path to the config file that shall be used diff --git a/xsane.RPM b/xsane.RPM index 7fbc5b8..4130e56 100644 --- a/xsane.RPM +++ b/xsane.RPM @@ -1,7 +1,7 @@ +To create a rpm archiv make sure that checkinstall +(available at http://asic-linux.com.mx/~izto/checkinstall ) +is installed and then call (may be as root: "su -") -anyone who wants to make an rpm should use a script like -checkinstall (available at http://mayams.net/~izto/checkinstall-en.html ) - -Thanks to Michael Blaustein for this tip +make rpm diff --git a/xsane.TODO b/xsane.TODO index 4ffa305..d852fd3 100644 --- a/xsane.TODO +++ b/xsane.TODO @@ -7,82 +7,92 @@ Sign explaination: - comes later/lower priority save-function: - # filetype ".txt" => call ocr function + - list of last used filenames + - enable filters in save mode? - copy-function: - + select image position on printer (centered/left/right/free) for copy + scan-routines: + # allow additional image data after each row (is sane standard conform) + + save-subroutines: + # save several images into one file for: + - postscript + - may be tiff + - may be pnm fax-function: - # use internal viewer to display images - # while scanning save image as pnm - # convtert all images to one postscript file when sending fax - + create lock file, add information while spooling fax - + add coverpage with edit like mail function +++ # add new image types to fax fileformat: tiff/pbm/g3 + # delete page/project: create dialog "really remove?" + # add possibility to create a multi page file that includes the complete fax + + zoom ? + + create lock file with information, add progress bar while spooling fax (how?) + + add coverpage with editor like in mail function (may be same routines for mail and fax) - add send delayed option - add options for sender/receiver Name - + zoom ? + - add cancel button while preparing fax pages email-function: - # use internal viewer to display images - # while scanning save image as pnm - # convtert image to target format when sending email - # add new image types to email fileformat: tiff, jpeg + # delete image/project: create dialog "really remove?" + # test for existance of lockfile? + - ??? are there other ways than pop3 before smtp to identify yourself to + the smtp server? ??? + - add cancel button while preparing mail images gamma function: # add target gamma (e.g. for web publishing) # correct gtk custom gamma functions and include it - may be write an own gamma curve widget + or better: write an own gamma curve widget medium selection: - medium definition in dependance of the scanner (?) (I am not sure if this makes sense with color managemant) + medium definition: + # make grayscale values do not influence color values + preview function: - - force aspect ratio of selection area + # allow additional image data after each row (is sane standard conform) - force size of scanarea in pixels (calculate resolution) - - batch scan function - - select multiple scan areas before starting the scan + this will not produce exact results with some scanners!!! viewer function: +++ # crop to new viewer +++ # fill rectangular area (e.g. for masking unwanted parts of a scanned fax) + # print image + # show histogram of viewer image # add more filters (sharpen?) suggestions? - ONLY REALLY IMPORTANT FILTERS, FOR OTHER IMAGE MANIPULATION THERE IS THE GIMP - # crop - # what about automatic increase of filename counter??? - this is not simple because there may be several - viewers opend at the same time internal: +++ # add range check / valid value when reading xsane.rc/*.drc files + # test if image file is writable before scan is started + + cleanup of configuration file handling + (problem with old config files should already be solved) + add color management - may be via xcmsdb or scarse (www.scarse.org) - (not until xsane-1.0 I think) - - average of a multiple scan of the same image - + add range check / valid value when reading xsane.rc/*.drc files + add several defaults (fax=> mode=gray,...) - - include much more parameters when saving images + test memory after each call of malloc - partly done - - more/better online helpfiles (mostly done) - - added infrared filter for transmisse rgbi scans: + - average of a multiple scan of the same image + - include much more parameters when saving images + - add infrared filter for transmissive rgbi scans (sane-2): use next neighbour with high transmission(i) value (may be to viewer) + ? show scanned image in save mode or automatically save image in viewer mode? + ? project save/load with preview image, scanmode, .... ??? + include special functions for GNOME/KDE - *** DOES ANYONE HAVE ANY SUGGESTIONS TO THIS ? *** - - GNOME: - - gnome-print support? - - session management ? - - drag and drop for preview image? - - other drag and drop functions? + - drag and drop for preview or viewer image? + - other drag and drop functions? + - image copy/paste functions? TWAIN: - add a twain-win32 interface (for xsane-win32) - define a twain-unix interface in cooperation with TWAIN-group (first contact to TWAIN in summer 1999, TWAIN is intersted in - creating a TWAIN-unix interface that uses sane as scanner driver API + creating a TWAIN-unix interface that uses sane as scanner driver API) - add a twain-unix interface to xsane WIN32 version of xsane/sane - + make internationalization work (looks like a charset problem) - may be xsane-win32 without cygwin.dll on native win32 mode - may be later we make a sane-WIN32 version so that the backends do work too diff --git a/xsane.spec b/xsane.spec index 79ce06a..8a08cea 100644 --- a/xsane.spec +++ b/xsane.spec @@ -1,19 +1,19 @@ %define name xsane -%define version 0.84 +%define version 0.97 %define release 1 %define prefix /usr Name: %{name} Version: %{version} Release: %{release} -Summary: Xsane is a graphical frontend for the scanner library SANE +Summary: XSane is a graphical frontend for scanners. It uses the library SANE. Group: Graphics URL: http://www.xsane.org Buildroot: /var/tmp/%{name}-buildroot -Requires: sane +Requires: sane-backends Source: ftp://ftp.mostang.com/pub/sane/xsane/%{name}-%{version}.tar.gz Copyright: GPL -BuildRequires: gtk+ >= 1.2.0 libsane1-devel >= 1.0.2 +BuildRequires: gtk+ >= 1.2.0 sane-backends-devel >= 1.0.2 %description Xsane is a grahical frontend for sane. Install this if you want a grahpical diff --git a/xsane.spec.in b/xsane.spec.in index a12e97c..e1d0fb9 100644 --- a/xsane.spec.in +++ b/xsane.spec.in @@ -6,14 +6,14 @@ Name: %{name} Version: %{version} Release: %{release} -Summary: Xsane is a graphical frontend for the scanner library SANE +Summary: XSane is a graphical frontend for scanners. It uses the library SANE. Group: Graphics URL: http://www.xsane.org Buildroot: /var/tmp/%{name}-buildroot -Requires: sane +Requires: sane-backends Source: ftp://ftp.mostang.com/pub/sane/xsane/%{name}-%{version}.tar.gz Copyright: GPL -BuildRequires: gtk+ >= 1.2.0 libsane1-devel >= 1.0.2 +BuildRequires: gtk+ >= 1.2.0 sane-backends-devel >= 1.0.2 %description Xsane is a grahical frontend for sane. Install this if you want a grahpical diff --git a/xsane.spec.in.old b/xsane.spec.in.old new file mode 100644 index 0000000..a12e97c --- /dev/null +++ b/xsane.spec.in.old @@ -0,0 +1,43 @@ +%define name xsane +%define version @VERSION@ +%define release 1 +%define prefix /usr + +Name: %{name} +Version: %{version} +Release: %{release} +Summary: Xsane is a graphical frontend for the scanner library SANE +Group: Graphics +URL: http://www.xsane.org +Buildroot: /var/tmp/%{name}-buildroot +Requires: sane +Source: ftp://ftp.mostang.com/pub/sane/xsane/%{name}-%{version}.tar.gz +Copyright: GPL +BuildRequires: gtk+ >= 1.2.0 libsane1-devel >= 1.0.2 + +%description +Xsane is a grahical frontend for sane. Install this if you want a grahpical +frontend for sane for use in the X Windowing System. + +%prep +%setup -q -n %{name}-%{version} + +%build +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} +uname -a | grep -qi SMP && make -j 2 || make + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{prefix} +make prefix=%{buildroot}%{prefix} install +strip %{buildroot}%{prefix}/bin/* || : + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc xsane* +/usr/share/* +/usr/bin/xsane +/usr/man/man1/xsane.1* -- cgit v1.2.3