diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..d2ac561 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,57 @@ +name: CI +on: [push,pull_request] + +jobs: + linux: + runs-on: ubuntu-latest + strategy: + matrix: + choiceL: [--disable-silent-rules, --enable-silent-rules, --enable-debug] + steps: + - uses: actions/checkout@v4 + - name: Create configure + run: | + sudo apt-get update -y + sudo apt-get install autoconf automake libtool gcc gimp libgimp2.0-dev + autoreconf -i + automake + - name: Choose configure + run: ./configure ${{ matrix.choiceL }} + - name: Make gimp-refocus-it plug-in + run: make + - name: Test make strip + run: make strip + - name: Test make install GIMP shared plug-in + if: matrix.choiceL == '--disable-silent-rules' + run: | + sudo make install + sudo make uninstall + win: + runs-on: windows-latest + strategy: + matrix: + include: [ + {msystem: MINGW32, toolchain: mingw-w64-i686, version: x32 }, + {msystem: MINGW64, toolchain: mingw-w64-x86_64, version: x64 }, + {msystem: UCRT64, toolchain: mingw-w64-ucrt-x86_64, version: x64 }, + {msystem: CLANG64, toolchain: mingw-w64-clang-x86_64, version: x64 }, + ] + name: ${{ matrix.msystem }} + defaults: + run: + shell: msys2 {0} + steps: + - uses: actions/checkout@v4 + - uses: msys2/setup-msys2@v2 + with: + msystem: ${{ matrix.msystem }} + update: true + install: autotools base-devel git ${{ matrix.toolchain }}-toolchain ${{ matrix.toolchain }}-gimp2 + - name: Create configure + run: | + autoreconf -i + automake + - name: run ./configure + run: ./configure + - name: Make gimp-refocus-it plug-in + run: make diff --git a/AUTHORS b/AUTHORS index de17a4b..661e750 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,5 +1,10 @@ -This plug-in and command-line version of refocus-it was written by +This plug-in version of refocus-it was written by Lukas Kunc . Some of the code in the plug-in was borrowed from the Gimp Sharpen plug-in by Michael Sweet and from Gimp Refocus blugin by Ernst Lippe. +This is also GPL2+, and thanks to several other Authors. + +2024 bugfixes added to get refocus-it running on gimp 2.10+ by +Jose da Silva + diff --git a/ChangeLog b/ChangeLog index 4dd8daa..6ad72cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,32 +1,55 @@ -2004-06-16 Lukas Kunc - - * Second public release - version 2.0.0 for GIMP 2.0 - - * cmd-line/: Added command-line version for users not having GIMP - Use refocus-it-cmd --help for more information. - - * po/*: Internationalized - -2004-06-15 gettextize - - * Makefile.am (SUBDIRS): New variable. - (ACLOCAL_AMFLAGS): New variable. - (EXTRA_DIST): Add config.rpath. - * configure.in (AC_OUTPUT): Add po/Makefile.in, +2025-02-20 (2.1) Joe Da Silva + + * Replaced deprecated INTLTOOL with GETTEXT + * Updated configure.ac and Makefile.am from 2.54 to 2.69 + * Removed xmalloc code - We should avoid doing exit() here. + * Simplified a lot of code with expectation of upgrading to GIMP3. + * Inline is interesting, but the speed gains in excluding a call + and matching return are neglible. Opted for smaller exe instead. + * Optional float/double simplified to double since GIMP3 uses double. + * Dropped build of cmd-line tools, since GIMP3 will use GTK3. + * GIMP2 plugin binary name simplified to refocus-it + * po/* locale files renamed to use gimp20-refocus-it + * Dropped micro_version value since this is a binary, not a library. + Distros can opt to use the micro_version value for their builds. + * Realigned all code in src/* directory since some code followed + different styles (TABs, spaces, {brackets}. Chose to use a more + compact coding style similar to Fontforge 20120731 which allows + more code to be viewed per display screen. + * Dropped help/ directory, appeared unfinished and preliminary. + * Moved doc/*.pgm to img/ directory since these are useful 16bpp. + * Imported sourceforge information page into README.md and img/*.jpg + + NOTE: This is still a GIMP2 binary, and builds okay on gimp-2.10 + +2004-06-16 (2.0.0) Lukas Kunc + + * Second public release - version 2.0.0 for GIMP 2.0 + * cmd-line/: Added command-line version for users not having GIMP + Use refocus-it-cmd --help for more information. + * po/*: Internationalized + +2004-06-15 (prerelease) gettextize + + * Makefile.am (SUBDIRS): New variable. + (ACLOCAL_AMFLAGS): New variable. + (EXTRA_DIST): Add config.rpath. + * configure.in (AC_OUTPUT): Add po/Makefile.in, + +2003-07-19 (1.0.2) Lukas Kunc + + * First public release - version 1.0.2 (on sourceforge). 2003-05-23 Lukas Kunc - * This is the first public release (0.0.1) of the refocus plug-in. + * This is the first public release (0.0.1) of the refocus plug-in. 2003-05-28 Lukas Kunc - * Makefile.msc: Makefile for Microsoft Visual C++ added. - - * blur.c: Added support for motion and gaussian blur, improved - support for defocus blur. - - * main.c: Added support for motion and gaussian blur. - * main.c: Added support for alpha channel. - - * weights.c: Make code faster for sparse convolution masks. - * hopfield.c: Make code faster for sparse convolution masks. + * Makefile.msc: Makefile for Microsoft Visual C++ added. + * blur.c: Added support for motion and gaussian blur, + improved support for defocus blur. + * main.c: Added support for motion and gaussian blur. + * main.c: Added support for alpha channel. + * weights.c: Make code faster for sparse convolution masks. + * hopfield.c: Make code faster for sparse convolution masks. diff --git a/Makefile.am b/Makefile.am index 458183d..2c79f03 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,5 +4,12 @@ SUBDIRS = po src gimp-plugin EXTRA_DIST = img/defocus.jpg img/defocus.pgm img/wilber.png \ img/restored1.jpg img/restored2.jpg img/restored3.jpg \ - AUTHORS README README.md + img/restored.pgm AUTHORS README README.md +nodist_EXTRA_DATA = .git .github .dep .lib +DISTCHECK_CONFIGURE_FLAGS = --disable-silent-rules --enable-debugtime + +DISTCLEANFILES = + +strip: + ${STRIP} ${builddir}/gimp-plugin/refocus-it diff --git a/README b/README index fca3d9b..fad93e2 100644 --- a/README +++ b/README @@ -15,34 +15,21 @@ This plug-in has a preview that helps you select the best parameters. This version of the plug-in needs the Gtk+-2.2.2 libraries or newer. -There is also commdan-line version (refocus-it-cmd) for users which cannot use -GIMP or need batch processing. Type refocus-it-cmd --help for more information. - --- INSTALLATION -If you have GNU environment, use +If you have GNU environment, use: + autoreconf -i + automake ./configure make - make install + sudo make install -See the file INSTALL for more details how to use configure, or type +For more details how to use configure, type: ./configure --help -If you do not have GNU environment, you can use only the command-line version. -Use makefiles under cmd-version/ directory. -In UNIX environment, use - - make -f Makefile.unix - -In Microsoft Windows, use - - nmake -f Makefile.msc - -In other environments use other makefiles (probably self-made). - --- I hope you like the plug-in and the command-line version. If you have any problems or requests please mail me. diff --git a/README.md b/README.md index 6140f08..7313f78 100644 --- a/README.md +++ b/README.md @@ -80,12 +80,14 @@ Notice the benefit of adaptive area smoothing. The noise has almost disapeared f ## News -- 2004-07-20: Version 2.0.0 of refocus-it plugin for GIMP-2.0 released. This version is internationalized and includes a command-line version of refocus-it suitable for processing PNM files in batch mode. The command-line version is also easily portable to non-GNU platforms. - -- The version 1.0.2 is the first public release. +- 2.1 (2025feb20) Imported refocus-it from sourceforge to github. Replaced intltool with gettext, upgraded build to autoconf 2.69, removed xmalloc and used standard malloc instead. Removed several extras such as inline and float options in anticipation of building for gimp3 plugin. This still builds for gimp2. If you need cmd-line tools, please revert to using version 2.0.0 which still contains original cmd-line build. Removed micro-version value - this leaves micro open for distros if they need/want it. +- 2.0.0 (2004jul20) refocus-it plugin for GIMP-2.0 released. This version is internationalized and includes a command-line version of refocus-it suitable for processing PNM files in batch mode. The command-line version is also easily portable to non-GNU platforms. +- 1.0.2 (2003jun19) First public release. ## Author -This plug-in was written by Lukas Kunc. Please mail your comments, questions and problems to Lukas.Kunc@seznam.cz +This plug-in was written by Lukas Kunc in 2003..2004. + +Note: The Original Web page content, pictures, and files were located here https://refocus-it.sourceforge.net/ for version 2.0.0 -Note: The Original Web page content, pictures, and files were located here https://refocus-it.sourceforge.net/ +Recent updates and patching by Joe da Silva in 2024..2025. diff --git a/configure.ac b/configure.ac index 22e3d19..0df6380 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,7 @@ dnl Process this file with autoconf to produce a configure script. +# Copyright (C) 2025 by Jose Da Silva + AC_PREREQ(2.69) dnl Name your plug-in here @@ -7,7 +9,7 @@ m4_define([plugin_name], [refocus-it]) dnl These two define the plug-in version number m4_define([plugin_major_version], [2]) -m4_define([plugin_minor_version], [0]) +m4_define([plugin_minor_version], [1]) m4_define([plugin_version], [plugin_major_version.plugin_minor_version]) m4_define([plugin_package_name], [gimp-refocus-it]) @@ -115,14 +117,6 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext translation if test x"${have_gettext}" = xyes; then AC_DEFINE([HAVE_GETTEXT],1,[Enable use of local languages]) fi -SNIPPET2=' -gimplocaledir = $(localedir) -ifeq ($(shell id -u),0) - gimplocaledir = $(LOCALEDIR) -endif -' -AC_SUBST([SNIPPET2]) -AM_SUBST_NOTMAKE([SNIPPET2]) AC_CHECK_HEADERS([stdlib.h string.h strings.h]) @@ -141,8 +135,15 @@ PKG_CHECK_MODULES(GIMP, gimp-2.0 gimpui-2.0) AC_SUBST(GIMP_CFLAGS) AC_SUBST(GIMP_LIBS) +# Pass GIMP_LIBDIR to automake for default GIMP plug-ins directory +GIMP_GIMPLIBDIR=`$PKG_CONFIG --variable=gimplibdir gimp-2.0` +# Seems that gimp does not follow libdir of the distro, so just replacing prefix GIMP_LIBDIR=`$PKG_CONFIG --variable=gimplibdir gimp-2.0` AC_SUBST(GIMP_LIBDIR) +GIMP_PREFIX=`$PKG_CONFIG --variable=exec_prefix gimp-2.0` +GIMP_RELATIVE=${GIMP_GIMPLIBDIR#$GIMP_PREFIX} +GIMP_BINDIR=\${exec_prefix}"$GIMP_RELATIVE" +AC_SUBST(GIMP_BINDIR) DATADIR='${datadir}/${PLUGIN_NAME}' diff --git a/gimp-plugin/Makefile.am b/gimp-plugin/Makefile.am index 9b548fa..1d921cc 100644 --- a/gimp-plugin/Makefile.am +++ b/gimp-plugin/Makefile.am @@ -3,17 +3,18 @@ BUILDDIR = $(top_builddir)/src SRCDIR = $(top_srcdir)/src -INCLUDES = -I$(top_srcdir)/gimp_plugin -I$(top_srcdir) -I$(SRCDIR) +# The braces around ACLOCAL_FLAGS below instead of parentheses are intentional! +# Otherwise autoreconf misparses the line. +ACLOCAL_AMFLAGS =-I m4 ${ACLOCAL_FLAGS} +AM_CFLAGS = ${CFLAGS} ${CPPFLAGS} ${GIMP_CFLAGS} ${GTK_CFLAGS} +AM_CPPFLAGS = -I$(top_srcdir)/gimp_plugin -I$(top_srcdir) -I$(SRCDIR) DEFS = -DLOCALEDIR=\"$(LOCALEDIR)\" \ -DDATADIR=\""$(DATADIR)"\" \ @DEFS@ -AM_CPPFLAGS = @GIMP_CFLAGS@ - ## This is the GIMP plug-in -bin_PROGRAMS = gimp_plugin-refocus-it -bindir = $(GIMP_LIBDIR)/plug-ins -gimp_plugin_refocus_it_SOURCES = main-gimp.c -gimp_plugin_refocus_it_LDADD = $(BUILDDIR)/librefocus-it.a \ - @GIMP_LIBS@ -lm +bin_PROGRAMS = refocus-it +bindir = $(GIMP_BINDIR)/plug-ins/refocus-it +refocus_it_SOURCES = main-gimp.c +refocus_it_LDADD = $(BUILDDIR)/librefocus-it.a ${GIMP_LIBS} -lm diff --git a/po/Makefile.am b/po/Makefile.am index 61df295..d87e01d 100644 --- a/po/Makefile.am +++ b/po/Makefile.am @@ -1,5 +1,5 @@ -LANGUAGES = cs -PO_FILES = cs.po +LANGUAGES = cs pt +PO_FILES = cs.po pt.po # Information to help translators # To create a new pot file, you need to cd into this po directory first: @@ -8,8 +8,6 @@ PO_FILES = cs.po # To update existing po files you need to cd into po directory and then do: # cd po; make update-po -@SNIPPET2@ - .PHONY: all install install-user uninstall uninstall-user clean $(LANGUAGES) .PHONY: update-po update-pot @@ -31,13 +29,13 @@ $(PO_FILES): $(GETTEXT_PACKAGE).pot install-data-local: $(LANGUAGES) for L in $(LANGUAGES); \ - do $(MKDIR_P) -p "$(DESTDIR)$(gimplocaledir)/$$L/LC_MESSAGES"; \ - install -v -m 0644 $(builddir)/$$L.mo "$(DESTDIR)$(gimplocaledir)/$$L/LC_MESSAGES/$(GETTEXT_PACKAGE).mo"; \ + do $(MKDIR_P) -p "$(DESTDIR)$(LOCALEDIR)/$$L/LC_MESSAGES"; \ + install -v -m 0644 $(builddir)/$$L.mo "$(DESTDIR)$(LOCALEDIR)/$$L/LC_MESSAGES/$(GETTEXT_PACKAGE).mo"; \ done uninstall-local: $(LANGUAGES) for L in $(LANGUAGES); \ - do rm -vf "$(DESTDIR)$(gimplocaledir)/$$L/LC_MESSAGES/$(GETTEXT_PACKAGE).mo"; \ + do rm -vf "$(DESTDIR)$(LOCALEDIR)/$$L/LC_MESSAGES/$(GETTEXT_PACKAGE).mo"; \ done clean-local: @@ -55,6 +53,6 @@ update-pot: $(GETTEXT_PACKAGE).pot $(GETTEXT_PACKAGE).pot: $(XGETTEXT) -k_ -k_\" -kd_\" -c -d $(GETTEXT_PACKAGE) -o $@ \ --package-version=$(PLUGIN_VERSION) --msgid-bugs-address=$(PLUGIN_EMAIL) --package-name=$(PLUGIN_PACKAGE_NAME) \ - $(top_srcdir)/cmd-line/*.c $(top_srcdir)/gimp-plugin/*.c + $(top_srcdir)/gimp-plugin/*.c EXTRA_DIST = $(PO_FILES) $(GETTEXT_PACKAGE).pot diff --git a/po/cs.po b/po/cs.po index 61bb705..835ceb6 100644 --- a/po/cs.po +++ b/po/cs.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: refocus-it 2.0.0\n" -"Report-Msgid-Bugs-To: https://github.com/JoesCat/gimp3-refocus-it/issues\n" -"POT-Creation-Date: 2004-07-19 13:34+0200\n" +"Report-Msgid-Bugs-To: https://github.com/JoesCat/gimp-refocus-it/issues\n" +"POT-Creation-Date: 2025-02-19 21:50-0800\n" "PO-Revision-Date: 2024-10-15 20:49-0700\n" "Last-Translator: Lukas Kunc \n" "Language-Team: Lukas Kunc \n" @@ -16,514 +16,99 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: cmd-line/getopt.c:693 -#, c-format -msgid "%s: option `%s' is ambiguous\n" -msgstr "" - -#: cmd-line/getopt.c:718 -#, c-format -msgid "%s: option `--%s' doesn't allow an argument\n" -msgstr "" - -#: cmd-line/getopt.c:723 -#, c-format -msgid "%s: option `%c%s' doesn't allow an argument\n" -msgstr "" - -#: cmd-line/getopt.c:741 cmd-line/getopt.c:914 -#, c-format -msgid "%s: option `%s' requires an argument\n" -msgstr "" - -#. --option -#: cmd-line/getopt.c:770 -#, fuzzy, c-format -msgid "%s: unrecognized option `--%s'\n" -msgstr "%s: neznámá volba '-%s'\n" - -#. +option or -option -#: cmd-line/getopt.c:774 -#, fuzzy, c-format -msgid "%s: unrecognized option `%c%s'\n" -msgstr "%s: neznámá volba '%s'\n" - -#. 1003.2 specifies the format of this message. -#: cmd-line/getopt.c:800 -#, fuzzy, c-format -msgid "%s: illegal option -- %c\n" -msgstr "%s: neznámá volba '-%s'\n" - -#: cmd-line/getopt.c:803 -#, fuzzy, c-format -msgid "%s: invalid option -- %c\n" -msgstr "%s: neznámá volba '-%s'\n" - -#. 1003.2 specifies the format of this message. -#: cmd-line/getopt.c:833 cmd-line/getopt.c:963 -#, c-format -msgid "%s: option requires an argument -- %c\n" -msgstr "" - -#: cmd-line/getopt.c:880 -#, c-format -msgid "%s: option `-W %s' is ambiguous\n" -msgstr "" - -#: cmd-line/getopt.c:898 -#, c-format -msgid "%s: option `-W %s' doesn't allow an argument\n" -msgstr "" - -#: cmd-line/main-cmd.c:165 -#, c-format -msgid "%s: expected value for parameter '%s' -%s\n" -msgstr "%s: byla očekávána hodnota pro parametr '%s' -%s\n" - -#: cmd-line/main-cmd.c:170 -#, c-format -msgid "%s: expected argument for option -%s\n" -msgstr "%s: byl očekáván argument pro volbu -%s\n" - -#: cmd-line/main-cmd.c:178 -#, c-format -msgid "%s: expected value of type '%s' for parameter '%s' -%s\n" -msgstr "%s: byla očekávána hodnota typu '%s' pro parametr '%s' -%s\n" - -#: cmd-line/main-cmd.c:197 -#, c-format -msgid "parameter '%s' -%s out of range (%f, %f)\n" -msgstr "parameter '%s' -%s mimo rozsah (%f, %f)\n" - -#: cmd-line/main-cmd.c:225 -#, c-format -msgid "parameter '%s' -%s out of range (%d, %d)\n" -msgstr "parameter '%s' -%s mimo rozsah (%d, %d)\n" - -#: cmd-line/main-cmd.c:247 -#, c-format -msgid "expected valid value for parameter '%s' -%s, got '%s'\n" -msgstr "" -"byla očekávána platná hodnota pro parametr '%s' -%s, bylo zadáno '%s'\n" - -#: cmd-line/main-cmd.c:277 -#, c-format -msgid "" -"Iterative refocus - refocus images acquired with defocussed camera\n" -"or blurred with gaussian blur (astronomy). Implemented via\n" -"minimization of error function using Hopfield neural network.\n" -"\n" -"Usage: %s [OPTION] ...\n" -"Options:\n" -" -r , --radius=\n" -" real number from interval <0.0, 32.0>\n" -" -g , --gauss=\n" -" real number from <0.0, 32.0>\n" -msgstr "" -"Iterativní doostření - doostřuje obrázky pořízené rozostřenou optikou,\n" -"nebo rozostřené gaussovským rozostřením (v astronomii). Implementováno\n" -"s pomocí algoritmu minimizace chybové funkce Hopfieldovou neuronovou sítí.\n" -"\n" -"Použití: %s [VOLBA] ...\n" -"Volby:\n" -" -r , --radius=\n" -" reálné číslo z intervalu <0.0, 32.0>\n" -" -g , --gauss=\n" -" reálné číslo z intervalu <0.0, 32.0>\n" - -#: cmd-line/main-cmd.c:289 -#, c-format -msgid "" -" -n , --noise=\n" -" real number from <0.0, %.1f>\n" -" -b , --boundary=\n" -" 'mirror' or 'period'\n" -" -s , --smoothness=\n" -" real number from <0.0, %.1f>\n" -msgstr "" -" -n , --noise=\n" -" reálné číslo z intervalu <0.0, %.1f>\n" -" -b , --boundary=\n" -" 'mirror' nebo 'period'\n" -" -s , --smoothness=\n" -" reálné číslo z intervalu <0.0, %.1f>\n" - -#: cmd-line/main-cmd.c:298 -#, c-format -msgid "" -" -a, --non-adaptive\n" -" do not use adaptive adjustments of noise\n" -" reduction\n" -" -m , --intermediate=\n" -" save result of every n-th iteration\n" -" -c, --ascii-pnm\n" -" use binary PNM files for output\n" -" -v , --verbosity=\n" -" set verbosity level 0..8\n" -" -w , --window=\n" -" size of window for area smoothing 1..16\n" -msgstr "" -" -a, --non-adaptive\n" -" nepoužije adaptivní potlačení šumu\n" -" -m , --intermediate=\n" -" ukládej každý n-tý mezivýsledek\n" -" -c, --ascii-pnm\n" -" použij binární PNM pro výstup\n" -" -v <úroveň>, --verbosity=<úroveň>\n" -" nastaví míru upovídanosti 0..8\n" -" -w , --window=\n" -" velikost okna pro vyhlazování oblastí 1..16\n" - -#: cmd-line/main-cmd.c:310 -#, c-format -msgid "" -" -i , --iterations=\n" -" number of iterations to compute\n" -" -f , --file=\n" -" name of file with blurred image,\n" -" if no file name is given, input image is\n" -" read from stdin and output image(s) is\n" -" (are) written to stdout\n" -msgstr "" -" -i , --iterations=\n" -" počet iterací výpočtu\n" -" -f , --file=\n" -" jméno souboru s rozostřeným obrázkem,\n" -" pokud není zadáno jméno souboru, obrázek\n" -" je načten ze standardního vstupu a výsledek\n" -" je zapsán na standardní výstup\n" - -#: cmd-line/main-cmd.c:318 -#, c-format -msgid "" -" -h, --help\n" -" print this help and exit\n" -" -V, --version\n" -" print version information and exit\n" -msgstr "" -" -h, --help\n" -" vytiskne tuto nápovědu a skončí\n" -" -V, --version\n" -" vytiskne verzi programu a skončí\n" - -#: cmd-line/main-cmd.c:326 -#, c-format -msgid "" -"Iterative refocus - %s version %s\n" -"Written by Lukas Kunc\n" -"\n" -"Copyright (C) 2004 Free Software Foundation, Inc.\n" -"This is free software; see the source for copying conditions.There is NO\n" -"warranty; not even for MERCHANTABILITY or FITNESS FORA PARTICULAR PURPOSE.\n" -msgstr "" -"Iterativní doostřování - %s verze %s\n" -"Napsal Lukáš Kunc\n" -"\n" -"Copyright (C) 2004 Free Software Foundation, Inc.\n" -"Toto je volné programové vybavení; podmínky pro kopírování a rozšiřování\n" -"naleznete ve zdrojových textech. Toto programové vybavení je zcela BEZ " -"ZÁRUKY,\n" -"a to i bez záruky PRODEJNOSTI nebo VHODNOSTI PRO NĚJAKÝ KONKRÉTNÍ ÚČEL.\n" - -#: cmd-line/main-cmd.c:364 -msgid "defocus radius" -msgstr "poloměr rozostření" - -#: cmd-line/main-cmd.c:367 -msgid "gaussian blur variance" -msgstr "rozptyl gaussovského rozostření" - -#: cmd-line/main-cmd.c:370 cmd-line/main-cmd.c:605 -msgid "noise reduction" -msgstr "potlačení šumu" - -#: cmd-line/main-cmd.c:373 -msgid "boundary" -msgstr "okraje" - -#: cmd-line/main-cmd.c:376 -msgid "smoothness" -msgstr "hladkost" - -#: cmd-line/main-cmd.c:382 -msgid "save every n-th result" -msgstr "ulož každý n-tý mezivýsledek" - -#: cmd-line/main-cmd.c:388 -msgid "verbosity level" -msgstr "upovídanost" - -#: cmd-line/main-cmd.c:391 -msgid "window size" -msgstr "velikost okna" - -#: cmd-line/main-cmd.c:394 -msgid "number of iterations" -msgstr "počet iterací" - -#: cmd-line/main-cmd.c:397 -msgid "file name" -msgstr "jméno souboru" - -#: cmd-line/main-cmd.c:411 -#, c-format -msgid "%s: unrecognized option '-%s'\n" -msgstr "%s: neznámá volba '-%s'\n" - -#: cmd-line/main-cmd.c:421 -#, c-format -msgid "%s: error processing options\n" -msgstr "%s: chyba při zpracování volby\n" - -#: cmd-line/main-cmd.c:428 -#, c-format -msgid "%s: unrecognized option '%s'\n" -msgstr "%s: neznámá volba '%s'\n" - -#: cmd-line/main-cmd.c:433 -#, c-format -msgid "Try '%s -h' for more information\n" -msgstr "Zkuste '%s' -h pro více informací\n" - -#: cmd-line/main-cmd.c:438 -#, c-format -msgid "defocus blur radius: %f" -msgstr "poloměr rozostření: %f" - -#: cmd-line/main-cmd.c:439 -#, c-format -msgid "gaussian blur variance: %f" -msgstr "rozptyl gaussovského rozostření: %f" - -#: cmd-line/main-cmd.c:440 -#, c-format -msgid "noise reduction: %f" -msgstr "potlačení šumu: %f" - -#: cmd-line/main-cmd.c:441 -#, c-format -msgid "area smoothness: %f" -msgstr "hladkost oblasti: %f" - -#: cmd-line/main-cmd.c:442 -#, c-format -msgid "area smoothing window size: %d" -msgstr "velikost okna pro vyhlazování oblastí: %d" - -#: cmd-line/main-cmd.c:443 -#, c-format -msgid "number of iterations: %d" -msgstr "počet iterací: %d" - -#: cmd-line/main-cmd.c:444 -#, c-format -msgid "boundaries: %s" -msgstr "okraje: %s" - -#: cmd-line/main-cmd.c:445 -#, c-format -msgid "adaptive noise reduction: %s" -msgstr "adaptivní potlačení šumu: %s" - -#: cmd-line/main-cmd.c:445 cmd-line/main-cmd.c:449 -msgid "yes" -msgstr "ano" - -#: cmd-line/main-cmd.c:445 cmd-line/main-cmd.c:449 -msgid "no" -msgstr "ne" - -#: cmd-line/main-cmd.c:446 -#, c-format -msgid "save intermediate results: %d" -msgstr "ukládat mezivýsledky: %d" - -#: cmd-line/main-cmd.c:447 -#, c-format -msgid "input file: %s" -msgstr "vstupní soubor: %s" - -#: cmd-line/main-cmd.c:448 -#, c-format -msgid "verbosity: %d" -msgstr "upovídanost: %d" - -#: cmd-line/main-cmd.c:449 -#, c-format -msgid "use binary PNM: %s" -msgstr "používám binární PNM: %s" - -#: cmd-line/main-cmd.c:460 -#, c-format -msgid "%s: failed to load PNM file '%s': %s\n" -msgstr "%s: selhalo načtení PNM souboru '%s': %s\n" - -#: cmd-line/main-cmd.c:470 -#, c-format -msgid "%s: failed to read PNM file from stdin: %s\n" -msgstr "%s: selhalo načtení PNM souboru ze standardního vstupu: %s\n" - -#: cmd-line/main-cmd.c:514 -#, c-format -msgid "saving file %s" -msgstr "ukládám soubor %s" - -#: cmd-line/main-cmd.c:518 -#, c-format -msgid "%s: failed to save PNM file '%s': %s\n" -msgstr "%s: selhal zápis PNM souboru '%s': %s\n" - -#: cmd-line/main-cmd.c:528 -msgid "saving to stdout" -msgstr "ukládám na standardní výstup" - -#: cmd-line/main-cmd.c:529 -#, c-format -msgid "%s: failed to write PNM file to stdout: %s\n" -msgstr "%s: selhal zápis PNM souboru na standardní výstup: %s\n" - -#: cmd-line/main-cmd.c:561 -#, c-format -msgid "%5.1f%% completed" -msgstr "%5.1f%% hotovo" - -#: cmd-line/main-cmd.c:588 -msgid "mirror boundaries" -msgstr "zrcadlové okraje" - -#: cmd-line/main-cmd.c:592 -msgid "periodical boundaries" -msgstr "periodické okraje" - -#: cmd-line/main-cmd.c:600 -msgid "adaptive noise reduction" -msgstr "adaptivní potlačení šumu" - -#: cmd-line/main-cmd.c:610 -msgid "RGB picture" -msgstr "RGB obrázek" - -#: cmd-line/main-cmd.c:615 -msgid "gray picture" -msgstr "šedotónový obrázek" - -#: cmd-line/main-cmd.c:697 -msgid "starting iterations" -msgstr "spouštím iterace" - -#: cmd-line/main-cmd.c:729 -msgid "finished iterations" -msgstr "iterace ukončeny" - -#: cmd-line/main-cmd.c:749 -msgid "computation finished" -msgstr "výpočet ukončen" - -#: cmd-line/main-cmd.c:766 -msgid "processed input parameters" -msgstr "zpracování vstupních parametrů" - -#: cmd-line/main-cmd.c:768 -msgid "data initialized" -msgstr "data inicializována" - -#: cmd-line/main-cmd.c:771 -msgid "data destroyed" -msgstr "data dealokována" - -#: gimp-plugin/main-gimp.c:374 +#: ../gimp-plugin/main-gimp.c:374 msgid "Iterative refocus..." msgstr "Iterativní doostření..." -#: gimp-plugin/main-gimp.c:381 +#: ../gimp-plugin/main-gimp.c:381 msgid "Iterative refocus." msgstr "Iterativní doostření." -#: gimp-plugin/main-gimp.c:382 +#: ../gimp-plugin/main-gimp.c:382 msgid "This plug-in iteratively refocuses a defocused image." msgstr "Tento plug-in iterativně doostřuje rozostřený obrázek." -#: gimp-plugin/main-gimp.c:489 +#: ../gimp-plugin/main-gimp.c:489 msgid "mirror boundary" msgstr "zrcadlové okraje" -#: gimp-plugin/main-gimp.c:490 +#: ../gimp-plugin/main-gimp.c:490 msgid "periodical boundary" msgstr "periodické okraje" -#: gimp-plugin/main-gimp.c:840 +#: ../gimp-plugin/main-gimp.c:846 msgid "Degradation" msgstr "Degradace" #. blur radius -#: gimp-plugin/main-gimp.c:845 +#: ../gimp-plugin/main-gimp.c:851 msgid "Radius:" msgstr "Poloměr rozostření:" #. gaussian blur -#: gimp-plugin/main-gimp.c:855 +#: ../gimp-plugin/main-gimp.c:861 msgid "Gauss:" msgstr "Gaussovo rozostření:" #. motion blur -#: gimp-plugin/main-gimp.c:865 +#: ../gimp-plugin/main-gimp.c:871 msgid "Motion size:" msgstr "Velikost pohybu:" #. motion angle -#: gimp-plugin/main-gimp.c:875 +#: ../gimp-plugin/main-gimp.c:881 msgid "Motion angle:" msgstr "Úhel pohybu:" #. noise reduction -#: gimp-plugin/main-gimp.c:885 +#: ../gimp-plugin/main-gimp.c:891 msgid "Noise:" msgstr "Šum:" #. iterations -#: gimp-plugin/main-gimp.c:895 gimp-plugin/main-gimp.c:1107 +#: ../gimp-plugin/main-gimp.c:901 ../gimp-plugin/main-gimp.c:1113 msgid "Iterations:" msgstr "Počet iterací:" #. boundary -#: gimp-plugin/main-gimp.c:905 +#: ../gimp-plugin/main-gimp.c:911 msgid "Boundary:" msgstr "Okraje:" -#: gimp-plugin/main-gimp.c:929 +#: ../gimp-plugin/main-gimp.c:935 msgid "Area smoothing" msgstr "Vyhlazováni oblastí" -#: gimp-plugin/main-gimp.c:933 +#: ../gimp-plugin/main-gimp.c:939 msgid "Smoothness:" msgstr "Hladkost" -#: gimp-plugin/main-gimp.c:942 +#: ../gimp-plugin/main-gimp.c:948 msgid "Area size:" msgstr "Velikost oblasti:" -#: gimp-plugin/main-gimp.c:951 +#: ../gimp-plugin/main-gimp.c:957 msgid "Adaptive smoothing:" msgstr "Adaptivní vyhlazování:" -#: gimp-plugin/main-gimp.c:1034 +#: ../gimp-plugin/main-gimp.c:1040 msgid "Motion direction" msgstr "Směr pohybu" -#: gimp-plugin/main-gimp.c:1123 gimp-plugin/main-gimp.c:1141 +#: ../gimp-plugin/main-gimp.c:1129 ../gimp-plugin/main-gimp.c:1147 msgid "Preview" msgstr "Náhled" -#: gimp-plugin/main-gimp.c:1136 +#: ../gimp-plugin/main-gimp.c:1142 msgid "Iterative Refocus" msgstr "Iterativní doostření" -#: gimp-plugin/main-gimp.c:1204 +#: ../gimp-plugin/main-gimp.c:1210 msgid "Refocusing..." msgstr "Doostřuji..." #. INIT_I18N_UI(); -#: gimp-plugin/main-gimp.c:1453 +#: ../gimp-plugin/main-gimp.c:1459 #, c-format msgid "Iterative Refocus - %s" msgstr "Iterativní doostření - %s" diff --git a/po/gimp20-refocus-it.pot b/po/gimp20-refocus-it.pot index 208f8c1..5e3b170 100644 --- a/po/gimp20-refocus-it.pot +++ b/po/gimp20-refocus-it.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: https://github.com/JoesCat/gimp-refocus-it/issues 2.0\n" +"Project-Id-Version: https://github.com/JoesCat/gimp-refocus-it/issues 2.1\n" "Report-Msgid-Bugs-To: https://github.com/JoesCat/gimp-refocus-it/issues\n" -"POT-Creation-Date: 2025-02-18 19:19-0700\n" +"POT-Creation-Date: 2025-02-19 21:50-0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,375 +17,6 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: ../cmd-line/getopt.c:693 -#, c-format -msgid "%s: option `%s' is ambiguous\n" -msgstr "" - -#: ../cmd-line/getopt.c:718 -#, c-format -msgid "%s: option `--%s' doesn't allow an argument\n" -msgstr "" - -#: ../cmd-line/getopt.c:723 -#, c-format -msgid "%s: option `%c%s' doesn't allow an argument\n" -msgstr "" - -#: ../cmd-line/getopt.c:741 ../cmd-line/getopt.c:914 -#, c-format -msgid "%s: option `%s' requires an argument\n" -msgstr "" - -#. --option -#: ../cmd-line/getopt.c:770 -#, c-format -msgid "%s: unrecognized option `--%s'\n" -msgstr "" - -#. +option or -option -#: ../cmd-line/getopt.c:774 -#, c-format -msgid "%s: unrecognized option `%c%s'\n" -msgstr "" - -#. 1003.2 specifies the format of this message. -#: ../cmd-line/getopt.c:800 -#, c-format -msgid "%s: illegal option -- %c\n" -msgstr "" - -#: ../cmd-line/getopt.c:803 -#, c-format -msgid "%s: invalid option -- %c\n" -msgstr "" - -#. 1003.2 specifies the format of this message. -#: ../cmd-line/getopt.c:833 ../cmd-line/getopt.c:963 -#, c-format -msgid "%s: option requires an argument -- %c\n" -msgstr "" - -#: ../cmd-line/getopt.c:880 -#, c-format -msgid "%s: option `-W %s' is ambiguous\n" -msgstr "" - -#: ../cmd-line/getopt.c:898 -#, c-format -msgid "%s: option `-W %s' doesn't allow an argument\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:165 -#, c-format -msgid "%s: expected value for parameter '%s' -%s\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:170 -#, c-format -msgid "%s: expected argument for option -%s\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:178 -#, c-format -msgid "%s: expected value of type '%s' for parameter '%s' -%s\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:197 -#, c-format -msgid "parameter '%s' -%s out of range (%f, %f)\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:225 -#, c-format -msgid "parameter '%s' -%s out of range (%d, %d)\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:247 -#, c-format -msgid "expected valid value for parameter '%s' -%s, got '%s'\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:277 -#, c-format -msgid "" -"Iterative refocus - refocus images acquired with defocussed camera\n" -"or blurred with gaussian blur (astronomy). Implemented via\n" -"minimization of error function using Hopfield neural network.\n" -"\n" -"Usage: %s [OPTION] ...\n" -"Options:\n" -" -r , --radius=\n" -" real number from interval <0.0, 32.0>\n" -" -g , --gauss=\n" -" real number from <0.0, 32.0>\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:289 -#, c-format -msgid "" -" -n , --noise=\n" -" real number from <0.0, %.1f>\n" -" -b , --boundary=\n" -" 'mirror' or 'period'\n" -" -s , --smoothness=\n" -" real number from <0.0, %.1f>\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:298 -#, c-format -msgid "" -" -a, --non-adaptive\n" -" do not use adaptive adjustments of noise\n" -" reduction\n" -" -m , --intermediate=\n" -" save result of every n-th iteration\n" -" -c, --ascii-pnm\n" -" use binary PNM files for output\n" -" -v , --verbosity=\n" -" set verbosity level 0..8\n" -" -w , --window=\n" -" size of window for area smoothing 1..16\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:310 -#, c-format -msgid "" -" -i , --iterations=\n" -" number of iterations to compute\n" -" -f , --file=\n" -" name of file with blurred image,\n" -" if no file name is given, input image is\n" -" read from stdin and output image(s) is\n" -" (are) written to stdout\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:318 -#, c-format -msgid "" -" -h, --help\n" -" print this help and exit\n" -" -V, --version\n" -" print version information and exit\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:326 -#, c-format -msgid "" -"Iterative refocus - %s version %s\n" -"Written by Lukas Kunc\n" -"\n" -"Copyright (C) 2004 Free Software Foundation, Inc.\n" -"This is free software; see the source for copying conditions.There is NO\n" -"warranty; not even for MERCHANTABILITY or FITNESS FORA PARTICULAR PURPOSE.\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:364 -msgid "defocus radius" -msgstr "" - -#: ../cmd-line/main-cmd.c:367 -msgid "gaussian blur variance" -msgstr "" - -#: ../cmd-line/main-cmd.c:370 ../cmd-line/main-cmd.c:605 -msgid "noise reduction" -msgstr "" - -#: ../cmd-line/main-cmd.c:373 -msgid "boundary" -msgstr "" - -#: ../cmd-line/main-cmd.c:376 -msgid "smoothness" -msgstr "" - -#: ../cmd-line/main-cmd.c:382 -msgid "save every n-th result" -msgstr "" - -#: ../cmd-line/main-cmd.c:388 -msgid "verbosity level" -msgstr "" - -#: ../cmd-line/main-cmd.c:391 -msgid "window size" -msgstr "" - -#: ../cmd-line/main-cmd.c:394 -msgid "number of iterations" -msgstr "" - -#: ../cmd-line/main-cmd.c:397 -msgid "file name" -msgstr "" - -#: ../cmd-line/main-cmd.c:411 -#, c-format -msgid "%s: unrecognized option '-%s'\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:421 -#, c-format -msgid "%s: error processing options\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:428 -#, c-format -msgid "%s: unrecognized option '%s'\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:433 -#, c-format -msgid "Try '%s -h' for more information\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:438 -#, c-format -msgid "defocus blur radius: %f" -msgstr "" - -#: ../cmd-line/main-cmd.c:439 -#, c-format -msgid "gaussian blur variance: %f" -msgstr "" - -#: ../cmd-line/main-cmd.c:440 -#, c-format -msgid "noise reduction: %f" -msgstr "" - -#: ../cmd-line/main-cmd.c:441 -#, c-format -msgid "area smoothness: %f" -msgstr "" - -#: ../cmd-line/main-cmd.c:442 -#, c-format -msgid "area smoothing window size: %d" -msgstr "" - -#: ../cmd-line/main-cmd.c:443 -#, c-format -msgid "number of iterations: %d" -msgstr "" - -#: ../cmd-line/main-cmd.c:444 -#, c-format -msgid "boundaries: %s" -msgstr "" - -#: ../cmd-line/main-cmd.c:445 -#, c-format -msgid "adaptive noise reduction: %s" -msgstr "" - -#: ../cmd-line/main-cmd.c:445 ../cmd-line/main-cmd.c:449 -msgid "yes" -msgstr "" - -#: ../cmd-line/main-cmd.c:445 ../cmd-line/main-cmd.c:449 -msgid "no" -msgstr "" - -#: ../cmd-line/main-cmd.c:446 -#, c-format -msgid "save intermediate results: %d" -msgstr "" - -#: ../cmd-line/main-cmd.c:447 -#, c-format -msgid "input file: %s" -msgstr "" - -#: ../cmd-line/main-cmd.c:448 -#, c-format -msgid "verbosity: %d" -msgstr "" - -#: ../cmd-line/main-cmd.c:449 -#, c-format -msgid "use binary PNM: %s" -msgstr "" - -#: ../cmd-line/main-cmd.c:460 -#, c-format -msgid "%s: failed to load PNM file '%s': %s\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:470 -#, c-format -msgid "%s: failed to read PNM file from stdin: %s\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:514 -#, c-format -msgid "saving file %s" -msgstr "" - -#: ../cmd-line/main-cmd.c:518 -#, c-format -msgid "%s: failed to save PNM file '%s': %s\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:528 -msgid "saving to stdout" -msgstr "" - -#: ../cmd-line/main-cmd.c:529 -#, c-format -msgid "%s: failed to write PNM file to stdout: %s\n" -msgstr "" - -#: ../cmd-line/main-cmd.c:561 -#, c-format -msgid "%5.1f%% completed" -msgstr "" - -#: ../cmd-line/main-cmd.c:588 -msgid "mirror boundaries" -msgstr "" - -#: ../cmd-line/main-cmd.c:592 -msgid "periodical boundaries" -msgstr "" - -#: ../cmd-line/main-cmd.c:600 -msgid "adaptive noise reduction" -msgstr "" - -#: ../cmd-line/main-cmd.c:610 -msgid "RGB picture" -msgstr "" - -#: ../cmd-line/main-cmd.c:615 -msgid "gray picture" -msgstr "" - -#: ../cmd-line/main-cmd.c:697 -msgid "starting iterations" -msgstr "" - -#: ../cmd-line/main-cmd.c:729 -msgid "finished iterations" -msgstr "" - -#: ../cmd-line/main-cmd.c:749 -msgid "computation finished" -msgstr "" - -#: ../cmd-line/main-cmd.c:766 -msgid "processed input parameters" -msgstr "" - -#: ../cmd-line/main-cmd.c:768 -msgid "data initialized" -msgstr "" - -#: ../cmd-line/main-cmd.c:771 -msgid "data destroyed" -msgstr "" - #: ../gimp-plugin/main-gimp.c:374 msgid "Iterative refocus..." msgstr "" @@ -406,79 +37,79 @@ msgstr "" msgid "periodical boundary" msgstr "" -#: ../gimp-plugin/main-gimp.c:840 +#: ../gimp-plugin/main-gimp.c:846 msgid "Degradation" msgstr "" #. blur radius -#: ../gimp-plugin/main-gimp.c:845 +#: ../gimp-plugin/main-gimp.c:851 msgid "Radius:" msgstr "" #. gaussian blur -#: ../gimp-plugin/main-gimp.c:855 +#: ../gimp-plugin/main-gimp.c:861 msgid "Gauss:" msgstr "" #. motion blur -#: ../gimp-plugin/main-gimp.c:865 +#: ../gimp-plugin/main-gimp.c:871 msgid "Motion size:" msgstr "" #. motion angle -#: ../gimp-plugin/main-gimp.c:875 +#: ../gimp-plugin/main-gimp.c:881 msgid "Motion angle:" msgstr "" #. noise reduction -#: ../gimp-plugin/main-gimp.c:885 +#: ../gimp-plugin/main-gimp.c:891 msgid "Noise:" msgstr "" #. iterations -#: ../gimp-plugin/main-gimp.c:895 ../gimp-plugin/main-gimp.c:1107 +#: ../gimp-plugin/main-gimp.c:901 ../gimp-plugin/main-gimp.c:1113 msgid "Iterations:" msgstr "" #. boundary -#: ../gimp-plugin/main-gimp.c:905 +#: ../gimp-plugin/main-gimp.c:911 msgid "Boundary:" msgstr "" -#: ../gimp-plugin/main-gimp.c:929 +#: ../gimp-plugin/main-gimp.c:935 msgid "Area smoothing" msgstr "" -#: ../gimp-plugin/main-gimp.c:933 +#: ../gimp-plugin/main-gimp.c:939 msgid "Smoothness:" msgstr "" -#: ../gimp-plugin/main-gimp.c:942 +#: ../gimp-plugin/main-gimp.c:948 msgid "Area size:" msgstr "" -#: ../gimp-plugin/main-gimp.c:951 +#: ../gimp-plugin/main-gimp.c:957 msgid "Adaptive smoothing:" msgstr "" -#: ../gimp-plugin/main-gimp.c:1034 +#: ../gimp-plugin/main-gimp.c:1040 msgid "Motion direction" msgstr "" -#: ../gimp-plugin/main-gimp.c:1123 ../gimp-plugin/main-gimp.c:1141 +#: ../gimp-plugin/main-gimp.c:1129 ../gimp-plugin/main-gimp.c:1147 msgid "Preview" msgstr "" -#: ../gimp-plugin/main-gimp.c:1136 +#: ../gimp-plugin/main-gimp.c:1142 msgid "Iterative Refocus" msgstr "" -#: ../gimp-plugin/main-gimp.c:1204 +#: ../gimp-plugin/main-gimp.c:1210 msgid "Refocusing..." msgstr "" #. INIT_I18N_UI(); -#: ../gimp-plugin/main-gimp.c:1453 +#: ../gimp-plugin/main-gimp.c:1459 #, c-format msgid "Iterative Refocus - %s" msgstr "" diff --git a/po/pt.po b/po/pt.po new file mode 100644 index 0000000..355cfc9 --- /dev/null +++ b/po/pt.po @@ -0,0 +1,115 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the gimp-refocus-it package. +# Joe Da Silva , 2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: refocus-it 2.1\n" +"Report-Msgid-Bugs-To: https://github.com/JoesCat/gimp-refocus-it/issues\n" +"POT-Creation-Date: 2025-02-19 21:50-0800\n" +"PO-Revision-Date: 2025-02-20 20:12-0800\n" +"Last-Translator: Joe Da Silva \n" +"Language-Team: LANGUAGE \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../gimp-plugin/main-gimp.c:374 +msgid "Iterative refocus..." +msgstr "Refocalização iterativa..." + +#: ../gimp-plugin/main-gimp.c:381 +msgid "Iterative refocus." +msgstr "Refocalização iterativa." + +#: ../gimp-plugin/main-gimp.c:382 +msgid "This plug-in iteratively refocuses a defocused image." +msgstr "Este plug-in refocaliza iterativamente uma imagem desfocada." + +#: ../gimp-plugin/main-gimp.c:489 +msgid "mirror boundary" +msgstr "borda é espelhada" + +#: ../gimp-plugin/main-gimp.c:490 +msgid "periodical boundary" +msgstr "borda é periódica" + +#: ../gimp-plugin/main-gimp.c:846 +msgid "Degradation" +msgstr "Degradação" + +#. blur radius +#: ../gimp-plugin/main-gimp.c:851 +msgid "Radius:" +msgstr "Raio:" + +#. gaussian blur +#: ../gimp-plugin/main-gimp.c:861 +msgid "Gauss:" +msgstr "Gauss:" + +#. motion blur +#: ../gimp-plugin/main-gimp.c:871 +msgid "Motion size:" +msgstr "Tamanho do movimento:" + +#. motion angle +#: ../gimp-plugin/main-gimp.c:881 +msgid "Motion angle:" +msgstr "Ângulo de movimento:" + +#. noise reduction +#: ../gimp-plugin/main-gimp.c:891 +msgid "Noise:" +msgstr "Ruído:" + +#. iterations +#: ../gimp-plugin/main-gimp.c:901 ../gimp-plugin/main-gimp.c:1113 +msgid "Iterations:" +msgstr "Iterações:" + +#. boundary +#: ../gimp-plugin/main-gimp.c:911 +msgid "Boundary:" +msgstr "Borda:" + +#: ../gimp-plugin/main-gimp.c:935 +msgid "Area smoothing" +msgstr "Suavização de área" + +#: ../gimp-plugin/main-gimp.c:939 +msgid "Smoothness:" +msgstr "Suavidade:" + +#: ../gimp-plugin/main-gimp.c:948 +msgid "Area size:" +msgstr "Tamanho da área:" + +#: ../gimp-plugin/main-gimp.c:957 +msgid "Adaptive smoothing:" +msgstr "Suavização adaptativa:" + +#: ../gimp-plugin/main-gimp.c:1040 +msgid "Motion direction" +msgstr "Direção do movimento" + +#: ../gimp-plugin/main-gimp.c:1129 ../gimp-plugin/main-gimp.c:1147 +msgid "Preview" +msgstr "Visualização" + +#: ../gimp-plugin/main-gimp.c:1142 +msgid "Iterative Refocus" +msgstr "Refocalização iterativa" + +#: ../gimp-plugin/main-gimp.c:1210 +msgid "Refocusing..." +msgstr "Reorientando..." + +#. INIT_I18N_UI(); +#: ../gimp-plugin/main-gimp.c:1459 +#, c-format +msgid "Iterative Refocus - %s" +msgstr "Refocalização iterativa - %s" diff --git a/src/Makefile.am b/src/Makefile.am index cfca207..9c0bc3b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -9,3 +9,5 @@ noinst_HEADERS = blur.h boundary.h convmask.h \ hopfield.h threshold.h weights.h \ lambda.h image.h compiler.h \ gettext.h +EXTRA_DIST = ${noinst_HEADERS} +nodist_EXTRA_DATA = .dep .lib diff --git a/src/compiler.h b/src/compiler.h index 7bd1087..474ab67 100644 --- a/src/compiler.h +++ b/src/compiler.h @@ -24,6 +24,7 @@ #include "refocus-it-config.h" #endif +#include #include #ifndef M_PI