diff -Nru yad-0.38.2/aclocal.m4 yad-0.39.0/aclocal.m4 --- yad-0.38.2/aclocal.m4 2017-01-23 18:38:23.000000000 +0000 +++ yad-0.39.0/aclocal.m4 2017-04-27 07:13:15.000000000 +0000 @@ -505,6 +505,51 @@ AC_SUBST($1)dnl ]) +dnl Checks for special options needed on Mac OS X. +dnl Defines INTL_MACOSX_LIBS. +dnl +dnl Copied from intlmacosx.m4 in gettext, GPL. +dnl Copyright (C) 2004-2013 Free Software Foundation, Inc. +glib_DEFUN([glib_gt_INTL_MACOSX], +[ + dnl Check for API introduced in Mac OS X 10.2. + AC_CACHE_CHECK([for CFPreferencesCopyAppValue], + [gt_cv_func_CFPreferencesCopyAppValue], + [gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[#include ]], + [[CFPreferencesCopyAppValue(NULL, NULL)]])], + [gt_cv_func_CFPreferencesCopyAppValue=yes], + [gt_cv_func_CFPreferencesCopyAppValue=no]) + LIBS="$gt_save_LIBS"]) + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], + [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) + fi + dnl Check for API introduced in Mac OS X 10.3. + AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent], + [gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[#include ]], + [[CFLocaleCopyCurrent();]])], + [gt_cv_func_CFLocaleCopyCurrent=yes], + [gt_cv_func_CFLocaleCopyCurrent=no]) + LIBS="$gt_save_LIBS"]) + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then + AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1], + [Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" + fi + AC_SUBST([INTL_MACOSX_LIBS]) +]) + # GLIB_WITH_NLS #----------------- glib_DEFUN([GLIB_WITH_NLS], @@ -518,6 +563,8 @@ XGETTEXT=: INTLLIBS= + glib_gt_INTL_MACOSX + AC_CHECK_HEADER(libintl.h, [gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" @@ -601,7 +648,7 @@ fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then - INTLLIBS="-lintl $libintl_extra_libs" + INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS" fi if test "$gt_cv_have_gettext" = "yes"; then @@ -1461,9 +1508,9 @@ AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -dnl serial 11 (pkg-config-0.29.1) -dnl +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +# serial 12 (pkg-config-0.29.2) + dnl Copyright © 2004 Scott James Remnant . dnl Copyright © 2012-2015 Dan Nicholson dnl @@ -1504,7 +1551,7 @@ dnl See the "Since" comment for each macro you use to see what version dnl of the macros you require. m4_defun([PKG_PREREQ], -[m4_define([PKG_MACROS_VERSION], [0.29.1]) +[m4_define([PKG_MACROS_VERSION], [0.29.2]) m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) ])dnl PKG_PREREQ @@ -1605,7 +1652,7 @@ AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no -AC_MSG_CHECKING([for $1]) +AC_MSG_CHECKING([for $2]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) @@ -1615,11 +1662,11 @@ See the pkg-config man page for more details.]) if test $pkg_failed = yes; then - AC_MSG_RESULT([no]) + AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` - else + else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs @@ -1636,7 +1683,7 @@ _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then - AC_MSG_RESULT([no]) + AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full diff -Nru yad-0.38.2/ChangeLog yad-0.39.0/ChangeLog --- yad-0.38.2/ChangeLog 2017-01-23 18:38:50.000000000 +0000 +++ yad-0.39.0/ChangeLog 2017-04-27 07:13:10.000000000 +0000 @@ -1,3 +1,107 @@ +2017-04-26 15:15 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/list.c: add --tail option to + the list dialog + +2017-04-26 12:46 v1c0nt + + * src/option.c, src/text.c, src/yad.h: move tail option to common + section + +2017-04-26 12:12 v1c0nt + + * configure.ac, data/yad.1, po/ru.po, po/uk.po, src/list.c, + src/option.c, src/yad.h: add --add-on-top option to list dialog + +2017-04-26 11:21 v1c0nt + + * src/list.c: some fixes of add action handler in list dialog + +2017-04-26 10:53 v1c0nt + + * src/list.c: + +2017-03-12 16:39 v1c0nt + + * po/ru.po: fix russian translation + +2017-02-28 21:30 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/main.c, src/option.c, + src/yad.h: write xid to a file in additional to stderr + +2017-02-28 21:13 v1c0nt + + * data/yad.1: correct man page + +2017-02-28 21:09 v1c0nt + + * po/ru.po, po/uk.po, src/option.c: fix help output + +2017-02-23 17:22 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/main.c, src/option.c, + src/yad.h: remove --parent-win option + +2017-02-21 15:18 v1c0nt + + * README.md, data/yad.1: update documentation according to previous + commit + +2017-02-21 15:14 v1c0nt + + * README.md, data/Makefile.am, data/get-lang.c, data/yad.1, + po/ru.po, po/uk.po, src/main.c, src/option.c, src/util.c, + src/yad.h: add some descriptive options + +2017-02-08 18:42 v1c0nt + + * TODO, configure.ac, data/yad.1, po/ru.po, po/uk.po, src/html.c, + src/option.c, src/yad.h: add --user-agent and --user-style + options to html dialog. bump version + +2017-02-05 17:37 v1c0nt + + * data/get-lang.c, data/yad.1, po/ru.po, po/uk.po, src/option.c, + src/text.c, src/yad.h: add --theme option to text-info dialog + +2017-02-03 15:31 v1c0nt + + * ChangeLog: for previous - add scpetial variables to url handler + in html dialog + +2017-02-03 15:30 v1c0nt + + * data/yad.1, src/html.c: + +2017-02-01 06:35 v1c0nt + + * src/html.c: + +2017-02-01 06:32 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/html.c, src/option.c, + src/yad.h: add --uri-handler option to html dialog + +2017-01-29 14:54 v1c0nt + + * ChangeLog, po/ru.po, po/uk.po, src/browser.c, src/calendar.c, + src/color.c, src/entry.c, src/file.c, src/font.c, src/form.c, + src/html.c, src/icons.c, src/list.c, src/multi-progress.c, + src/notification.c, src/option.c, src/picture.c, src/print.c, + src/progress.c, src/scale.c, src/text.c, src/util.c: update + copyright years + +2017-01-29 14:41 v1c0nt + + * src/form.c: change value position for scale field in form dialog + +2017-01-26 05:03 v1c0nt + + * ChangeLog, data/yad.1, po/ru.po, po/uk.po, src/notebook.c, + src/option.c, src/yad.h: add --active-tab option to notebook + dialog + 2017-01-23 18:38 v1c0nt * NEWS, configure.ac: release 0.38.2 diff -Nru yad-0.38.2/config.h.in yad-0.39.0/config.h.in --- yad-0.38.2/config.h.in 2017-01-23 18:38:26.000000000 +0000 +++ yad-0.39.0/config.h.in 2017-04-27 07:13:16.000000000 +0000 @@ -9,6 +9,14 @@ /* Define to 1 if you have the `bind_textdomain_codeset' function. */ #undef HAVE_BIND_TEXTDOMAIN_CODESET +/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the + CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYCURRENT + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + /* Define to 1 if you have the `dcgettext' function. */ #undef HAVE_DCGETTEXT diff -Nru yad-0.38.2/configure yad-0.39.0/configure --- yad-0.38.2/configure 2017-01-23 18:38:25.000000000 +0000 +++ yad-0.39.0/configure 2017-04-27 07:13:16.000000000 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for YAD 0.38.2. +# Generated by GNU Autoconf 2.69 for YAD 0.39.0. # # Report bugs to . # @@ -580,8 +580,8 @@ # Identity of this package. PACKAGE_NAME='YAD' PACKAGE_TARNAME='yad' -PACKAGE_VERSION='0.38.2' -PACKAGE_STRING='YAD 0.38.2' +PACKAGE_VERSION='0.39.0' +PACKAGE_STRING='YAD 0.39.0' PACKAGE_BUGREPORT='https://sourceforge.net/p/yad-dialog/tickets/' PACKAGE_URL='https://sourceforge.net/projects/yad-dialog/' @@ -641,6 +641,7 @@ CATOBJEXT CATALOGS MSGFMT_OPTS +INTL_MACOSX_LIBS EGREP GREP CPP @@ -1361,7 +1362,7 @@ # 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 YAD 0.38.2 to adapt to many kinds of systems. +\`configure' configures YAD 0.39.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1427,7 +1428,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of YAD 0.38.2:";; + short | recursive ) echo "Configuration of YAD 0.39.0:";; esac cat <<\_ACEOF @@ -1554,7 +1555,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -YAD configure 0.38.2 +YAD configure 0.39.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1923,7 +1924,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by YAD $as_me 0.38.2, which was +It was created by YAD $as_me 0.39.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2787,7 +2788,7 @@ # Define the identity of the package. PACKAGE='yad' - VERSION='0.38.2' + VERSION='0.39.0' cat >>confdefs.h <<_ACEOF @@ -4684,8 +4685,8 @@ fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 -$as_echo_n "checking for GTK... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULE >= $GTK_REQUIRED $GTK_PRINT" >&5 +$as_echo_n "checking for $GTK_MODULE >= $GTK_REQUIRED $GTK_PRINT... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" @@ -4725,7 +4726,7 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then @@ -4752,7 +4753,7 @@ and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} @@ -4820,8 +4821,8 @@ if test x$build_html = xyes; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HTML" >&5 -$as_echo_n "checking for HTML... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $WEBKIT" >&5 +$as_echo_n "checking for $WEBKIT... " >&6; } if test -n "$HTML_CFLAGS"; then pkg_cv_HTML_CFLAGS="$HTML_CFLAGS" @@ -4861,7 +4862,7 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then @@ -4879,7 +4880,7 @@ have_html=no elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_html=no else @@ -4919,8 +4920,8 @@ if test x$build_gio = xyes; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5 -$as_echo_n "checking for GIO... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-2.0" >&5 +$as_echo_n "checking for gio-2.0... " >&6; } if test -n "$GIO_CFLAGS"; then pkg_cv_GIO_CFLAGS="$GIO_CFLAGS" @@ -4960,7 +4961,7 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then @@ -4978,7 +4979,7 @@ have_gio=no elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_gio=no else @@ -5010,8 +5011,8 @@ if test x$with_spell = xyes; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPELL" >&5 -$as_echo_n "checking for SPELL... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SPELL" >&5 +$as_echo_n "checking for $SPELL... " >&6; } if test -n "$SPELL_CFLAGS"; then pkg_cv_SPELL_CFLAGS="$SPELL_CFLAGS" @@ -5051,7 +5052,7 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then @@ -5069,7 +5070,7 @@ have_spell=no elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_spell=no else @@ -5101,8 +5102,8 @@ if test x$with_spell = xyes; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOURCEVIEW" >&5 -$as_echo_n "checking for SOURCEVIEW... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SOURCEVIEW" >&5 +$as_echo_n "checking for $SOURCEVIEW... " >&6; } if test -n "$SOURCEVIEW_CFLAGS"; then pkg_cv_SOURCEVIEW_CFLAGS="$SOURCEVIEW_CFLAGS" @@ -5142,7 +5143,7 @@ if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then @@ -5160,7 +5161,7 @@ have_sourceview=no elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_sourceview=no else @@ -5663,6 +5664,82 @@ XGETTEXT=: INTLLIBS= + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 +$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } +if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +CFLocaleCopyCurrent(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyCurrent=yes +else + gt_cv_func_CFLocaleCopyCurrent=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" + fi + + + ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" if test "x$ac_cv_header_libintl_h" = xyes; then : gt_cv_func_dgettext_libintl="no" @@ -6003,7 +6080,7 @@ fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then - INTLLIBS="-lintl $libintl_extra_libs" + INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS" fi if test "$gt_cv_have_gettext" = "yes"; then @@ -6874,7 +6951,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by YAD $as_me 0.38.2, which was +This file was extended by YAD $as_me 0.39.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -6941,7 +7018,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -YAD config.status 0.38.2 +YAD config.status 0.39.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -Nru yad-0.38.2/configure.ac yad-0.39.0/configure.ac --- yad-0.38.2/configure.ac 2017-01-23 18:37:57.000000000 +0000 +++ yad-0.39.0/configure.ac 2017-04-27 07:13:10.000000000 +0000 @@ -1,4 +1,4 @@ -AC_INIT([YAD], [0.38.2], [https://sourceforge.net/p/yad-dialog/tickets/], yad, [https://sourceforge.net/projects/yad-dialog/]) +AC_INIT([YAD], [0.39.0], [https://sourceforge.net/p/yad-dialog/tickets/], yad, [https://sourceforge.net/projects/yad-dialog/]) AC_CONFIG_AUX_DIR([build]) AM_INIT_AUTOMAKE([1.11 foreign dist-xz no-dist-gzip]) diff -Nru yad-0.38.2/data/get-lang.c yad-0.39.0/data/get-lang.c --- yad-0.38.2/data/get-lang.c 2016-08-27 01:08:39.000000000 +0000 +++ yad-0.39.0/data/get-lang.c 1970-01-01 00:00:00.000000000 +0000 @@ -1,17 +0,0 @@ -/* - * build with command: - * gcc $(pkg-config --cflags --libs gtkspell3-3.0) -o get-lang get-lang.c - */ - -#include -#include - -int main (int argc, char *argv[]) -{ - GList *lng; - - for (lng = gtk_spell_checker_get_language_list (); lng; lng = lng->next) - g_print ("%s\n", lng->data); - - return 0; -} diff -Nru yad-0.38.2/data/icons/128x128/Makefile.in yad-0.39.0/data/icons/128x128/Makefile.in --- yad-0.38.2/data/icons/128x128/Makefile.in 2017-01-23 18:38:27.000000000 +0000 +++ yad-0.39.0/data/icons/128x128/Makefile.in 2017-04-27 07:13:17.000000000 +0000 @@ -202,6 +202,7 @@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ diff -Nru yad-0.38.2/data/icons/16x16/Makefile.in yad-0.39.0/data/icons/16x16/Makefile.in --- yad-0.38.2/data/icons/16x16/Makefile.in 2017-01-23 18:38:27.000000000 +0000 +++ yad-0.39.0/data/icons/16x16/Makefile.in 2017-04-27 07:13:17.000000000 +0000 @@ -202,6 +202,7 @@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ diff -Nru yad-0.38.2/data/icons/24x24/Makefile.in yad-0.39.0/data/icons/24x24/Makefile.in --- yad-0.38.2/data/icons/24x24/Makefile.in 2017-01-23 18:38:28.000000000 +0000 +++ yad-0.39.0/data/icons/24x24/Makefile.in 2017-04-27 07:13:17.000000000 +0000 @@ -202,6 +202,7 @@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ diff -Nru yad-0.38.2/data/icons/32x32/Makefile.in yad-0.39.0/data/icons/32x32/Makefile.in --- yad-0.38.2/data/icons/32x32/Makefile.in 2017-01-23 18:38:28.000000000 +0000 +++ yad-0.39.0/data/icons/32x32/Makefile.in 2017-04-27 07:13:17.000000000 +0000 @@ -202,6 +202,7 @@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ diff -Nru yad-0.38.2/data/icons/48x48/Makefile.in yad-0.39.0/data/icons/48x48/Makefile.in --- yad-0.38.2/data/icons/48x48/Makefile.in 2017-01-23 18:38:28.000000000 +0000 +++ yad-0.39.0/data/icons/48x48/Makefile.in 2017-04-27 07:13:17.000000000 +0000 @@ -202,6 +202,7 @@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ diff -Nru yad-0.38.2/data/icons/96x96/Makefile.in yad-0.39.0/data/icons/96x96/Makefile.in --- yad-0.38.2/data/icons/96x96/Makefile.in 2017-01-23 18:38:28.000000000 +0000 +++ yad-0.39.0/data/icons/96x96/Makefile.in 2017-04-27 07:13:17.000000000 +0000 @@ -202,6 +202,7 @@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ diff -Nru yad-0.38.2/data/icons/Makefile.in yad-0.39.0/data/icons/Makefile.in --- yad-0.38.2/data/icons/Makefile.in 2017-01-23 18:38:28.000000000 +0000 +++ yad-0.39.0/data/icons/Makefile.in 2017-04-27 07:13:17.000000000 +0000 @@ -231,6 +231,7 @@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ diff -Nru yad-0.38.2/data/Makefile.am yad-0.39.0/data/Makefile.am --- yad-0.38.2/data/Makefile.am 2016-11-25 16:13:40.000000000 +0000 +++ yad-0.39.0/data/Makefile.am 2017-02-21 15:13:58.000000000 +0000 @@ -12,6 +12,6 @@ m4dir = $(datadir)/aclocal m4_DATA = yad.m4 -EXTRA_DIST = $(desktop_in_files) zenity.sh notify-send get-lang.c +EXTRA_DIST = $(desktop_in_files) zenity.sh notify-send DISTCLEAN_FILES = $(desktop_DATA) $(m4_DATA) yad.spec diff -Nru yad-0.38.2/data/Makefile.in yad-0.39.0/data/Makefile.in --- yad-0.38.2/data/Makefile.in 2017-01-23 18:38:27.000000000 +0000 +++ yad-0.39.0/data/Makefile.in 2017-04-27 07:13:17.000000000 +0000 @@ -266,6 +266,7 @@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ @@ -354,7 +355,7 @@ dist_man_MANS = yad.1 m4dir = $(datadir)/aclocal m4_DATA = yad.m4 -EXTRA_DIST = $(desktop_in_files) zenity.sh notify-send get-lang.c +EXTRA_DIST = $(desktop_in_files) zenity.sh notify-send DISTCLEAN_FILES = $(desktop_DATA) $(m4_DATA) yad.spec all: all-recursive diff -Nru yad-0.38.2/data/yad.1 yad-0.39.0/data/yad.1 --- yad-0.38.2/data/yad.1 2017-01-13 21:23:17.000000000 +0000 +++ yad-0.39.0/data/yad.1 2017-04-26 15:14:19.000000000 +0000 @@ -1,4 +1,4 @@ -.TH YAD 1 "May 22, 2016" +.TH YAD 1 "February 8, 2017" .SH NAME yad \- display GTK+ dialogs in shell scripts @@ -104,13 +104,12 @@ Style of indicator may be set through the gtkrc file. See \fIhttp://code.google.com/p/yad/wiki/TimeoutIndicator\fP for details. .TP -.B \-\-parent-win=\fIXID\fP -Specify a parent window for the dialog. This makes \fIYAD\fP possible to use as embedded GUI tool. -.TP -.B \-\-kill-parent\fI[=SIGNAL]\fP +.B \-\-kill-parent=\fI[SIGNAL]\fP Send SIGNAL to parent process. Default value of SIGNAL is a SIGTERM. SIGNAL may be specified by it's number or symbolic name with or without SIG prefix. See signal(7) for details about signals. +.TP \-\-print-xid=\fI[FILENAME]\fP +Output X Window ID of a yad's window to the specified file or stderr. .TP .B \-\-plug=\fIKEY\fP Run dialog in plug mode for swallow as a notebook tab. See \fINOTEBOOK\fP section for more. @@ -134,7 +133,7 @@ .B \-\-icon-theme=\fITHEME\fP Use specified GTK icon theme instead of default. .TP -.B \-\-expander=\fITEXT\fP +.B \-\-expander=\fI[TEXT]\fP Hide main widget with expander. \fITEXT\fP is an optional argument with expander's label. .TP .B \-\-button=\fIBUTTON:ID\fP @@ -230,7 +229,7 @@ Enable spell checking in textview widgets .TP .B \-\-spell-lang=\fILANGUAGE\fP -Set spell checking language to \fILANGUAGE\fP. By default language guesses from current locale. +Set spell checking language to \fILANGUAGE\fP. By default language guesses from current locale. Use option \fI\-\-show-langs\fP for get list of all possible languages. .SS Calendar options .TP @@ -273,7 +272,7 @@ .B \-\-alpha Add opacity to output color string. .TP -.B \-\-palette\fI[=FILENAME]\fP +.B \-\-palette=\fI[FILENAME]\fP Show palette and set predefined colors from given filename. By default used \fI/etc/X11/rgb.txt\fP. .TP @@ -393,7 +392,7 @@ .B \-\-separator=\fISTRING\fP Specify separator character when returning multiple filenames. .TP -.B \-\-confirm\-overwrite\fI[=TEXT]\fP +.B \-\-confirm\-overwrite=\fI[TEXT]\fP Confirm file selection if filename already exists. Optional argument is a text for confirmation dialog. .TP @@ -526,6 +525,15 @@ .TP .B \-\-encodintg=\fIENCODING\fP Set encoding of data passed to standard input to \fIENCODING\fP. Default is \fIUTF-8\fP. +.TP +.B \-\-uri-handler=\fICMD\fP +Set external handler for clicked uri. \fI%s\fP will be replaced by activated uri. Return code of the \fICMD\fP must be \fI0\fP for keep working, \fI1\fP for ignoring uri and \fI2\fP for downloading uri. This option works only in browser mode. There are two environment variables available in handler - \fIYAD_HTML_BUTTON\fP with value of pressed mouse button and \fIYAD_HTML_STATE\fP with value of bitmask with the the state of the modifier keys. +.TP +.B \-\-user-agent=\fISTRING\fP +Set user agent string. Default is \fIYAD-Webkit (@VERSION@)\fP +.TP +.B \-\-user-style=\fIURI\fP +Set path or uri to custom user styles. Path to local file can be an absolute file name or uri with \fIfile://\fP prefix. .SS List options .TP @@ -642,6 +650,12 @@ .B \-\-float-precision=\fINUMBER\fP Set precision of floating point numbers. By default precision is three digits after point. .TP +.B \-\-add-on-top +Add new records at the top of the list. +.TP +.B \-\-tail +Autoscroll to the end of the list when a new row will be added. +.TP Sending FormFeed character to list clears it. This symbol may be sent as \fIecho \-e '\\f'\fP. .SS Multi progress bars dialog options @@ -682,6 +696,9 @@ .TP .B \-\-tab-borders=\fINUMBER\fP Set the borders width around widget in tabs. +.TP +.B \-\-active-tab=\fINUMBER\fP +Set active tab. .PP See \fBNOTEBOOK and PANED\fP section for more about notebook dialog. @@ -849,6 +866,9 @@ .B \-\-lang=LANGUAGE Highlight syntax for specified \fILANGUAGE\fP. This option works only if yad builds with gtksourceview. .TP +.B \-\-theme=THEME +Set used theme to \fITHEME\fP. This option works only if yad builds with gtksourceview. Use option \fI\-\-show-themes\fP for get list of all available themes. +.TP .B \-\-listen Listen data from stdin even if filename was specified. @@ -920,6 +940,12 @@ .TP .B \-\-version Show version of program. +.TP +.B \-\-show-langs +Show list of possible languages for spell checking. Available only if yad builds with \fIGtkSpell\fP support. +.TP +.B \-\-show-themes +Show list of possible GtkSourceView themes. Available only if yad builds with \fIGtkSourceView\fP support. .PP Also the standard GTK+ options are accepted. diff -Nru yad-0.38.2/debian/changelog yad-0.39.0/debian/changelog --- yad-0.38.2/debian/changelog 2017-01-25 15:38:22.000000000 +0000 +++ yad-0.39.0/debian/changelog 2017-06-13 10:54:58.000000000 +0000 @@ -1,3 +1,9 @@ +yad (0.39.0-1~webupd8~zesty0) zesty; urgency=medium + + * New upstream release + + -- Alin Andrei Tue, 13 Jun 2017 13:52:49 +0200 + yad (0.38.2-1~webupd8~zesty0) zesty; urgency=medium * New upstream release diff -Nru yad-0.38.2/Makefile.in yad-0.39.0/Makefile.in --- yad-0.38.2/Makefile.in 2017-01-23 18:38:27.000000000 +0000 +++ yad-0.39.0/Makefile.in 2017-04-27 07:13:17.000000000 +0000 @@ -256,6 +256,7 @@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ diff -Nru yad-0.38.2/NEWS yad-0.39.0/NEWS --- yad-0.38.2/NEWS 2017-01-23 18:37:51.000000000 +0000 +++ yad-0.39.0/NEWS 2017-04-27 07:13:10.000000000 +0000 @@ -1,3 +1,12 @@ +Version 0.39.0 + - add --active-tab to notebook widget + - place value position of scale form field to the left + - add --uri-handler option to html dialog + - add --theme option to text-info dialog (works with GtkSourceView) + - add --user-agent and --user-style options to html dialog + - remove --parent-win option + - add --add-on-top and --tail options to list dialog + Version 0.38.2 - fix enter behavior diff -Nru yad-0.38.2/po/ru.po yad-0.39.0/po/ru.po --- yad-0.38.2/po/ru.po 2016-12-26 04:44:39.000000000 +0000 +++ yad-0.39.0/po/ru.po 2017-04-26 15:14:46.000000000 +0000 @@ -1,13 +1,13 @@ # Russian translation for YAD # This file is distributed under the same license as the YAD package. # -# Victor Ananjevsky , 2009-2016. +# Victor Ananjevsky , 2009-2017. # msgid "" msgstr "" "Project-Id-Version: YAD\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-26 06:44+0200\n" +"POT-Creation-Date: 2017-04-26 18:14+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n" "Last-Translator: Victor Ananjevsky \n" "Language-Team: \n" @@ -121,15 +121,15 @@ msgid "Select folder" msgstr "Выбор каталога" -#: ../src/html.c:124 +#: ../src/html.c:160 msgid "YAD - Select File" msgstr "YAD - Выбор файла" -#: ../src/html.c:156 +#: ../src/html.c:192 msgid "Open URI" msgstr "Открыть URI" -#: ../src/html.c:164 +#: ../src/html.c:200 msgid "Enter URI or file name:" msgstr "Введите URI или имя файла:" @@ -143,17 +143,17 @@ msgid "Unable to open directory %s: %s\n" msgstr "Не могу открыть каталог %s: %s\n" -#: ../src/main.c:128 ../src/main.c:489 +#: ../src/main.c:130 ../src/main.c:481 #, c-format msgid "%d sec" msgstr "%d сек" -#: ../src/main.c:789 ../src/main.c:796 +#: ../src/main.c:795 ../src/main.c:802 #, c-format msgid "Unable to parse YAD_OPTIONS: %s\n" msgstr "Не могу разобрать YAD_OPTIONS: %s\n" -#: ../src/main.c:807 +#: ../src/main.c:813 #, c-format msgid "Unable to parse command line: %s\n" msgstr "Не удается разобрать командную строку: %s\n" @@ -163,633 +163,654 @@ msgid "Could not load notification icon '%s': %s\n" msgstr "Не удается загрузить иконку '%s': %s\n" -#: ../src/notification.c:301 +#: ../src/notification.c:293 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Неверная последовательность UTF-8 в подсказке!\n" -#: ../src/notification.c:345 +#: ../src/notification.c:337 #, c-format msgid "Unknown command '%s'\n" msgstr "Неизвестная команда '%s'\n" -#: ../src/notification.c:380 +#: ../src/notification.c:371 msgid "Yad notification" msgstr "Диалог уведомлений" -#: ../src/list.c:853 +#: ../src/list.c:872 msgid "Add row" msgstr "Добавить строку" -#: ../src/list.c:860 +#: ../src/list.c:879 msgid "Delete row" msgstr "Удалить строку" -#: ../src/list.c:867 +#: ../src/list.c:886 msgid "Duplicate row" msgstr "Скопировать строку" -#: ../src/list.c:1012 +#: ../src/list.c:1031 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Не заданы заголовоки колонок для диалога со списком\n" -#: ../src/option.c:82 +#: ../src/option.c:89 msgid "Set the dialog title" msgstr "Задать заголовок диалога" -#: ../src/option.c:82 +#: ../src/option.c:89 msgid "TITLE" msgstr "ЗАГОЛОВОК" -#: ../src/option.c:84 +#: ../src/option.c:91 msgid "Set the window icon" msgstr "Задать значок диалога" -#: ../src/option.c:84 +#: ../src/option.c:91 msgid "ICONPATH" msgstr "ЗНАЧОК" -#: ../src/option.c:86 +#: ../src/option.c:93 msgid "Set the window width" msgstr "Задать ширину окна" -#: ../src/option.c:86 +#: ../src/option.c:93 msgid "WIDTH" msgstr "ШИРИНА" -#: ../src/option.c:88 +#: ../src/option.c:95 msgid "Set the window height" msgstr "Задать высоту окна" -#: ../src/option.c:88 +#: ../src/option.c:95 msgid "HEIGHT" msgstr "ВЫСОТА" -#: ../src/option.c:90 +#: ../src/option.c:97 msgid "Set the X position of a window" msgstr "Задать позицию окна по X" -#: ../src/option.c:90 ../src/option.c:92 ../src/option.c:122 -#: ../src/option.c:126 ../src/option.c:157 ../src/option.c:173 -#: ../src/option.c:317 ../src/option.c:323 ../src/option.c:396 -#: ../src/option.c:404 ../src/option.c:406 ../src/option.c:408 -#: ../src/option.c:410 ../src/option.c:412 ../src/option.c:414 -#: ../src/option.c:418 ../src/option.c:438 ../src/option.c:459 -#: ../src/option.c:491 +#: ../src/option.c:97 ../src/option.c:99 ../src/option.c:129 +#: ../src/option.c:133 ../src/option.c:164 ../src/option.c:178 +#: ../src/option.c:324 ../src/option.c:330 ../src/option.c:409 +#: ../src/option.c:417 ../src/option.c:419 ../src/option.c:421 +#: ../src/option.c:423 ../src/option.c:425 ../src/option.c:427 +#: ../src/option.c:431 ../src/option.c:453 ../src/option.c:474 +#: ../src/option.c:476 ../src/option.c:508 msgid "NUMBER" msgstr "ЧИСЛО" -#: ../src/option.c:92 +#: ../src/option.c:99 msgid "Set the Y position of a window" msgstr "Задать позицию окна по Y" -#: ../src/option.c:94 +#: ../src/option.c:101 msgid "Set the window geometry" msgstr "Задать геометрию окна" -#: ../src/option.c:94 +#: ../src/option.c:101 msgid "WxH+X+Y" msgstr "ВxШ+X+Y" -#: ../src/option.c:96 +#: ../src/option.c:103 msgid "Set dialog timeout in seconds" msgstr "Задать время работы диалога в секундах" -#: ../src/option.c:96 +#: ../src/option.c:103 msgid "TIMEOUT" msgstr "ЗАДЕРЖКА" -#: ../src/option.c:98 +#: ../src/option.c:105 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "Показать индикатор задержки (top, bottom, left, right)" -#: ../src/option.c:98 ../src/option.c:481 +#: ../src/option.c:105 ../src/option.c:498 msgid "POS" msgstr "ПОЗИЦИЯ" -#: ../src/option.c:100 +#: ../src/option.c:107 msgid "Set the dialog text" msgstr "Задать текст диалога" -#: ../src/option.c:100 ../src/option.c:110 ../src/option.c:263 -#: ../src/option.c:265 ../src/option.c:267 ../src/option.c:303 -#: ../src/option.c:416 ../src/option.c:509 ../src/option.c:524 +#: ../src/option.c:107 ../src/option.c:270 ../src/option.c:272 +#: ../src/option.c:274 ../src/option.c:310 ../src/option.c:429 +#: ../src/option.c:526 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:102 +#: ../src/option.c:109 msgid "Set the dialog text alignment (left, center, right, fill)" msgstr "Задать выравнивание текста диалога (left, center, right, fill)" -#: ../src/option.c:102 ../src/option.c:116 ../src/option.c:203 -#: ../src/option.c:315 ../src/option.c:340 ../src/option.c:390 -#: ../src/option.c:400 ../src/option.c:440 ../src/option.c:457 -#: ../src/option.c:479 ../src/option.c:489 ../src/option.c:499 -#: ../src/option.c:570 ../src/option.c:610 ../src/option.c:612 +#: ../src/option.c:109 ../src/option.c:123 ../src/option.c:210 +#: ../src/option.c:322 ../src/option.c:347 ../src/option.c:403 +#: ../src/option.c:413 ../src/option.c:455 ../src/option.c:472 +#: ../src/option.c:496 ../src/option.c:506 ../src/option.c:516 +#: ../src/option.c:587 ../src/option.c:635 ../src/option.c:637 msgid "TYPE" msgstr "ТИП" -#: ../src/option.c:104 +#: ../src/option.c:111 msgid "Set the dialog image" msgstr "Задать картинку диалога" -#: ../src/option.c:104 ../src/option.c:273 ../src/option.c:277 +#: ../src/option.c:111 ../src/option.c:280 ../src/option.c:284 msgid "IMAGE" msgstr "КАРТИНКА" -#: ../src/option.c:106 +#: ../src/option.c:113 msgid "Show image above main widget" msgstr "Показывать картинку над основным виджетом" -#: ../src/option.c:108 +#: ../src/option.c:115 msgid "Use specified icon theme instead of default" msgstr "Использовать указанную тему иконок" -#: ../src/option.c:108 +#: ../src/option.c:115 ../src/option.c:604 msgid "THEME" msgstr "ТЕМА" -#: ../src/option.c:110 +#: ../src/option.c:117 msgid "Hide main widget with expander" msgstr "Спрятать основной виджет" -#: ../src/option.c:112 +#: ../src/option.c:117 ../src/option.c:300 ../src/option.c:541 +msgid "[TEXT]" +msgstr "[ТЕКСТ]" + +#: ../src/option.c:119 msgid "Add dialog button (may be used multiple times)" msgstr "Добавить кнопку (может использоваться несколько раз)" -#: ../src/option.c:112 +#: ../src/option.c:119 msgid "NAME:ID" msgstr "ИМЯ:ID" -#: ../src/option.c:114 +#: ../src/option.c:121 msgid "Don't show buttons" msgstr "Не показывать кнопки" -#: ../src/option.c:116 +#: ../src/option.c:123 msgid "Set buttons layout type (spread, edge, start, end or center)" msgstr "Задать тип размещения кнопок (spread, edge, start, end или center)" -#: ../src/option.c:118 +#: ../src/option.c:125 msgid "Don't use pango markup language in dialog's text" msgstr "Не использовать разметку pango в тексте" -#: ../src/option.c:120 +#: ../src/option.c:127 msgid "Don't close dialog if Escape was pressed" msgstr "Не закрывать диалог при нажатии Escape" -#: ../src/option.c:122 +#: ../src/option.c:129 msgid "Set window borders" msgstr "Установить границы окна" -#: ../src/option.c:124 +#: ../src/option.c:131 msgid "Always print result" msgstr "Всегда выводить результат" -#: ../src/option.c:126 +#: ../src/option.c:133 msgid "Set default response for Ctrl+Enter" msgstr "Задать значение ответа для Ctrl+Enter" -#: ../src/option.c:128 +#: ../src/option.c:135 msgid "Dialog text can be selected" msgstr "Текст диалога может быть выделен" -#: ../src/option.c:131 +#: ../src/option.c:138 msgid "Set window sticky" msgstr "Окно видимо на всех рабочих столах" -#: ../src/option.c:133 +#: ../src/option.c:140 msgid "Set window unresizable" msgstr "Неизменяемый размер" -#: ../src/option.c:135 +#: ../src/option.c:142 msgid "Place window on top" msgstr "Разместить окно поверх остальных" -#: ../src/option.c:137 +#: ../src/option.c:144 msgid "Place window on center of screen" msgstr "Разместить окно в центре экрана" -#: ../src/option.c:139 +#: ../src/option.c:146 msgid "Place window at the mouse position" msgstr "Разместить окно под указателем мыши" -#: ../src/option.c:141 +#: ../src/option.c:148 msgid "Set window undecorated" msgstr "Убрать обрамление" -#: ../src/option.c:143 +#: ../src/option.c:150 msgid "Don't show window in taskbar" msgstr "Не показывать окно в панели задач" -#: ../src/option.c:145 +#: ../src/option.c:152 msgid "Set window maximized" msgstr "Задать окну максимальный размер" -#: ../src/option.c:147 +#: ../src/option.c:154 msgid "Set window fullscreen" msgstr "Развернуть окно на весь экран" -#: ../src/option.c:149 +#: ../src/option.c:156 msgid "Don't focus dialog window" msgstr "Не давать фокус окну диалога" -#: ../src/option.c:151 +#: ../src/option.c:158 msgid "Close window when it sets unfocused" msgstr "Закрыть окно при потере фокуса" -#: ../src/option.c:153 +#: ../src/option.c:160 msgid "Open window as a splashscreen" msgstr "Открыть окно в режиме splashscreen" -#: ../src/option.c:155 +#: ../src/option.c:162 msgid "Special type of dialog for XEMBED" msgstr "Специальный режим диалога для встраивания" -#: ../src/option.c:155 ../src/option.c:201 +#: ../src/option.c:162 ../src/option.c:208 msgid "KEY" msgstr "КЛЮЧ" -#: ../src/option.c:157 +#: ../src/option.c:164 msgid "Tab number of this dialog" msgstr "Номер вкладки для этого диалога" -#: ../src/option.c:160 -msgid "XID of parent window" -msgstr "Идентификатор родительсткого окна" - -#: ../src/option.c:162 +#: ../src/option.c:167 msgid "Send SIGNAL to parent" msgstr "Послать СИГНАЛ родителю" -#: ../src/option.c:162 -msgid "SIGNAL" -msgstr "СИГНАЛ" +#: ../src/option.c:167 +msgid "[SIGNAL]" +msgstr "[СИГНАЛ]" + +#: ../src/option.c:169 +msgid "Print X Window Id to the file/stderr" +msgstr "Вывести идентификатор окна в файл/stderr" + +#: ../src/option.c:169 ../src/option.c:246 +msgid "[FILENAME]" +msgstr "[ИМЯ_ФАЙЛА]" -#: ../src/option.c:164 -msgid "Print X Window Id to the stderr" -msgstr "Вывести идентификатор окна на stderr" - -#: ../src/option.c:171 +#: ../src/option.c:176 msgid "Set the format for the returned date" msgstr "Задать формат возвращаемой даты" -#: ../src/option.c:171 ../src/option.c:360 +#: ../src/option.c:176 ../src/option.c:373 msgid "PATTERN" msgstr "ШАБЛОН" -#: ../src/option.c:173 +#: ../src/option.c:178 msgid "Set presicion of floating numbers (default - 3)" -msgstr "Задать точность чисел с плавающей точкой (по-умолчанию - 3)" +msgstr "Задать точность чисел с плавающей точкой (по умолчанию - 3)" -#: ../src/option.c:175 +#: ../src/option.c:180 msgid "Set command handler" msgstr "Задать команду-обработчик" -#: ../src/option.c:175 ../src/option.c:275 ../src/option.c:279 -#: ../src/option.c:420 ../src/option.c:422 ../src/option.c:424 +#: ../src/option.c:180 ../src/option.c:282 ../src/option.c:286 +#: ../src/option.c:351 ../src/option.c:433 ../src/option.c:435 +#: ../src/option.c:437 msgid "CMD" msgstr "КОМАНДА" -#: ../src/option.c:177 +#: ../src/option.c:182 msgid "Listen for data on stdin" msgstr "Получать данные со стандартного ввода" -#: ../src/option.c:179 +#: ../src/option.c:184 msgid "Set common separator character" msgstr "Установить общий разделяющий символ" -#: ../src/option.c:179 ../src/option.c:181 +#: ../src/option.c:184 ../src/option.c:186 msgid "SEPARATOR" msgstr "РАЗДЕЛИТЕЛЬ" -#: ../src/option.c:181 +#: ../src/option.c:186 msgid "Set item separator character" msgstr "Установить разделяющий символ для элементов" -#: ../src/option.c:183 +#: ../src/option.c:188 msgid "Allow changes to text in some cases" msgstr "Разрешить изменять текст в определенных случаях" -#: ../src/option.c:185 +#: ../src/option.c:190 +msgid "Autoscroll to end of text" +msgstr "Автопрокрутка в конец текста" + +#: ../src/option.c:192 msgid "Quote dialogs output" msgstr "Вывод значений в кавычках" -#: ../src/option.c:187 +#: ../src/option.c:194 msgid "Output number instead of text for combo-box" msgstr "Выводить номер вместо текста для списка значений" -#: ../src/option.c:189 +#: ../src/option.c:196 msgid "Specify font name to use" msgstr "Указать имя используемого шрифта" -#: ../src/option.c:189 +#: ../src/option.c:196 msgid "FONTNAME" msgstr "ШРИФТ" -#: ../src/option.c:191 +#: ../src/option.c:198 msgid "Allow multiple selection" msgstr "Разрешить множественный выбор" -#: ../src/option.c:193 +#: ../src/option.c:200 msgid "Enable preview" msgstr "Добавить предпросмотр" -#: ../src/option.c:195 +#: ../src/option.c:202 msgid "Show hidden files in file selection dialogs" msgstr "Показывать скрытые файлы в диалоге выбора файла" -#: ../src/option.c:197 +#: ../src/option.c:204 msgid "Set source filename" msgstr "Имя исходного файла" -#: ../src/option.c:197 ../src/option.c:223 ../src/option.c:239 -#: ../src/option.c:608 ../src/option.c:620 +#: ../src/option.c:204 ../src/option.c:230 ../src/option.c:633 +#: ../src/option.c:645 msgid "FILENAME" msgstr "ИМЯ_ФАЙЛА" -#: ../src/option.c:199 +#: ../src/option.c:206 msgid "Set vertical orientation" msgstr "Использовать вертикальное расположение" -#: ../src/option.c:201 +#: ../src/option.c:208 msgid "Identifier of embedded dialogs" msgstr "Идентификатор встраиваемых диалогов" -#: ../src/option.c:203 +#: ../src/option.c:210 msgid "Set extended completion for entries (any, all, or regex)" msgstr "Задать расширенное дополнение для текстовых полей (any, all или regex)" -#: ../src/option.c:206 +#: ../src/option.c:213 msgid "Enable spell check for text" msgstr "Разрешить проверку орфографии" -#: ../src/option.c:208 +#: ../src/option.c:215 msgid "Set spell checking language" msgstr "Установить язык проверки орфографии" -#: ../src/option.c:208 +#: ../src/option.c:215 msgid "LANGUAGE" msgstr "ЯЗЫК" -#: ../src/option.c:215 +#: ../src/option.c:222 msgid "Display calendar dialog" msgstr "Отобразить диалог для выбора даты" -#: ../src/option.c:217 +#: ../src/option.c:224 msgid "Set the calendar day" msgstr "Задать день календаря" -#: ../src/option.c:217 +#: ../src/option.c:224 msgid "DAY" msgstr "ДЕНЬ" -#: ../src/option.c:219 +#: ../src/option.c:226 msgid "Set the calendar month" msgstr "Задать месяц календаря" -#: ../src/option.c:219 +#: ../src/option.c:226 msgid "MONTH" msgstr "МЕСЯЦ" -#: ../src/option.c:221 +#: ../src/option.c:228 msgid "Set the calendar year" msgstr "Задать год календаря" -#: ../src/option.c:221 +#: ../src/option.c:228 msgid "YEAR" msgstr "ГОД" -#: ../src/option.c:223 +#: ../src/option.c:230 msgid "Set the filename with dates details" msgstr "Задать имя файла с описанием дат" -#: ../src/option.c:225 +#: ../src/option.c:232 msgid "Show week numbers at the left side of calendar" msgstr "Показывать нумерацию недель слева" -#: ../src/option.c:231 +#: ../src/option.c:238 msgid "Display color selection dialog" msgstr "Отобразить диалог для выбора цвета" -#: ../src/option.c:233 +#: ../src/option.c:240 msgid "Alias for --color" msgstr "Синоним для --color" -#: ../src/option.c:235 +#: ../src/option.c:242 msgid "Set initial color value" msgstr "Задать начальное значение цвета" -#: ../src/option.c:235 ../src/option.c:564 ../src/option.c:566 -#: ../src/option.c:580 +#: ../src/option.c:242 ../src/option.c:581 ../src/option.c:583 +#: ../src/option.c:595 msgid "COLOR" msgstr "ЦВЕТ" -#: ../src/option.c:237 +#: ../src/option.c:244 msgid "Show system palette in color dialog" msgstr "Показывать системную палитру" -#: ../src/option.c:239 +#: ../src/option.c:246 msgid "Set path to palette file. Default - " -msgstr "Задать путь к файлу цветов. По-умолчанию - " +msgstr "Задать путь к файлу цветов. По умолчанию - " -#: ../src/option.c:241 +#: ../src/option.c:248 msgid "Expand user palette" msgstr "Раскрывать пользовательскую палитру" -#: ../src/option.c:243 +#: ../src/option.c:250 msgid "Set output mode to MODE. Values are hex (default) or rgb" msgstr "Установить режим вывода в РЕЖИМ. Значения - hex (по-умолчанию) или rgb" -#: ../src/option.c:243 +#: ../src/option.c:250 msgid "MODE" msgstr "РЕЖИМ" -#: ../src/option.c:245 +#: ../src/option.c:252 msgid "Use #rrrrggggbbbb format instead of #rrggbb" msgstr "Использовать формат #rrrrggggbbbb вместо #rrggbb" -#: ../src/option.c:247 +#: ../src/option.c:254 msgid "Add opacity to output color value" msgstr "Добавить прозрачность к значению цвета" -#: ../src/option.c:253 +#: ../src/option.c:260 msgid "Display drag-n-drop box" msgstr "Отобразить диалог для перехвата dnd" -#: ../src/option.c:255 +#: ../src/option.c:262 msgid "Use dialog text as tooltip" msgstr "Использовать текст диалога в качестве подсказки" -#: ../src/option.c:261 +#: ../src/option.c:268 msgid "Display text entry or combo-box dialog" msgstr "Отобразить диалог для ввода текста или выбора варианта" -#: ../src/option.c:263 +#: ../src/option.c:270 msgid "Set the entry label" msgstr "Задать метку поля ввода" -#: ../src/option.c:265 +#: ../src/option.c:272 msgid "Set the entry text" msgstr "Задать текст по умолчанию для ввода" -#: ../src/option.c:267 +#: ../src/option.c:274 msgid "Hide the entry text" msgstr "Прятать введенный текст (Пароль)" -#: ../src/option.c:269 +#: ../src/option.c:276 msgid "Use completion instead of combo-box" msgstr "Использовать автодополнение вместо списка значений" -#: ../src/option.c:271 +#: ../src/option.c:278 msgid "Use spin button for text entry" msgstr "Использовать числовое поле вместо текста" -#: ../src/option.c:273 +#: ../src/option.c:280 msgid "Set the left entry icon" msgstr "Задать левый значок" -#: ../src/option.c:275 +#: ../src/option.c:282 msgid "Set the left entry icon action" msgstr "Действие для левого значка" -#: ../src/option.c:277 +#: ../src/option.c:284 msgid "Set the right entry icon" msgstr "Задать правый значок" -#: ../src/option.c:279 +#: ../src/option.c:286 msgid "Set the right entry icon action" msgstr "Действие для правого значка" -#: ../src/option.c:285 +#: ../src/option.c:292 msgid "Display file selection dialog" msgstr "Отобразить диалог для выбора файла" -#: ../src/option.c:287 +#: ../src/option.c:294 msgid "Alias for --file" msgstr "Синоним для --file" -#: ../src/option.c:289 +#: ../src/option.c:296 msgid "Activate directory-only selection" msgstr "Активировать выделение только по каталогам" -#: ../src/option.c:291 +#: ../src/option.c:298 msgid "Activate save mode" msgstr "Активировать режим сохранения" -#: ../src/option.c:293 +#: ../src/option.c:300 msgid "Confirm file selection if filename already exists" msgstr "Подтверждать выбор файла, если файл уже существует" -#: ../src/option.c:293 -msgid "[TEXT]" -msgstr "[ТЕКСТ]" - -#: ../src/option.c:299 +#: ../src/option.c:306 msgid "Display font selection dialog" msgstr "Отобразить диалог для выбора шрифта" -#: ../src/option.c:301 +#: ../src/option.c:308 msgid "Alias for --font" msgstr "Синоним для --font" -#: ../src/option.c:303 +#: ../src/option.c:310 msgid "Set text string for preview" msgstr "Задать текст для предпросмотра" -#: ../src/option.c:305 +#: ../src/option.c:312 msgid "Separate output of font description" msgstr "Раздельный вывод для описания шрифта" -#: ../src/option.c:311 +#: ../src/option.c:318 msgid "Display form dialog" msgstr "Отобразить диалог формы ввода" -#: ../src/option.c:313 +#: ../src/option.c:320 msgid "Add field to form (see man page for list of possible types)" msgstr "Добавить поле к форме (список типов указан в странице руководства)" -#: ../src/option.c:313 ../src/option.c:436 +#: ../src/option.c:320 ../src/option.c:451 msgid "LABEL[:TYPE]" msgstr "МЕТКА[:ТИП]" -#: ../src/option.c:315 +#: ../src/option.c:322 msgid "Set alignment of filed labels (left, center or right)" msgstr "Задать выравнивание меток полей (left, center или right)" -#: ../src/option.c:317 +#: ../src/option.c:324 msgid "Set number of columns in form" msgstr "Задать количество колонок в форме" -#: ../src/option.c:319 +#: ../src/option.c:326 msgid "Make form scrollable" msgstr "Сделать форму прокручиваемой" -#: ../src/option.c:321 +#: ../src/option.c:328 msgid "Order output fields by rows" msgstr "Упорядочить вывод по строкам" -#: ../src/option.c:323 +#: ../src/option.c:330 msgid "Set focused field" msgstr "Задать поле, получающее фокус" -#: ../src/option.c:325 +#: ../src/option.c:332 msgid "Cycled reading of stdin data" msgstr "Циклическое чтение со стандартного ввода" -#: ../src/option.c:332 +#: ../src/option.c:339 msgid "Display HTML dialog" msgstr "Отобразить HTML диалог" -#: ../src/option.c:334 +#: ../src/option.c:341 msgid "Open specified location" msgstr "Открыть указанный адрес" -#: ../src/option.c:336 +#: ../src/option.c:343 msgid "Turn on browser mode" msgstr "Включить режим браузера" -#: ../src/option.c:338 +#: ../src/option.c:345 msgid "Print clicked uri to stdout" msgstr "Печатать ссылки по щелчку" -#: ../src/option.c:340 +#: ../src/option.c:347 msgid "Set mime type of input stream data" msgstr "Задать тип mime для входных данных" -#: ../src/option.c:342 +#: ../src/option.c:349 msgid "Set encoding of input stream data" msgstr "Задать кодировку для входных данных" -#: ../src/option.c:342 +#: ../src/option.c:349 msgid "ENCODING" msgstr "КОДИРОВКА" -#: ../src/option.c:349 +#: ../src/option.c:351 +msgid "Set external handler for clicked uri" +msgstr "Задать внешний обработчик для выбираемых ссылок" + +#: ../src/option.c:353 +msgid "Set user agent string" +msgstr "Задать строку агента" + +#: ../src/option.c:353 ../src/option.c:484 +msgid "STRING" +msgstr "СТРОКА" + +#: ../src/option.c:355 +msgid "Set path or uri to user styles" +msgstr "Задать путь или адрес пользовательских стилей" + +#: ../src/option.c:362 msgid "Display icons box dialog" msgstr "Отобразить диалог со значками быстрого доступа" -#: ../src/option.c:351 +#: ../src/option.c:364 msgid "Read data from .desktop files in specified directory" msgstr "Читать данные из .desktop файлов в определенном каталоге" -#: ../src/option.c:351 +#: ../src/option.c:364 msgid "DIR" msgstr "КАТАЛОГ" -#: ../src/option.c:353 +#: ../src/option.c:366 msgid "Use compact (list) view" msgstr "Использовать компактный вид (список)" -#: ../src/option.c:355 +#: ../src/option.c:368 msgid "Use GenericName field instead of Name for icon label" msgstr "Использовать поле GenericName вместо Name для метки" -#: ../src/option.c:357 +#: ../src/option.c:370 msgid "Set the width of dialog items" msgstr "Задать ширину элемента диалога" -#: ../src/option.c:360 +#: ../src/option.c:373 #, no-c-format msgid "" "Use specified pattern for launch command in terminal (default: xterm -e %s)" @@ -797,753 +818,765 @@ "Использовать указанный шаблон для запуска в терминале (по умолчанию: xterm -" "e %s)" -#: ../src/option.c:362 +#: ../src/option.c:375 msgid "Sort items by name instead of filename" msgstr "Сортировать по полю Имя вместо имени файла" -#: ../src/option.c:364 +#: ../src/option.c:377 msgid "Sort items in descending order" msgstr "Сортировать в убывающем порядке" -#: ../src/option.c:366 +#: ../src/option.c:379 msgid "Activate items by single click" msgstr "Активировать элемент одинарным щелчком" -#: ../src/option.c:369 +#: ../src/option.c:382 msgid "Watch fot changes in directory" msgstr "Отслеживать изменения в каталоге" -#: ../src/option.c:376 +#: ../src/option.c:389 msgid "Display list dialog" msgstr "Отобразить диалог со списком" -#: ../src/option.c:378 +#: ../src/option.c:391 msgid "Set the column header (see man page for list of possible types)" msgstr "Задать заголовок колонки (список типов указан в странице руководства)" -#: ../src/option.c:378 +#: ../src/option.c:391 msgid "COLUMN[:TYPE]" msgstr "СТОЛБЕЦ[:ТИП]" -#: ../src/option.c:380 +#: ../src/option.c:393 msgid "Use checkboxes for first column" msgstr "Использовать флажки для первой колонки" -#: ../src/option.c:382 +#: ../src/option.c:395 msgid "Use radioboxes for first column" msgstr "Использовать переключатель для первой колонки" -#: ../src/option.c:384 +#: ../src/option.c:397 msgid "Don't show column headers" msgstr "Не показывать заголовки колонок" -#: ../src/option.c:386 +#: ../src/option.c:399 msgid "Disable clickable column headers" msgstr "Запретить нажимаемые заголовки" -#: ../src/option.c:388 +#: ../src/option.c:401 msgid "Disable rules hints" msgstr "Запретить раскраску строк" -#: ../src/option.c:390 +#: ../src/option.c:403 msgid "Set grid lines (hor[izontal], vert[ical] or both)" msgstr "Задать разделительные линиии (hor[izontal], vert[ical] или both)" -#: ../src/option.c:392 +#: ../src/option.c:405 msgid "Print all data from list" msgstr "Печатать таблицу полностью" -#: ../src/option.c:394 +#: ../src/option.c:407 msgid "Set the list of editable columns" msgstr "Задать список редактируемых колонок" -#: ../src/option.c:394 ../src/option.c:398 ../src/option.c:402 +#: ../src/option.c:407 ../src/option.c:411 ../src/option.c:415 msgid "LIST" msgstr "СПИСОК" -#: ../src/option.c:396 +#: ../src/option.c:409 msgid "Set the width of a column for start wrapping text" msgstr "Задать ширину колонки для переноса" -#: ../src/option.c:398 +#: ../src/option.c:411 msgid "Set the list of wrapped columns" msgstr "Задать список колонок для переноса" -#: ../src/option.c:400 +#: ../src/option.c:413 msgid "Set ellipsize mode for text columns (none, start, middle or end)" msgstr "" "Задать тип усечсения для текстовых колонок (none, start, middle или end)" -#: ../src/option.c:402 +#: ../src/option.c:415 msgid "Set the list of ellipsized columns" msgstr "Задать список колонок для усечения" -#: ../src/option.c:404 +#: ../src/option.c:417 msgid "" "Print a specific column. By default or if 0 is specified will be printed all " "columns" msgstr "" -"Распечатать только определённую колонку. По-умолчанию или если колонка равна " +"Распечатать только определённую колонку. По умолчанию или если колонка равна " "0, будут распечатаны все колонки" -#: ../src/option.c:406 +#: ../src/option.c:419 msgid "Hide a specific column" msgstr "Скрыть указанную колонку" -#: ../src/option.c:408 +#: ../src/option.c:421 msgid "Set the column expandable by default. 0 sets all columns expandable" msgstr "" -"Задать колонку, расширяемую по-умолчанию. 0 устанавливает расширяемыми все " +"Задать колонку, расширяемую по умолчанию. 0 устанавливает расширяемыми все " "колонки" -#: ../src/option.c:410 +#: ../src/option.c:423 msgid "" "Set the quick search column. Default is first column. Set it to 0 for " "disable searching" -msgstr "Задать колонку поиска. По-умолчанию первая. 0 запрещает поиск" +msgstr "Задать колонку поиска. По умолчанию первая. 0 запрещает поиск" -#: ../src/option.c:412 +#: ../src/option.c:425 msgid "Set the tooltip column" msgstr "Задать колонку всплывающих подсказок" -#: ../src/option.c:414 +#: ../src/option.c:427 msgid "Set the row separator column" msgstr "Задать колонку разделителя строк" -#: ../src/option.c:416 +#: ../src/option.c:429 msgid "Set the row separator value" msgstr "Задать значение разделителя строк" -#: ../src/option.c:418 +#: ../src/option.c:431 msgid "Set the limit of rows in list" msgstr "Задать количество строк в списке" -#: ../src/option.c:420 +#: ../src/option.c:433 msgid "Set double-click action" msgstr "Действие по двойному щелчку мыши" -#: ../src/option.c:422 +#: ../src/option.c:435 msgid "Set select action" msgstr "Действие при выделении строки" -#: ../src/option.c:424 +#: ../src/option.c:437 msgid "Set add action" msgstr "Действие при добавлении строки" -#: ../src/option.c:426 +#: ../src/option.c:439 msgid "Use regex in search" msgstr "Использовать регулярные выражения при поиске" -#: ../src/option.c:428 +#: ../src/option.c:441 msgid "Disable selection" msgstr "Запретить выделение" -#: ../src/option.c:434 +#: ../src/option.c:443 +msgid "Add new records on the top of a list" +msgstr "Добавлять новые записи в начало списка" + +#: ../src/option.c:449 msgid "Display multi progress bars dialog" msgstr "Отобразить диалог c несколькими индикаторами" -#: ../src/option.c:436 +#: ../src/option.c:451 msgid "Add the progress bar (norm, rtl, pulse or perm)" msgstr "Добавить индикатор (norm, rtl, pulse или perm)" -#: ../src/option.c:438 +#: ../src/option.c:453 msgid "Watch for specific bar for auto close" msgstr "Следить за определенным индикатором для автозакрытия" -#: ../src/option.c:440 +#: ../src/option.c:455 msgid "Set alignment of bar labels (left, center or right)" msgstr "Задать выравнивание меток индикаторов (left, center или right)" -#: ../src/option.c:443 +#: ../src/option.c:458 #, no-c-format msgid "Dismiss the dialog when 100% of all bars has been reached" msgstr "Закрыть диалог по достижении 100% всеми индикаторами" -#: ../src/option.c:446 ../src/option.c:519 +#: ../src/option.c:461 ../src/option.c:536 msgid "Kill parent process if cancel button is pressed" msgstr "Завершить родительский процесс, если нажата кнопка отмены" -#: ../src/option.c:453 +#: ../src/option.c:468 msgid "Display notebook dialog" msgstr "Отобразить диалог с вкладками" -#: ../src/option.c:455 +#: ../src/option.c:470 msgid "Add a tab to notebook" msgstr "Добавить вкладку" -#: ../src/option.c:455 +#: ../src/option.c:470 msgid "LABEL" msgstr "МЕТКА" -#: ../src/option.c:457 +#: ../src/option.c:472 msgid "Set position of a notebook tabs (top, bottom, left or right)" msgstr "Задать позицию метки вкладки (top, bottom, left или right)" -#: ../src/option.c:459 +#: ../src/option.c:474 msgid "Set tab borders" msgstr "Установить границы вкладки" -#: ../src/option.c:465 +#: ../src/option.c:476 +msgid "Set active tab" +msgstr "Задать активную вкладку" + +#: ../src/option.c:482 msgid "Display notification" msgstr "Отобразить диалог уведомления" -#: ../src/option.c:467 +#: ../src/option.c:484 msgid "Set initial popup menu" msgstr "Задать начальное меню" -#: ../src/option.c:467 -msgid "STRING" -msgstr "СТРОКА" - -#: ../src/option.c:469 +#: ../src/option.c:486 msgid "Disable exit on middle click" msgstr "Запретить выход по щелчку средней кнопкой" -#: ../src/option.c:471 +#: ../src/option.c:488 msgid "Doesn't show icon at startup" msgstr "Не показывать иконку при запуске" -#: ../src/option.c:477 +#: ../src/option.c:494 msgid "Display paned dialog" msgstr "Отобразить диалог панелей" -#: ../src/option.c:479 +#: ../src/option.c:496 msgid "Set orientation (hor[izontal] or vert[ical])" msgstr "Задать ориентацию (hor[izontal] или vert[ical])" -#: ../src/option.c:481 +#: ../src/option.c:498 msgid "Set initial splitter position" msgstr "Задать начальную позицию разделителя" -#: ../src/option.c:487 +#: ../src/option.c:504 msgid "Display picture dialog" msgstr "Отобразить диалог показа картинки" -#: ../src/option.c:489 +#: ../src/option.c:506 msgid "Set initial size (fit or orig)" msgstr "Задать начальный размер (fit или orig)" -#: ../src/option.c:491 +#: ../src/option.c:508 msgid "Set increment for picture scaling (default - 5)" msgstr "Задать шаг для масштабирования картинки (по умолчанию - 5)" -#: ../src/option.c:497 +#: ../src/option.c:514 msgid "Display printing dialog" msgstr "Отобразить диалог печати" -#: ../src/option.c:499 +#: ../src/option.c:516 msgid "Set source type (text, image or raw)" msgstr "Тип исходных данных (text, image или raw)" -#: ../src/option.c:501 +#: ../src/option.c:518 msgid "Add headers to page" msgstr "Добавлять колонтитулы на страницу" -#: ../src/option.c:507 +#: ../src/option.c:524 msgid "Display progress indication dialog" msgstr "Отобразить диалог хода процесса" -#: ../src/option.c:509 +#: ../src/option.c:526 msgid "Set progress text" msgstr "Показывать текст на индикаторе" -#: ../src/option.c:511 +#: ../src/option.c:528 msgid "Set initial percentage" msgstr "Задать начальный процент" -#: ../src/option.c:511 +#: ../src/option.c:528 msgid "PERCENTAGE" msgstr "ПРОЦЕНТЫ" -#: ../src/option.c:513 +#: ../src/option.c:530 msgid "Pulsate progress bar" msgstr "Пульсирующий индикатор прогресса" -#: ../src/option.c:516 +#: ../src/option.c:533 #, no-c-format msgid "Dismiss the dialog when 100% has been reached" msgstr "Закрыть диалог по достижении 100%" -#: ../src/option.c:522 +#: ../src/option.c:539 msgid "Right-To-Left progress bar direction" msgstr "Направление индикатора Справа-Налево" -#: ../src/option.c:524 +#: ../src/option.c:541 msgid "Show log window" msgstr "Показать окно журнала" -#: ../src/option.c:526 +#: ../src/option.c:543 msgid "Expand log window" msgstr "Развернуть окно журнала" -#: ../src/option.c:528 +#: ../src/option.c:545 msgid "Place log window above progress bar" msgstr "Разместить окно журнала над индикатором прогресса" -#: ../src/option.c:530 +#: ../src/option.c:547 msgid "Height of log window" msgstr "Высота окна журнала" -#: ../src/option.c:536 +#: ../src/option.c:553 msgid "Display scale dialog" msgstr "Отобразить диалог масштаба" -#: ../src/option.c:538 +#: ../src/option.c:555 msgid "Set initial value" msgstr "Задать начальное значение" -#: ../src/option.c:538 ../src/option.c:540 ../src/option.c:542 -#: ../src/option.c:544 ../src/option.c:546 +#: ../src/option.c:555 ../src/option.c:557 ../src/option.c:559 +#: ../src/option.c:561 ../src/option.c:563 msgid "VALUE" msgstr "ЗНАЧЕНИЕ" -#: ../src/option.c:540 +#: ../src/option.c:557 msgid "Set minimum value" msgstr "Задать минимальное значение" -#: ../src/option.c:542 +#: ../src/option.c:559 msgid "Set maximum value" msgstr "Задать максимальное значение" -#: ../src/option.c:544 +#: ../src/option.c:561 msgid "Set step size" msgstr "Задать шаг" -#: ../src/option.c:546 +#: ../src/option.c:563 msgid "Set paging size" msgstr "Задать шаг страницы" -#: ../src/option.c:548 +#: ../src/option.c:565 msgid "Print partial values" msgstr "Печатать частичные значения" -#: ../src/option.c:550 +#: ../src/option.c:567 msgid "Hide value" msgstr "Скрыть величину" -#: ../src/option.c:552 +#: ../src/option.c:569 msgid "Invert direction" msgstr "Инвертировать направление" -#: ../src/option.c:554 +#: ../src/option.c:571 msgid "Show +/- buttons in scale" msgstr "Показывать кнопки +/-" -#: ../src/option.c:556 +#: ../src/option.c:573 msgid "Add mark to scale (may be used multiple times)" msgstr "Добавить метку (может использоваться несколько раз)" -#: ../src/option.c:556 +#: ../src/option.c:573 msgid "NAME:VALUE" msgstr "ИМЯ:ЗНАЧЕНИЕ" -#: ../src/option.c:562 +#: ../src/option.c:579 msgid "Display text information dialog" msgstr "Отобразить диалог с текстовой информацией" -#: ../src/option.c:564 +#: ../src/option.c:581 msgid "Use specified color for text" msgstr "Использовать указанный цвет текста" -#: ../src/option.c:566 +#: ../src/option.c:583 msgid "Use specified color for background" msgstr "Использовать указанный цвет фона" -#: ../src/option.c:568 +#: ../src/option.c:585 msgid "Enable text wrapping" msgstr "Разрешить перенос текста" -#: ../src/option.c:570 +#: ../src/option.c:587 msgid "Set justification (left, right, center or fill)" msgstr "Установить выравнивание (left, right, center или fill)" -#: ../src/option.c:572 +#: ../src/option.c:589 msgid "Set text margins" msgstr "Установить отступы" -#: ../src/option.c:572 +#: ../src/option.c:589 msgid "SIZE" msgstr "РАЗМЕР" -#: ../src/option.c:574 -msgid "Autoscroll to end of text" -msgstr "Автопрокрутка в конец текста" - -#: ../src/option.c:576 +#: ../src/option.c:591 msgid "Show cursor in read-only mode" msgstr "Показывать курсор в режиме для чтения" -#: ../src/option.c:578 +#: ../src/option.c:593 msgid "Make URI clickable" msgstr "Сделать ссылки активными" -#: ../src/option.c:580 +#: ../src/option.c:595 msgid "Use specified color for links" msgstr "Использовать указанный цвет для ссылок" -#: ../src/option.c:587 +#: ../src/option.c:602 msgid "Use specified langauge for syntax highlighting" msgstr "Использовать указанный язык для подсветки синтаксиса" -#: ../src/option.c:587 +#: ../src/option.c:602 msgid "LANG" msgstr "ЯЗЫК" -#: ../src/option.c:594 +#: ../src/option.c:604 +msgid "Use specified theme" +msgstr "Использовать указанную тему" + +#: ../src/option.c:611 msgid "Sets a filename filter" msgstr "Задать фильтр файлов по маске" -#: ../src/option.c:594 +#: ../src/option.c:611 msgid "NAME | PATTERN1 PATTERN2 ..." msgstr "ИМЯ | ШАБЛОН1 ШАБЛОН2 ..." -#: ../src/option.c:596 +#: ../src/option.c:613 msgid "Sets a mime-type filter" msgstr "Задать фильтр файлов по типу mime" -#: ../src/option.c:596 +#: ../src/option.c:613 msgid "NAME | MIME1 MIME2 ..." msgstr "ИМЯ | ТИП1 ТИП2 ..." -#: ../src/option.c:598 +#: ../src/option.c:615 msgid "Add filter for images" msgstr "Добавить фильтр изображений" -#: ../src/option.c:598 -msgid "NAME" -msgstr "ИМЯ" +#: ../src/option.c:615 +msgid "[NAME]" +msgstr "[ИМЯ]" -#: ../src/option.c:604 +#: ../src/option.c:621 msgid "Show about dialog" msgstr "Показать диалог 'О программе'" -#: ../src/option.c:606 +#: ../src/option.c:623 msgid "Print version" msgstr "Вывести версию" -#: ../src/option.c:608 +#: ../src/option.c:626 +msgid "Show list of spell languages" +msgstr "Показать список языков проверки орфографии" + +#: ../src/option.c:630 +msgid "Show list of GtkSourceView themes" +msgstr "Показать список текм для GtkSourceView" + +#: ../src/option.c:633 msgid "Load additional GTK settings from file" msgstr "Загрузить дополнительные настройки GTK из файла" -#: ../src/option.c:610 +#: ../src/option.c:635 msgid "Set policy for horizontal scrollbars (auto, always, never)" msgstr "Задать тип горизонтальной прокрутки (auto, always, never)" -#: ../src/option.c:612 +#: ../src/option.c:637 msgid "Set policy for vertical scrollbars (auto, always, never)" msgstr "Задать тип вертикальной прокрутки (auto, always, never)" -#: ../src/option.c:614 +#: ../src/option.c:639 msgid "Add path for search icons by name" msgstr "Добавить каталог для поиска изображений по имени" -#: ../src/option.c:614 +#: ../src/option.c:639 msgid "PATH" msgstr "ПУТЬ" -#: ../src/option.c:620 +#: ../src/option.c:645 msgid "Load extra arguments from file" msgstr "Загрузить дополнительные аргументы из файла" -#: ../src/option.c:661 ../src/option.c:960 +#: ../src/option.c:686 ../src/option.c:985 #, c-format msgid "Unknown align type: %s\n" msgstr "Неизвестный тип выравнивания: %s\n" -#: ../src/option.c:824 +#: ../src/option.c:849 #, c-format msgid "Mark %s doesn't have a value\n" msgstr "Метке %s не задано значение\n" -#: ../src/option.c:861 +#: ../src/option.c:886 msgid "Images" msgstr "Изображения" -#: ../src/option.c:926 +#: ../src/option.c:951 #, c-format msgid "Unknown color mode: %s\n" msgstr "Неизвестный режим цвета: '%s'\n" -#: ../src/option.c:945 +#: ../src/option.c:970 #, c-format msgid "Unknown buttons layout type: %s\n" msgstr "Неизвестный тип расположения кнопок: %s\n" -#: ../src/option.c:977 +#: ../src/option.c:1002 #, c-format msgid "Unknown justification type: %s\n" msgstr "Неизвестный тип выравнивания: %s\n" -#: ../src/option.c:994 +#: ../src/option.c:1019 #, c-format msgid "Unknown tab position type: %s\n" msgstr "Неизвестный тип позиции вкладки: %s\n" -#: ../src/option.c:1030 +#: ../src/option.c:1055 #, c-format msgid "Unknown ellipsize type: %s\n" msgstr "Неизвестный тип усечения: %s\n" -#: ../src/option.c:1043 +#: ../src/option.c:1068 #, c-format msgid "Unknown orientation: %s\n" msgstr "Неизвестная ориентация: %s\n" -#: ../src/option.c:1058 +#: ../src/option.c:1083 #, c-format msgid "Unknown source type: %s\n" msgstr "Неизвестный исходный тип: %s\n" -#: ../src/option.c:1069 +#: ../src/option.c:1094 msgid "Progress log" msgstr "Окно журнала" -#: ../src/option.c:1082 +#: ../src/option.c:1107 #, c-format msgid "Unknown size type: %s\n" msgstr "Неизвестный тип размера: %s\n" -#: ../src/option.c:1120 +#: ../src/option.c:1145 #, c-format msgid "Unknown completion type: %s\n" msgstr "Неизвестный тип дополнения: %s\n" -#: ../src/option.c:1135 +#: ../src/option.c:1160 #, c-format msgid "Unknown grid lines type: %s\n" msgstr "Неизвестный тип разделительных линий: %s\n" -#: ../src/option.c:1152 +#: ../src/option.c:1177 #, c-format msgid "Unknown scrollbar policy type: %s\n" msgstr "Неизвестный тип прокрутки: %s\n" -#: ../src/option.c:1254 +#: ../src/option.c:1287 #, c-format msgid "Unknown signal: %s\n" msgstr "Неизвестный сигнал: %s\n" -#: ../src/option.c:1432 +#: ../src/option.c:1474 msgid "File exist. Overwrite?" msgstr "Файл существует. Перезаписать?" -#: ../src/option.c:1575 +#: ../src/option.c:1621 msgid "- Yet another dialoging program" msgstr "- Программа для отображения диалогов" #. Adds general option entries -#: ../src/option.c:1579 +#: ../src/option.c:1625 msgid "General options" msgstr "Основные параметры" -#: ../src/option.c:1579 +#: ../src/option.c:1625 msgid "Show general options" msgstr "Показывать основные параметры" #. Adds common option entries -#: ../src/option.c:1585 +#: ../src/option.c:1631 msgid "Common options" msgstr "Общие параметры" -#: ../src/option.c:1585 +#: ../src/option.c:1631 msgid "Show common options" msgstr "Показывать общие параметры диалогов" #. Adds calendar option entries -#: ../src/option.c:1591 +#: ../src/option.c:1637 msgid "Calendar options" msgstr "Параметры календаря" -#: ../src/option.c:1591 +#: ../src/option.c:1637 msgid "Show calendar options" msgstr "Показывать параметры календаря" #. Adds color option entries -#: ../src/option.c:1597 +#: ../src/option.c:1643 msgid "Color selection options" msgstr "Параметры диалога выбора цвета" -#: ../src/option.c:1597 +#: ../src/option.c:1643 msgid "Show color selection options" msgstr "Показывать параметры диалога выбора цвета" #. Adds dnd option entries -#: ../src/option.c:1603 +#: ../src/option.c:1649 msgid "DND options" msgstr "Параметры DND" -#: ../src/option.c:1603 +#: ../src/option.c:1649 msgid "Show drag-n-drop options" msgstr "Показывать параметры dnd" #. Adds entry option entries -#: ../src/option.c:1609 +#: ../src/option.c:1655 msgid "Text entry options" msgstr "Параметры ввода текста" -#: ../src/option.c:1609 +#: ../src/option.c:1655 msgid "Show text entry options" msgstr "Показывать параметры ввода текста" #. Adds file selection option entries -#: ../src/option.c:1615 +#: ../src/option.c:1661 msgid "File selection options" msgstr "Параметры диалога выбора файла" -#: ../src/option.c:1615 +#: ../src/option.c:1661 msgid "Show file selection options" msgstr "Показывать параметры диалога выбора файлов" #. Add font selection option entries -#: ../src/option.c:1621 +#: ../src/option.c:1667 msgid "Font selection options" msgstr "Параметры диалога выбора шрифта" -#: ../src/option.c:1621 +#: ../src/option.c:1667 msgid "Show font selection options" msgstr "Показывать параметры диалога выбора шрифта" #. Add form option entries -#: ../src/option.c:1627 +#: ../src/option.c:1673 msgid "Form options" msgstr "Параметры диалога формы" -#: ../src/option.c:1627 +#: ../src/option.c:1673 msgid "Show form options" msgstr "Показывать параметры диалога формы" #. Add html options entries -#: ../src/option.c:1634 +#: ../src/option.c:1680 msgid "HTML options" msgstr "Параметры HTML диалога" -#: ../src/option.c:1634 +#: ../src/option.c:1680 msgid "Show HTML options" msgstr "Показывать параметры HTML диалога" #. Add icons option entries -#: ../src/option.c:1641 +#: ../src/option.c:1687 msgid "Icons box options" msgstr "Параметры диалога значков" -#: ../src/option.c:1641 +#: ../src/option.c:1687 msgid "Show icons box options" msgstr "Показывать параметры диалога значков быстрого доступа" #. Adds list option entries -#: ../src/option.c:1647 +#: ../src/option.c:1693 msgid "List options" msgstr "Параметры списка" -#: ../src/option.c:1647 +#: ../src/option.c:1693 msgid "Show list options" msgstr "Показывать параметры списка" #. Adds multi progress option entries -#: ../src/option.c:1653 +#: ../src/option.c:1699 msgid "Multi progress bars options" msgstr "Параметры диалога с несколькими индикаторами" -#: ../src/option.c:1654 +#: ../src/option.c:1700 msgid "Show multi progress bars options" msgstr "Показывать параметры диалога с несколькими индикаторами" #. Adds notebook option entries -#: ../src/option.c:1660 +#: ../src/option.c:1706 msgid "Notebook options" msgstr "Параметры диалога с вкладками" -#: ../src/option.c:1660 +#: ../src/option.c:1706 msgid "Show notebook dialog options" msgstr "Показывать параметры диалога с вкладками" #. Adds notification option entries -#: ../src/option.c:1666 +#: ../src/option.c:1712 msgid "Notification icon options" msgstr "Параметры значка уведомления" -#: ../src/option.c:1667 +#: ../src/option.c:1713 msgid "Show notification icon options" msgstr "Показывать параметры значка уведомления" #. Adds paned option entries -#: ../src/option.c:1673 +#: ../src/option.c:1719 msgid "Paned dialog options" msgstr "Параметры диалога с панелями" -#: ../src/option.c:1673 +#: ../src/option.c:1719 msgid "Show paned dialog options" msgstr "Показывать параметры диалога с панелями" #. Adds picture option entries -#: ../src/option.c:1679 +#: ../src/option.c:1725 msgid "Picture dialog options" msgstr "Параметры диалога показа картинки" -#: ../src/option.c:1679 +#: ../src/option.c:1725 msgid "Show picture dialog options" msgstr "Показывать параметры диалога отображения картинки" #. Adds print option entries -#: ../src/option.c:1685 +#: ../src/option.c:1731 msgid "Print dialog options" msgstr "Параметры диалога печати" -#: ../src/option.c:1685 +#: ../src/option.c:1731 msgid "Show print dialog options" msgstr "Показывать параметры диалога печати" #. Adds progress option entries -#: ../src/option.c:1691 +#: ../src/option.c:1737 msgid "Progress options" msgstr "Параметры хода процесса" -#: ../src/option.c:1691 +#: ../src/option.c:1737 msgid "Show progress options" msgstr "Показывать параметры хода процесса" #. Adds scale option entries -#: ../src/option.c:1697 +#: ../src/option.c:1743 msgid "Scale options" msgstr "Параметры масштаба" -#: ../src/option.c:1697 +#: ../src/option.c:1743 msgid "Show scale options" msgstr "Показывать параметры масштаба" #. Adds text option entries -#: ../src/option.c:1703 +#: ../src/option.c:1749 msgid "Text information options" msgstr "Параметры текстовой информации" -#: ../src/option.c:1703 +#: ../src/option.c:1749 msgid "Show text information options" msgstr "Показывать параметры текстовой информации" #. Adds sourceview option entries -#: ../src/option.c:1710 +#: ../src/option.c:1756 msgid "SourceView options" msgstr "Параметры SourceView" -#: ../src/option.c:1710 +#: ../src/option.c:1756 msgid "Show SourceView options" msgstr "Показывать параметры SourceView" #. Adds file filters option entries -#: ../src/option.c:1717 +#: ../src/option.c:1763 msgid "File filter options" msgstr "Параметры фильтров диалога выбора файла" -#: ../src/option.c:1717 +#: ../src/option.c:1763 msgid "Show file filter options" msgstr "Показывать параметры фильтров диалога выбора файлов" #. Adds miscellaneous option entries -#: ../src/option.c:1723 +#: ../src/option.c:1769 msgid "Miscellaneous options" msgstr "Дополнительные параметры" -#: ../src/option.c:1723 +#: ../src/option.c:1769 msgid "Show miscellaneous options" msgstr "Показывать дополнительные параметры" @@ -1637,6 +1670,11 @@ msgid "Invalid UTF-8 data encountered reading file %s\n" msgstr "Неверная последователньость UTF-8 при чтении файла %s\n" +#: ../src/text.c:538 +#, c-format +msgid "Theme %s not found\n" +msgstr "Тема %s не найдена\n" + #: ../src/browser.c:132 msgid "scalable " msgstr "масштабируемый " @@ -1681,9 +1719,3 @@ #: ../data/yad-icon-browser.desktop.in.h:2 msgid "Inspect GTK Icon Theme" msgstr "Исследование темы иконок GTK" - -#~ msgid "Set the width" -#~ msgstr "Задать ширину окна" - -#~ msgid "Set the height" -#~ msgstr "Задать высоту окна" diff -Nru yad-0.38.2/po/uk.po yad-0.39.0/po/uk.po --- yad-0.38.2/po/uk.po 2016-12-26 04:44:39.000000000 +0000 +++ yad-0.39.0/po/uk.po 2017-04-26 15:14:46.000000000 +0000 @@ -1,13 +1,13 @@ # Ukrainian translation for YAD # This file is distributed under the same license as the YAD package. # -# Victor Ananjevsky , 2011-2016. +# Victor Ananjevsky , 2011-2017. # msgid "" msgstr "" "Project-Id-Version: YAD\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-26 06:44+0200\n" +"POT-Creation-Date: 2017-04-26 18:14+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n" "Last-Translator: Victor Ananjevsky \n" "Language-Team: \n" @@ -121,15 +121,15 @@ msgid "Select folder" msgstr "Вибір каталогу" -#: ../src/html.c:124 +#: ../src/html.c:160 msgid "YAD - Select File" msgstr "YAD - Вибір файлу" -#: ../src/html.c:156 +#: ../src/html.c:192 msgid "Open URI" msgstr "Відкрити URI" -#: ../src/html.c:164 +#: ../src/html.c:200 msgid "Enter URI or file name:" msgstr "Введіть URI або ім'я файлу:" @@ -143,17 +143,17 @@ msgid "Unable to open directory %s: %s\n" msgstr "Не можу відкрити каталог %s: %s\n" -#: ../src/main.c:128 ../src/main.c:489 +#: ../src/main.c:130 ../src/main.c:481 #, c-format msgid "%d sec" msgstr "%d сек" -#: ../src/main.c:789 ../src/main.c:796 +#: ../src/main.c:795 ../src/main.c:802 #, c-format msgid "Unable to parse YAD_OPTIONS: %s\n" msgstr "Не можу розібрати YAD_OPTIONS: %s\n" -#: ../src/main.c:807 +#: ../src/main.c:813 #, c-format msgid "Unable to parse command line: %s\n" msgstr "Не вдається розібрати командний рядок: %s\n" @@ -163,636 +163,657 @@ msgid "Could not load notification icon '%s': %s\n" msgstr "Не вдається завантажити іконку '%s': %s\n" -#: ../src/notification.c:301 +#: ../src/notification.c:293 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Неправильна послідовність UTF-8 у підказці!\n" -#: ../src/notification.c:345 +#: ../src/notification.c:337 #, c-format msgid "Unknown command '%s'\n" msgstr "Невідома команда '%s'\n" -#: ../src/notification.c:380 +#: ../src/notification.c:371 msgid "Yad notification" msgstr "Діалог повідомлень" -#: ../src/list.c:853 +#: ../src/list.c:872 msgid "Add row" msgstr "Додати рядок" -#: ../src/list.c:860 +#: ../src/list.c:879 msgid "Delete row" msgstr "Видалити рядок" -#: ../src/list.c:867 +#: ../src/list.c:886 msgid "Duplicate row" msgstr "Скопіювати рядок" -#: ../src/list.c:1012 +#: ../src/list.c:1031 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Не задані заголовки стовпчиків для діалогу зі списком\n" -#: ../src/option.c:82 +#: ../src/option.c:89 msgid "Set the dialog title" msgstr "Задати заголовок діалогу" -#: ../src/option.c:82 +#: ../src/option.c:89 msgid "TITLE" msgstr "ЗАГОЛОВОК" -#: ../src/option.c:84 +#: ../src/option.c:91 msgid "Set the window icon" msgstr "Задати іконку діалогу" -#: ../src/option.c:84 +#: ../src/option.c:91 msgid "ICONPATH" msgstr "ІКОНКА" -#: ../src/option.c:86 +#: ../src/option.c:93 msgid "Set the window width" msgstr "Задати ширину вікна" -#: ../src/option.c:86 +#: ../src/option.c:93 msgid "WIDTH" msgstr "ШИРИНА" -#: ../src/option.c:88 +#: ../src/option.c:95 msgid "Set the window height" msgstr "Задати висоту вікна" -#: ../src/option.c:88 +#: ../src/option.c:95 msgid "HEIGHT" msgstr "ВИСОТА" -#: ../src/option.c:90 +#: ../src/option.c:97 msgid "Set the X position of a window" msgstr "Задати позицію вікна по X" -#: ../src/option.c:90 ../src/option.c:92 ../src/option.c:122 -#: ../src/option.c:126 ../src/option.c:157 ../src/option.c:173 -#: ../src/option.c:317 ../src/option.c:323 ../src/option.c:396 -#: ../src/option.c:404 ../src/option.c:406 ../src/option.c:408 -#: ../src/option.c:410 ../src/option.c:412 ../src/option.c:414 -#: ../src/option.c:418 ../src/option.c:438 ../src/option.c:459 -#: ../src/option.c:491 +#: ../src/option.c:97 ../src/option.c:99 ../src/option.c:129 +#: ../src/option.c:133 ../src/option.c:164 ../src/option.c:178 +#: ../src/option.c:324 ../src/option.c:330 ../src/option.c:409 +#: ../src/option.c:417 ../src/option.c:419 ../src/option.c:421 +#: ../src/option.c:423 ../src/option.c:425 ../src/option.c:427 +#: ../src/option.c:431 ../src/option.c:453 ../src/option.c:474 +#: ../src/option.c:476 ../src/option.c:508 msgid "NUMBER" msgstr "ЧИСЛО" -#: ../src/option.c:92 +#: ../src/option.c:99 msgid "Set the Y position of a window" msgstr "Задати позицію вікна по Y" -#: ../src/option.c:94 +#: ../src/option.c:101 msgid "Set the window geometry" msgstr "Задати геометрію вікна" -#: ../src/option.c:94 +#: ../src/option.c:101 msgid "WxH+X+Y" msgstr "ВxШ+X+Y" -#: ../src/option.c:96 +#: ../src/option.c:103 msgid "Set dialog timeout in seconds" msgstr "Задати час роботи діалогу в секундах" -#: ../src/option.c:96 +#: ../src/option.c:103 msgid "TIMEOUT" msgstr "ЗАТРИМКА" -#: ../src/option.c:98 +#: ../src/option.c:105 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "Показник часу, який залишився (top, bottom, left, right)" -#: ../src/option.c:98 ../src/option.c:481 +#: ../src/option.c:105 ../src/option.c:498 msgid "POS" msgstr "ПОЗИЦІЯ" -#: ../src/option.c:100 +#: ../src/option.c:107 msgid "Set the dialog text" msgstr "Задати текст діалогу" -#: ../src/option.c:100 ../src/option.c:110 ../src/option.c:263 -#: ../src/option.c:265 ../src/option.c:267 ../src/option.c:303 -#: ../src/option.c:416 ../src/option.c:509 ../src/option.c:524 +#: ../src/option.c:107 ../src/option.c:270 ../src/option.c:272 +#: ../src/option.c:274 ../src/option.c:310 ../src/option.c:429 +#: ../src/option.c:526 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:102 +#: ../src/option.c:109 msgid "Set the dialog text alignment (left, center, right, fill)" msgstr "Задати вирівнювання тексту діалогу (left, center, right, fill)" -#: ../src/option.c:102 ../src/option.c:116 ../src/option.c:203 -#: ../src/option.c:315 ../src/option.c:340 ../src/option.c:390 -#: ../src/option.c:400 ../src/option.c:440 ../src/option.c:457 -#: ../src/option.c:479 ../src/option.c:489 ../src/option.c:499 -#: ../src/option.c:570 ../src/option.c:610 ../src/option.c:612 +#: ../src/option.c:109 ../src/option.c:123 ../src/option.c:210 +#: ../src/option.c:322 ../src/option.c:347 ../src/option.c:403 +#: ../src/option.c:413 ../src/option.c:455 ../src/option.c:472 +#: ../src/option.c:496 ../src/option.c:506 ../src/option.c:516 +#: ../src/option.c:587 ../src/option.c:635 ../src/option.c:637 msgid "TYPE" msgstr "ТИП" -#: ../src/option.c:104 +#: ../src/option.c:111 msgid "Set the dialog image" msgstr "Задати зображення діалогу" -#: ../src/option.c:104 ../src/option.c:273 ../src/option.c:277 +#: ../src/option.c:111 ../src/option.c:280 ../src/option.c:284 msgid "IMAGE" msgstr "ЗОБРАЖЕННЯ" -#: ../src/option.c:106 +#: ../src/option.c:113 msgid "Show image above main widget" msgstr "Показувати зображення над основним віджетом" -#: ../src/option.c:108 +#: ../src/option.c:115 msgid "Use specified icon theme instead of default" msgstr "Використовувати вказану тему іконок" -#: ../src/option.c:108 +#: ../src/option.c:115 ../src/option.c:604 msgid "THEME" msgstr "ТЕМА" -#: ../src/option.c:110 +#: ../src/option.c:117 msgid "Hide main widget with expander" msgstr "Приховати головний віджет" -#: ../src/option.c:112 +#: ../src/option.c:117 ../src/option.c:300 ../src/option.c:541 +msgid "[TEXT]" +msgstr "[ТЕКСТ]" + +#: ../src/option.c:119 msgid "Add dialog button (may be used multiple times)" msgstr "Додати кнопку (може використовуватись декілька разів)" -#: ../src/option.c:112 +#: ../src/option.c:119 msgid "NAME:ID" msgstr "ІМ'Я:ID" -#: ../src/option.c:114 +#: ../src/option.c:121 msgid "Don't show buttons" msgstr "Не показувати кнопки" -#: ../src/option.c:116 +#: ../src/option.c:123 msgid "Set buttons layout type (spread, edge, start, end or center)" msgstr "Задати тип розміщення кнопок (spread, edge, start, end або center)" # # (розкидано, по краю, на початку, по центру) -#: ../src/option.c:118 +#: ../src/option.c:125 msgid "Don't use pango markup language in dialog's text" msgstr "Не використовувати розмітку pango в тексті" -#: ../src/option.c:120 +#: ../src/option.c:127 msgid "Don't close dialog if Escape was pressed" msgstr "Не закривати діалог, якшо натиснуто Escape" -#: ../src/option.c:122 +#: ../src/option.c:129 msgid "Set window borders" msgstr "Встановити межі вікна" -#: ../src/option.c:124 +#: ../src/option.c:131 msgid "Always print result" msgstr "Завжди виводити результат" -#: ../src/option.c:126 +#: ../src/option.c:133 msgid "Set default response for Ctrl+Enter" msgstr "Задати значення відповіді для Ctrl+Enter" -#: ../src/option.c:128 +#: ../src/option.c:135 msgid "Dialog text can be selected" msgstr "Текст діалогу може буди виділеним" -#: ../src/option.c:131 +#: ../src/option.c:138 msgid "Set window sticky" msgstr "Вікно на всіх стільницях" -#: ../src/option.c:133 +#: ../src/option.c:140 msgid "Set window unresizable" msgstr "Незмінний розмір вікна" -#: ../src/option.c:135 +#: ../src/option.c:142 msgid "Place window on top" msgstr "Розташувати вікно над іншими" -#: ../src/option.c:137 +#: ../src/option.c:144 msgid "Place window on center of screen" msgstr "Розташувати вікно по центру екрана" -#: ../src/option.c:139 +#: ../src/option.c:146 msgid "Place window at the mouse position" msgstr "Розташувати вікно в положенні мишки" -#: ../src/option.c:141 +#: ../src/option.c:148 msgid "Set window undecorated" msgstr "Прибрати декорації вікна" -#: ../src/option.c:143 +#: ../src/option.c:150 msgid "Don't show window in taskbar" msgstr "Не показувати вікна в панелі завдань" -#: ../src/option.c:145 +#: ../src/option.c:152 msgid "Set window maximized" msgstr "Задати вікну максимальний розмір" -#: ../src/option.c:147 +#: ../src/option.c:154 msgid "Set window fullscreen" msgstr "Розгорнути вікно на весь екран" -#: ../src/option.c:149 +#: ../src/option.c:156 msgid "Don't focus dialog window" msgstr "Не надавати фокус вікну діалогу" -#: ../src/option.c:151 +#: ../src/option.c:158 msgid "Close window when it sets unfocused" msgstr "Закрити вікно при втраті фокусу" -#: ../src/option.c:153 +#: ../src/option.c:160 msgid "Open window as a splashscreen" msgstr "Відкрити вікно у режимі splashscreen" -#: ../src/option.c:155 +#: ../src/option.c:162 msgid "Special type of dialog for XEMBED" msgstr "Особливий режим діалогу для вбудовування" -#: ../src/option.c:155 ../src/option.c:201 +#: ../src/option.c:162 ../src/option.c:208 msgid "KEY" msgstr "КЛЮЧ" -#: ../src/option.c:157 +#: ../src/option.c:164 msgid "Tab number of this dialog" msgstr "Номер вкладки для цього діалогу" -#: ../src/option.c:160 -msgid "XID of parent window" -msgstr "Ідентифікатор батьківського вікна" - -#: ../src/option.c:162 +#: ../src/option.c:167 msgid "Send SIGNAL to parent" msgstr "Послати СИГНАЛ батьківському процесу" -#: ../src/option.c:162 -msgid "SIGNAL" -msgstr "СИГНАЛ" +#: ../src/option.c:167 +msgid "[SIGNAL]" +msgstr "[СИГНАЛ]" + +#: ../src/option.c:169 +msgid "Print X Window Id to the file/stderr" +msgstr "Вивести ідентифікатор вікна в файл/stderr" + +#: ../src/option.c:169 ../src/option.c:246 +msgid "[FILENAME]" +msgstr "[НАЗВА ФАЙЛУ]" -#: ../src/option.c:164 -msgid "Print X Window Id to the stderr" -msgstr "Вивести ідентифікатор вікна на stderr" - -#: ../src/option.c:171 +#: ../src/option.c:176 msgid "Set the format for the returned date" msgstr "Задати формат відображення дати" -#: ../src/option.c:171 ../src/option.c:360 +#: ../src/option.c:176 ../src/option.c:373 msgid "PATTERN" msgstr "ШАБЛОН" -#: ../src/option.c:173 +#: ../src/option.c:178 msgid "Set presicion of floating numbers (default - 3)" msgstr "Задати точнісь чисел з плаваючою точкою (за умовчанням - 3)" -#: ../src/option.c:175 +#: ../src/option.c:180 msgid "Set command handler" msgstr "Задати команду-обробник" -#: ../src/option.c:175 ../src/option.c:275 ../src/option.c:279 -#: ../src/option.c:420 ../src/option.c:422 ../src/option.c:424 +#: ../src/option.c:180 ../src/option.c:282 ../src/option.c:286 +#: ../src/option.c:351 ../src/option.c:433 ../src/option.c:435 +#: ../src/option.c:437 msgid "CMD" msgstr "КОМАНДА" -#: ../src/option.c:177 +#: ../src/option.c:182 msgid "Listen for data on stdin" msgstr "Читати дані зі стандартного вводу" -#: ../src/option.c:179 +#: ../src/option.c:184 msgid "Set common separator character" msgstr "Встановити загальний розділювач" -#: ../src/option.c:179 ../src/option.c:181 +#: ../src/option.c:184 ../src/option.c:186 msgid "SEPARATOR" msgstr "РОЗДІЛЮВАЧ" -#: ../src/option.c:181 +#: ../src/option.c:186 msgid "Set item separator character" msgstr "Встановити розділювач для елементів" -#: ../src/option.c:183 +#: ../src/option.c:188 msgid "Allow changes to text in some cases" msgstr "Дозволити змінювати текст у деяких режимах" -#: ../src/option.c:185 +#: ../src/option.c:190 +msgid "Autoscroll to end of text" +msgstr "Автопрокрутка в кінець тексту" + +#: ../src/option.c:192 msgid "Quote dialogs output" msgstr "Виводити значення у лапках" -#: ../src/option.c:187 +#: ../src/option.c:194 msgid "Output number instead of text for combo-box" msgstr "Виводити число замість тексту для списку значень" -#: ../src/option.c:189 +#: ../src/option.c:196 msgid "Specify font name to use" msgstr "Задати ім'я використовуємого шрифту" -#: ../src/option.c:189 +#: ../src/option.c:196 msgid "FONTNAME" msgstr "НАЗВА_ШРИФТУ" -#: ../src/option.c:191 +#: ../src/option.c:198 msgid "Allow multiple selection" msgstr "Дозволити вибір декількох елементів" -#: ../src/option.c:193 +#: ../src/option.c:200 msgid "Enable preview" msgstr "Додати попередній перегляд" -#: ../src/option.c:195 +#: ../src/option.c:202 msgid "Show hidden files in file selection dialogs" msgstr "Відобразити скриті файли у діалозі вибору файла" -#: ../src/option.c:197 +#: ../src/option.c:204 msgid "Set source filename" msgstr "Задати ім'я файлу" -#: ../src/option.c:197 ../src/option.c:223 ../src/option.c:239 -#: ../src/option.c:608 ../src/option.c:620 +#: ../src/option.c:204 ../src/option.c:230 ../src/option.c:633 +#: ../src/option.c:645 msgid "FILENAME" msgstr "НАЗВА ФАЙЛУ" -#: ../src/option.c:199 +#: ../src/option.c:206 msgid "Set vertical orientation" msgstr "Викорістовувати вертикальну орієнтацію" -#: ../src/option.c:201 +#: ../src/option.c:208 msgid "Identifier of embedded dialogs" msgstr "Ідентифікатор діалогів що вбудовуваються" -#: ../src/option.c:203 +#: ../src/option.c:210 msgid "Set extended completion for entries (any, all, or regex)" msgstr "Задати розширене доповнення для текстових полів (any, all або regex)" -#: ../src/option.c:206 +#: ../src/option.c:213 msgid "Enable spell check for text" msgstr "Дозволити перевірку правопису" -#: ../src/option.c:208 +#: ../src/option.c:215 msgid "Set spell checking language" msgstr "Задати мову для перевірки правопису" -#: ../src/option.c:208 +#: ../src/option.c:215 msgid "LANGUAGE" msgstr "МОВА" -#: ../src/option.c:215 +#: ../src/option.c:222 msgid "Display calendar dialog" msgstr "Відобразити діалог для вибору дати" -#: ../src/option.c:217 +#: ../src/option.c:224 msgid "Set the calendar day" msgstr "Задати календарний день" -#: ../src/option.c:217 +#: ../src/option.c:224 msgid "DAY" msgstr "ДЕНЬ" -#: ../src/option.c:219 +#: ../src/option.c:226 msgid "Set the calendar month" msgstr "Задати календарний місяць" -#: ../src/option.c:219 +#: ../src/option.c:226 msgid "MONTH" msgstr "МІСЯЦЬ" -#: ../src/option.c:221 +#: ../src/option.c:228 msgid "Set the calendar year" msgstr "Задати календарний рік" -#: ../src/option.c:221 +#: ../src/option.c:228 msgid "YEAR" msgstr "РІК" -#: ../src/option.c:223 +#: ../src/option.c:230 msgid "Set the filename with dates details" msgstr "Задати назву файлу з описом дат" -#: ../src/option.c:225 +#: ../src/option.c:232 msgid "Show week numbers at the left side of calendar" msgstr "Відобразити нумерацію тижднів зліва" -#: ../src/option.c:231 +#: ../src/option.c:238 msgid "Display color selection dialog" msgstr "Відобразити діалог для вибору кольору" -#: ../src/option.c:233 +#: ../src/option.c:240 msgid "Alias for --color" msgstr "Синонім для --color" -#: ../src/option.c:235 +#: ../src/option.c:242 msgid "Set initial color value" msgstr "Задати початковий колір" -#: ../src/option.c:235 ../src/option.c:564 ../src/option.c:566 -#: ../src/option.c:580 +#: ../src/option.c:242 ../src/option.c:581 ../src/option.c:583 +#: ../src/option.c:595 msgid "COLOR" msgstr "КОЛІР" -#: ../src/option.c:237 +#: ../src/option.c:244 msgid "Show system palette in color dialog" msgstr "Відобразити системну палітру" -#: ../src/option.c:239 +#: ../src/option.c:246 msgid "Set path to palette file. Default - " msgstr "Задати шлях до файлу кольорів. Без назви - " -#: ../src/option.c:241 +#: ../src/option.c:248 msgid "Expand user palette" msgstr "Розкривати палітру користувача" -#: ../src/option.c:243 +#: ../src/option.c:250 msgid "Set output mode to MODE. Values are hex (default) or rgb" msgstr "" "Встановити режим вивода в РЕЖИМ. Значення - hex (за умовчанням) або rgb" -#: ../src/option.c:243 +#: ../src/option.c:250 msgid "MODE" msgstr "РЕЖИМ" -#: ../src/option.c:245 +#: ../src/option.c:252 msgid "Use #rrrrggggbbbb format instead of #rrggbb" msgstr "Використовувати формат #rrrrggggbbbb замість #rrggbb" -#: ../src/option.c:247 +#: ../src/option.c:254 msgid "Add opacity to output color value" msgstr "Додати прозорість до значення кольору" -#: ../src/option.c:253 +#: ../src/option.c:260 msgid "Display drag-n-drop box" msgstr "Відобразити діалог для перехоплення dnd" -#: ../src/option.c:255 +#: ../src/option.c:262 msgid "Use dialog text as tooltip" msgstr "Використовувати текст діалогу в якості підказки" -#: ../src/option.c:261 +#: ../src/option.c:268 msgid "Display text entry or combo-box dialog" msgstr "Відобразити діалог для вводу тексту або вибору варіанта" -#: ../src/option.c:263 +#: ../src/option.c:270 msgid "Set the entry label" msgstr "Задати мітку поля вводу" -#: ../src/option.c:265 +#: ../src/option.c:272 msgid "Set the entry text" msgstr "Задати текст для поля вводу" -#: ../src/option.c:267 +#: ../src/option.c:274 msgid "Hide the entry text" msgstr "Приховати введений текст (Пароль)" -#: ../src/option.c:269 +#: ../src/option.c:276 msgid "Use completion instead of combo-box" msgstr "Використовувати автозаповнення замість списку значень" -#: ../src/option.c:271 +#: ../src/option.c:278 msgid "Use spin button for text entry" msgstr "Використовувати числове поле замість тексту" -#: ../src/option.c:273 +#: ../src/option.c:280 msgid "Set the left entry icon" msgstr "Задати ліву іконку" -#: ../src/option.c:275 +#: ../src/option.c:282 msgid "Set the left entry icon action" msgstr "Дія для лівої іконки" -#: ../src/option.c:277 +#: ../src/option.c:284 msgid "Set the right entry icon" msgstr "Задати праву іконку" -#: ../src/option.c:279 +#: ../src/option.c:286 msgid "Set the right entry icon action" msgstr "Дія для правої іконки" -#: ../src/option.c:285 +#: ../src/option.c:292 msgid "Display file selection dialog" msgstr "Відобразити діалог для вибору файла" -#: ../src/option.c:287 +#: ../src/option.c:294 msgid "Alias for --file" msgstr "Синонім для --file" -#: ../src/option.c:289 +#: ../src/option.c:296 msgid "Activate directory-only selection" msgstr "Активувати виділення тільки по каталогах" -#: ../src/option.c:291 +#: ../src/option.c:298 msgid "Activate save mode" msgstr "Активувати режим зберігання" -#: ../src/option.c:293 +#: ../src/option.c:300 msgid "Confirm file selection if filename already exists" msgstr "Підтвердити вибір файлу, якщо файл вже існує" -#: ../src/option.c:293 -msgid "[TEXT]" -msgstr "[ТЕКСТ]" - -#: ../src/option.c:299 +#: ../src/option.c:306 msgid "Display font selection dialog" msgstr "Відобразити діалог для вибору шрифту" -#: ../src/option.c:301 +#: ../src/option.c:308 msgid "Alias for --font" msgstr "Синонім для --font" -#: ../src/option.c:303 +#: ../src/option.c:310 msgid "Set text string for preview" msgstr "Задати текстову стрічку для передогляду" -#: ../src/option.c:305 +#: ../src/option.c:312 msgid "Separate output of font description" msgstr "Розділяти вивід описа шрифта" -#: ../src/option.c:311 +#: ../src/option.c:318 msgid "Display form dialog" msgstr "Відобразити діалог форми вводу" -#: ../src/option.c:313 +#: ../src/option.c:320 msgid "Add field to form (see man page for list of possible types)" msgstr "" "Додати поле до форми (дивись сторінку керівництва для отримання списку типів)" -#: ../src/option.c:313 ../src/option.c:436 +#: ../src/option.c:320 ../src/option.c:451 msgid "LABEL[:TYPE]" msgstr "МІТКА[:ТИП]" -#: ../src/option.c:315 +#: ../src/option.c:322 msgid "Set alignment of filed labels (left, center or right)" msgstr "Задати вирівнювання міток полів (left, center або right)" -#: ../src/option.c:317 +#: ../src/option.c:324 msgid "Set number of columns in form" msgstr "Задати кількість стовпчиків у формі" -#: ../src/option.c:319 +#: ../src/option.c:326 msgid "Make form scrollable" msgstr "Додати прокрутку до форми" -#: ../src/option.c:321 +#: ../src/option.c:328 msgid "Order output fields by rows" msgstr "Упорядкувати виведення по рядках" -#: ../src/option.c:323 +#: ../src/option.c:330 msgid "Set focused field" msgstr "Задати поле що отримує фокус" -#: ../src/option.c:325 +#: ../src/option.c:332 msgid "Cycled reading of stdin data" msgstr "Циклічне читання зі стандартного вводу" -#: ../src/option.c:332 +#: ../src/option.c:339 msgid "Display HTML dialog" msgstr "Відобразити HTML діалог" -#: ../src/option.c:334 +#: ../src/option.c:341 msgid "Open specified location" msgstr "Відкрити вказану адресу" -#: ../src/option.c:336 +#: ../src/option.c:343 msgid "Turn on browser mode" msgstr "Ввімкнути режим браузеру" -#: ../src/option.c:338 +#: ../src/option.c:345 msgid "Print clicked uri to stdout" msgstr "Друкувати натиснуті зсилки" -#: ../src/option.c:340 +#: ../src/option.c:347 msgid "Set mime type of input stream data" msgstr "Задати тип mime для вхідних даних" -#: ../src/option.c:342 +#: ../src/option.c:349 msgid "Set encoding of input stream data" msgstr "Задати кодування для вхідних даних" -#: ../src/option.c:342 +#: ../src/option.c:349 msgid "ENCODING" msgstr "КОДУВАННЯ" -#: ../src/option.c:349 +#: ../src/option.c:351 +msgid "Set external handler for clicked uri" +msgstr "Задати зовнішній обробник для натиснутих зсилок" + +#: ../src/option.c:353 +msgid "Set user agent string" +msgstr "Задати стрічку агента" + +#: ../src/option.c:353 ../src/option.c:484 +msgid "STRING" +msgstr "РЯДОК" + +#: ../src/option.c:355 +msgid "Set path or uri to user styles" +msgstr "Задати файл або шлях до стилей користувача" + +#: ../src/option.c:362 msgid "Display icons box dialog" msgstr "Відобразити діалог з іконками швидкого доступу" -#: ../src/option.c:351 +#: ../src/option.c:364 msgid "Read data from .desktop files in specified directory" msgstr "Читати дані з файлів .desktop у вказаному каталозі" -#: ../src/option.c:351 +#: ../src/option.c:364 msgid "DIR" msgstr "КАТАЛОГ" -#: ../src/option.c:353 +#: ../src/option.c:366 msgid "Use compact (list) view" msgstr "Використовувати компактний вигляд (список)" -#: ../src/option.c:355 +#: ../src/option.c:368 msgid "Use GenericName field instead of Name for icon label" msgstr "Використовувати поле GenericName замість Name для мітки" -#: ../src/option.c:357 +#: ../src/option.c:370 msgid "Set the width of dialog items" msgstr "Задати ширину елемента діалогу" -#: ../src/option.c:360 +#: ../src/option.c:373 #, no-c-format msgid "" "Use specified pattern for launch command in terminal (default: xterm -e %s)" @@ -800,90 +821,90 @@ "Використовувати вказаний шаблон для запуску в терміналі (без шаблону: xterm -" "e %s)" -#: ../src/option.c:362 +#: ../src/option.c:375 msgid "Sort items by name instead of filename" msgstr "Сортувати по полю Назва замість назви файлу" -#: ../src/option.c:364 +#: ../src/option.c:377 msgid "Sort items in descending order" msgstr "Сортувати в порядку спадання" -#: ../src/option.c:366 +#: ../src/option.c:379 msgid "Activate items by single click" msgstr "Активувати елемент одним натисненням" -#: ../src/option.c:369 +#: ../src/option.c:382 msgid "Watch fot changes in directory" msgstr "Слідкувати за змінами в каталозі" -#: ../src/option.c:376 +#: ../src/option.c:389 msgid "Display list dialog" msgstr "Відобразити діалог зі списком" -#: ../src/option.c:378 +#: ../src/option.c:391 msgid "Set the column header (see man page for list of possible types)" msgstr "" "Задати заголовок стовпчика (дивись сторінку керівництва для отримання списку " "типів)" -#: ../src/option.c:378 +#: ../src/option.c:391 msgid "COLUMN[:TYPE]" msgstr "СТОВПЧИК[:ТИП]" -#: ../src/option.c:380 +#: ../src/option.c:393 msgid "Use checkboxes for first column" msgstr "Використовувати відмітки для першого стовпчика" -#: ../src/option.c:382 +#: ../src/option.c:395 msgid "Use radioboxes for first column" msgstr "Використовувати перемикач для першого стовпчика" -#: ../src/option.c:384 +#: ../src/option.c:397 msgid "Don't show column headers" msgstr "Не показувати заголовки стовпчиків" -#: ../src/option.c:386 +#: ../src/option.c:399 msgid "Disable clickable column headers" msgstr "Заборонити натискати на заголовок" -#: ../src/option.c:388 +#: ../src/option.c:401 msgid "Disable rules hints" msgstr "Заборонити розмальовку стрічок" -#: ../src/option.c:390 +#: ../src/option.c:403 msgid "Set grid lines (hor[izontal], vert[ical] or both)" msgstr "Задати роздільні лінії (hor[izontal], vert[ical] або both)" -#: ../src/option.c:392 +#: ../src/option.c:405 msgid "Print all data from list" msgstr "Виводити таблицю повністю" -#: ../src/option.c:394 +#: ../src/option.c:407 msgid "Set the list of editable columns" msgstr "Задати список стопчиків для редагування" -#: ../src/option.c:394 ../src/option.c:398 ../src/option.c:402 +#: ../src/option.c:407 ../src/option.c:411 ../src/option.c:415 msgid "LIST" msgstr "СПИСОК" -#: ../src/option.c:396 +#: ../src/option.c:409 msgid "Set the width of a column for start wrapping text" msgstr "Задати ширину стовпчика для переносу тексту" -#: ../src/option.c:398 +#: ../src/option.c:411 msgid "Set the list of wrapped columns" msgstr "Задати список стовпчиків для переносу" -#: ../src/option.c:400 +#: ../src/option.c:413 msgid "Set ellipsize mode for text columns (none, start, middle or end)" msgstr "" "Задати тип урізання для текстових стовпчиків (none, start, middle або end)" -#: ../src/option.c:402 +#: ../src/option.c:415 msgid "Set the list of ellipsized columns" msgstr "Задати список стовпчиків для урізання" -#: ../src/option.c:404 +#: ../src/option.c:417 msgid "" "Print a specific column. By default or if 0 is specified will be printed all " "columns" @@ -891,15 +912,15 @@ "Виводити тільки вказаний стовпчик. Без вказівки або якщо стовпчик дорівнює " "0, будуть виведені усі стовпчики" -#: ../src/option.c:406 +#: ../src/option.c:419 msgid "Hide a specific column" msgstr "Сховати вказаний стовпчик" -#: ../src/option.c:408 +#: ../src/option.c:421 msgid "Set the column expandable by default. 0 sets all columns expandable" msgstr "Задати стовпчик, який розширюється. 0 розширює всі стовпчики" -#: ../src/option.c:410 +#: ../src/option.c:423 msgid "" "Set the quick search column. Default is first column. Set it to 0 for " "disable searching" @@ -907,648 +928,660 @@ "Задати стовпчик швидкого пошуку. Без вказівки використовується перший " "стовпчик. 0 забороняє пошук" -#: ../src/option.c:412 +#: ../src/option.c:425 msgid "Set the tooltip column" msgstr "Задати стовпчик підказок" -#: ../src/option.c:414 +#: ../src/option.c:427 msgid "Set the row separator column" msgstr "Задати стовпчик розділювача стрічок" -#: ../src/option.c:416 +#: ../src/option.c:429 msgid "Set the row separator value" msgstr "Задати значення розділювача стрічок" -#: ../src/option.c:418 +#: ../src/option.c:431 msgid "Set the limit of rows in list" msgstr "Задати кількість рядків у списку" -#: ../src/option.c:420 +#: ../src/option.c:433 msgid "Set double-click action" msgstr "Дія для подвійного натискання мишки" -#: ../src/option.c:422 +#: ../src/option.c:435 msgid "Set select action" msgstr "Дія при виділенні стрічки" -#: ../src/option.c:424 +#: ../src/option.c:437 msgid "Set add action" msgstr "Дія при додаванні стрічки" -#: ../src/option.c:426 +#: ../src/option.c:439 msgid "Use regex in search" msgstr "Використовувати регулярні вирази в пошуку" -#: ../src/option.c:428 +#: ../src/option.c:441 msgid "Disable selection" msgstr "Заборонити виділення" -#: ../src/option.c:434 +#: ../src/option.c:443 +msgid "Add new records on the top of a list" +msgstr "Додавати нові стрічки на початку таблиці" + +#: ../src/option.c:449 msgid "Display multi progress bars dialog" msgstr "Відобразити діалог з декількома індикаторами виконання" -#: ../src/option.c:436 +#: ../src/option.c:451 msgid "Add the progress bar (norm, rtl, pulse or perm)" msgstr "Додати індикатор виконання (norm, rtl, pulse або perm)" -#: ../src/option.c:438 +#: ../src/option.c:453 msgid "Watch for specific bar for auto close" msgstr "Слідкувати за певним індикатором для автозакриття" -#: ../src/option.c:440 +#: ../src/option.c:455 msgid "Set alignment of bar labels (left, center or right)" msgstr "Задати вирівнювання міток індикаторів (left, center або right)" -#: ../src/option.c:443 +#: ../src/option.c:458 #, no-c-format msgid "Dismiss the dialog when 100% of all bars has been reached" msgstr "Закрити діалог по досягненні 100% усіма індикаторами" -#: ../src/option.c:446 ../src/option.c:519 +#: ../src/option.c:461 ../src/option.c:536 msgid "Kill parent process if cancel button is pressed" msgstr "Завершити батьківський процес, якщо натиснута кнопка відміни" -#: ../src/option.c:453 +#: ../src/option.c:468 msgid "Display notebook dialog" msgstr "Відобразити діалог із вкладинками" -#: ../src/option.c:455 +#: ../src/option.c:470 msgid "Add a tab to notebook" msgstr "Додати вкладку" -#: ../src/option.c:455 +#: ../src/option.c:470 msgid "LABEL" msgstr "МІТКА" -#: ../src/option.c:457 +#: ../src/option.c:472 msgid "Set position of a notebook tabs (top, bottom, left or right)" msgstr "Задати позицію ярлика вкладки (top, bottom, left, або right)" -#: ../src/option.c:459 +#: ../src/option.c:474 msgid "Set tab borders" msgstr "Задати межі вкладок" -#: ../src/option.c:465 +#: ../src/option.c:476 +msgid "Set active tab" +msgstr "Задати активну вкладку" + +#: ../src/option.c:482 msgid "Display notification" msgstr "Відобразити діалог повідомлень" -#: ../src/option.c:467 +#: ../src/option.c:484 msgid "Set initial popup menu" msgstr "Задати початкове меню" -#: ../src/option.c:467 -msgid "STRING" -msgstr "РЯДОК" - -#: ../src/option.c:469 +#: ../src/option.c:486 msgid "Disable exit on middle click" msgstr "Заборонити вихід середньою кнопкою мишки" -#: ../src/option.c:471 +#: ../src/option.c:488 msgid "Doesn't show icon at startup" msgstr "Не показувати іконку при старті" -#: ../src/option.c:477 +#: ../src/option.c:494 msgid "Display paned dialog" msgstr "Відобразити діалог з панелями" -#: ../src/option.c:479 +#: ../src/option.c:496 msgid "Set orientation (hor[izontal] or vert[ical])" msgstr "Задати оріентицію (hor[izontal] або vert[ical])" -#: ../src/option.c:481 +#: ../src/option.c:498 msgid "Set initial splitter position" msgstr "Задати початкову позицію розділювача" -#: ../src/option.c:487 +#: ../src/option.c:504 msgid "Display picture dialog" msgstr "Відобразити діалог з картинкою" -#: ../src/option.c:489 +#: ../src/option.c:506 msgid "Set initial size (fit or orig)" msgstr "Задати початковий розмір картинки" -#: ../src/option.c:491 +#: ../src/option.c:508 msgid "Set increment for picture scaling (default - 5)" msgstr "Задати інкремент для зміни розміру картинки (за умовчанням - 5)" -#: ../src/option.c:497 +#: ../src/option.c:514 msgid "Display printing dialog" msgstr "Відобразити діалог друку" -#: ../src/option.c:499 +#: ../src/option.c:516 msgid "Set source type (text, image or raw)" msgstr "Задати тип даних (text, image або raw)" -#: ../src/option.c:501 +#: ../src/option.c:518 msgid "Add headers to page" msgstr "Додати колонтитули до сторінки" -#: ../src/option.c:507 +#: ../src/option.c:524 msgid "Display progress indication dialog" msgstr "Відобразити діалог прогресу" -#: ../src/option.c:509 +#: ../src/option.c:526 msgid "Set progress text" msgstr "Показувати текст на індикаторі" -#: ../src/option.c:511 +#: ../src/option.c:528 msgid "Set initial percentage" msgstr "Задати початковий процент" -#: ../src/option.c:511 +#: ../src/option.c:528 msgid "PERCENTAGE" msgstr "ВІДСОТКИ" -#: ../src/option.c:513 +#: ../src/option.c:530 msgid "Pulsate progress bar" msgstr "Пульсовий індикатор виконання" -#: ../src/option.c:516 +#: ../src/option.c:533 #, no-c-format msgid "Dismiss the dialog when 100% has been reached" msgstr "Закрити діалог по досягненні 100%" -#: ../src/option.c:522 +#: ../src/option.c:539 msgid "Right-To-Left progress bar direction" msgstr "Напрямок індикатору Справа-Наліво" -#: ../src/option.c:524 +#: ../src/option.c:541 msgid "Show log window" msgstr "Відобразити вікно журналу" -#: ../src/option.c:526 +#: ../src/option.c:543 msgid "Expand log window" msgstr "Розгорнути вікно журналу" -#: ../src/option.c:528 +#: ../src/option.c:545 msgid "Place log window above progress bar" msgstr "Розмістити вікно жуналу поверх індикатора виконання" -#: ../src/option.c:530 +#: ../src/option.c:547 msgid "Height of log window" msgstr "Висота вікна журналу" -#: ../src/option.c:536 +#: ../src/option.c:553 msgid "Display scale dialog" msgstr "Відобразити діалог масштабу" -#: ../src/option.c:538 +#: ../src/option.c:555 msgid "Set initial value" msgstr "Задати початкове значення" -#: ../src/option.c:538 ../src/option.c:540 ../src/option.c:542 -#: ../src/option.c:544 ../src/option.c:546 +#: ../src/option.c:555 ../src/option.c:557 ../src/option.c:559 +#: ../src/option.c:561 ../src/option.c:563 msgid "VALUE" msgstr "ЗНАЧЕННЯ" -#: ../src/option.c:540 +#: ../src/option.c:557 msgid "Set minimum value" msgstr "Задати мінімальне значення" -#: ../src/option.c:542 +#: ../src/option.c:559 msgid "Set maximum value" msgstr "Задати максимальне значення" -#: ../src/option.c:544 +#: ../src/option.c:561 msgid "Set step size" msgstr "Задати крок" -#: ../src/option.c:546 +#: ../src/option.c:563 msgid "Set paging size" msgstr "Задати крок сторінки" -#: ../src/option.c:548 +#: ../src/option.c:565 msgid "Print partial values" msgstr "Виводити часткові значення" -#: ../src/option.c:550 +#: ../src/option.c:567 msgid "Hide value" msgstr "Сховати значення" -#: ../src/option.c:552 +#: ../src/option.c:569 msgid "Invert direction" msgstr "Зворотній напрямок" -#: ../src/option.c:554 +#: ../src/option.c:571 msgid "Show +/- buttons in scale" msgstr "Відобразити кнопки +/-" -#: ../src/option.c:556 +#: ../src/option.c:573 msgid "Add mark to scale (may be used multiple times)" msgstr "Додати мітку шкали (може використовуватись декілька разів)" -#: ../src/option.c:556 +#: ../src/option.c:573 msgid "NAME:VALUE" msgstr "НАЗВА:ЗНАЧЕННЯ" -#: ../src/option.c:562 +#: ../src/option.c:579 msgid "Display text information dialog" msgstr "Відобразити діалог з текстовою інформацією" -#: ../src/option.c:564 +#: ../src/option.c:581 msgid "Use specified color for text" msgstr "Використовувати вказаний колір тексту" -#: ../src/option.c:566 +#: ../src/option.c:583 msgid "Use specified color for background" msgstr "Використовувати вказаний колір фону" -#: ../src/option.c:568 +#: ../src/option.c:585 msgid "Enable text wrapping" msgstr "Дозволити перенос тексту" -#: ../src/option.c:570 +#: ../src/option.c:587 msgid "Set justification (left, right, center or fill)" msgstr "Встановити вирівнювання (left, right, center або fill)" -#: ../src/option.c:572 +#: ../src/option.c:589 msgid "Set text margins" msgstr "Встановити відступи" -#: ../src/option.c:572 +#: ../src/option.c:589 msgid "SIZE" msgstr "РОЗМІР" -#: ../src/option.c:574 -msgid "Autoscroll to end of text" -msgstr "Автопрокрутка в кінець тексту" - -#: ../src/option.c:576 +#: ../src/option.c:591 msgid "Show cursor in read-only mode" msgstr "Відображувати курсор у режимі тільки для читання" -#: ../src/option.c:578 +#: ../src/option.c:593 msgid "Make URI clickable" msgstr "Зробити посилання активними" -#: ../src/option.c:580 +#: ../src/option.c:595 msgid "Use specified color for links" msgstr "Використовувати вказаний колір для посилань" -#: ../src/option.c:587 +#: ../src/option.c:602 msgid "Use specified langauge for syntax highlighting" msgstr "Використовувати вказану мову для підсвітки синтаксису" -#: ../src/option.c:587 +#: ../src/option.c:602 msgid "LANG" msgstr "МОВА" -#: ../src/option.c:594 +#: ../src/option.c:604 +msgid "Use specified theme" +msgstr "Використовувати вказану тему" + +#: ../src/option.c:611 msgid "Sets a filename filter" msgstr "Задати фільтр файлів по масці" -#: ../src/option.c:594 +#: ../src/option.c:611 msgid "NAME | PATTERN1 PATTERN2 ..." msgstr "НАЗВА | ШАБЛОН1 ШАБЛОН2 ..." -#: ../src/option.c:596 +#: ../src/option.c:613 msgid "Sets a mime-type filter" msgstr "Задати фільтр файлів по типу mime" -#: ../src/option.c:596 +#: ../src/option.c:613 msgid "NAME | MIME1 MIME2 ..." msgstr "НАЗВА | ТИП1 ТИП2 ..." -#: ../src/option.c:598 +#: ../src/option.c:615 msgid "Add filter for images" msgstr "Додати фільтр для зображень" -#: ../src/option.c:598 -msgid "NAME" -msgstr "ІМ'Я" +#: ../src/option.c:615 +msgid "[NAME]" +msgstr "[ІМ'Я]" -#: ../src/option.c:604 +#: ../src/option.c:621 msgid "Show about dialog" msgstr "Показати діалог 'Про програму'" -#: ../src/option.c:606 +#: ../src/option.c:623 msgid "Print version" msgstr "Вивести версію" -#: ../src/option.c:608 +#: ../src/option.c:626 +msgid "Show list of spell languages" +msgstr "Відобразити перелік мов для перевірки правопису" + +#: ../src/option.c:630 +msgid "Show list of GtkSourceView themes" +msgstr "Відобразити перелік тем для GtkSourceView" + +#: ../src/option.c:633 msgid "Load additional GTK settings from file" msgstr "Завантажити додаткові налаштування GTK з файлу" -#: ../src/option.c:610 +#: ../src/option.c:635 msgid "Set policy for horizontal scrollbars (auto, always, never)" msgstr "Задати тип горизонтальної прокрутки (auto, always, never)" -#: ../src/option.c:612 +#: ../src/option.c:637 msgid "Set policy for vertical scrollbars (auto, always, never)" msgstr "Задати тип вертикальної прокрутки (auto, always, never)" -#: ../src/option.c:614 +#: ../src/option.c:639 msgid "Add path for search icons by name" msgstr "Додати каталог для пошуку іконок" -#: ../src/option.c:614 +#: ../src/option.c:639 msgid "PATH" msgstr "КАТАЛОГ" -#: ../src/option.c:620 +#: ../src/option.c:645 msgid "Load extra arguments from file" msgstr "Завантажити додаткові аргументи з файлу" -#: ../src/option.c:661 ../src/option.c:960 +#: ../src/option.c:686 ../src/option.c:985 #, c-format msgid "Unknown align type: %s\n" msgstr "Невідомий тип вирівнювання: %s\n" -#: ../src/option.c:824 +#: ../src/option.c:849 #, c-format msgid "Mark %s doesn't have a value\n" msgstr "Помітці %s не надано значення\n" -#: ../src/option.c:861 +#: ../src/option.c:886 msgid "Images" msgstr "Зображення" -#: ../src/option.c:926 +#: ../src/option.c:951 #, c-format msgid "Unknown color mode: %s\n" msgstr "Невідомий режим кольору: '%s'\n" -#: ../src/option.c:945 +#: ../src/option.c:970 #, c-format msgid "Unknown buttons layout type: %s\n" msgstr "Невідомий тип розміщення кнопок: %s\n" -#: ../src/option.c:977 +#: ../src/option.c:1002 #, c-format msgid "Unknown justification type: %s\n" msgstr "Невідомий тип вирівнювання: %s\n" -#: ../src/option.c:994 +#: ../src/option.c:1019 #, c-format msgid "Unknown tab position type: %s\n" msgstr "Невідомий тип позиції вкладки: %s\n" -#: ../src/option.c:1030 +#: ../src/option.c:1055 #, c-format msgid "Unknown ellipsize type: %s\n" msgstr "Невідомий тип урізання: %s\n" -#: ../src/option.c:1043 +#: ../src/option.c:1068 #, c-format msgid "Unknown orientation: %s\n" msgstr "Невідома орієнтація: %s\n" -#: ../src/option.c:1058 +#: ../src/option.c:1083 #, c-format msgid "Unknown source type: %s\n" msgstr "Невідомий тип даних: %s\n" -#: ../src/option.c:1069 +#: ../src/option.c:1094 msgid "Progress log" msgstr "Вікно журналу" -#: ../src/option.c:1082 +#: ../src/option.c:1107 #, c-format msgid "Unknown size type: %s\n" msgstr "Невідомий тип розміру: %s\n" -#: ../src/option.c:1120 +#: ../src/option.c:1145 #, c-format msgid "Unknown completion type: %s\n" msgstr "Невідомий тип доповнення: %s\n" -#: ../src/option.c:1135 +#: ../src/option.c:1160 #, c-format msgid "Unknown grid lines type: %s\n" msgstr "Невідомий тип розподільних ліній: %s\n" -#: ../src/option.c:1152 +#: ../src/option.c:1177 #, c-format msgid "Unknown scrollbar policy type: %s\n" msgstr "Невідомий тип прокрутки: %s\n" -#: ../src/option.c:1254 +#: ../src/option.c:1287 #, c-format msgid "Unknown signal: %s\n" msgstr "Невідомий сигнал: %s\n" -#: ../src/option.c:1432 +#: ../src/option.c:1474 msgid "File exist. Overwrite?" msgstr "Файл існує. Перезаписати?" -#: ../src/option.c:1575 +#: ../src/option.c:1621 msgid "- Yet another dialoging program" msgstr "- Програма для відображення діалогів" #. Adds general option entries -#: ../src/option.c:1579 +#: ../src/option.c:1625 msgid "General options" msgstr "Основні параметри" -#: ../src/option.c:1579 +#: ../src/option.c:1625 msgid "Show general options" msgstr "Показувати основні параметри" #. Adds common option entries -#: ../src/option.c:1585 +#: ../src/option.c:1631 msgid "Common options" msgstr "Загальні параметри" -#: ../src/option.c:1585 +#: ../src/option.c:1631 msgid "Show common options" msgstr "Показувати загальні параметри діалогів" #. Adds calendar option entries -#: ../src/option.c:1591 +#: ../src/option.c:1637 msgid "Calendar options" msgstr "Параметри календаря" -#: ../src/option.c:1591 +#: ../src/option.c:1637 msgid "Show calendar options" msgstr "Показувати параметри календаря" #. Adds color option entries -#: ../src/option.c:1597 +#: ../src/option.c:1643 msgid "Color selection options" msgstr "Параметри діалогу вибору кольору" -#: ../src/option.c:1597 +#: ../src/option.c:1643 msgid "Show color selection options" msgstr "Показувати параметри діалогу вибору кольору" #. Adds dnd option entries -#: ../src/option.c:1603 +#: ../src/option.c:1649 msgid "DND options" msgstr "Параметри DND" -#: ../src/option.c:1603 +#: ../src/option.c:1649 msgid "Show drag-n-drop options" msgstr "Показувати параметри dnd" #. Adds entry option entries -#: ../src/option.c:1609 +#: ../src/option.c:1655 msgid "Text entry options" msgstr "Параметри вводу тексту" -#: ../src/option.c:1609 +#: ../src/option.c:1655 msgid "Show text entry options" msgstr "Показувати параметри вводу тексту" #. Adds file selection option entries -#: ../src/option.c:1615 +#: ../src/option.c:1661 msgid "File selection options" msgstr "Параметри діалогу вибору файлів" -#: ../src/option.c:1615 +#: ../src/option.c:1661 msgid "Show file selection options" msgstr "Показувати параметри діалогу вибору файлів" #. Add font selection option entries -#: ../src/option.c:1621 +#: ../src/option.c:1667 msgid "Font selection options" msgstr "Параметри діалогу вибору шрифту" -#: ../src/option.c:1621 +#: ../src/option.c:1667 msgid "Show font selection options" msgstr "Показувати параметри діалоги вибору шрифту" #. Add form option entries -#: ../src/option.c:1627 +#: ../src/option.c:1673 msgid "Form options" msgstr "Параметри діалогу форми" -#: ../src/option.c:1627 +#: ../src/option.c:1673 msgid "Show form options" msgstr "Показувати параметри діалогу форми" #. Add html options entries -#: ../src/option.c:1634 +#: ../src/option.c:1680 msgid "HTML options" msgstr "Параметри HTML діалогу" -#: ../src/option.c:1634 +#: ../src/option.c:1680 msgid "Show HTML options" msgstr "Показувати параметри HTML діалогу" #. Add icons option entries -#: ../src/option.c:1641 +#: ../src/option.c:1687 msgid "Icons box options" msgstr "Параметри діалогу іконок" -#: ../src/option.c:1641 +#: ../src/option.c:1687 msgid "Show icons box options" msgstr "Показувати параметри діалогу іконок швидкого доступу" #. Adds list option entries -#: ../src/option.c:1647 +#: ../src/option.c:1693 msgid "List options" msgstr "Параметри списку" -#: ../src/option.c:1647 +#: ../src/option.c:1693 msgid "Show list options" msgstr "Показувати параметри списку" #. Adds multi progress option entries -#: ../src/option.c:1653 +#: ../src/option.c:1699 msgid "Multi progress bars options" msgstr "Параметри діалогу з декількома індикаторами" -#: ../src/option.c:1654 +#: ../src/option.c:1700 msgid "Show multi progress bars options" msgstr "Показувати параметри діалогу з декількома індикаторами" #. Adds notebook option entries -#: ../src/option.c:1660 +#: ../src/option.c:1706 msgid "Notebook options" msgstr "Параметри діалогу з вкладками" -#: ../src/option.c:1660 +#: ../src/option.c:1706 msgid "Show notebook dialog options" msgstr "Показувати параметри діалогу з вкладками" #. Adds notification option entries -#: ../src/option.c:1666 +#: ../src/option.c:1712 msgid "Notification icon options" msgstr "Параметри іконки повідомлень" -#: ../src/option.c:1667 +#: ../src/option.c:1713 msgid "Show notification icon options" msgstr "Показувати параметри іконки повідомлень" #. Adds paned option entries -#: ../src/option.c:1673 +#: ../src/option.c:1719 msgid "Paned dialog options" msgstr "Параметри діалогу з панелями" -#: ../src/option.c:1673 +#: ../src/option.c:1719 msgid "Show paned dialog options" msgstr "Показувати параметри діалогу з панелями" #. Adds picture option entries -#: ../src/option.c:1679 +#: ../src/option.c:1725 msgid "Picture dialog options" msgstr "Параметри діалогу з картинкою" -#: ../src/option.c:1679 +#: ../src/option.c:1725 msgid "Show picture dialog options" msgstr "Показувати параметри діалогу відображення картинки" #. Adds print option entries -#: ../src/option.c:1685 +#: ../src/option.c:1731 msgid "Print dialog options" msgstr "Параметри діалогу друку" -#: ../src/option.c:1685 +#: ../src/option.c:1731 msgid "Show print dialog options" msgstr "Показувати параметри діалогу друку" #. Adds progress option entries -#: ../src/option.c:1691 +#: ../src/option.c:1737 msgid "Progress options" msgstr "Параметри прогресу" -#: ../src/option.c:1691 +#: ../src/option.c:1737 msgid "Show progress options" msgstr "Показувати параметри прогресу" #. Adds scale option entries -#: ../src/option.c:1697 +#: ../src/option.c:1743 msgid "Scale options" msgstr "Параметри масштабу" -#: ../src/option.c:1697 +#: ../src/option.c:1743 msgid "Show scale options" msgstr "Показувати параметри масштабу" #. Adds text option entries -#: ../src/option.c:1703 +#: ../src/option.c:1749 msgid "Text information options" msgstr "Параметри текстової інформації" -#: ../src/option.c:1703 +#: ../src/option.c:1749 msgid "Show text information options" msgstr "Показувати параметри текстової інформації" #. Adds sourceview option entries -#: ../src/option.c:1710 +#: ../src/option.c:1756 msgid "SourceView options" msgstr "Параметри SourceView" -#: ../src/option.c:1710 +#: ../src/option.c:1756 msgid "Show SourceView options" msgstr "Показувати параметри SourceView" #. Adds file filters option entries -#: ../src/option.c:1717 +#: ../src/option.c:1763 msgid "File filter options" msgstr "Параметри фільтрів для діалогу вибору файлів" -#: ../src/option.c:1717 +#: ../src/option.c:1763 msgid "Show file filter options" msgstr "Показувати параметри фільтрів для діалогу вибору файлів" #. Adds miscellaneous option entries -#: ../src/option.c:1723 +#: ../src/option.c:1769 msgid "Miscellaneous options" msgstr "Додаткові параметри" -#: ../src/option.c:1723 +#: ../src/option.c:1769 msgid "Show miscellaneous options" msgstr "Показувати додаткові параметри" @@ -1642,6 +1675,11 @@ msgid "Invalid UTF-8 data encountered reading file %s\n" msgstr "Неправильна послідовність UTF-8 при читанні файлу %s\n" +#: ../src/text.c:538 +#, c-format +msgid "Theme %s not found\n" +msgstr "Теми %s не знайдено\n" + #: ../src/browser.c:132 msgid "scalable " msgstr "масштабований " @@ -1686,9 +1724,3 @@ #: ../data/yad-icon-browser.desktop.in.h:2 msgid "Inspect GTK Icon Theme" msgstr "Перегляд теми іконок GTK" - -#~ msgid "Set the width" -#~ msgstr "Задати ширину вікна" - -#~ msgid "Set the height" -#~ msgstr "Задати висоту вікна" diff -Nru yad-0.38.2/README yad-0.39.0/README --- yad-0.38.2/README 2016-12-03 08:55:47.000000000 +0000 +++ yad-0.39.0/README 2017-02-21 15:15:00.000000000 +0000 @@ -1,5 +1,5 @@ # Yet Another Dialog -================== +==================== Program allows you to display GTK+ dialog boxes from command line or shell scripts. YAD depends on GTK+ only. Minimal GTK+ version is 2.16.0 @@ -13,7 +13,7 @@ and simple zenity-compatible wrapper # Building SVN version -==================== +====================== Get svn version with command svn checkout svn://svn.code.sf.net/p/yad-dialog/code/trunk yad-dialog-code @@ -33,9 +33,3 @@ * Webkit - for supporting HTML dialog (http://webkitgtk.org) * GtkSourceView - for enabling syntax highlighting in text-info dialog (https://wiki.gnome.org/Projects/GtkSourceView) * GtkSpell3 - for support spell checking in text fields (http://gtkspell.sourceforge.net/) - -# Spell check -=========== -Get list of supported spell checking languages - -`gcc $(pkg-config --cflags --libs glib-2.0 gtkspell3-2.0) -o get-lang data/get-lang.c` diff -Nru yad-0.38.2/README.md yad-0.39.0/README.md --- yad-0.38.2/README.md 2016-12-03 08:55:47.000000000 +0000 +++ yad-0.39.0/README.md 2017-02-21 15:15:00.000000000 +0000 @@ -1,5 +1,5 @@ # Yet Another Dialog -================== +==================== Program allows you to display GTK+ dialog boxes from command line or shell scripts. YAD depends on GTK+ only. Minimal GTK+ version is 2.16.0 @@ -13,7 +13,7 @@ and simple zenity-compatible wrapper # Building SVN version -==================== +====================== Get svn version with command svn checkout svn://svn.code.sf.net/p/yad-dialog/code/trunk yad-dialog-code @@ -33,9 +33,3 @@ * Webkit - for supporting HTML dialog (http://webkitgtk.org) * GtkSourceView - for enabling syntax highlighting in text-info dialog (https://wiki.gnome.org/Projects/GtkSourceView) * GtkSpell3 - for support spell checking in text fields (http://gtkspell.sourceforge.net/) - -# Spell check -=========== -Get list of supported spell checking languages - -`gcc $(pkg-config --cflags --libs glib-2.0 gtkspell3-2.0) -o get-lang data/get-lang.c` diff -Nru yad-0.38.2/src/browser.c yad-0.39.0/src/browser.c --- yad-0.38.2/src/browser.c 2016-11-25 16:13:40.000000000 +0000 +++ yad-0.39.0/src/browser.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2010-2016, Victor Ananjevsky + * Copyright (C) 2010-2017, Victor Ananjevsky */ #include diff -Nru yad-0.38.2/src/calendar.c yad-0.39.0/src/calendar.c --- yad-0.38.2/src/calendar.c 2016-12-03 08:40:28.000000000 +0000 +++ yad-0.39.0/src/calendar.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include diff -Nru yad-0.38.2/src/color.c yad-0.39.0/src/color.c --- yad-0.38.2/src/color.c 2016-11-25 16:13:40.000000000 +0000 +++ yad-0.39.0/src/color.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include diff -Nru yad-0.38.2/src/entry.c yad-0.39.0/src/entry.c --- yad-0.38.2/src/entry.c 2016-11-25 16:13:40.000000000 +0000 +++ yad-0.39.0/src/entry.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include "yad.h" diff -Nru yad-0.38.2/src/file.c yad-0.39.0/src/file.c --- yad-0.38.2/src/file.c 2016-11-25 16:13:40.000000000 +0000 +++ yad-0.39.0/src/file.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include diff -Nru yad-0.38.2/src/font.c yad-0.39.0/src/font.c --- yad-0.38.2/src/font.c 2016-11-25 16:13:40.000000000 +0000 +++ yad-0.39.0/src/font.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include diff -Nru yad-0.38.2/src/form.c yad-0.39.0/src/form.c --- yad-0.38.2/src/form.c 2016-11-25 16:13:40.000000000 +0000 +++ yad-0.39.0/src/form.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include @@ -994,6 +994,7 @@ e = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, 0.0, 100.0, 1.0); #endif gtk_widget_set_name (e, "yad-form-scale"); + gtk_scale_set_value_pos (GTK_SCALE (e), GTK_POS_LEFT); #if !GTK_CHECK_VERSION(3,0,0) gtk_table_attach (GTK_TABLE (tbl), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); diff -Nru yad-0.38.2/src/html.c yad-0.39.0/src/html.c --- yad-0.38.2/src/html.c 2016-11-25 16:13:40.000000000 +0000 +++ yad-0.39.0/src/html.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include @@ -30,7 +30,6 @@ static GString *inbuf; static gboolean is_link = FALSE; -static gboolean is_loaded = FALSE; #ifndef PATH_MAX #define PATH_MAX 4096 @@ -73,19 +72,22 @@ g_printerr ("yad_html_load_uri: cannot load uri '%s'\n", uri); } -static void -loaded_cb (WebKitWebView * v, WebKitWebFrame * f, gpointer d) -{ - is_loaded = TRUE; -} - static gboolean link_cb (WebKitWebView * v, WebKitWebFrame * f, WebKitNetworkRequest * r, WebKitWebNavigationAction * act, WebKitWebPolicyDecision * pd, gpointer d) { - gchar *uri = (gchar *) webkit_network_request_get_uri (r); + gchar *uri; + + if (webkit_web_navigation_action_get_reason (act) != WEBKIT_WEB_NAVIGATION_REASON_LINK_CLICKED) + { + /* skip handling non clicked reasons */ + webkit_web_policy_decision_use (pd); + return TRUE; + } - if (is_loaded && !options.html_data.browser) + uri = (gchar *) webkit_network_request_get_uri (r); + + if (!options.html_data.browser) { if (options.html_data.print_uri) g_printf ("%s\n", uri); @@ -98,7 +100,44 @@ webkit_web_policy_decision_ignore (pd); } else - webkit_web_policy_decision_use (pd); + { + if (options.html_data.uri_cmd) + { + gint ret = -1; + gchar *cmd = g_strdup_printf (options.html_data.uri_cmd, uri); + static gchar *vb = NULL, *vm = NULL; + + /* set environment */ + g_free (vb); + vb = g_strdup_printf ("%d", webkit_web_navigation_action_get_button (act)); + g_setenv ("YAD_HTML_BUTTON", vb, TRUE); + g_free (vm); + vm = g_strdup_printf ("%d", webkit_web_navigation_action_get_modifier_state (act)); + g_setenv ("YAD_HTML_KEYS", vm, TRUE); + + /* run handler */ + g_spawn_command_line_sync (cmd, NULL, NULL, &ret, NULL); + switch (ret) + { + case 0: + webkit_web_policy_decision_use (pd); + break; + case 1: + webkit_web_policy_decision_ignore (pd); + break; + case 2: + webkit_web_policy_decision_download (pd); + break; + default: + g_printerr ("html: undefined result of external uri handler\n"); + webkit_web_policy_decision_ignore (pd); + break; + } + g_free (cmd); + } + else + webkit_web_policy_decision_use (pd); + } return TRUE; } @@ -106,10 +145,7 @@ static void link_hover_cb (WebKitWebView * v, const gchar * t, const gchar * link, gpointer * d) { - if (link) - is_link = TRUE; - else - is_link = FALSE; + is_link = (link != NULL); } static void @@ -264,7 +300,6 @@ GtkWidget *sw; WebKitWebSettings *settings; SoupSession *sess; - const gchar *enc; sw = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), options.hscroll_policy, options.vscroll_policy); @@ -272,9 +307,15 @@ view = WEBKIT_WEB_VIEW (webkit_web_view_new ()); gtk_container_add (GTK_CONTAINER (sw), GTK_WIDGET (view)); - settings = webkit_web_view_get_settings (view); - g_get_charset (&enc); - g_object_set (G_OBJECT (settings), "default-encoding", enc, NULL); + settings = webkit_web_settings_new (); + g_object_set (G_OBJECT (settings), "default-encoding", g_get_codeset (), NULL); + g_object_set (G_OBJECT (settings), "user-agent", options.html_data.user_agent, NULL); + if (options.html_data.user_style) + { + gchar *uri = g_filename_to_uri (options.html_data.user_style, NULL, NULL); + g_object_set (G_OBJECT (settings), "user-stylesheet-uri", uri, NULL); + } + webkit_web_view_set_settings (view, settings); g_signal_connect (view, "hovering-over-link", G_CALLBACK (link_hover_cb), NULL); g_signal_connect (view, "navigation-policy-decision-requested", G_CALLBACK (link_cb), NULL); @@ -287,8 +328,6 @@ if (strcmp (options.data.window_icon, "yad") == 0) g_signal_connect (view, "icon-loaded", G_CALLBACK (icon_cb), dlg); } - else - g_signal_connect (view, "document-load-finished", G_CALLBACK (loaded_cb), NULL); sess = webkit_get_default_session (); soup_session_add_feature_by_type (sess, SOUP_TYPE_PROXY_RESOLVER_DEFAULT); diff -Nru yad-0.38.2/src/icons.c yad-0.39.0/src/icons.c --- yad-0.38.2/src/icons.c 2016-11-25 16:13:40.000000000 +0000 +++ yad-0.39.0/src/icons.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include "yad.h" diff -Nru yad-0.38.2/src/list.c yad-0.39.0/src/list.c --- yad-0.38.2/src/list.c 2016-12-11 09:34:40.000000000 +0000 +++ yad-0.39.0/src/list.c 2017-04-26 15:10:11.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include @@ -30,6 +30,19 @@ static gulong select_hndl = 0; +static inline void +yad_list_add_row (GtkListStore *m, GtkTreeIter *it) +{ + if (options.list_data.add_on_top) + gtk_list_store_prepend (m, it); + else + gtk_list_store_append (m, it); + + if (options.common_data.tail) + gtk_tree_view_scroll_to_cell (GTK_TREE_VIEW (list_view), gtk_tree_model_get_path (GTK_TREE_MODEL (m), it), + NULL, FALSE, 1.0, 1.0); +} + static gboolean list_activate_cb (GtkWidget *widget, GdkEventKey *event, gpointer data) { @@ -529,7 +542,7 @@ } if (row_count == 0 && column_count == 0) - gtk_list_store_append (GTK_LIST_STORE (model), &iter); + yad_list_add_row (GTK_LIST_STORE (model), &iter); else if (column_count == n_columns) { /* We're starting a new row */ @@ -540,7 +553,7 @@ gtk_tree_model_get_iter_first (model, &iter); gtk_list_store_remove (GTK_LIST_STORE (model), &iter); } - gtk_list_store_append (GTK_LIST_STORE (model), &iter); + yad_list_add_row (GTK_LIST_STORE (model), &iter); } cell_set_data (&iter, column_count, string->str); @@ -577,7 +590,7 @@ { gint j; - gtk_list_store_append (model, &iter); + yad_list_add_row (model, &iter); for (j = 0; j < n_columns; j++, i++) { if (args[i] == NULL) @@ -746,18 +759,24 @@ GtkTreeIter iter; model = gtk_tree_view_get_model (GTK_TREE_VIEW (list_view)); - gtk_list_store_append (GTK_LIST_STORE (model), &iter); + yad_list_add_row (GTK_LIST_STORE (model), &iter); if (options.list_data.add_action) { - gchar *data = NULL; + gchar *out = NULL; gint exit; - g_spawn_command_line_sync (options.list_data.add_action, &data, NULL, &exit, NULL); + /* hide menu first */ + gtk_menu_popdown (GTK_MENU (data)); + while (gtk_events_pending ()) + gtk_main_iteration (); + + /* run command */ + g_spawn_command_line_sync (options.list_data.add_action, &out, NULL, &exit, NULL); if (exit == 0) { guint i, n_cols = gtk_tree_model_get_n_columns (model); - gchar **lines = g_strsplit (data, "\n", 0); + gchar **lines = g_strsplit (out, "\n", 0); for (i = 0; i < n_cols; i++) { @@ -768,7 +787,7 @@ } g_strfreev (lines); } - g_free (data); + g_free (out); } } @@ -855,21 +874,21 @@ gtk_image_new_from_stock (GTK_STOCK_ADD, GTK_ICON_SIZE_MENU)); gtk_widget_show (item); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (add_row_cb), NULL); + g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (add_row_cb), menu); item = gtk_image_menu_item_new_with_label (_("Delete row")); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), gtk_image_new_from_stock (GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU)); gtk_widget_show (item); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (del_row_cb), NULL); + g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (del_row_cb), menu); item = gtk_image_menu_item_new_with_label (_("Duplicate row")); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), gtk_image_new_from_stock (GTK_STOCK_COPY, GTK_ICON_SIZE_MENU)); gtk_widget_show (item); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (copy_row_cb), NULL); + g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (copy_row_cb), menu); gtk_widget_show (menu); } diff -Nru yad-0.38.2/src/main.c yad-0.39.0/src/main.c --- yad-0.38.2/src/main.c 2017-01-23 18:36:54.000000000 +0000 +++ yad-0.39.0/src/main.c 2017-03-10 09:31:10.000000000 +0000 @@ -367,16 +367,6 @@ g_signal_connect (G_OBJECT (dlg), "key-press-event", G_CALLBACK (keys_cb), NULL); g_signal_connect (G_OBJECT (dlg), "focus-out-event", G_CALLBACK (unfocus_cb), NULL); -#ifndef G_OS_WIN32 - /* FIXME: is that very useful !? */ - if (options.parent) - { - gdk_window_set_transient_for (gtk_widget_get_window (dlg), - gdk_x11_window_foreign_new_for_display (gdk_display_get_default (), - options.parent)); - } -#endif - /* set window icon */ if (options.data.window_icon) { @@ -657,8 +647,22 @@ /* print xid */ if (options.print_xid) { - fprintf (stderr, "0x%lX", GDK_WINDOW_XID (gtk_widget_get_window (dlg))); - fflush (stderr); + FILE *xf; + + if (options.xid_file) + xf = fopen (options.xid_file, "w"); + else + xf = stderr; + + if (xf) + { + fprintf (xf, "0x%lX", GDK_WINDOW_XID (gtk_widget_get_window (dlg))); + + if (options.xid_file) + fclose (xf); + else + fflush (xf); + } } #endif @@ -905,6 +909,18 @@ g_print ("%s (GTK+ %d.%d.%d)\n", VERSION, gtk_major_version, gtk_minor_version, gtk_micro_version); break; +#ifdef HAVE_SPELL + case YAD_MODE_LANGS: + show_langs (); + break; +#endif + +#ifdef HAVE_SOURCEVIEW + case YAD_MODE_THEMES: + show_themes (); + break; +#endif + case YAD_MODE_NOTIFICATION: ret = yad_notification_run (); break; diff -Nru yad-0.38.2/src/Makefile.in yad-0.39.0/src/Makefile.in --- yad-0.38.2/src/Makefile.in 2017-01-23 18:38:28.000000000 +0000 +++ yad-0.39.0/src/Makefile.in 2017-04-27 07:13:17.000000000 +0000 @@ -247,6 +247,7 @@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ diff -Nru yad-0.38.2/src/multi-progress.c yad-0.39.0/src/multi-progress.c --- yad-0.38.2/src/multi-progress.c 2016-11-25 16:13:40.000000000 +0000 +++ yad-0.39.0/src/multi-progress.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include diff -Nru yad-0.38.2/src/notebook.c yad-0.39.0/src/notebook.c --- yad-0.38.2/src/notebook.c 2017-01-13 21:23:17.000000000 +0000 +++ yad-0.39.0/src/notebook.c 2017-01-26 08:25:31.000000000 +0000 @@ -69,6 +69,11 @@ gtk_notebook_append_page (GTK_NOTEBOOK (w), a, get_label ((gchar *) tab->data, 0)); } + /* set active tab */ + if (options.notebook_data.active <= 0) + options.notebook_data.active = 1; + gtk_notebook_set_current_page (GTK_NOTEBOOK (w), options.notebook_data.active - 1); + return w; } diff -Nru yad-0.38.2/src/notification.c yad-0.39.0/src/notification.c --- yad-0.38.2/src/notification.c 2017-01-22 08:21:32.000000000 +0000 +++ yad-0.39.0/src/notification.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include diff -Nru yad-0.38.2/src/option.c yad-0.39.0/src/option.c --- yad-0.38.2/src/option.c 2016-12-11 08:37:56.000000000 +0000 +++ yad-0.39.0/src/option.c 2017-04-26 12:45:37.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include @@ -46,6 +46,7 @@ static gboolean set_posx (const gchar *, const gchar *, gpointer, GError **); static gboolean set_posy (const gchar *, const gchar *, gpointer, GError **); #ifndef G_OS_WIN32 +static gboolean set_xid_file (const gchar *, const gchar *, gpointer, GError **); static gboolean parse_signal (const gchar *, const gchar *, gpointer, GError **); #endif static gboolean add_image_path (const gchar *, const gchar *, gpointer, GError **); @@ -55,6 +56,12 @@ static gboolean about_mode = FALSE; static gboolean version_mode = FALSE; +#ifdef HAVE_SPELL +static gboolean langs_mode = FALSE; +#endif +#ifdef HAVE_SOURCEVIEW +static gboolean themes_mode = FALSE; +#endif static gboolean calendar_mode = FALSE; static gboolean color_mode = FALSE; static gboolean dnd_mode = FALSE; @@ -107,7 +114,7 @@ { "icon-theme", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_STRING, &options.data.icon_theme, N_("Use specified icon theme instead of default"), N_("THEME") }, { "expander", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, set_expander, - N_("Hide main widget with expander"), N_("TEXT") }, + N_("Hide main widget with expander"), N_("[TEXT]") }, { "button", 0, 0, G_OPTION_ARG_CALLBACK, add_button, N_("Add dialog button (may be used multiple times)"), N_("NAME:ID") }, { "no-buttons", 0, 0, G_OPTION_ARG_NONE, &options.data.no_buttons, @@ -156,12 +163,10 @@ { "tabnum", 0, 0, G_OPTION_ARG_INT, &options.tabnum, N_("Tab number of this dialog"), N_("NUMBER") }, #ifndef G_OS_WIN32 - { "parent-win", 0, 0, G_OPTION_ARG_INT, &options.parent, - N_("XID of parent window"), "XID" }, { "kill-parent", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, parse_signal, - N_("Send SIGNAL to parent"), N_("SIGNAL") }, - { "print-xid", 0, 0, G_OPTION_ARG_NONE, &options.print_xid, - N_("Print X Window Id to the stderr"), NULL }, + N_("Send SIGNAL to parent"), N_("[SIGNAL]") }, + { "print-xid", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, set_xid_file, + N_("Print X Window Id to the file/stderr"), N_("[FILENAME]") }, #endif { NULL } }; @@ -181,6 +186,8 @@ N_("Set item separator character"), N_("SEPARATOR") }, { "editable", 0, 0, G_OPTION_ARG_NONE, &options.common_data.editable, N_("Allow changes to text in some cases"), NULL }, + { "tail", 0, 0, G_OPTION_ARG_NONE, &options.common_data.tail, + N_("Autoscroll to end of text"), NULL }, { "quoted-output", 0, 0, G_OPTION_ARG_NONE, &options.common_data.quoted_output, N_("Quote dialogs output"), NULL }, { "num-output", 0, 0, G_OPTION_ARG_NONE, &options.common_data.num_output, @@ -236,7 +243,7 @@ { "gtk-palette", 0, 0, G_OPTION_ARG_NONE, &options.color_data.gtk_palette, N_("Show system palette in color dialog"), NULL }, { "palette", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, add_palette, - N_("Set path to palette file. Default - " RGB_FILE), N_("FILENAME") }, + N_("Set path to palette file. Default - " RGB_FILE), N_("[FILENAME]") }, { "expand-palette", 0, 0, G_OPTION_ARG_NONE, &options.color_data.expand_palette, N_("Expand user palette"), NULL }, { "mode", 0, 0, G_OPTION_ARG_CALLBACK, set_color_mode, @@ -340,6 +347,12 @@ N_("Set mime type of input stream data"), N_("TYPE") }, { "encoding", 0, 0, G_OPTION_ARG_STRING, &options.html_data.encoding, N_("Set encoding of input stream data"), N_("ENCODING") }, + { "uri-handler", 0, 0, G_OPTION_ARG_STRING, &options.html_data.uri_cmd, + N_("Set external handler for clicked uri"), N_("CMD") }, + { "user-agent", 0, 0, G_OPTION_ARG_STRING, &options.html_data.user_agent, + N_("Set user agent string"), N_("STRING") }, + { "user-style", 0, 0, G_OPTION_ARG_STRING, &options.html_data.user_style, + N_("Set path or uri to user styles"), "URI" }, { NULL } }; #endif @@ -426,6 +439,8 @@ N_("Use regex in search"), NULL }, { "no-selection", 0, 0, G_OPTION_ARG_NONE, &options.list_data.no_selection, N_("Disable selection"), NULL }, + { "add-on-top", 0, 0, G_OPTION_ARG_NONE, &options.list_data.add_on_top, + N_("Add new records on the top of a list"), NULL }, { NULL } }; @@ -457,6 +472,8 @@ N_("Set position of a notebook tabs (top, bottom, left or right)"), N_("TYPE") }, { "tab-borders", 0, 0, G_OPTION_ARG_INT, &options.notebook_data.borders, N_("Set tab borders"), N_("NUMBER") }, + { "active-tab", 0, 0, G_OPTION_ARG_INT, &options.notebook_data.active, + N_("Set active tab"), N_("NUMBER") }, { NULL } }; @@ -521,7 +538,7 @@ { "rtl", 0, 0, G_OPTION_ARG_NONE, &options.progress_data.rtl, N_("Right-To-Left progress bar direction"), NULL }, { "enable-log", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, set_progress_log, - N_("Show log window"), N_("TEXT") }, + N_("Show log window"), N_("[TEXT]") }, { "log-expanded", 0, 0, G_OPTION_ARG_NONE, &options.progress_data.log_expanded, N_("Expand log window"), NULL }, { "log-on-top", 0, 0, G_OPTION_ARG_NONE, &options.progress_data.log_on_top, @@ -570,8 +587,6 @@ N_("Set justification (left, right, center or fill)"), N_("TYPE") }, { "margins", 0, 0, G_OPTION_ARG_INT, &options.text_data.margins, N_("Set text margins"), N_("SIZE") }, - { "tail", 0, 0, G_OPTION_ARG_NONE, &options.text_data.tail, - N_("Autoscroll to end of text"), NULL }, { "show-cursor", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &options.text_data.hide_cursor, N_("Show cursor in read-only mode"), NULL }, { "show-uri", 0, 0, G_OPTION_ARG_NONE, &options.text_data.uri, @@ -585,6 +600,8 @@ static GOptionEntry source_options[] = { { "lang", 0, 0, G_OPTION_ARG_STRING, &options.source_data.lang, N_("Use specified langauge for syntax highlighting"), N_("LANG") }, + { "theme", 0, 0, G_OPTION_ARG_STRING, &options.source_data.theme, + N_("Use specified theme"), N_("THEME") }, { NULL } }; #endif @@ -595,7 +612,7 @@ { "mime-filter", 0, 0, G_OPTION_ARG_CALLBACK, add_file_filter, N_("Sets a mime-type filter"), N_("NAME | MIME1 MIME2 ...") }, { "image-filter", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, add_file_filter, - N_("Add filter for images"), N_("NAME") }, + N_("Add filter for images"), N_("[NAME]") }, { NULL } }; @@ -604,6 +621,14 @@ N_("Show about dialog"), NULL }, { "version", 0, 0, G_OPTION_ARG_NONE, &version_mode, N_("Print version"), NULL }, +#ifdef HAVE_SPELL + { "show-langs", 0, 0, G_OPTION_ARG_NONE, &langs_mode, + N_("Show list of spell languages"), NULL }, +#endif +#ifdef HAVE_SOURCEVIEW + { "show-themes", 0, 0, G_OPTION_ARG_NONE, &themes_mode, + N_("Show list of GtkSourceView themes"), NULL }, +#endif { "gtkrc", 0, 0, G_OPTION_ARG_FILENAME, &options.gtkrc_file, N_("Load additional GTK settings from file"), N_("FILENAME") }, { "hscroll-policy", 0, 0, G_OPTION_ARG_CALLBACK, set_scroll_policy, @@ -1159,6 +1184,14 @@ #ifndef G_OS_WIN32 static gboolean +set_xid_file (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + options.print_xid = TRUE; + if (value && value[0]) + options.xid_file = g_strdup (value); +} + +static gboolean parse_signal (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { guint sn = 0; @@ -1304,6 +1337,14 @@ options.mode = YAD_MODE_ABOUT; else if (version_mode) options.mode = YAD_MODE_VERSION; +#ifdef HAVE_SPELL + else if (langs_mode) + options.mode = YAD_MODE_LANGS; +#endif +#ifdef HAVE_SOURCEVIEW + else if (themes_mode) + options.mode = YAD_MODE_THEMES; +#endif } void @@ -1315,9 +1356,9 @@ options.extra_data = NULL; options.gtkrc_file = NULL; #ifndef G_OS_WIN32 - options.parent = 0; options.kill_parent = 0; options.print_xid = FALSE; + options.xid_file = NULL; #endif options.hscroll_policy = GTK_POLICY_AUTOMATIC; @@ -1376,6 +1417,7 @@ options.common_data.item_separator = "!"; options.common_data.multi = FALSE; options.common_data.editable = FALSE; + options.common_data.tail = FALSE; options.common_data.command = NULL; options.common_data.date_format = settings.date_format; options.common_data.float_precision = 3; @@ -1453,6 +1495,9 @@ options.html_data.print_uri = FALSE; options.html_data.mime = NULL; options.html_data.encoding = NULL; + options.html_data.uri_cmd = NULL; + options.html_data.user_agent = "YAD-Webkit (" VERSION ")"; + options.html_data.user_style = NULL; #endif /* Initialize icons data */ @@ -1495,6 +1540,7 @@ options.list_data.regex_search = FALSE; options.list_data.clickable = TRUE; options.list_data.no_selection = FALSE; + options.list_data.add_on_top = FALSE; /* Initialize multiprogress data */ options.multi_progress_data.bars = NULL; @@ -1504,6 +1550,7 @@ options.notebook_data.tabs = NULL; options.notebook_data.borders = 5; options.notebook_data.pos = GTK_POS_TOP; + options.notebook_data.active = 1; /* Initialize notification data */ options.notification_data.middle = TRUE; @@ -1555,14 +1602,13 @@ options.text_data.wrap = FALSE; options.text_data.justify = GTK_JUSTIFY_LEFT; options.text_data.margins = 0; - options.text_data.tail = FALSE; - options.text_data.uri = FALSE; options.text_data.hide_cursor = TRUE; options.text_data.uri_color = "blue"; #ifdef HAVE_SOURCEVIEW - /* Initialize text data */ + /* Initialize sourceview data */ options.source_data.lang = NULL; + options.source_data.theme = NULL; #endif } diff -Nru yad-0.38.2/src/picture.c yad-0.39.0/src/picture.c --- yad-0.38.2/src/picture.c 2016-11-25 16:13:40.000000000 +0000 +++ yad-0.39.0/src/picture.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include "yad.h" diff -Nru yad-0.38.2/src/print.c yad-0.39.0/src/print.c --- yad-0.38.2/src/print.c 2016-11-25 16:13:40.000000000 +0000 +++ yad-0.39.0/src/print.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include diff -Nru yad-0.38.2/src/progress.c yad-0.39.0/src/progress.c --- yad-0.38.2/src/progress.c 2016-11-25 16:13:40.000000000 +0000 +++ yad-0.39.0/src/progress.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include diff -Nru yad-0.38.2/src/scale.c yad-0.39.0/src/scale.c --- yad-0.38.2/src/scale.c 2016-12-03 14:52:59.000000000 +0000 +++ yad-0.39.0/src/scale.c 2017-02-21 14:26:02.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include "yad.h" diff -Nru yad-0.38.2/src/text.c yad-0.39.0/src/text.c --- yad-0.38.2/src/text.c 2016-12-03 13:42:10.000000000 +0000 +++ yad-0.39.0/src/text.c 2017-04-26 12:45:46.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #include @@ -344,7 +344,7 @@ else gtk_text_buffer_insert (GTK_TEXT_BUFFER (text_buffer), &end, string->str, string->len); - if (options.text_data.tail) + if (options.common_data.tail) { while (gtk_events_pending ()) gtk_main_iteration (); @@ -501,6 +501,44 @@ #endif } +#ifdef HAVE_SOURCEVIEW + if (options.source_data.theme) + { + GtkSourceStyleScheme *scheme = NULL; + GtkSourceStyleSchemeManager *mgr; + const gchar **ids; + + mgr = gtk_source_style_scheme_manager_get_default (); + ids = (const gchar **) gtk_source_style_scheme_manager_get_scheme_ids (mgr); + if (ids) + { + gint i; + gboolean found = FALSE; + + for (i = 0; ids[i]; i++) + { + const gchar *name; + + scheme = gtk_source_style_scheme_manager_get_scheme (mgr, ids[i]); + name = gtk_source_style_scheme_get_name (scheme); + if (strcmp (name, options.source_data.theme) == 0) + { + found = TRUE; + break; + } + } + + if (!found) + scheme = NULL; + } + + if (scheme) + gtk_source_buffer_set_style_scheme (GTK_SOURCE_BUFFER (text_buffer), scheme); + else + g_printerr (_("Theme %s not found\n"), options.source_data.theme); + } +#endif + /* set font */ if (options.common_data.font) fd = pango_font_description_from_string (options.common_data.font); diff -Nru yad-0.38.2/src/util.c yad-0.39.0/src/util.c --- yad-0.38.2/src/util.c 2017-01-08 10:16:30.000000000 +0000 +++ yad-0.39.0/src/util.c 2017-02-21 15:06:57.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #ifndef _GNU_SOURCE @@ -560,3 +560,35 @@ return found; } + +#ifdef HAVE_SPELL +void +show_langs () +{ + GList *lng; + + for (lng = gtk_spell_checker_get_language_list (); lng; lng = lng->next) + g_print ("%s\n", lng->data); +} +#endif + +#ifdef HAVE_SOURCEVIEW +void +show_themes () +{ + GtkSourceStyleSchemeManager *sm; + const gchar **si; + guint i = 0; + + sm = gtk_source_style_scheme_manager_get_default (); + if ((si = (const gchar **) gtk_source_style_scheme_manager_get_scheme_ids (sm)) == NULL) + return; + + while (si[i]) + { + GtkSourceStyleScheme *s = gtk_source_style_scheme_manager_get_scheme (sm, si[i]); + g_print ("%s\n", gtk_source_style_scheme_get_name (s)); + i++; + } +} +#endif diff -Nru yad-0.38.2/src/yad.h yad-0.39.0/src/yad.h --- yad-0.38.2/src/yad.h 2017-01-08 10:16:54.000000000 +0000 +++ yad-0.39.0/src/yad.h 2017-04-26 12:44:12.000000000 +0000 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with YAD. If not, see . * - * Copyright (C) 2008-2016, Victor Ananjevsky + * Copyright (C) 2008-2017, Victor Ananjevsky */ #ifndef _YAD_H_ @@ -44,6 +44,8 @@ #include #include #include +#include +#include #endif G_BEGIN_DECLS @@ -81,7 +83,9 @@ YAD_MODE_SCALE, YAD_MODE_TEXTINFO, YAD_MODE_ABOUT, - YAD_MODE_VERSION + YAD_MODE_VERSION, + YAD_MODE_LANGS, + YAD_MODE_THEMES } YadDialogMode; typedef enum { @@ -296,6 +300,9 @@ gboolean print_uri; gchar *mime; gchar *encoding; + gchar *uri_cmd; + gchar *user_agent; + gchar *user_style; } YadHtmlData; #endif @@ -340,6 +347,7 @@ gboolean regex_search; gboolean clickable; gboolean no_selection; + gboolean add_on_top; } YadListData; typedef struct { @@ -351,6 +359,7 @@ GSList *tabs; guint borders; GtkPositionType pos; + guint active; } YadNotebookData; typedef struct { @@ -409,7 +418,6 @@ gboolean wrap; GtkJustification justify; gint margins; - gboolean tail; gboolean uri; gboolean hide_cursor; gchar *uri_color; @@ -418,6 +426,7 @@ #ifdef HAVE_SOURCEVIEW typedef struct { gchar *lang; + gchar *theme; } YadSourceData; #endif @@ -429,6 +438,7 @@ gboolean editable; gboolean multi; gboolean vertical; + gboolean tail; gchar *command; gchar *date_format; guint float_precision; @@ -490,9 +500,9 @@ guint tabnum; #ifndef G_OS_WIN32 - guint64 parent; guint kill_parent; gboolean print_xid; + gchar *xid_file; #endif } YadOptions; @@ -605,6 +615,9 @@ gboolean check_complete (GtkEntryCompletion *c, const gchar *key, GtkTreeIter *iter, gpointer data); +void show_langs (); +void show_themes (); + static inline void strip_new_line (gchar * str) { diff -Nru yad-0.38.2/TODO yad-0.39.0/TODO --- yad-0.38.2/TODO 2016-03-25 06:06:48.000000000 +0000 +++ yad-0.39.0/TODO 2017-02-21 14:26:02.000000000 +0000 @@ -1,5 +1,5 @@ - add actions to list, text-info and icons dialogs - use optional gtksourceview in text-info dialog -- [done] add option for disable selection in list dialog - add slideshow to picture dialog (reading uris from stdin) - add single model for completion and combo-boxes +- add menu for select encodings in html dialog