Projects
Extra
yad
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 18
View file
yad.changes
Changed
@@ -1,4 +1,22 @@ ------------------------------------------------------------------- +Tue Aug 16 00:00:00 UTC 2011 - detlef@links2linux.de + +- new upstream version <0.13.0> + + * fixes for icons in entry dialog + * add icons for editable combo-boxes in entry dialog + * add new field types for form dialog - labels and buttons + * fix blinking behavior in notification icon. + * some improvements in user-defined double-click action for list dialog + * dialog text can be selected if --selectable-labels specified + * fix image clipping in gtk+-3.0 + * fix tooltips in list dialog + * fix wrapping dialog's text + * add --border option for set margins around dialog widgets + * add names for widgets for customize dialog look&feel through .gtkrc + * fix handling window icon + +------------------------------------------------------------------- Sat Jul 02 00:00:00 UTC 2011 - detlef@links2linux.de - new upstream version <0.12.4>
View file
yad.spec
Changed
@@ -1,7 +1,7 @@ # norootforbuild Name: yad -Version: 0.12.4 +Version: 0.13.0 Release: 1 Summary: A fork of Zenity with many improvements
View file
yad-0.12.4.tar.bz2/ChangeLog -> yad-0.13.0.tar.bz2/ChangeLog
Changed
@@ -1,3 +1,144 @@ +2011-07-31 17:59 ananasik + + * src/main.c: + +2011-07-31 14:36 ananasik + + * src/main.c: fix handling window icon + +2011-07-31 08:30 ananasik + + * src/progress.c: fix formatting + +2011-07-31 08:29 ananasik + + * src/progress.c: fix leaks in progressbar + +2011-07-30 11:11 ananasik + + * po/sk.po: update slovak translation + +2011-07-29 15:13 ananasik + + * data/yad.1, po/de.po, po/ru.po, po/sk.po, po/uk.po, src/option.c: + update man and translations + +2011-07-29 14:27 ananasik + + * src/calendar.c, src/color.c, src/entry.c, src/file.c, src/font.c, + src/form.c, src/icons.c, src/list.c, src/main.c, src/progress.c, + src/scale.c, src/text.c: add names to widgets + +2011-07-29 13:51 ananasik + + * src/main.c, src/option.c, src/yad.h: add --borders option + +2011-07-28 12:51 ananasik + + * data/yad.1, po/de.po, po/ru.po, po/sk.po, po/uk.po, src/option.c: + update man and translation + +2011-07-28 12:41 ananasik + + * src/form.c, src/main.c: fix wrapping text in dialog text and form + label field + +2011-07-28 11:27 ananasik + + * src/list.c: fix tooltips in list dialog + +2011-07-28 10:57 ananasik + + * src/form.c, src/main.c, src/option.c, src/yad.h: selectable text + in labels enabled through comman-line + +2011-07-28 10:33 ananasik + + * src/main.c: fix image clipping with gtk+-3.0 + +2011-07-28 05:28 ananasik + + * src/form.c, src/main.c: add uri's handler to labels + +2011-07-28 05:10 ananasik + + * src/form.c: set labels fileds selectable in form dialog + +2011-07-28 04:43 ananasik + + * src/main.c: set dialog text selectable + +2011-07-26 04:32 ananasik + + * src/form.c: remove relief for button fields in form dialog + +2011-07-26 04:29 ananasik + + * data/yad.1, src/list.c: extend format of double-click command in + list dialog + +2011-07-25 07:01 ananasik + + * src/notification.c: fix blinking behavior in notification icon + +2011-07-25 06:01 ananasik + + * src/main.c: + +2011-07-25 05:20 ananasik + + * configure.ac, data/yad.1, po/de.po, po/ru.po, po/sk.po, po/uk.po, + src/form.c, src/option.c, src/yad.h: add --column option in form + dialog + +2011-07-24 06:53 ananasik + + * data/yad.1, po/de.po, po/ru.po, po/sk.po, po/uk.po, src/form.c, + src/option.c, src/yad.h: add button field to form + +2011-07-24 06:07 ananasik + + * data/yad.1, po/de.po, po/ru.po, po/sk.po, po/uk.po, src/form.c, + src/option.c, src/yad.h: add label field to form + +2011-07-24 05:43 ananasik + + * src/entry.c: fix double action in entry icons + +2011-07-19 09:37 ananasik + + * src/browser.c, src/color.c, src/entry.c, src/list.c, src/main.c, + src/notification.c, src/option.c, src/progress.c, src/text.c, + src/util.c, src/yad.h: small fix in entry + +2011-06-29 05:01 ananasik + + * ChangeLog, NEWS, configure.ac: release 0.12.4 + +2011-06-29 04:56 ananasik + + * data/yad.1, src/list.c: fix Enter behavior in list dialog + +2011-06-29 04:28 ananasik + + * src/list.c: fix handling image fileds values in output + +2011-06-27 06:10 ananasik + + * src/about.c, src/browser.c, src/calendar.c, src/color.c, + src/dnd.c, src/entry.c, src/file.c, src/font.c, src/form.c, + src/icons.c, src/list.c, src/main.c, src/notification.c, + src/option.c, src/progress.c, src/scale.c, src/text.c, + src/util.c, src/yad.h: update source license information + +2011-06-27 06:03 ananasik + + * src/about.c, src/browser.c, src/calendar.c, src/color.c, + src/dnd.c, src/entry.c, src/file.c, src/font.c, src/form.c, + src/icons.c, src/list.c, src/main.c, src/notification.c, + src/option.c, src/progress.c, src/scale.c, src/text.c, + src/util.c, src/yad.h: update source license information + 2011-06-24 17:14 ananasik * ChangeLog, NEWS: release 0.12.3
View file
yad-0.12.4.tar.bz2/NEWS -> yad-0.13.0.tar.bz2/NEWS
Changed
@@ -1,3 +1,17 @@ +Version 0.13.0 + - fixes for icons in entry dialog + - add icons for editable combo-boxes in entry dialog + - add new field types for form dialog - labels and buttons + - fix blinking behavior in notification icon + - some improvements in user-defined double-click action for list dialog + - dialog text can be selected if --selectable-labels specified + - fix image clipping in gtk+-3.0 + - fix tooltips in list dialog + - fix wrapping dialog's text + - add --border option for set margins around dialog widgets + - add names for widgets for customize dialog look&feel through .gtkrc + - fix handling window icon + Version 0.12.4 - fix output for image fields in list dialog - fix Enter behavior in list dialog
View file
yad-0.12.4.tar.bz2/configure -> yad-0.13.0.tar.bz2/configure
Changed
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for YAD 0.12.4. +# Generated by GNU Autoconf 2.68 for YAD 0.13.0. # # Report bugs to <http://code.google.com/p/yad/issues/entry>. # @@ -560,8 +560,8 @@ # Identity of this package. PACKAGE_NAME='YAD' PACKAGE_TARNAME='yad' -PACKAGE_VERSION='0.12.4' -PACKAGE_STRING='YAD 0.12.4' +PACKAGE_VERSION='0.13.0' +PACKAGE_STRING='YAD 0.13.0' PACKAGE_BUGREPORT='http://code.google.com/p/yad/issues/entry' PACKAGE_URL='http://code.google.com/p/yad' @@ -1311,7 +1311,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.12.4 to adapt to many kinds of systems. +\`configure' configures YAD 0.13.0 to adapt to many kinds of systems. Usage: $0 OPTION... VAR=VALUE... @@ -1377,7 +1377,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of YAD 0.12.4:";; + short | recursive ) echo "Configuration of YAD 0.13.0:";; esac cat <<\_ACEOF @@ -1485,7 +1485,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -YAD configure 0.12.4 +YAD configure 0.13.0 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1854,7 +1854,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.12.4, which was +It was created by YAD $as_me 0.13.0, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -2669,7 +2669,7 @@ # Define the identity of the package. PACKAGE='yad' - VERSION='0.12.4' + VERSION='0.13.0' cat >>confdefs.h <<_ACEOF @@ -6971,7 +6971,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.12.4, which was +This file was extended by YAD $as_me 0.13.0, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -7038,7 +7038,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.12.4 +YAD config.status 0.13.0 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\"
View file
yad-0.12.4.tar.bz2/configure.ac -> yad-0.13.0.tar.bz2/configure.ac
Changed
@@ -1,4 +1,4 @@ -AC_INIT(YAD, 0.12.4, http://code.google.com/p/yad/issues/entry, yad, http://code.google.com/p/yad) +AC_INIT(YAD, 0.13.0, http://code.google.com/p/yad/issues/entry, yad, http://code.google.com/p/yad) AM_INIT_AUTOMAKE(1.11 foreign dist-xz no-dist-gzip) AM_SILENT_RULES(yes)
View file
yad-0.12.4.tar.bz2/data/yad.1 -> yad-0.13.0.tar.bz2/data/yad.1
Changed
@@ -115,7 +115,10 @@ Always print result. .TP .B \-\-dialog-sep -Show separator between dialog and buttons. +Show separator between dialog and buttons. Works only with gtk+-2.0. +.TP +.B \-\-borders=NUM +Set dialog window borders. .TP .B \-\-sticky Make window visible on all desktops. @@ -142,6 +145,10 @@ Use standard X Window geometry notation for placing dialog. When this option is used, \fIwidth\fP, \fIheight\fP, \fImouse\fP and \fIcenter\fP options are ignored. +.TP +.B \-\-selectable-labels +If set, user can select dialog's text and copy it to clipboard. +This option also affects on label fields in form dialog. .PP Calendar options @@ -288,7 +295,7 @@ Form options .TP .B \-\-field=LABEL:TYPE -Add field to form. Type may be \fIH\fP, \fIRO\fP, \fINUM\fP, \fICHK\fP, \fICB\fP, \fICBE\fP, \fIFL\fP, \fIDIR\fP, \fIFN\fP, \fIMFL\fP, \fIDT\fP or \fICLR\fP. +Add field to form. Type may be \fIH\fP, \fIRO\fP, \fINUM\fP, \fICHK\fP, \fICB\fP, \fICBE\fP, \fIFL\fP, \fIDIR\fP, \fIFN\fP, \fIMFL\fP, \fIDT\fP, \fICLR\fP,\fIBTN\fP or \fILBL\fP. \fIH\fP - hidden field type. All characters are displayed as the invisible char. \fIRO\fP - field is in read-only mode. \fINUM\fP - field is a numeric. Initial value format for this field is \fIVALUE!RANGE!STEP\fP, @@ -302,10 +309,15 @@ \fIMFL\fP - select multiple files. Value of this field is a list of files separated by \fIitem-separator\fP. \fIDT\fP - date field. \fICLR\fP - color selection button. +\fIBTN\fP - button field. Initial value is a command runs when button is clicked. +\fILBL\fP - text label. If field name is empty, horisontal separator line will be shown. .TP .B \-\-align=TYPE Set alignment of fields labels. Possible types are \fIleft\fP, \fIcenter\fP or \fIright\fP. Default is left. .TP +.B \-\-columns=NUMBER +Set number of columns in form. Fields will be placed from top to bottom. +.TP .B \-\-separator=STRING Set output separator character. Default is `|'. .TP @@ -366,8 +378,9 @@ Set ellipsize mode for text columns. \fITYPE\fP may be \fINONE\fP, \fISTART\fP, \fIMIDDLE\fP or \fIEND\fP. .TP .B \-\-dclick-action=CMD -Set the \fICMD\fP as a double-click command. When user double-clicked on row, CMD will be launched with values of all columns as an arguments. By default double-click selects row and act as \fIOK\fP button for simple lists, set the checkbox if \fI\-\-checklist\fP specified and do nothing when list run with \fI\-\-multiple\fP option. +Set the \fICMD\fP as a double-click command. When user double-clicked on row, \fICMD\fP will be launched with values of all columns as an arguments. By default double-click selects row and act as \fIOK\fP button for simple lists, set the checkbox if \fI\-\-checklist\fP specified and do nothing when list run with \fI\-\-multiple\fP option. When double-click specified \fIEnter\fP acts as a double-click and \fICtrl+Enter\fP acts as an \fIOK\fP button. +\fICMD\fP may contain a special character `%s' for setting a position for arguments. By default arguments will be concatenated to the end of \fICMD\fP. .PP Notification options @@ -550,6 +563,51 @@ .TP Exit codes for user-specified buttons must be specified in command line. Even exit code mean to print result, odd just return exit code. +.SH WIDGETS NAMES +.TP +The look and feel of yad's dialogs can be customized through gtkrc file. Here is the names of yad's widgets: + +.TS +tab (@); +l l l. +.B +Widget name@Widget type@Description +_ +yad-dialog-window@GtkDialog@Dialog window +yad-dialog-image@GtkImage@Dialog image +yad-dialog-label@GtkLabel@Dialog text +yad-calendar-widget@GtkCalendar@Calendar widget +yad-color-widget@GtkColorChooser@Color selection widget +yad-color-palette@GtkTreeView@Predefined colors list +yad-entry-label@GtkLabel@Entry label +yad-entry-widget@GtkEntry@Entry widget +yad-entry-spin@GtkSpinButton@Entry widget for numeric values +yad-entry-combo@GtkComboBox@Entry widget with combo +yad-entry-edit-combo@GtkComboBoxEntry@Entry widget with editable combo +yad-file-widget@GtkFileChooser@File selection widget +yad-font-widget@GtkFontChooser@Font selection widget +yad-form-flabel@GtkLabel@Field label in form +yad-form-button@GtkButton@Button field in form +yad-form-entry@GtkEntrfy@Entry field in form +yad-form-spin@GtkSpinButton@Numeric entry field in form +yad-form-check@GtkCheckButton@Checkbox field in form +yad-form-combo@GtkComboBox@Combo field in form +yad-form-edit-combo@GtkComboBoxEntry@Editable combo field in form +yad-form-file@GtkFileChooserButton@File or directory field in form +yad-form-font@GtkFontChooserButton@Font field in form +yad-form-color@GtkColorChooserButton@Color field in form +yad-form-label@GtkLabel@Label field in form +yad-form-separator@GtkHSeparator@ Separator in form +yad-icons-full@GtkIconView@Icons widget for normal mode +yad-icons-compact@GtkTreeView@Icons widget for compact mode +yad-list-widget@GtkTreeView@List widget +yad-progress-widget@GtkProgressBar@Progressbar widget +yad-vscale-widget@GtkScale@Vertical scale widget +yad-hscale-widget@GtkScale@Horizontal scale widget +yad-text-widget@GtkTextView@Text info widget +yad-timeout-indicator@GtkProgreeBar@Timeout indicator +.TE + .SH EXAMPLES Display a file selector with the title \fISelect a file to remove\fP. The file selected is returned on standard output.
View file
yad-0.12.4.tar.bz2/po/de.po -> yad-0.13.0.tar.bz2/po/de.po
Changed
@@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: yad\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-18 20:38+0300\n" +"POT-Creation-Date: 2011-07-29 18:04+0300\n" "PO-Revision-Date: 2009-11-30 16:53+0100\n" "Last-Translator: Manfred Mueller aka Quax<mmueller@live-modules.org>\n" "Language-Team: German translations at Lin2Go <mmueller@live-modules.org>\n" @@ -17,28 +17,27 @@ "Content-Transfer-Encoding: 8bit\n" "X-Generator: PoEdit 1.4.2\n" -#: ../src/about.c:32 +#: ../src/about.c:30 msgid "translator-credits" msgstr "" "Victor Ananjevsky <ananasik@gmail.com>\n" "Manfred Mueller aka Quax <mmueller@live-modules.org>" -#: ../src/about.c:34 +#: ../src/about.c:32 #, fuzzy msgid "" -"This program is free software; you can redistribute it and/or modify it " -"under the terms of the GNU General Public License as published by the Free " -"Software Foundation; either version 3 of the License, or (at your option) " -"any later version.\n" +"YAD is free software; you can redistribute it and/or modify it under the " +"terms of the GNU General Public License as published by the Free Software " +"Foundation; either version 3 of the License, or (at your option) any later " +"version.\n" "\n" -"This program is distributed in the hope that it will be useful, but WITHOUT " -"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or " -"FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for " -"more details.\n" +"YAD is distributed in the hope that it will be useful, but WITHOUT ANY " +"WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " +"FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " +"details.\n" "\n" "You should have received a copy of the GNU General Public License along with " -"this program; if not, write to the Free Software Foundation, Inc., 59 Temple " -"Place, Suite 330, Boston, MA 02111-1307 USA." +"YAD. If not, see <http://www.gnu.org/licenses/>." msgstr "" " Dieses Programm ist freie Software. Sie können es unter den Bedingungen der " "GNU General Public License, wie von der Free Software Foundation " @@ -52,7 +51,7 @@ "Falls nicht, schreiben Sie an die Free Software Foundation, Inc., 51 " "Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. " -#: ../src/about.c:53 +#: ../src/about.c:50 msgid "" "Yet Another Dialog\n" "(show dialog boxes from shell scripts)\n" @@ -64,947 +63,961 @@ "\n" "Basiert auf Zenity-Code\n" -#: ../src/calendar.c:41 ../src/text.c:243 +#: ../src/calendar.c:39 ../src/text.c:241 #, c-format msgid "Cannot open file '%s': %s\n" msgstr "" -#: ../src/entry.c:141 ../src/scale.c:39 +#: ../src/entry.c:145 ../src/scale.c:37 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Der Maximalwert muß kleiner als der Minimalwert sein.\n" -#: ../src/entry.c:147 ../src/scale.c:48 +#: ../src/entry.c:151 ../src/scale.c:46 #, c-format msgid "Initial value less than minimal.\n" msgstr "" -#: ../src/entry.c:152 ../src/scale.c:53 +#: ../src/entry.c:156 ../src/scale.c:51 #, fuzzy, c-format msgid "Initial value greater than maximum.\n" msgstr "Der Maximalwert muß kleiner als der Minimalwert sein.\n" -#: ../src/form.c:42 +#: ../src/form.c:53 #, fuzzy msgid "Select files" msgstr "Datei öffnen" -#: ../src/form.c:90 +#: ../src/form.c:101 #, fuzzy msgid "Select date" msgstr "Datei öffnen" -#: ../src/form.c:210 +#: ../src/form.c:233 #, fuzzy msgid "Select file" msgstr "Datei öffnen" -#: ../src/form.c:216 +#: ../src/form.c:240 msgid "Select folder" msgstr "" -#: ../src/icons.c:249 +#: ../src/icons.c:247 #, fuzzy, c-format msgid "Unable to parse file %s: %s\n" msgstr "Kann Befehlszeile nicht einlesen: %s\n" -#: ../src/icons.c:266 +#: ../src/icons.c:264 #, fuzzy, c-format msgid "Unable to open directory %s: %s\n" msgstr "Kann Befehlszeile nicht einlesen: %s\n" -#: ../src/main.c:71 ../src/main.c:167 +#: ../src/main.c:69 ../src/main.c:205 #, c-format msgid "%d sec" msgstr "" -#: ../src/main.c:107 +#: ../src/main.c:112 #, c-format msgid "Error loading window icon %s: %s\n" msgstr "Fehler beim Laden von Fenster-Symbol %s: %s\n" -#: ../src/main.c:386 +#: ../src/main.c:437 #, c-format msgid "Unable parse command line: %s\n" msgstr "Kann Befehlszeile nicht einlesen: %s\n" -#: ../src/notification.c:72 +#: ../src/notification.c:70 #, fuzzy, c-format msgid "Could not load notification icon '%s': %s\n" msgstr "Kann Benachrichtigungs-Symbol '%s' nicht laden: %s" -#: ../src/notification.c:236 +#: ../src/notification.c:234 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Ungültiger UTF-8 Eintrag im Tool-Tip!\n" -#: ../src/notification.c:289 +#: ../src/notification.c:297 #, c-format msgid "Unknown command '%s'\n" msgstr "Befehl '%s' unbekannt\n" -#: ../src/notification.c:325 +#: ../src/notification.c:333 msgid "Yad notification" msgstr "Yad Benachrichtigung" -#: ../src/list.c:645 +#: ../src/list.c:666 msgid "Add row" msgstr "Reihe hinzufügen" -#: ../src/list.c:654 +#: ../src/list.c:675 msgid "Delete row" msgstr "Reihe löschen" -#: ../src/list.c:683 +#: ../src/list.c:704 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Keine Spaltentitel für Listendialog angegeben\n" -#: ../src/option.c:55 +#: ../src/option.c:53 msgid "Set the dialog title" msgstr "Dialogtitel angeben" -#: ../src/option.c:56 +#: ../src/option.c:54 msgid "TITLE" msgstr "TITEL" -#: ../src/option.c:61 +#: ../src/option.c:59 msgid "Set the window icon" msgstr "Fenster-Symbol angeben" -#: ../src/option.c:62 +#: ../src/option.c:60 msgid "ICONPATH" msgstr "SYMBOLPFAD" -#: ../src/option.c:67 +#: ../src/option.c:65 msgid "Set the width" msgstr "Breite angeben" -#: ../src/option.c:68 +#: ../src/option.c:66 msgid "WIDTH" msgstr "BREITE" -#: ../src/option.c:73 +#: ../src/option.c:71 msgid "Set the height" msgstr "Höhe angeben" -#: ../src/option.c:74 +#: ../src/option.c:72 msgid "HEIGHT" msgstr "HÖHE" -#: ../src/option.c:79 +#: ../src/option.c:77 #, fuzzy msgid "Set the window geometry" msgstr "Fenster-Symbol angeben" -#: ../src/option.c:80 +#: ../src/option.c:78 msgid "WxH+X+Y" msgstr "" -#: ../src/option.c:85 +#: ../src/option.c:83 msgid "Set dialog timeout in seconds" msgstr "Ablaufzeit in Sekunden angeben" -#: ../src/option.c:86 +#: ../src/option.c:84 msgid "TIMEOUT" msgstr "ABLAUFZEIT" -#: ../src/option.c:91 +#: ../src/option.c:89 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "" -#: ../src/option.c:92 +#: ../src/option.c:90 msgid "POS" msgstr "" -#: ../src/option.c:97 +#: ../src/option.c:95 msgid "Set the dialog text" msgstr "Dialogtext angeben" -#: ../src/option.c:98 ../src/option.c:305 ../src/option.c:311 -#: ../src/option.c:317 ../src/option.c:445 ../src/option.c:695 +#: ../src/option.c:96 ../src/option.c:315 ../src/option.c:321 +#: ../src/option.c:327 ../src/option.c:455 ../src/option.c:711 msgid "TEXT" msgstr "TEXT" -#: ../src/option.c:103 +#: ../src/option.c:101 msgid "Set the dialog image" msgstr "Dialog-Symbol angeben" -#: ../src/option.c:104 ../src/option.c:341 ../src/option.c:353 +#: ../src/option.c:102 ../src/option.c:351 ../src/option.c:363 msgid "IMAGE" msgstr "SYMBOL" -#: ../src/option.c:109 +#: ../src/option.c:107 msgid "Show image above main widget" msgstr "" -#: ../src/option.c:115 +#: ../src/option.c:113 msgid "Use specified icon theme instead of default" msgstr "" -#: ../src/option.c:116 +#: ../src/option.c:114 msgid "THEME" msgstr "" -#: ../src/option.c:121 +#: ../src/option.c:119 msgid "Add dialog button (may be used multiple times)" msgstr "Dialog-Schaltfläche hinzufügen (Auch mehrmals)" -#: ../src/option.c:122 +#: ../src/option.c:120 msgid "NAME:ID" msgstr "NAME:ID" -#: ../src/option.c:127 +#: ../src/option.c:125 msgid "Don't show buttons" msgstr "" -#: ../src/option.c:133 +#: ../src/option.c:131 msgid "Don't use pango markup language in dialog's text" msgstr "" -#: ../src/option.c:140 +#: ../src/option.c:138 msgid "Add separator between dialog and buttons" msgstr "Leerraum zwischen Dialog und Schaltflächen" -#: ../src/option.c:147 +#: ../src/option.c:145 +#, fuzzy +msgid "Set window borders" +msgstr "Fenster-Größe fixieren" + +#: ../src/option.c:146 ../src/option.c:483 ../src/option.c:631 +#: ../src/option.c:637 ../src/option.c:643 ../src/option.c:649 +#: ../src/option.c:655 +msgid "NUMBER" +msgstr "ZAHL" + +#: ../src/option.c:151 msgid "Always print result" msgstr "" -#: ../src/option.c:154 +#: ../src/option.c:157 +msgid "Dialog text can be selected" +msgstr "" + +#: ../src/option.c:164 msgid "Set window sticky" msgstr "Fenster fixieren" -#: ../src/option.c:160 +#: ../src/option.c:170 msgid "Set window unresizable" msgstr "Fenster-Größe fixieren" -#: ../src/option.c:166 +#: ../src/option.c:176 msgid "Place window on top" msgstr "Als oberstes Fenster anzeigen" -#: ../src/option.c:172 +#: ../src/option.c:182 msgid "Place window on center of screen" msgstr "Fenster auf Bildschirm zentrieren" -#: ../src/option.c:178 +#: ../src/option.c:188 #, fuzzy msgid "Place window at the mouse position" msgstr "Als oberstes Fenster anzeigen" -#: ../src/option.c:184 +#: ../src/option.c:194 msgid "Set window undecorated" msgstr "Fenster-Dekoration entfernen" -#: ../src/option.c:190 +#: ../src/option.c:200 #, fuzzy msgid "Don't show window in taskbar" msgstr "Spalten-Bezeichnung angeben" -#: ../src/option.c:197 +#: ../src/option.c:207 msgid "Send TERM to parent" msgstr "" -#: ../src/option.c:208 +#: ../src/option.c:218 msgid "Display calendar dialog" msgstr "Kalender-Dialog" -#: ../src/option.c:214 +#: ../src/option.c:224 msgid "Set the calendar day" msgstr "Kalender-Tag angeben" -#: ../src/option.c:215 +#: ../src/option.c:225 msgid "DAY" msgstr "TAG" -#: ../src/option.c:220 +#: ../src/option.c:230 msgid "Set the calendar month" msgstr "Kalender-Monat angeben" -#: ../src/option.c:221 +#: ../src/option.c:231 msgid "MONTH" msgstr "MONAT" -#: ../src/option.c:226 +#: ../src/option.c:236 msgid "Set the calendar year" msgstr "Kalender-Jahr angeben" -#: ../src/option.c:227 +#: ../src/option.c:237 msgid "YEAR" msgstr "Jahr" -#: ../src/option.c:232 ../src/option.c:484 +#: ../src/option.c:242 ../src/option.c:500 msgid "Set the format for the returned date" msgstr "Format des angezeigten Datums angeben" -#: ../src/option.c:233 ../src/option.c:485 ../src/option.c:532 +#: ../src/option.c:243 ../src/option.c:501 ../src/option.c:548 msgid "PATTERN" msgstr "FORMAT" -#: ../src/option.c:238 +#: ../src/option.c:248 #, fuzzy msgid "Set the filename with dates details" msgstr "Dateinamen angeben" -#: ../src/option.c:239 ../src/option.c:267 ../src/option.c:381 -#: ../src/option.c:844 +#: ../src/option.c:249 ../src/option.c:277 ../src/option.c:391 +#: ../src/option.c:860 msgid "FILENAME" msgstr "DATEINAME" -#: ../src/option.c:248 +#: ../src/option.c:258 msgid "Display color selection dialog" msgstr "Farbwahl-Dialog" -#: ../src/option.c:254 +#: ../src/option.c:264 msgid "Alias for --color" msgstr "" -#: ../src/option.c:260 +#: ../src/option.c:270 msgid "Set initial color value" msgstr "Wert der Anfangsfarbe angeben" -#: ../src/option.c:261 ../src/option.c:802 ../src/option.c:808 +#: ../src/option.c:271 ../src/option.c:818 ../src/option.c:824 msgid "COLOR" msgstr "FARBE" -#: ../src/option.c:266 +#: ../src/option.c:276 msgid "Set path to palette file. Default - " msgstr "" -#: ../src/option.c:272 +#: ../src/option.c:282 msgid "Use #rrrrggggbbbb format instead of #rrggbb" msgstr "#rrrrggggbbbb statt #rrggbb benutzen" -#: ../src/option.c:282 +#: ../src/option.c:292 #, fuzzy msgid "Display drag-n-drop box" msgstr "Kalender-Dialog" -#: ../src/option.c:288 +#: ../src/option.c:298 msgid "Set command for process d-n-d data" msgstr "" -#: ../src/option.c:289 ../src/option.c:347 ../src/option.c:359 -#: ../src/option.c:645 ../src/option.c:661 +#: ../src/option.c:299 ../src/option.c:357 ../src/option.c:369 +#: ../src/option.c:661 ../src/option.c:677 msgid "CMD" msgstr "" -#: ../src/option.c:298 +#: ../src/option.c:308 msgid "Display text entry or combo-box dialog" msgstr "Texteingabefeld oder Auswahlfeld" -#: ../src/option.c:304 +#: ../src/option.c:314 msgid "Set the entry label" msgstr "Eintrags-Bezeichnung angeben" -#: ../src/option.c:310 +#: ../src/option.c:320 msgid "Set the entry text" msgstr "Eintrags-Text angeben" -#: ../src/option.c:316 +#: ../src/option.c:326 msgid "Hide the entry text" msgstr "Eintrags-Text verbergen" -#: ../src/option.c:322 +#: ../src/option.c:332 msgid "Use completion instead of combo-box" msgstr "Vervollständigen statt Auswahlfeld verwenden" -#: ../src/option.c:328 +#: ../src/option.c:338 #, fuzzy msgid "Use spin button for text entry" msgstr "Bestimmte Schriftart benutzen" -#: ../src/option.c:334 +#: ../src/option.c:344 msgid "Allow changes to text in combo-box" msgstr "Text-Änderungen im Auswahlfeld erlauben" -#: ../src/option.c:340 +#: ../src/option.c:350 #, fuzzy msgid "Set the left entry icon" msgstr "Eintrags-Text angeben" -#: ../src/option.c:346 +#: ../src/option.c:356 #, fuzzy msgid "Set the left entry icon action" msgstr "Textfeld-Einstellungen anzeigen" -#: ../src/option.c:352 +#: ../src/option.c:362 #, fuzzy msgid "Set the right entry icon" msgstr "Fenster-Symbol angeben" -#: ../src/option.c:358 +#: ../src/option.c:368 #, fuzzy msgid "Set the right entry icon action" msgstr "Textfeld-Einstellungen anzeigen" -#: ../src/option.c:368 +#: ../src/option.c:378 msgid "Display file selection dialog" msgstr "Datei-Auswahlfeld" -#: ../src/option.c:374 +#: ../src/option.c:384 msgid "Alias for --file" msgstr "" -#: ../src/option.c:380 +#: ../src/option.c:390 msgid "Set the filename" msgstr "Dateinamen angeben" -#: ../src/option.c:386 +#: ../src/option.c:396 msgid "Allow multiple files to be selected" msgstr "Auswahl mehrerer Dateien erlauben" -#: ../src/option.c:392 +#: ../src/option.c:402 msgid "Activate directory-only selection" msgstr "Nur Verzeichnis-Auswahl aktivieren" -#: ../src/option.c:398 +#: ../src/option.c:408 msgid "Activate save mode" msgstr "Sicheren Modus aktivieren" -#: ../src/option.c:404 ../src/option.c:472 ../src/option.c:584 +#: ../src/option.c:414 ../src/option.c:488 ../src/option.c:600 msgid "Set output separator character" msgstr "Ausgabe-Trennzeichen angeben" -#: ../src/option.c:405 ../src/option.c:473 ../src/option.c:479 -#: ../src/option.c:585 ../src/option.c:673 ../src/option.c:679 +#: ../src/option.c:415 ../src/option.c:489 ../src/option.c:495 +#: ../src/option.c:601 ../src/option.c:689 ../src/option.c:695 msgid "SEPARATOR" msgstr "Trennzeichen" -#: ../src/option.c:410 +#: ../src/option.c:420 msgid "Confirm file selection if filename already exists" msgstr "Datei-Auswahl bei bestehender Datei bestätigen" -#: ../src/option.c:411 +#: ../src/option.c:421 #, fuzzy msgid "TEXT" msgstr "TEXT" -#: ../src/option.c:416 +#: ../src/option.c:426 msgid "Sets a filename filter" msgstr "Dateinames-Filter angeben" -#: ../src/option.c:417 +#: ../src/option.c:427 msgid "NAME | PATTERN1 PATTERN2 ..." msgstr "NAME | MUSTER1 MUSTER2 ..." -#: ../src/option.c:426 +#: ../src/option.c:436 #, fuzzy msgid "Display font selection dialog" msgstr "Datei-Auswahlfeld" -#: ../src/option.c:432 +#: ../src/option.c:442 msgid "Alias for --font" msgstr "" -#: ../src/option.c:438 +#: ../src/option.c:448 #, fuzzy msgid "Set initial font" msgstr "Anfangs-Prozentsatz angeben" -#: ../src/option.c:439 ../src/option.c:814 +#: ../src/option.c:449 ../src/option.c:830 msgid "FONTNAME" msgstr "SCHRIFTART" -#: ../src/option.c:444 +#: ../src/option.c:454 #, fuzzy msgid "Set preview text" msgstr "Text für Fortschrittsbalken angeben" -#: ../src/option.c:454 +#: ../src/option.c:464 msgid "Display form dialog" msgstr "Formular-Dialog" -#: ../src/option.c:460 +#: ../src/option.c:470 msgid "" -"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, DIR, FN, MFL, DT or " -"CLR)" +"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, DIR, FN, MFL, DT, " +"CLR, BTN or LBL)" msgstr "" -#: ../src/option.c:461 +#: ../src/option.c:471 msgid "LABEL:TYPE" msgstr "" -#: ../src/option.c:466 +#: ../src/option.c:476 msgid "Set alignment of fileds labels (left, center or right)" msgstr "" -#: ../src/option.c:467 ../src/option.c:609 ../src/option.c:826 +#: ../src/option.c:477 ../src/option.c:625 ../src/option.c:842 msgid "TYPE" msgstr "" -#: ../src/option.c:478 +#: ../src/option.c:482 +msgid "Set number of columns in form" +msgstr "" + +#: ../src/option.c:494 #, fuzzy msgid "Set separator character for combobox or scale data" msgstr "Ausgabe-Trennzeichen angeben" -#: ../src/option.c:494 +#: ../src/option.c:510 #, fuzzy msgid "Display icons box dialog" msgstr "Listen-Dialog" -#: ../src/option.c:500 +#: ../src/option.c:516 msgid "Read data from .desktop files in specified directory" msgstr "" -#: ../src/option.c:501 +#: ../src/option.c:517 msgid "DIRECTORY" msgstr "" -#: ../src/option.c:506 +#: ../src/option.c:522 msgid "Use compact (list) view" msgstr "" -#: ../src/option.c:512 +#: ../src/option.c:528 msgid "Use GenericName field instead of Name for icon label" msgstr "" -#: ../src/option.c:518 +#: ../src/option.c:534 #, fuzzy msgid "Read data from stdin" msgstr "Alle Werte der Liste" -#: ../src/option.c:524 +#: ../src/option.c:540 #, fuzzy msgid "Set the width of dialog items" msgstr "Dialogtitel angeben" -#: ../src/option.c:531 +#: ../src/option.c:547 #, no-c-format msgid "" "Use specified pattern for launch command in terminal (default: xterm -e %s)" msgstr "" -#: ../src/option.c:537 +#: ../src/option.c:553 msgid "Sort items by name instead of filename" msgstr "" -#: ../src/option.c:543 +#: ../src/option.c:559 msgid "Sort items in descending order" msgstr "" -#: ../src/option.c:553 +#: ../src/option.c:569 msgid "Display list dialog" msgstr "Listen-Dialog" -#: ../src/option.c:559 +#: ../src/option.c:575 #, fuzzy msgid "Don't show column headers" msgstr "Spalten-Bezeichnung angeben" -#: ../src/option.c:565 +#: ../src/option.c:581 msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, IMG or TIP)" msgstr "" -#: ../src/option.c:566 +#: ../src/option.c:582 #, fuzzy msgid "COLUMN:TYPE" msgstr "SPALTE" -#: ../src/option.c:571 +#: ../src/option.c:587 msgid "Use check boxes for first column" msgstr "Ankreuzfeld für erste Spalte benutzen" -#: ../src/option.c:577 +#: ../src/option.c:593 msgid "Alias to checklist (deprecated)" msgstr "Alias für Ankreuzfeld (veraltet)" -#: ../src/option.c:590 +#: ../src/option.c:606 msgid "Allow multiple rows to be selected" msgstr "Auswahl mehrerer Reihen erlauben" -#: ../src/option.c:596 ../src/option.c:849 +#: ../src/option.c:612 ../src/option.c:865 msgid "Allow changes to text" msgstr "Textänderungen erlauben" -#: ../src/option.c:602 +#: ../src/option.c:618 msgid "Print all data from list" msgstr "Alle Werte der Liste" -#: ../src/option.c:608 +#: ../src/option.c:624 msgid "Set ellipsize mode for text columns (TYPE - NONE, START, MIDDLE or END)" msgstr "" -#: ../src/option.c:614 +#: ../src/option.c:630 #, fuzzy msgid "" "Print a specific column. By default or if 0 is specified will be printed all " "columns" msgstr "Bestimmte Spalte ausgeben (Standard=1 - Alle=0)" -#: ../src/option.c:615 ../src/option.c:621 ../src/option.c:627 -#: ../src/option.c:633 ../src/option.c:639 -msgid "NUMBER" -msgstr "ZAHL" - -#: ../src/option.c:620 +#: ../src/option.c:636 msgid "Hide a specific column" msgstr "Bestimmte Spalte verbergen" -#: ../src/option.c:626 +#: ../src/option.c:642 msgid "Set the column expandable by default. 0 sets all columns expandable" msgstr "" -#: ../src/option.c:632 +#: ../src/option.c:648 msgid "" "Set the quick search column. Default is first column. Set it to 0 for " "disable searching" msgstr "" -#: ../src/option.c:638 +#: ../src/option.c:654 #, fuzzy msgid "Set the limit of rows in list" msgstr "Dialogtitel angeben" -#: ../src/option.c:644 +#: ../src/option.c:660 msgid "Set double-click action" msgstr "" -#: ../src/option.c:654 +#: ../src/option.c:670 msgid "Display notification" msgstr "Benachrichtigung" -#: ../src/option.c:660 +#: ../src/option.c:676 msgid "Set left-click action" msgstr "" -#: ../src/option.c:666 +#: ../src/option.c:682 #, fuzzy msgid "Listen for commands on stdin" msgstr "Auf Befehle von stdin warten" -#: ../src/option.c:672 +#: ../src/option.c:688 #, fuzzy msgid "Set separator character for menu values" msgstr "Ausgabe-Trennzeichen angeben" -#: ../src/option.c:678 +#: ../src/option.c:694 #, fuzzy msgid "Set separator character for menu items" msgstr "Ausgabe-Trennzeichen angeben" -#: ../src/option.c:688 +#: ../src/option.c:704 msgid "Display progress indication dialog" msgstr "Fortschrittsbalken" -#: ../src/option.c:694 +#: ../src/option.c:710 msgid "Set progress text" msgstr "Text für Fortschrittsbalken angeben" -#: ../src/option.c:700 +#: ../src/option.c:716 msgid "Set initial percentage" msgstr "Anfangs-Prozentsatz angeben" -#: ../src/option.c:701 +#: ../src/option.c:717 msgid "PERCENTAGE" msgstr "Prozentsatz" -#: ../src/option.c:706 +#: ../src/option.c:722 msgid "Pulsate progress bar" msgstr "Pulsierender Fortschrittsbalken" -#: ../src/option.c:713 +#: ../src/option.c:729 #, no-c-format msgid "Dismiss the dialog when 100% has been reached" msgstr "Dialog bei Erreichen von 100% beenden" -#: ../src/option.c:720 +#: ../src/option.c:736 msgid "Kill parent process if cancel button is pressed" msgstr "Hauptprozess bei Klick auf Abbrechen beenden" -#: ../src/option.c:727 +#: ../src/option.c:743 msgid "Right-To-Left progress bar direction" msgstr "" -#: ../src/option.c:737 +#: ../src/option.c:753 msgid "Display scale dialog" msgstr "Schieberegler" -#: ../src/option.c:743 +#: ../src/option.c:759 msgid "Set initial value" msgstr "Anfangswert angeben" -#: ../src/option.c:744 ../src/option.c:750 ../src/option.c:756 -#: ../src/option.c:762 +#: ../src/option.c:760 ../src/option.c:766 ../src/option.c:772 +#: ../src/option.c:778 msgid "VALUE" msgstr "WERT" -#: ../src/option.c:749 +#: ../src/option.c:765 msgid "Set minimum value" msgstr "Minimal-Wert angeben" -#: ../src/option.c:755 +#: ../src/option.c:771 msgid "Set maximum value" msgstr "Maximal-Wert angeben" -#: ../src/option.c:761 +#: ../src/option.c:777 msgid "Set step size" msgstr "Abstände angeben" -#: ../src/option.c:767 +#: ../src/option.c:783 msgid "Print partial values" msgstr "Teilwerte ausgeben" -#: ../src/option.c:773 +#: ../src/option.c:789 msgid "Hide value" msgstr "Wert verbergen" -#: ../src/option.c:779 +#: ../src/option.c:795 msgid "Show vertical scale" msgstr "" -#: ../src/option.c:785 +#: ../src/option.c:801 msgid "Invert direction" msgstr "" -#: ../src/option.c:795 +#: ../src/option.c:811 msgid "Display text information dialog" msgstr "Textinformations-Dialog" -#: ../src/option.c:801 +#: ../src/option.c:817 #, fuzzy msgid "Use specified color for text" msgstr "Bestimmte Schriftart benutzen" -#: ../src/option.c:807 +#: ../src/option.c:823 #, fuzzy msgid "Use specified color for background" msgstr "Bestimmte Schriftart benutzen" -#: ../src/option.c:813 +#: ../src/option.c:829 msgid "Use specified font" msgstr "Bestimmte Schriftart benutzen" -#: ../src/option.c:819 +#: ../src/option.c:835 #, fuzzy msgid "Enable text wrapping" msgstr "Textumbruch nicht aktivieren" -#: ../src/option.c:825 +#: ../src/option.c:841 msgid "Set justification (TYPE - left, right, center or fill)" msgstr "" -#: ../src/option.c:831 +#: ../src/option.c:847 msgid "Set text margins" msgstr "" -#: ../src/option.c:832 +#: ../src/option.c:848 msgid "SIZE" msgstr "" -#: ../src/option.c:837 +#: ../src/option.c:853 msgid "Autoscroll to end of text" msgstr "" -#: ../src/option.c:843 +#: ../src/option.c:859 msgid "Open file" msgstr "Datei öffnen" -#: ../src/option.c:855 +#: ../src/option.c:871 msgid "Make URI clickable" msgstr "" -#: ../src/option.c:865 +#: ../src/option.c:881 msgid "Show about dialog" msgstr "Über-Dialog" -#: ../src/option.c:871 +#: ../src/option.c:887 msgid "Print version" msgstr "Version" -#: ../src/option.c:1032 +#: ../src/option.c:1052 #, fuzzy, c-format msgid "Unknown align type: %s\n" msgstr "Befehl '%s' unbekannt\n" -#: ../src/option.c:1051 +#: ../src/option.c:1071 #, c-format msgid "Unknown justification type: %s\n" msgstr "" -#: ../src/option.c:1081 +#: ../src/option.c:1101 #, fuzzy, c-format msgid "Unknown ellipsize type: %s\n" msgstr "Befehl '%s' unbekannt\n" -#: ../src/option.c:1197 +#: ../src/option.c:1219 msgid "File exist. Overwrite?" msgstr "" -#: ../src/option.c:1268 +#: ../src/option.c:1291 msgid "Yet another dialoging program" msgstr "Nur ein anderes Dialog-Programm" #. Adds general option entries -#: ../src/option.c:1272 +#: ../src/option.c:1295 msgid "General options" msgstr "Allgemeine Einstellungen" -#: ../src/option.c:1273 +#: ../src/option.c:1296 msgid "Show general options" msgstr "Allgemeine Einstellungen anzeigen" #. Adds calendar option entries -#: ../src/option.c:1279 +#: ../src/option.c:1302 msgid "Calendar options" msgstr "Kalender-Einstellungen" -#: ../src/option.c:1280 +#: ../src/option.c:1303 msgid "Show calendar options" msgstr "Kalender-Einstellungen anzeigen" #. Adds color option entries -#: ../src/option.c:1286 +#: ../src/option.c:1309 #, fuzzy msgid "Color selection options" msgstr "Dateiauswahl-Einstellungen" -#: ../src/option.c:1287 +#: ../src/option.c:1310 #, fuzzy msgid "Show color selection options" msgstr "Dateiauswahl-Einstellungen anzeigen" #. Adds dnd option entries -#: ../src/option.c:1293 +#: ../src/option.c:1316 #, fuzzy msgid "DND options" msgstr "Formular-Einstellungen" -#: ../src/option.c:1294 +#: ../src/option.c:1317 #, fuzzy msgid "Show drag-n-drop options" msgstr "Kalender-Einstellungen anzeigen" #. Adds entry option entries -#: ../src/option.c:1300 +#: ../src/option.c:1323 msgid "Text entry options" msgstr "Textfeld-Einstellungen" -#: ../src/option.c:1301 +#: ../src/option.c:1324 msgid "Show text entry options" msgstr "Textfeld-Einstellungen anzeigen" #. Adds file selection option entries -#: ../src/option.c:1307 +#: ../src/option.c:1330 msgid "File selection options" msgstr "Dateiauswahl-Einstellungen" -#: ../src/option.c:1308 +#: ../src/option.c:1331 msgid "Show file selection options" msgstr "Dateiauswahl-Einstellungen anzeigen" #. Add font selection option entries -#: ../src/option.c:1314 +#: ../src/option.c:1337 #, fuzzy msgid "Font selection options" msgstr "Dateiauswahl-Einstellungen" -#: ../src/option.c:1315 +#: ../src/option.c:1338 #, fuzzy msgid "Show font selection options" msgstr "Dateiauswahl-Einstellungen anzeigen" #. Add form option entries -#: ../src/option.c:1321 +#: ../src/option.c:1344 msgid "Form options" msgstr "Formular-Einstellungen" -#: ../src/option.c:1322 +#: ../src/option.c:1345 msgid "Show form options" msgstr "Formular-Einstellungen anzeigen" #. Add icons option entries -#: ../src/option.c:1328 +#: ../src/option.c:1351 #, fuzzy msgid "Icons box options" msgstr "Farb-Einstellungen" -#: ../src/option.c:1329 +#: ../src/option.c:1352 #, fuzzy msgid "Show icons box options" msgstr "Farb-Einstellungen anzeigen" #. Adds list option entries -#: ../src/option.c:1335 +#: ../src/option.c:1358 msgid "List options" msgstr "Listen-Einstellungen" -#: ../src/option.c:1336 +#: ../src/option.c:1359 msgid "Show list options" msgstr "Listen-Einstellungen anzeigen" #. Adds notification option entries -#: ../src/option.c:1342 +#: ../src/option.c:1365 msgid "Notification icon options" msgstr "Benachrichtigungssymbol-Einstellungen" -#: ../src/option.c:1343 +#: ../src/option.c:1366 msgid "Show notification icon options" msgstr "Benachrichtigungssymbol-Einstellungen" #. Adds progress option entries -#: ../src/option.c:1349 +#: ../src/option.c:1372 msgid "Progress options" msgstr "Fortschrittsbalken-Einstellungen" -#: ../src/option.c:1350 +#: ../src/option.c:1373 msgid "Show progress options" msgstr "Fortschrittsbalken-Einstellungen anzeigen" #. Adds scale option entries -#: ../src/option.c:1356 +#: ../src/option.c:1379 msgid "Scale options" msgstr "Schieberegler-Einstellungen" -#: ../src/option.c:1357 +#: ../src/option.c:1380 msgid "Show scale options" msgstr "Schieberegler-Einstellungen anzeigen" #. Adds text option entries -#: ../src/option.c:1363 +#: ../src/option.c:1386 msgid "Text information options" msgstr "Informationstext-Einstellungen" -#: ../src/option.c:1364 +#: ../src/option.c:1387 msgid "Show text information options" msgstr "Informationstext-Einstellungen anzeigen" #. Adds miscellaneous option entries -#: ../src/option.c:1370 +#: ../src/option.c:1393 msgid "Miscellaneous options" msgstr "Verschiedene Einstellungen" -#: ../src/option.c:1371 +#: ../src/option.c:1394 msgid "Show miscellaneous options" msgstr "Verschiedene Einstellungen anzeigen" -#: ../src/color.c:64 +#: ../src/color.c:62 #, c-format msgid "Can't open file %s: %s" msgstr "" #. create expander -#: ../src/color.c:144 +#: ../src/color.c:147 msgid "Palette" msgstr "" -#: ../src/color.c:163 +#: ../src/color.c:167 msgid "Color" msgstr "" -#: ../src/color.c:180 +#: ../src/color.c:184 msgid "Name" msgstr "" -#: ../src/text.c:273 +#: ../src/text.c:271 #, c-format msgid "Invalid UTF-8 data encountered reading file %s\n" msgstr "" -#: ../src/browser.c:127 +#: ../src/browser.c:129 msgid "scalable " msgstr "" -#: ../src/browser.c:135 +#: ../src/browser.c:137 #, c-format msgid "" "<b>Name:</b> %s\n" @@ -1012,24 +1025,24 @@ "<b>Filename:</b> %s" msgstr "" -#: ../src/browser.c:136 +#: ../src/browser.c:138 msgid "built-in" msgstr "" #. initialize GTK+ and parse the command line arguments -#: ../src/browser.c:195 +#: ../src/browser.c:197 msgid "- Icon browser" msgstr "" -#: ../src/browser.c:208 +#: ../src/browser.c:210 msgid "Icon browser" msgstr "" -#: ../src/browser.c:251 +#: ../src/browser.c:261 msgid "Category" msgstr "" -#: ../src/browser.c:284 +#: ../src/browser.c:294 msgid "Icons" msgstr "" @@ -1041,6 +1054,10 @@ msgid "Inspect GTK Icon Theme" msgstr "" +#, fuzzy +#~ msgid "NUM" +#~ msgstr "ZAHL" + #~ msgid "Color options" #~ msgstr "Farb-Einstellungen"
View file
yad-0.12.4.tar.bz2/po/ru.po -> yad-0.13.0.tar.bz2/po/ru.po
Changed
@@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: YAD\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-18 20:38+0300\n" +"POT-Creation-Date: 2011-07-29 18:04+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n" "Last-Translator: Victor Ananjevsky <ananasik@gmail.com>\n" "Language-Team: Russian\n" @@ -19,25 +19,24 @@ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -#: ../src/about.c:32 +#: ../src/about.c:30 msgid "translator-credits" msgstr "Виктор Ананьевский <ananasik@gmail.com>" -#: ../src/about.c:34 +#: ../src/about.c:32 msgid "" -"This program is free software; you can redistribute it and/or modify it " -"under the terms of the GNU General Public License as published by the Free " -"Software Foundation; either version 3 of the License, or (at your option) " -"any later version.\n" +"YAD is free software; you can redistribute it and/or modify it under the " +"terms of the GNU General Public License as published by the Free Software " +"Foundation; either version 3 of the License, or (at your option) any later " +"version.\n" "\n" -"This program is distributed in the hope that it will be useful, but WITHOUT " -"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or " -"FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for " -"more details.\n" +"YAD is distributed in the hope that it will be useful, but WITHOUT ANY " +"WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " +"FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " +"details.\n" "\n" "You should have received a copy of the GNU General Public License along with " -"this program; if not, write to the Free Software Foundation, Inc., 59 Temple " -"Place, Suite 330, Boston, MA 02111-1307 USA." +"YAD. If not, see <http://www.gnu.org/licenses/>." msgstr "" "YAD - свободное программное обеспечение; вы можете распространять его и/или " "модифицировать на условиях Универсальной общественной лицензии GNU версии 3 " @@ -50,11 +49,9 @@ "обратитесь к Универсальной Общественной Лицензии GNU.\n" "\n" "Вы должны получить копию лицензии GNU c программой. Если лицензия не была " -"получена, известите об этом Фонд свободного программного обеспечения по " -"адресу Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, " -"MA 02111-1307 USA." +"получена, смотрите <http://www.gnu.org/licenses/>." -#: ../src/about.c:53 +#: ../src/about.c:50 msgid "" "Yet Another Dialog\n" "(show dialog boxes from shell scripts)\n" @@ -66,492 +63,510 @@ "\n" "Основан на коде Zenity\n" -#: ../src/calendar.c:41 ../src/text.c:243 +#: ../src/calendar.c:39 ../src/text.c:241 #, c-format msgid "Cannot open file '%s': %s\n" msgstr "Не могу открыть файл %s: %s\n" -#: ../src/entry.c:141 ../src/scale.c:39 +#: ../src/entry.c:145 ../src/scale.c:37 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Максимальное значение должно быть больше, чем минимальное.\n" -#: ../src/entry.c:147 ../src/scale.c:48 +#: ../src/entry.c:151 ../src/scale.c:46 #, c-format msgid "Initial value less than minimal.\n" msgstr "Начальное значение меньше минимального.\n" -#: ../src/entry.c:152 ../src/scale.c:53 +#: ../src/entry.c:156 ../src/scale.c:51 #, c-format msgid "Initial value greater than maximum.\n" msgstr "Начальное значение больше маскимального.\n" -#: ../src/form.c:42 +#: ../src/form.c:53 msgid "Select files" msgstr "Выбрать файлы" -#: ../src/form.c:90 +#: ../src/form.c:101 msgid "Select date" msgstr "Выбрать дату" -#: ../src/form.c:210 +#: ../src/form.c:233 msgid "Select file" msgstr "Выбрать файл" -#: ../src/form.c:216 +#: ../src/form.c:240 msgid "Select folder" msgstr "Выбрать каталог" -#: ../src/icons.c:249 +#: ../src/icons.c:247 #, c-format msgid "Unable to parse file %s: %s\n" msgstr "Не могу разобрать файл %s: %s\n" -#: ../src/icons.c:266 +#: ../src/icons.c:264 #, c-format msgid "Unable to open directory %s: %s\n" msgstr "Не могу открыть каталог %s: %s\n" -#: ../src/main.c:71 ../src/main.c:167 +#: ../src/main.c:69 ../src/main.c:205 #, c-format msgid "%d sec" msgstr "%d сек" -#: ../src/main.c:107 +#: ../src/main.c:112 #, c-format msgid "Error loading window icon %s: %s\n" msgstr "Ошибка при загрузке иконки окна %s: %s\n" -#: ../src/main.c:386 +#: ../src/main.c:437 #, c-format msgid "Unable parse command line: %s\n" msgstr "Не удается разобрать командную строку: %s\n" -#: ../src/notification.c:72 +#: ../src/notification.c:70 #, c-format msgid "Could not load notification icon '%s': %s\n" msgstr "Не удается загрузить иконку '%s': %s\n" -#: ../src/notification.c:236 +#: ../src/notification.c:234 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Неверная последовательность UTF-8 в подсказке!\n" -#: ../src/notification.c:289 +#: ../src/notification.c:297 #, c-format msgid "Unknown command '%s'\n" msgstr "Неизвестная команда '%s'\n" -#: ../src/notification.c:325 +#: ../src/notification.c:333 msgid "Yad notification" msgstr "Диалог уведомлений" -#: ../src/list.c:645 +#: ../src/list.c:666 msgid "Add row" msgstr "Добавить строку" -#: ../src/list.c:654 +#: ../src/list.c:675 msgid "Delete row" msgstr "Удалить строку" -#: ../src/list.c:683 +#: ../src/list.c:704 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Не заданы заголовоки колонок для диалога со списком\n" -#: ../src/option.c:55 +#: ../src/option.c:53 msgid "Set the dialog title" msgstr "Задать заголовок диалога" -#: ../src/option.c:56 +#: ../src/option.c:54 msgid "TITLE" msgstr "ЗАГОЛОВОК" -#: ../src/option.c:61 +#: ../src/option.c:59 msgid "Set the window icon" msgstr "Задать значок диалога" -#: ../src/option.c:62 +#: ../src/option.c:60 msgid "ICONPATH" msgstr "ЗНАЧОК" -#: ../src/option.c:67 +#: ../src/option.c:65 msgid "Set the width" msgstr "Задать ширину окна" -#: ../src/option.c:68 +#: ../src/option.c:66 msgid "WIDTH" msgstr "ШИРИНА" -#: ../src/option.c:73 +#: ../src/option.c:71 msgid "Set the height" msgstr "Задать высоту окна" -#: ../src/option.c:74 +#: ../src/option.c:72 msgid "HEIGHT" msgstr "ВЫСОТА" -#: ../src/option.c:79 +#: ../src/option.c:77 msgid "Set the window geometry" msgstr "Задать геометрию окна" -#: ../src/option.c:80 +#: ../src/option.c:78 msgid "WxH+X+Y" msgstr "ВxШ+X+Y" -#: ../src/option.c:85 +#: ../src/option.c:83 msgid "Set dialog timeout in seconds" msgstr "Задать время работы диалога в секундах" -#: ../src/option.c:86 +#: ../src/option.c:84 msgid "TIMEOUT" msgstr "ЗАДЕРЖКА" -#: ../src/option.c:91 +#: ../src/option.c:89 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "Показать индикатор задержки (top, bottom, left, right)" -#: ../src/option.c:92 +#: ../src/option.c:90 msgid "POS" msgstr "ПОЗИЦИЯ" -#: ../src/option.c:97 +#: ../src/option.c:95 msgid "Set the dialog text" msgstr "Задать текст диалога" -#: ../src/option.c:98 ../src/option.c:305 ../src/option.c:311 -#: ../src/option.c:317 ../src/option.c:445 ../src/option.c:695 +#: ../src/option.c:96 ../src/option.c:315 ../src/option.c:321 +#: ../src/option.c:327 ../src/option.c:455 ../src/option.c:711 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:103 +#: ../src/option.c:101 msgid "Set the dialog image" msgstr "Задать картинку диалога" -#: ../src/option.c:104 ../src/option.c:341 ../src/option.c:353 +#: ../src/option.c:102 ../src/option.c:351 ../src/option.c:363 msgid "IMAGE" msgstr "КАРТИНКА" -#: ../src/option.c:109 +#: ../src/option.c:107 msgid "Show image above main widget" msgstr "Показывать картинку над основным виджетом" -#: ../src/option.c:115 +#: ../src/option.c:113 msgid "Use specified icon theme instead of default" msgstr "Использовать указанную тему иконок" -#: ../src/option.c:116 +#: ../src/option.c:114 msgid "THEME" msgstr "ТЕМА" -#: ../src/option.c:121 +#: ../src/option.c:119 msgid "Add dialog button (may be used multiple times)" msgstr "Добавить кнопку (может использоваться несколько раз)" -#: ../src/option.c:122 +#: ../src/option.c:120 msgid "NAME:ID" msgstr "ИМЯ:ID" -#: ../src/option.c:127 +#: ../src/option.c:125 msgid "Don't show buttons" msgstr "Не показывать кнопки" -#: ../src/option.c:133 +#: ../src/option.c:131 msgid "Don't use pango markup language in dialog's text" msgstr "Не использовать разметку pango в тексте" -#: ../src/option.c:140 +#: ../src/option.c:138 msgid "Add separator between dialog and buttons" msgstr "Добавить разделитель между диалогом и кнопками" -#: ../src/option.c:147 +#: ../src/option.c:145 +msgid "Set window borders" +msgstr "Установить границы окна" + +#: ../src/option.c:146 ../src/option.c:483 ../src/option.c:631 +#: ../src/option.c:637 ../src/option.c:643 ../src/option.c:649 +#: ../src/option.c:655 +msgid "NUMBER" +msgstr "ЧИСЛО" + +#: ../src/option.c:151 msgid "Always print result" msgstr "Всегда выводить результат" -#: ../src/option.c:154 +#: ../src/option.c:157 +msgid "Dialog text can be selected" +msgstr "Текст диалога может быть выделен" + +#: ../src/option.c:164 msgid "Set window sticky" msgstr "Окно видимо на всех рабочих столах" -#: ../src/option.c:160 +#: ../src/option.c:170 msgid "Set window unresizable" msgstr "Неизменяемый размер" -#: ../src/option.c:166 +#: ../src/option.c:176 msgid "Place window on top" msgstr "Разместить окно поверх остальных" -#: ../src/option.c:172 +#: ../src/option.c:182 msgid "Place window on center of screen" msgstr "Разместить окно в центре экрана" -#: ../src/option.c:178 +#: ../src/option.c:188 msgid "Place window at the mouse position" msgstr "Разместить окно под указателем мыши" -#: ../src/option.c:184 +#: ../src/option.c:194 msgid "Set window undecorated" msgstr "Убрать обрамление" -#: ../src/option.c:190 +#: ../src/option.c:200 msgid "Don't show window in taskbar" msgstr "Не показывать окно в панели задач" -#: ../src/option.c:197 +#: ../src/option.c:207 msgid "Send TERM to parent" msgstr "Послать TERM родителю" -#: ../src/option.c:208 +#: ../src/option.c:218 msgid "Display calendar dialog" msgstr "Отобразить диалог для выбора даты" -#: ../src/option.c:214 +#: ../src/option.c:224 msgid "Set the calendar day" msgstr "Задать день календаря" -#: ../src/option.c:215 +#: ../src/option.c:225 msgid "DAY" msgstr "ДЕНЬ" -#: ../src/option.c:220 +#: ../src/option.c:230 msgid "Set the calendar month" msgstr "Задать месяц календаря" -#: ../src/option.c:221 +#: ../src/option.c:231 msgid "MONTH" msgstr "МЕСЯЦ" -#: ../src/option.c:226 +#: ../src/option.c:236 msgid "Set the calendar year" msgstr "Задать год календаря" -#: ../src/option.c:227 +#: ../src/option.c:237 msgid "YEAR" msgstr "ГОД" -#: ../src/option.c:232 ../src/option.c:484 +#: ../src/option.c:242 ../src/option.c:500 msgid "Set the format for the returned date" msgstr "Задать формат возвращаемой даты" -#: ../src/option.c:233 ../src/option.c:485 ../src/option.c:532 +#: ../src/option.c:243 ../src/option.c:501 ../src/option.c:548 msgid "PATTERN" msgstr "ШАБЛОН" -#: ../src/option.c:238 +#: ../src/option.c:248 msgid "Set the filename with dates details" msgstr "Задать имя файла с описанием дат" -#: ../src/option.c:239 ../src/option.c:267 ../src/option.c:381 -#: ../src/option.c:844 +#: ../src/option.c:249 ../src/option.c:277 ../src/option.c:391 +#: ../src/option.c:860 msgid "FILENAME" msgstr "ИМЯ_ФАЙЛА" -#: ../src/option.c:248 +#: ../src/option.c:258 msgid "Display color selection dialog" msgstr "Отобразить диалог для выбора цвета" -#: ../src/option.c:254 +#: ../src/option.c:264 msgid "Alias for --color" msgstr "Синоним для --color" -#: ../src/option.c:260 +#: ../src/option.c:270 msgid "Set initial color value" msgstr "Задать начальное значение цвета" -#: ../src/option.c:261 ../src/option.c:802 ../src/option.c:808 +#: ../src/option.c:271 ../src/option.c:818 ../src/option.c:824 msgid "COLOR" msgstr "ЦВЕТ" -#: ../src/option.c:266 +#: ../src/option.c:276 msgid "Set path to palette file. Default - " msgstr "Задать путь к файлу цветов. По-умолчанию - " -#: ../src/option.c:272 +#: ../src/option.c:282 msgid "Use #rrrrggggbbbb format instead of #rrggbb" msgstr "Использовать формат #rrrrggggbbbb вместо #rrggbb" -#: ../src/option.c:282 +#: ../src/option.c:292 msgid "Display drag-n-drop box" msgstr "Отобразить диалог для перехвата dnd" -#: ../src/option.c:288 +#: ../src/option.c:298 msgid "Set command for process d-n-d data" msgstr "Команда для обработки полученных данных" -#: ../src/option.c:289 ../src/option.c:347 ../src/option.c:359 -#: ../src/option.c:645 ../src/option.c:661 +#: ../src/option.c:299 ../src/option.c:357 ../src/option.c:369 +#: ../src/option.c:661 ../src/option.c:677 msgid "CMD" msgstr "КОМАНДА" -#: ../src/option.c:298 +#: ../src/option.c:308 msgid "Display text entry or combo-box dialog" msgstr "Отобразить диалог для ввода текста или выбора варианта" -#: ../src/option.c:304 +#: ../src/option.c:314 msgid "Set the entry label" msgstr "Задать метку поля ввода" -#: ../src/option.c:310 +#: ../src/option.c:320 msgid "Set the entry text" msgstr "Задать текст по умолчанию для ввода" -#: ../src/option.c:316 +#: ../src/option.c:326 msgid "Hide the entry text" msgstr "Прятать введенный текст (Пароль)" -#: ../src/option.c:322 +#: ../src/option.c:332 msgid "Use completion instead of combo-box" msgstr "Использовать автодополнение вместо списка значений" -#: ../src/option.c:328 +#: ../src/option.c:338 msgid "Use spin button for text entry" msgstr "Использовать числовое поле вместо текста" -#: ../src/option.c:334 +#: ../src/option.c:344 msgid "Allow changes to text in combo-box" msgstr "Разрешить изменять текст в режиме выбора варианта" -#: ../src/option.c:340 +#: ../src/option.c:350 msgid "Set the left entry icon" msgstr "Задать левый значок" -#: ../src/option.c:346 +#: ../src/option.c:356 msgid "Set the left entry icon action" msgstr "Действие для левого значка" -#: ../src/option.c:352 +#: ../src/option.c:362 msgid "Set the right entry icon" msgstr "Задать правый значок" -#: ../src/option.c:358 +#: ../src/option.c:368 msgid "Set the right entry icon action" msgstr "Действие для правого значка" -#: ../src/option.c:368 +#: ../src/option.c:378 msgid "Display file selection dialog" msgstr "Отобразить диалог для выбора файла" -#: ../src/option.c:374 +#: ../src/option.c:384 msgid "Alias for --file" msgstr "Синоним для --file" -#: ../src/option.c:380 +#: ../src/option.c:390 msgid "Set the filename" msgstr "Задать имя файла" -#: ../src/option.c:386 +#: ../src/option.c:396 msgid "Allow multiple files to be selected" msgstr "Разрешить выбор нескольких файлов" -#: ../src/option.c:392 +#: ../src/option.c:402 msgid "Activate directory-only selection" msgstr "Активировать выделение только по каталогам" -#: ../src/option.c:398 +#: ../src/option.c:408 msgid "Activate save mode" msgstr "Активировать режим сохранения" -#: ../src/option.c:404 ../src/option.c:472 ../src/option.c:584 +#: ../src/option.c:414 ../src/option.c:488 ../src/option.c:600 msgid "Set output separator character" msgstr "Установить выходной разделяющий символ" -#: ../src/option.c:405 ../src/option.c:473 ../src/option.c:479 -#: ../src/option.c:585 ../src/option.c:673 ../src/option.c:679 +#: ../src/option.c:415 ../src/option.c:489 ../src/option.c:495 +#: ../src/option.c:601 ../src/option.c:689 ../src/option.c:695 msgid "SEPARATOR" msgstr "РАЗДЕЛИТЕЛЬ" -#: ../src/option.c:410 +#: ../src/option.c:420 msgid "Confirm file selection if filename already exists" msgstr "Подтверждать выбор файла, если файл уже существует" -#: ../src/option.c:411 +#: ../src/option.c:421 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:416 +#: ../src/option.c:426 msgid "Sets a filename filter" msgstr "Задать фильтр файлов" -#: ../src/option.c:417 +#: ../src/option.c:427 msgid "NAME | PATTERN1 PATTERN2 ..." msgstr "ИМЯ | ШАБЛОН1 ШАБЛОН2 ..." -#: ../src/option.c:426 +#: ../src/option.c:436 msgid "Display font selection dialog" msgstr "Отобразить диалог для выбора шрифта" -#: ../src/option.c:432 +#: ../src/option.c:442 msgid "Alias for --font" msgstr "Синоним для --font" -#: ../src/option.c:438 +#: ../src/option.c:448 msgid "Set initial font" msgstr "Задать начальный шрифт" -#: ../src/option.c:439 ../src/option.c:814 +#: ../src/option.c:449 ../src/option.c:830 msgid "FONTNAME" msgstr "ИМЯ_ШРИФТА" -#: ../src/option.c:444 +#: ../src/option.c:454 msgid "Set preview text" msgstr "Задать текст образца" -#: ../src/option.c:454 +#: ../src/option.c:464 msgid "Display form dialog" msgstr "Отобразить диалог формы ввода" -#: ../src/option.c:460 +#: ../src/option.c:470 msgid "" -"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, DIR, FN, MFL, DT or " -"CLR)" +"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, DIR, FN, MFL, DT, " +"CLR, BTN or LBL)" msgstr "" "Добавить поле к форме (Тип поля: Н, RO, NUM, CHK, CB, CBE, FL, DIR, FN, MFL, " -"DT или CLR)" +"DT, CLR, BTN или LBL)" -#: ../src/option.c:461 +#: ../src/option.c:471 msgid "LABEL:TYPE" msgstr "МЕТКА:ТИП" -#: ../src/option.c:466 +#: ../src/option.c:476 msgid "Set alignment of fileds labels (left, center or right)" msgstr "Задать выравнивание меток полей (left, center или right)" -#: ../src/option.c:467 ../src/option.c:609 ../src/option.c:826 +#: ../src/option.c:477 ../src/option.c:625 ../src/option.c:842 msgid "TYPE" msgstr "ТИП" -#: ../src/option.c:478 +#: ../src/option.c:482 +msgid "Set number of columns in form" +msgstr "Задать количество колонок в форме" + +#: ../src/option.c:494 msgid "Set separator character for combobox or scale data" msgstr "Установить разделяющий символ для данных списка или числового поля" -#: ../src/option.c:494 +#: ../src/option.c:510 msgid "Display icons box dialog" msgstr "Отобразить диалог со значками быстрого доступа" -#: ../src/option.c:500 +#: ../src/option.c:516 msgid "Read data from .desktop files in specified directory" msgstr "Читать данные из .desktop файлов в определенном каталоге" -#: ../src/option.c:501 +#: ../src/option.c:517 msgid "DIRECTORY" msgstr "КАТАЛОГ" -#: ../src/option.c:506 +#: ../src/option.c:522 msgid "Use compact (list) view" msgstr "Использовать компактный вид (список)" -#: ../src/option.c:512 +#: ../src/option.c:528 msgid "Use GenericName field instead of Name for icon label" msgstr "Использовать поле GenericName вместо Name для метки" -#: ../src/option.c:518 +#: ../src/option.c:534 msgid "Read data from stdin" msgstr "Читать данные со стандартного ввода" -#: ../src/option.c:524 +#: ../src/option.c:540 msgid "Set the width of dialog items" msgstr "Задать ширину элемента диалога" -#: ../src/option.c:531 +#: ../src/option.c:547 #, no-c-format msgid "" "Use specified pattern for launch command in terminal (default: xterm -e %s)" @@ -559,57 +574,57 @@ "Использовать указанный шаблон для запуска в терминале (по умолчанию: xterm -" "e %s)" -#: ../src/option.c:537 +#: ../src/option.c:553 msgid "Sort items by name instead of filename" msgstr "Сортировать по полю Имя вместо имени файла" -#: ../src/option.c:543 +#: ../src/option.c:559 msgid "Sort items in descending order" msgstr "Сортировать в убывающем порядке" -#: ../src/option.c:553 +#: ../src/option.c:569 msgid "Display list dialog" msgstr "Отобразить диалог со списком" -#: ../src/option.c:559 +#: ../src/option.c:575 msgid "Don't show column headers" msgstr "Не показывать заголовки колонок" -#: ../src/option.c:565 +#: ../src/option.c:581 msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, IMG or TIP)" msgstr "Задать заголовок столбца (ТИП - TEXT, NUM, FLT, CHK, IMG или TIP)" -#: ../src/option.c:566 +#: ../src/option.c:582 msgid "COLUMN:TYPE" msgstr "СТОЛБЕЦ:ТИП" -#: ../src/option.c:571 +#: ../src/option.c:587 msgid "Use check boxes for first column" msgstr "Использовать флажки для первой колонки" -#: ../src/option.c:577 +#: ../src/option.c:593 msgid "Alias to checklist (deprecated)" msgstr "Синоним для checklist" -#: ../src/option.c:590 +#: ../src/option.c:606 msgid "Allow multiple rows to be selected" msgstr "Разрешить выбор нескольких строк" -#: ../src/option.c:596 ../src/option.c:849 +#: ../src/option.c:612 ../src/option.c:865 msgid "Allow changes to text" msgstr "Разрешить изменять текст" -#: ../src/option.c:602 +#: ../src/option.c:618 msgid "Print all data from list" msgstr "Печатать таблицу полностью" -#: ../src/option.c:608 +#: ../src/option.c:624 msgid "Set ellipsize mode for text columns (TYPE - NONE, START, MIDDLE or END)" msgstr "" "Задать тип усечсения для текстовых столбцов (ТИП - NONE, START, MIDDLE или " "END)" -#: ../src/option.c:614 +#: ../src/option.c:630 msgid "" "Print a specific column. By default or if 0 is specified will be printed all " "columns" @@ -617,367 +632,362 @@ "Распечатать только определённый столбец. По-умолчанию или если столбец равен " "0, будут распечатаны все столбцы" -#: ../src/option.c:615 ../src/option.c:621 ../src/option.c:627 -#: ../src/option.c:633 ../src/option.c:639 -msgid "NUMBER" -msgstr "ЧИСЛО" - -#: ../src/option.c:620 +#: ../src/option.c:636 msgid "Hide a specific column" msgstr "Скрыть указанный столбец" -#: ../src/option.c:626 +#: ../src/option.c:642 msgid "Set the column expandable by default. 0 sets all columns expandable" msgstr "" "Задать колонку, расширяемую по-умолчанию. 0 устанавливает расширяемыми все " "колонки" -#: ../src/option.c:632 +#: ../src/option.c:648 msgid "" "Set the quick search column. Default is first column. Set it to 0 for " "disable searching" msgstr "Задать колонку поиска. По-умолчанию первая. 0 запрещает поиск" -#: ../src/option.c:638 +#: ../src/option.c:654 msgid "Set the limit of rows in list" msgstr "Задать количество строк в списке" -#: ../src/option.c:644 +#: ../src/option.c:660 msgid "Set double-click action" msgstr "Действие по двойному щелчку мыши" -#: ../src/option.c:654 +#: ../src/option.c:670 msgid "Display notification" msgstr "Отобразить диалог уведомления" -#: ../src/option.c:660 +#: ../src/option.c:676 msgid "Set left-click action" msgstr "Действие по левому щелчку мыши" -#: ../src/option.c:666 +#: ../src/option.c:682 msgid "Listen for commands on stdin" msgstr "Воспринимать команды со стандартного ввода" -#: ../src/option.c:672 +#: ../src/option.c:688 msgid "Set separator character for menu values" msgstr "Установить разделяющий символ для значений меню" -#: ../src/option.c:678 +#: ../src/option.c:694 msgid "Set separator character for menu items" msgstr "Установить разделяющий символ для элементов меню" -#: ../src/option.c:688 +#: ../src/option.c:704 msgid "Display progress indication dialog" msgstr "Отобразить диалог хода процесса" -#: ../src/option.c:694 +#: ../src/option.c:710 msgid "Set progress text" msgstr "Показывать текст на индикаторе" -#: ../src/option.c:700 +#: ../src/option.c:716 msgid "Set initial percentage" msgstr "Задать начальный процент" -#: ../src/option.c:701 +#: ../src/option.c:717 msgid "PERCENTAGE" msgstr "ПРОЦЕНТЫ" -#: ../src/option.c:706 +#: ../src/option.c:722 msgid "Pulsate progress bar" msgstr "Пульсирующий индикатор прогресса" -#: ../src/option.c:713 +#: ../src/option.c:729 #, no-c-format msgid "Dismiss the dialog when 100% has been reached" msgstr "Закрыть диалог когда дойдет до 100%" -#: ../src/option.c:720 +#: ../src/option.c:736 msgid "Kill parent process if cancel button is pressed" msgstr "Завершить родительский процесс, если нажата кнопка отмены" -#: ../src/option.c:727 +#: ../src/option.c:743 msgid "Right-To-Left progress bar direction" msgstr "Направление индикатора Справа-Налево" -#: ../src/option.c:737 +#: ../src/option.c:753 msgid "Display scale dialog" msgstr "Отобразить диалог масштаба" -#: ../src/option.c:743 +#: ../src/option.c:759 msgid "Set initial value" msgstr "Задать начальное значение" -#: ../src/option.c:744 ../src/option.c:750 ../src/option.c:756 -#: ../src/option.c:762 +#: ../src/option.c:760 ../src/option.c:766 ../src/option.c:772 +#: ../src/option.c:778 msgid "VALUE" msgstr "ЗНАЧЕНИЕ" -#: ../src/option.c:749 +#: ../src/option.c:765 msgid "Set minimum value" msgstr "Задать минимальное значение" -#: ../src/option.c:755 +#: ../src/option.c:771 msgid "Set maximum value" msgstr "Задать максимальное значение" -#: ../src/option.c:761 +#: ../src/option.c:777 msgid "Set step size" msgstr "Задать шаг" -#: ../src/option.c:767 +#: ../src/option.c:783 msgid "Print partial values" msgstr "Печатать частичные значения" -#: ../src/option.c:773 +#: ../src/option.c:789 msgid "Hide value" msgstr "Скрыть величину" -#: ../src/option.c:779 +#: ../src/option.c:795 msgid "Show vertical scale" msgstr "Показывать вертикальную шкалу" -#: ../src/option.c:785 +#: ../src/option.c:801 msgid "Invert direction" msgstr "Инвертировать направление" -#: ../src/option.c:795 +#: ../src/option.c:811 msgid "Display text information dialog" msgstr "Отобразить диалог с текстовой информацией" -#: ../src/option.c:801 +#: ../src/option.c:817 msgid "Use specified color for text" msgstr "Использовать указанный цвет текста" -#: ../src/option.c:807 +#: ../src/option.c:823 msgid "Use specified color for background" msgstr "Использовать указанный цвет фона" -#: ../src/option.c:813 +#: ../src/option.c:829 msgid "Use specified font" msgstr "Использовать указанный шрифт" -#: ../src/option.c:819 +#: ../src/option.c:835 msgid "Enable text wrapping" msgstr "Разрешить перенос текста" -#: ../src/option.c:825 +#: ../src/option.c:841 msgid "Set justification (TYPE - left, right, center or fill)" msgstr "Установить выравнивание (ТИП - left, right, center или fill)" -#: ../src/option.c:831 +#: ../src/option.c:847 msgid "Set text margins" msgstr "Установить отступы" -#: ../src/option.c:832 +#: ../src/option.c:848 msgid "SIZE" msgstr "РАЗМЕР" -#: ../src/option.c:837 +#: ../src/option.c:853 msgid "Autoscroll to end of text" msgstr "Автопрокрутка в конец текста" -#: ../src/option.c:843 +#: ../src/option.c:859 msgid "Open file" msgstr "Открыть файл" -#: ../src/option.c:855 +#: ../src/option.c:871 msgid "Make URI clickable" msgstr "Сделать ссылки активными" -#: ../src/option.c:865 +#: ../src/option.c:881 msgid "Show about dialog" msgstr "Показать диалог 'О программе'" -#: ../src/option.c:871 +#: ../src/option.c:887 msgid "Print version" msgstr "Вывести версию" -#: ../src/option.c:1032 +#: ../src/option.c:1052 #, c-format msgid "Unknown align type: %s\n" msgstr "Неизвестный тип выравнивания: %s\n" -#: ../src/option.c:1051 +#: ../src/option.c:1071 #, c-format msgid "Unknown justification type: %s\n" msgstr "Неизвестный тип выравнивания: %s\n" -#: ../src/option.c:1081 +#: ../src/option.c:1101 #, c-format msgid "Unknown ellipsize type: %s\n" msgstr "Неизвестный тип усечения: %s\n" -#: ../src/option.c:1197 +#: ../src/option.c:1219 msgid "File exist. Overwrite?" msgstr "Файл существует. Перезаписать?" -#: ../src/option.c:1268 +#: ../src/option.c:1291 msgid "Yet another dialoging program" msgstr "Программа для отображения диалогов" #. Adds general option entries -#: ../src/option.c:1272 +#: ../src/option.c:1295 msgid "General options" msgstr "Основные параметры" -#: ../src/option.c:1273 +#: ../src/option.c:1296 msgid "Show general options" msgstr "Показывать основные параметры" #. Adds calendar option entries -#: ../src/option.c:1279 +#: ../src/option.c:1302 msgid "Calendar options" msgstr "Параметры календаря" -#: ../src/option.c:1280 +#: ../src/option.c:1303 msgid "Show calendar options" msgstr "Показывать параметры календаря" #. Adds color option entries -#: ../src/option.c:1286 +#: ../src/option.c:1309 msgid "Color selection options" msgstr "Параметры диалога выбора цвета" -#: ../src/option.c:1287 +#: ../src/option.c:1310 msgid "Show color selection options" msgstr "Показывать параметры диалога выбора цвета" #. Adds dnd option entries -#: ../src/option.c:1293 +#: ../src/option.c:1316 msgid "DND options" msgstr "Параметры DND" -#: ../src/option.c:1294 +#: ../src/option.c:1317 msgid "Show drag-n-drop options" msgstr "Показывать параметры dnd" #. Adds entry option entries -#: ../src/option.c:1300 +#: ../src/option.c:1323 msgid "Text entry options" msgstr "Параметры ввода текста" -#: ../src/option.c:1301 +#: ../src/option.c:1324 msgid "Show text entry options" msgstr "Показывать параметры ввода текста" #. Adds file selection option entries -#: ../src/option.c:1307 +#: ../src/option.c:1330 msgid "File selection options" msgstr "Параметры диалога выбора файла" -#: ../src/option.c:1308 +#: ../src/option.c:1331 msgid "Show file selection options" msgstr "Показывать параметры диалога выбора файлов" #. Add font selection option entries -#: ../src/option.c:1314 +#: ../src/option.c:1337 msgid "Font selection options" msgstr "Параметры диалога выбора шрифта" -#: ../src/option.c:1315 +#: ../src/option.c:1338 msgid "Show font selection options" msgstr "Показывать параметры диалога выбора шрифта" #. Add form option entries -#: ../src/option.c:1321 +#: ../src/option.c:1344 msgid "Form options" msgstr "Параметры диалога формы" -#: ../src/option.c:1322 +#: ../src/option.c:1345 msgid "Show form options" msgstr "Показывать параметры диалога формы" #. Add icons option entries -#: ../src/option.c:1328 +#: ../src/option.c:1351 msgid "Icons box options" msgstr "Параметры диалога значков" -#: ../src/option.c:1329 +#: ../src/option.c:1352 msgid "Show icons box options" msgstr "Показывать параметры диалога значков быстрого доступа" #. Adds list option entries -#: ../src/option.c:1335 +#: ../src/option.c:1358 msgid "List options" msgstr "Параметры списка" -#: ../src/option.c:1336 +#: ../src/option.c:1359 msgid "Show list options" msgstr "Показывать параметры списка" #. Adds notification option entries -#: ../src/option.c:1342 +#: ../src/option.c:1365 msgid "Notification icon options" msgstr "Параметры значка уведомления" -#: ../src/option.c:1343 +#: ../src/option.c:1366 msgid "Show notification icon options" msgstr "Показывать параметры значка уведомления" #. Adds progress option entries -#: ../src/option.c:1349 +#: ../src/option.c:1372 msgid "Progress options" msgstr "Параметры хода процесса" -#: ../src/option.c:1350 +#: ../src/option.c:1373 msgid "Show progress options" msgstr "Показывать параметры хода процесса" #. Adds scale option entries -#: ../src/option.c:1356 +#: ../src/option.c:1379 msgid "Scale options" msgstr "Параметры масштаба" -#: ../src/option.c:1357 +#: ../src/option.c:1380 msgid "Show scale options" msgstr "Показывать параметры масштаба" #. Adds text option entries -#: ../src/option.c:1363 +#: ../src/option.c:1386 msgid "Text information options" msgstr "Параметры текстовой информации" -#: ../src/option.c:1364 +#: ../src/option.c:1387 msgid "Show text information options" msgstr "Показывать параметры текстовой информации" #. Adds miscellaneous option entries -#: ../src/option.c:1370 +#: ../src/option.c:1393 msgid "Miscellaneous options" msgstr "Дополнительные параметры" -#: ../src/option.c:1371 +#: ../src/option.c:1394 msgid "Show miscellaneous options" msgstr "Показывать дополнительные параметры" -#: ../src/color.c:64 +#: ../src/color.c:62 #, c-format msgid "Can't open file %s: %s" msgstr "Не могу открыть файл %s: %s" #. create expander -#: ../src/color.c:144 +#: ../src/color.c:147 msgid "Palette" msgstr "Палитра" -#: ../src/color.c:163 +#: ../src/color.c:167 msgid "Color" msgstr "Цвет" -#: ../src/color.c:180 +#: ../src/color.c:184 msgid "Name" msgstr "Название" -#: ../src/text.c:273 +#: ../src/text.c:271 #, c-format msgid "Invalid UTF-8 data encountered reading file %s\n" msgstr "Неверная последователньость UTF-8 при чтении файла %s\n" -#: ../src/browser.c:127 +#: ../src/browser.c:129 msgid "scalable " msgstr "масштабируемый " -#: ../src/browser.c:135 +#: ../src/browser.c:137 #, c-format msgid "" "<b>Name:</b> %s\n" @@ -988,24 +998,24 @@ "<b>Размеры:</b> %s\n" "<b>Имя файла:</b> %s" -#: ../src/browser.c:136 +#: ../src/browser.c:138 msgid "built-in" msgstr "встроенный" #. initialize GTK+ and parse the command line arguments -#: ../src/browser.c:195 +#: ../src/browser.c:197 msgid "- Icon browser" msgstr "- Броузер иконок" -#: ../src/browser.c:208 +#: ../src/browser.c:210 msgid "Icon browser" msgstr "Броузер иконок" -#: ../src/browser.c:251 +#: ../src/browser.c:261 msgid "Category" msgstr "Категория" -#: ../src/browser.c:284 +#: ../src/browser.c:294 msgid "Icons" msgstr "Иконки" @@ -1016,3 +1026,7 @@ #: ../data/yad-icon-browser.desktop.in.h:2 msgid "Inspect GTK Icon Theme" msgstr "Исследование темы иконок GTK" + +#, fuzzy +#~ msgid "NUM" +#~ msgstr "ЧИСЛО"
View file
yad-0.12.4.tar.bz2/po/sk.po -> yad-0.13.0.tar.bz2/po/sk.po
Changed
@@ -6,10 +6,10 @@ # msgid "" msgstr "" -"Project-Id-Version: YAD 0.6.0\n" +"Project-Id-Version: YAD 0.12.90\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-18 20:38+0300\n" -"PO-Revision-Date: 2011-03-27 18:30+0200\n" +"POT-Creation-Date: 2011-07-29 18:04+0300\n" +"PO-Revision-Date: 2011-07-30 07:41+0200\n" "Last-Translator: Slavko <linux@slavino.sk>\n" "Language-Team: Slovak <nomail>\n" "Language: \n" @@ -18,41 +18,38 @@ "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -#: ../src/about.c:32 +#: ../src/about.c:30 msgid "translator-credits" msgstr "Slavko <linux@slavino.sk>" -#: ../src/about.c:34 +#: ../src/about.c:32 msgid "" -"This program is free software; you can redistribute it and/or modify it " -"under the terms of the GNU General Public License as published by the Free " -"Software Foundation; either version 3 of the License, or (at your option) " -"any later version.\n" +"YAD is free software; you can redistribute it and/or modify it under the " +"terms of the GNU General Public License as published by the Free Software " +"Foundation; either version 3 of the License, or (at your option) any later " +"version.\n" "\n" -"This program is distributed in the hope that it will be useful, but WITHOUT " -"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or " -"FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for " -"more details.\n" +"YAD is distributed in the hope that it will be useful, but WITHOUT ANY " +"WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " +"FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " +"details.\n" "\n" "You should have received a copy of the GNU General Public License along with " -"this program; if not, write to the Free Software Foundation, Inc., 59 Temple " -"Place, Suite 330, Boston, MA 02111-1307 USA." +"YAD. If not, see <http://www.gnu.org/licenses/>." msgstr "" -"Tento program je slobodný softvér; môžete ho redistribuovať a/alebo " -"modifikovať podľa podmienok GNU General Public License ako je zverejnená " -"Free Software Foundation; buď verzie 3 Licencie alebo (ak chcete) akejkoľvek " -"novšej verzie.\n" +"YAD je slobodný softvér; môžete ho redistribuovať a/alebo modifikovať podľa " +"podmienok GNU General Public License ako je zverejnená Free Software " +"Foundation; buď verzie 3 Licencie alebo (ak chcete) akejkoľvek novšej " +"verzie.\n" "\n" -"Tento program je distribuovaný v nádeji, že bude užitočný, ale BEZ " -"AKEJKOĽVEK ZÁRUKY; dokonca bez implicitnej záruky POUŽITEĽNOSTI alebo " -"VHODNOSTI PRE PRÍSLUŠNÝ CIEĽ. Ďalšie detaily hľadajte v GNU General Public " -"License.\n" +"YAD je distribuovaný v nádeji, že bude užitočný, ale BEZ AKEJKOĽVEK ZÁRUKY; " +"dokonca bez implicitnej záruky POUŽITEĽNOSTI alebo VHODNOSTI PRE PRÍSLUŠNÝ " +"CIEĽ. Ďalšie detaily hľadajte v GNU General Public License.\n" "\n" -"Kópiu GNU General Public License musíte dostať s týmto programom; ak nie, " -"napíšte si o ňu Free Software Foundation, Inc., 51 Franklin Street, Fifth " -"Floor, Boston, MA 02110-1301, USA." +"Kópiu GNU General Public License by ste mali dostať spolu s YAD. Ak nie, " +"pozrite si <http://www.gnu.org/licenses/>." -#: ../src/about.c:53 +#: ../src/about.c:50 msgid "" "Yet Another Dialog\n" "(show dialog boxes from shell scripts)\n" @@ -64,923 +61,930 @@ "\n" "Založený na kóde Zenity\n" -#: ../src/calendar.c:41 ../src/text.c:243 +#: ../src/calendar.c:39 ../src/text.c:241 #, c-format msgid "Cannot open file '%s': %s\n" msgstr "Nemožno otvoriť súbor '%s': %s\n" -#: ../src/entry.c:141 ../src/scale.c:39 +#: ../src/entry.c:145 ../src/scale.c:37 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Maximálna hodnota musí byť väčšia ako minimálna.\n" -#: ../src/entry.c:147 ../src/scale.c:48 +#: ../src/entry.c:151 ../src/scale.c:46 #, c-format msgid "Initial value less than minimal.\n" msgstr "Počiatočná hodnota je menšia ako minimálna.\n" -#: ../src/entry.c:152 ../src/scale.c:53 +#: ../src/entry.c:156 ../src/scale.c:51 #, c-format msgid "Initial value greater than maximum.\n" msgstr "Maximálna hodnota je väčšia ako minimálna.\n" -#: ../src/form.c:42 -#, fuzzy +#: ../src/form.c:53 msgid "Select files" -msgstr "Vyberte súbor" +msgstr "Vyberte súbory" -#: ../src/form.c:90 -#, fuzzy +#: ../src/form.c:101 msgid "Select date" -msgstr "Vyberte pole" +msgstr "Vyberte dátum" -#: ../src/form.c:210 +#: ../src/form.c:233 msgid "Select file" msgstr "Vyberte súbor" -#: ../src/form.c:216 +#: ../src/form.c:240 msgid "Select folder" msgstr "Vyberte pole" -#: ../src/icons.c:249 +#: ../src/icons.c:247 #, c-format msgid "Unable to parse file %s: %s\n" msgstr "Nemožno spracovať súbor %s: %s\n" -#: ../src/icons.c:266 +#: ../src/icons.c:264 #, c-format msgid "Unable to open directory %s: %s\n" msgstr "Nemožno otvoriť adresár %s: %s\n" -#: ../src/main.c:71 ../src/main.c:167 +#: ../src/main.c:69 ../src/main.c:205 #, c-format msgid "%d sec" msgstr "%d s" -#: ../src/main.c:107 +#: ../src/main.c:112 #, c-format msgid "Error loading window icon %s: %s\n" msgstr "Chyba načítania ikony okna %s: %s\n" -#: ../src/main.c:386 +#: ../src/main.c:437 #, c-format msgid "Unable parse command line: %s\n" msgstr "Nemožno spracovať príkazový riadok: %s\n" -#: ../src/notification.c:72 +#: ../src/notification.c:70 #, c-format msgid "Could not load notification icon '%s': %s\n" msgstr "Nemožno načítať ikonu upozornenia '%s': %s\n" -#: ../src/notification.c:236 +#: ../src/notification.c:234 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Neplatné UTF-8 v nástrojovom tipe!\n" -#: ../src/notification.c:289 +#: ../src/notification.c:297 #, c-format msgid "Unknown command '%s'\n" msgstr "Neznámy príkaz '%s'\n" -#: ../src/notification.c:325 +#: ../src/notification.c:333 msgid "Yad notification" msgstr "Yad upozornenie" -#: ../src/list.c:645 +#: ../src/list.c:666 msgid "Add row" msgstr "Pridať riadok" -#: ../src/list.c:654 +#: ../src/list.c:675 msgid "Delete row" msgstr "Odstrániť riadok" -#: ../src/list.c:683 +#: ../src/list.c:704 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Neboli zadané mená stĺpcov pre dialóg Zoznam.\n" -#: ../src/option.c:55 +#: ../src/option.c:53 msgid "Set the dialog title" msgstr "Nastaviť názov dialógu" -#: ../src/option.c:56 +#: ../src/option.c:54 msgid "TITLE" msgstr "NÁZOV" -#: ../src/option.c:61 +#: ../src/option.c:59 msgid "Set the window icon" msgstr "Nastaviť ikonu okna" -#: ../src/option.c:62 +#: ../src/option.c:60 msgid "ICONPATH" msgstr "CESTA_IKON" -#: ../src/option.c:67 +#: ../src/option.c:65 msgid "Set the width" msgstr "Nastaviť šírku" -#: ../src/option.c:68 +#: ../src/option.c:66 msgid "WIDTH" msgstr "ŠÍRKA" -#: ../src/option.c:73 +#: ../src/option.c:71 msgid "Set the height" msgstr "Nastaviť šírku" -#: ../src/option.c:74 +#: ../src/option.c:72 msgid "HEIGHT" msgstr "VÝŠKA" -#: ../src/option.c:79 +#: ../src/option.c:77 msgid "Set the window geometry" msgstr "Nastaviť geometriu okna" -#: ../src/option.c:80 +#: ../src/option.c:78 msgid "WxH+X+Y" msgstr "WxH+X+Y" -#: ../src/option.c:85 +#: ../src/option.c:83 msgid "Set dialog timeout in seconds" msgstr "Nastaviť časový limit dialógu s" -#: ../src/option.c:86 +#: ../src/option.c:84 msgid "TIMEOUT" msgstr "ČASLIMIT" -#: ../src/option.c:91 +#: ../src/option.c:89 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "Zobraziť indikátor zostávajúceho času (top, bottom, left, right)" -#: ../src/option.c:92 +#: ../src/option.c:90 msgid "POS" msgstr "POZÍCIA" -#: ../src/option.c:97 +#: ../src/option.c:95 msgid "Set the dialog text" msgstr "Nastaviť text dialógu" -#: ../src/option.c:98 ../src/option.c:305 ../src/option.c:311 -#: ../src/option.c:317 ../src/option.c:445 ../src/option.c:695 +#: ../src/option.c:96 ../src/option.c:315 ../src/option.c:321 +#: ../src/option.c:327 ../src/option.c:455 ../src/option.c:711 msgid "TEXT" msgstr "TEXT" -#: ../src/option.c:103 +#: ../src/option.c:101 msgid "Set the dialog image" msgstr "Nastaviť obrázok dialógu" -#: ../src/option.c:104 ../src/option.c:341 ../src/option.c:353 +#: ../src/option.c:102 ../src/option.c:351 ../src/option.c:363 msgid "IMAGE" msgstr "OBRÁZOK" -#: ../src/option.c:109 +#: ../src/option.c:107 msgid "Show image above main widget" msgstr "Zobraziť obrázok nad hlavným widgetom" -#: ../src/option.c:115 +#: ../src/option.c:113 msgid "Use specified icon theme instead of default" msgstr "Použiť zadanú tému ikon, namiesto predvolenej" -#: ../src/option.c:116 +#: ../src/option.c:114 msgid "THEME" msgstr "TÉMA" -#: ../src/option.c:121 +#: ../src/option.c:119 msgid "Add dialog button (may be used multiple times)" msgstr "Pridať tlačidlo dialógu (možno použiť viackrát)" -#: ../src/option.c:122 +#: ../src/option.c:120 msgid "NAME:ID" msgstr "MENO:ID" -#: ../src/option.c:127 +#: ../src/option.c:125 msgid "Don't show buttons" msgstr "Nezobrazovať tlačidlá" -#: ../src/option.c:133 +#: ../src/option.c:131 msgid "Don't use pango markup language in dialog's text" msgstr "Nepoužívať značkovací jazyk pango v texte dialógu" -#: ../src/option.c:140 +#: ../src/option.c:138 msgid "Add separator between dialog and buttons" msgstr "Pridať oddeľovač medzi dialóg a tlačidlá" -#: ../src/option.c:147 +#: ../src/option.c:145 +msgid "Set window borders" +msgstr "Nastaviť okraje okna" + +#: ../src/option.c:146 ../src/option.c:483 ../src/option.c:631 +#: ../src/option.c:637 ../src/option.c:643 ../src/option.c:649 +#: ../src/option.c:655 +msgid "NUMBER" +msgstr "ČÍSLO" + +#: ../src/option.c:151 msgid "Always print result" msgstr "Vždy vypísať výsledok" -#: ../src/option.c:154 +#: ../src/option.c:157 +msgid "Dialog text can be selected" +msgstr "Text dialógu môže byť vybratý" + +#: ../src/option.c:164 msgid "Set window sticky" msgstr "Prilepiť okno na všetky plochy" -#: ../src/option.c:160 +#: ../src/option.c:170 msgid "Set window unresizable" msgstr "Nastaviť pevnú veľkosť okna" -#: ../src/option.c:166 +#: ../src/option.c:176 msgid "Place window on top" msgstr "Umiestniť okno na vrchole" -#: ../src/option.c:172 +#: ../src/option.c:182 msgid "Place window on center of screen" msgstr "Umiestniť okno doprostred plochy" -#: ../src/option.c:178 +#: ../src/option.c:188 msgid "Place window at the mouse position" msgstr "Umiestniť okno na pozícii myši" -#: ../src/option.c:184 +#: ../src/option.c:194 msgid "Set window undecorated" msgstr "Odobrať dekorácie okna" -#: ../src/option.c:190 -#, fuzzy +#: ../src/option.c:200 msgid "Don't show window in taskbar" -msgstr "Nezobrazovať tlačidlá" +msgstr "Nezobrazovať okno v paneli úloh" -#: ../src/option.c:197 +#: ../src/option.c:207 msgid "Send TERM to parent" msgstr "Poslať TERM rodičovi" -#: ../src/option.c:208 +#: ../src/option.c:218 msgid "Display calendar dialog" msgstr "Zobraziť dialóg Kalendár" -#: ../src/option.c:214 +#: ../src/option.c:224 msgid "Set the calendar day" msgstr "Nastaviť deň kalendára" -#: ../src/option.c:215 +#: ../src/option.c:225 msgid "DAY" msgstr "DEŇ" -#: ../src/option.c:220 +#: ../src/option.c:230 msgid "Set the calendar month" msgstr "nastaviť mesiac kalendára" -#: ../src/option.c:221 +#: ../src/option.c:231 msgid "MONTH" msgstr "MESIAC" -#: ../src/option.c:226 +#: ../src/option.c:236 msgid "Set the calendar year" msgstr "Nastaviť rok kalendára" -#: ../src/option.c:227 +#: ../src/option.c:237 msgid "YEAR" msgstr "ROK" -#: ../src/option.c:232 ../src/option.c:484 +#: ../src/option.c:242 ../src/option.c:500 msgid "Set the format for the returned date" msgstr "Nastaviť formát vráteného dátumu" -#: ../src/option.c:233 ../src/option.c:485 ../src/option.c:532 +#: ../src/option.c:243 ../src/option.c:501 ../src/option.c:548 msgid "PATTERN" msgstr "VZOR" -#: ../src/option.c:238 -#, fuzzy +#: ../src/option.c:248 msgid "Set the filename with dates details" -msgstr "Nastaviť meno súboru" +msgstr "Nastaviť meno súboru s podrobnosťami dátumu" -#: ../src/option.c:239 ../src/option.c:267 ../src/option.c:381 -#: ../src/option.c:844 +#: ../src/option.c:249 ../src/option.c:277 ../src/option.c:391 +#: ../src/option.c:860 msgid "FILENAME" msgstr "MENO_SÚBORU" -#: ../src/option.c:248 +#: ../src/option.c:258 msgid "Display color selection dialog" msgstr "Zobraziť dialóg Výber farby" -#: ../src/option.c:254 +#: ../src/option.c:264 msgid "Alias for --color" msgstr "Alias pre --color" -#: ../src/option.c:260 +#: ../src/option.c:270 msgid "Set initial color value" msgstr "Nastaviť počiatočnú hodnotu farby" -#: ../src/option.c:261 ../src/option.c:802 ../src/option.c:808 +#: ../src/option.c:271 ../src/option.c:818 ../src/option.c:824 msgid "COLOR" msgstr "FARBA" -#: ../src/option.c:266 +#: ../src/option.c:276 msgid "Set path to palette file. Default - " msgstr "Nastaviť cestu k súboru palety. Predvolene - " -#: ../src/option.c:272 +#: ../src/option.c:282 msgid "Use #rrrrggggbbbb format instead of #rrggbb" msgstr "Použiť formát #rrrrggggbbbb namiesto #rrggbb" -#: ../src/option.c:282 +#: ../src/option.c:292 msgid "Display drag-n-drop box" msgstr "Zobraziť dialóg Ťahaj a Pusť" -#: ../src/option.c:288 +#: ../src/option.c:298 msgid "Set command for process d-n-d data" msgstr "Nastaviť príkaz pre spracovanie dát Ťahaj a Pusť" -#: ../src/option.c:289 ../src/option.c:347 ../src/option.c:359 -#: ../src/option.c:645 ../src/option.c:661 +#: ../src/option.c:299 ../src/option.c:357 ../src/option.c:369 +#: ../src/option.c:661 ../src/option.c:677 msgid "CMD" msgstr "PRÍKAZ" -#: ../src/option.c:298 +#: ../src/option.c:308 msgid "Display text entry or combo-box dialog" msgstr "Zobraziť dialóg Textová položka alebo Rozbaľovací zoznam" -#: ../src/option.c:304 +#: ../src/option.c:314 msgid "Set the entry label" msgstr "Nastaviť návestie položky" -#: ../src/option.c:310 +#: ../src/option.c:320 msgid "Set the entry text" msgstr "Nastaviť položku textu" -#: ../src/option.c:316 +#: ../src/option.c:326 msgid "Hide the entry text" msgstr "Skryť položku textu" -#: ../src/option.c:322 +#: ../src/option.c:332 msgid "Use completion instead of combo-box" msgstr "Použiť dopĺňanie namiesto rozbaľovacieho zoznamu" -#: ../src/option.c:328 +#: ../src/option.c:338 msgid "Use spin button for text entry" msgstr "Použiť číselník (spin button) pre textovú položku" -#: ../src/option.c:334 +#: ../src/option.c:344 msgid "Allow changes to text in combo-box" msgstr "Povoliť zmeny textu v rozbaľovacom zozname" -#: ../src/option.c:340 -#, fuzzy +#: ../src/option.c:350 msgid "Set the left entry icon" -msgstr "Nastaviť položku textu" +msgstr "Nastaviť ikonu ľavého tlačidla" -#: ../src/option.c:346 -#, fuzzy +#: ../src/option.c:356 msgid "Set the left entry icon action" -msgstr "Nastaviť akciu ľavého tlačidla myši" +msgstr "Nastaviť ikonu akcie ľavého tlačidla" -#: ../src/option.c:352 -#, fuzzy +#: ../src/option.c:362 msgid "Set the right entry icon" -msgstr "Nastaviť ikonu okna" +msgstr "Nastaviť ikonu pravého tlačidla" -#: ../src/option.c:358 -#, fuzzy +#: ../src/option.c:368 msgid "Set the right entry icon action" -msgstr "Zobraziť voľby textovej položky" +msgstr "Nastaviť ikonu akcie pravého tlačidla" -#: ../src/option.c:368 +#: ../src/option.c:378 msgid "Display file selection dialog" msgstr "Zobraziť dialóg Výber súboru" -#: ../src/option.c:374 +#: ../src/option.c:384 msgid "Alias for --file" msgstr "Alias pre --file" -#: ../src/option.c:380 +#: ../src/option.c:390 msgid "Set the filename" msgstr "Nastaviť meno súboru" -#: ../src/option.c:386 +#: ../src/option.c:396 msgid "Allow multiple files to be selected" msgstr "Povoliť viacnásobný výber súborov" -#: ../src/option.c:392 +#: ../src/option.c:402 msgid "Activate directory-only selection" msgstr "Aktivovať výber adresárov" -#: ../src/option.c:398 +#: ../src/option.c:408 msgid "Activate save mode" msgstr "Aktivovať režim save" -#: ../src/option.c:404 ../src/option.c:472 ../src/option.c:584 +#: ../src/option.c:414 ../src/option.c:488 ../src/option.c:600 msgid "Set output separator character" msgstr "nastaviť znak výstupného oddeľovača" -#: ../src/option.c:405 ../src/option.c:473 ../src/option.c:479 -#: ../src/option.c:585 ../src/option.c:673 ../src/option.c:679 +#: ../src/option.c:415 ../src/option.c:489 ../src/option.c:495 +#: ../src/option.c:601 ../src/option.c:689 ../src/option.c:695 msgid "SEPARATOR" msgstr "ODDEĽOVAČ" -#: ../src/option.c:410 +#: ../src/option.c:420 msgid "Confirm file selection if filename already exists" msgstr "Potvrdiť výber, ak už súbor existuje" -#: ../src/option.c:411 +#: ../src/option.c:421 msgid "TEXT" msgstr "TEXT" -#: ../src/option.c:416 +#: ../src/option.c:426 msgid "Sets a filename filter" msgstr "Nastaviť filter mien súborov" -#: ../src/option.c:417 +#: ../src/option.c:427 msgid "NAME | PATTERN1 PATTERN2 ..." msgstr "MENO | VZOR1 VZOR2 ..." -#: ../src/option.c:426 +#: ../src/option.c:436 msgid "Display font selection dialog" msgstr "Zobraziť dialóg na Výber písma" -#: ../src/option.c:432 +#: ../src/option.c:442 msgid "Alias for --font" msgstr "Alias pre --font" -#: ../src/option.c:438 +#: ../src/option.c:448 msgid "Set initial font" msgstr "Nastaviť počiatočné písmo" -#: ../src/option.c:439 ../src/option.c:814 +#: ../src/option.c:449 ../src/option.c:830 msgid "FONTNAME" msgstr "MENO_FONTU" -#: ../src/option.c:444 +#: ../src/option.c:454 msgid "Set preview text" msgstr "Nastaviť vzorový text" -#: ../src/option.c:454 +#: ../src/option.c:464 msgid "Display form dialog" msgstr "Zobraziť dialóg Formulár" -#: ../src/option.c:460 -#, fuzzy +#: ../src/option.c:470 msgid "" -"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, DIR, FN, MFL, DT or " -"CLR)" +"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, DIR, FN, MFL, DT, " +"CLR, BTN or LBL)" msgstr "" -"Pridať do formulára pole (TYP – H RO, NUM, CHK, CB, FL, DIR, FN alebo CLR)" +"Pridať pole do formulára (TYP – H RO, NUM, CHK, CB, CBE, FL, DIR, FN, MFL, " +"DT, CLR, BTN alebo LBL)" -#: ../src/option.c:461 +#: ../src/option.c:471 msgid "LABEL:TYPE" msgstr "NÁVESTIE:TYP" -#: ../src/option.c:466 +#: ../src/option.c:476 msgid "Set alignment of fileds labels (left, center or right)" msgstr "Nastaviť zarovnanie menoviek poli (left, center alebo right)" -#: ../src/option.c:467 ../src/option.c:609 ../src/option.c:826 +#: ../src/option.c:477 ../src/option.c:625 ../src/option.c:842 msgid "TYPE" msgstr "TYP" -#: ../src/option.c:478 +#: ../src/option.c:482 +msgid "Set number of columns in form" +msgstr "Nastaviť počet stĺpcov formulára" + +#: ../src/option.c:494 msgid "Set separator character for combobox or scale data" msgstr "Nastaviť znak oddeľovača dát rozbaľovacieho zoznamu alebo zväčšenia" -#: ../src/option.c:494 +#: ../src/option.c:510 msgid "Display icons box dialog" msgstr "Zobraziť dialóg ikon" -#: ../src/option.c:500 +#: ../src/option.c:516 msgid "Read data from .desktop files in specified directory" msgstr "Čítať dáta zo súborov .desktop v zadanom adresári" -#: ../src/option.c:501 +#: ../src/option.c:517 msgid "DIRECTORY" msgstr "ADRESÁR" -#: ../src/option.c:506 +#: ../src/option.c:522 msgid "Use compact (list) view" msgstr "Použiť kompaktný (list) pohľad" -#: ../src/option.c:512 +#: ../src/option.c:528 msgid "Use GenericName field instead of Name for icon label" msgstr "Pre menovku ikony použiť pole GenericName namiesto Name" -#: ../src/option.c:518 +#: ../src/option.c:534 msgid "Read data from stdin" msgstr "Čítať dáta zo štandardného vstupu" -#: ../src/option.c:524 +#: ../src/option.c:540 msgid "Set the width of dialog items" msgstr "Nastaviť šírku položiek dialógu" -#: ../src/option.c:531 +#: ../src/option.c:547 #, no-c-format msgid "" "Use specified pattern for launch command in terminal (default: xterm -e %s)" msgstr "Vzor pre spustenie príkazu v termináli (predvolené: xterm -e %s)" -#: ../src/option.c:537 +#: ../src/option.c:553 msgid "Sort items by name instead of filename" msgstr "Radiť položky podľa mena namiesto mena súboru" -#: ../src/option.c:543 +#: ../src/option.c:559 msgid "Sort items in descending order" msgstr "Zoradiť položky zostupne" -#: ../src/option.c:553 +#: ../src/option.c:569 msgid "Display list dialog" msgstr "Zobraziť dialóg Zoznam" -#: ../src/option.c:559 +#: ../src/option.c:575 msgid "Don't show column headers" msgstr "Nezobrazovať hlavičky stĺpcov" -#: ../src/option.c:565 +#: ../src/option.c:581 msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, IMG or TIP)" msgstr "Nastaviť hlavičku stĺpca (TYP – TEXT, NUM, FLT, CHK, IMG alebo TIP)" -#: ../src/option.c:566 +#: ../src/option.c:582 msgid "COLUMN:TYPE" msgstr "STĹPEC:TYP" -#: ../src/option.c:571 +#: ../src/option.c:587 msgid "Use check boxes for first column" msgstr "Použiť zaškrtávacie voľby v prvom stĺpci" -#: ../src/option.c:577 +#: ../src/option.c:593 msgid "Alias to checklist (deprecated)" msgstr "Alias pre Zaškrtávací zoznam (zastarané)" -#: ../src/option.c:590 +#: ../src/option.c:606 msgid "Allow multiple rows to be selected" msgstr "Dovoliť viacnásobný výber riadkov" -#: ../src/option.c:596 ../src/option.c:849 +#: ../src/option.c:612 ../src/option.c:865 msgid "Allow changes to text" msgstr "Dovoliť zmeny textu" -#: ../src/option.c:602 +#: ../src/option.c:618 msgid "Print all data from list" -msgstr "Zobraziť všetky dáta zoznamu" +msgstr "Vypísať všetky dáta zoznamu" -#: ../src/option.c:608 +#: ../src/option.c:624 msgid "Set ellipsize mode for text columns (TYPE - NONE, START, MIDDLE or END)" msgstr "" +"Nastaviť režim výpustky textových polí (TYP - NONE, START, MIDDLE alebo END)" -#: ../src/option.c:614 +#: ../src/option.c:630 msgid "" "Print a specific column. By default or if 0 is specified will be printed all " "columns" msgstr "" -"Zobraziť zadaný stĺpec Predvolene alebo ak je zadaná 0 budú zobrazené všetky " +"Vypísať zadaný stĺpec. Predvolene alebo ak je zadaná 0 budú vypísané všetky " "stĺpce" -#: ../src/option.c:615 ../src/option.c:621 ../src/option.c:627 -#: ../src/option.c:633 ../src/option.c:639 -msgid "NUMBER" -msgstr "ČÍSLO" - -#: ../src/option.c:620 +#: ../src/option.c:636 msgid "Hide a specific column" msgstr "Skryť zadaný stĺpec" -#: ../src/option.c:626 +#: ../src/option.c:642 msgid "Set the column expandable by default. 0 sets all columns expandable" msgstr "" "Nastaviť stĺpec predvolene ako rozšíriteľný. 0 nastavuje všetky stĺpce ako " "rozšíriteľné" -#: ../src/option.c:632 +#: ../src/option.c:648 msgid "" "Set the quick search column. Default is first column. Set it to 0 for " "disable searching" msgstr "" +"Nastaviť rýchle vyhľadávacie pole. Predvolene je to prvý stĺpec. Nastavenie " +"na 0 zakáže vyhľadávanie" -#: ../src/option.c:638 +#: ../src/option.c:654 msgid "Set the limit of rows in list" -msgstr "Nastaviť limit na počet riadkov zoznamu" +msgstr "Nastaviť limit počtu riadkov zoznamu" -#: ../src/option.c:644 -#, fuzzy +#: ../src/option.c:660 msgid "Set double-click action" -msgstr "Nastaviť akciu ľavého tlačidla myši" +msgstr "Nastaviť akciu dvojitého kliknutia" -#: ../src/option.c:654 +#: ../src/option.c:670 msgid "Display notification" msgstr "Zobraziť upozornenie" -#: ../src/option.c:660 +#: ../src/option.c:676 msgid "Set left-click action" msgstr "Nastaviť akciu ľavého tlačidla myši" -#: ../src/option.c:666 +#: ../src/option.c:682 msgid "Listen for commands on stdin" msgstr "Prijímať príkazy zo štandardného vstupu" -#: ../src/option.c:672 +#: ../src/option.c:688 msgid "Set separator character for menu values" msgstr "Nastaviť znak oddeľovača hodnôt menu" -#: ../src/option.c:678 +#: ../src/option.c:694 msgid "Set separator character for menu items" msgstr "Nastaviť znak oddeľovača položiek menu" -#: ../src/option.c:688 +#: ../src/option.c:704 msgid "Display progress indication dialog" msgstr "Zobraziť dialóg Indikátor priebehu" -#: ../src/option.c:694 +#: ../src/option.c:710 msgid "Set progress text" -msgstr "Nastaviť text postupu" +msgstr "Nastaviť text ukazovateľa" -#: ../src/option.c:700 +#: ../src/option.c:716 msgid "Set initial percentage" msgstr "Nastaviť počiatočné precentá" -#: ../src/option.c:701 +#: ../src/option.c:717 msgid "PERCENTAGE" msgstr "PERCENTÁ" -#: ../src/option.c:706 +#: ../src/option.c:722 msgid "Pulsate progress bar" msgstr "Pulzujúci ukazovateľ priebehu" -#: ../src/option.c:713 +#: ../src/option.c:729 #, no-c-format msgid "Dismiss the dialog when 100% has been reached" msgstr "Zatvoriť dialóg pri dosiahnutí 100%" -#: ../src/option.c:720 +#: ../src/option.c:736 msgid "Kill parent process if cancel button is pressed" msgstr "Ukončiť rodičovský proces, ak je stlačený kláves Zrušiť" -#: ../src/option.c:727 +#: ../src/option.c:743 msgid "Right-To-Left progress bar direction" -msgstr "Indikátor priebehu zprava doľava" +msgstr "Indikátor priebehu sprava doľava" -#: ../src/option.c:737 +#: ../src/option.c:753 msgid "Display scale dialog" msgstr "Zobraziť dialóg zväčšenia" -#: ../src/option.c:743 +#: ../src/option.c:759 msgid "Set initial value" msgstr "Nastaviť východziu hodnotu" -#: ../src/option.c:744 ../src/option.c:750 ../src/option.c:756 -#: ../src/option.c:762 +#: ../src/option.c:760 ../src/option.c:766 ../src/option.c:772 +#: ../src/option.c:778 msgid "VALUE" msgstr "HODNOTA" -#: ../src/option.c:749 +#: ../src/option.c:765 msgid "Set minimum value" msgstr "Nastaviť minimálnu hodnotu" -#: ../src/option.c:755 +#: ../src/option.c:771 msgid "Set maximum value" msgstr "Nastaviť maximálnu hodnotu" -#: ../src/option.c:761 +#: ../src/option.c:777 msgid "Set step size" msgstr "Nastaviť krok" -#: ../src/option.c:767 +#: ../src/option.c:783 msgid "Print partial values" msgstr "Vypísať čiastočné hodnoty" -#: ../src/option.c:773 +#: ../src/option.c:789 msgid "Hide value" msgstr "Skryť hodnotu" -#: ../src/option.c:779 +#: ../src/option.c:795 msgid "Show vertical scale" msgstr "Zobraziť zvislé zväčšenie" -#: ../src/option.c:785 +#: ../src/option.c:801 msgid "Invert direction" msgstr "Obrátiť smer" -#: ../src/option.c:795 +#: ../src/option.c:811 msgid "Display text information dialog" msgstr "Zobraziť dialóg Informačný text" -#: ../src/option.c:801 +#: ../src/option.c:817 msgid "Use specified color for text" msgstr "Použiť zadanú farbu textu" -#: ../src/option.c:807 +#: ../src/option.c:823 msgid "Use specified color for background" msgstr "Použiť zadanú farbu pozadia" -#: ../src/option.c:813 +#: ../src/option.c:829 msgid "Use specified font" msgstr "Použiť zadaný font" -#: ../src/option.c:819 +#: ../src/option.c:835 msgid "Enable text wrapping" msgstr "Zapnúť zalamovanie textu" -#: ../src/option.c:825 +#: ../src/option.c:841 msgid "Set justification (TYPE - left, right, center or fill)" msgstr "Nastaviť zarovnanie (TYP - left, right, center alebo fill)" -#: ../src/option.c:831 +#: ../src/option.c:847 msgid "Set text margins" msgstr "Nastaviť okraje textu" -#: ../src/option.c:832 +#: ../src/option.c:848 msgid "SIZE" msgstr "VEĽKOSŤ" -#: ../src/option.c:837 +#: ../src/option.c:853 msgid "Autoscroll to end of text" msgstr "Atoposun na koniec textu" -#: ../src/option.c:843 +#: ../src/option.c:859 msgid "Open file" msgstr "Otvoriť súbor" -#: ../src/option.c:855 +#: ../src/option.c:871 msgid "Make URI clickable" msgstr "Urobiť URI klikateľné" -#: ../src/option.c:865 +#: ../src/option.c:881 msgid "Show about dialog" msgstr "Zobrazí dialóg O programe" -#: ../src/option.c:871 +#: ../src/option.c:887 msgid "Print version" -msgstr "Verzia pre tlač" +msgstr "Vypísať verziu" -#: ../src/option.c:1032 +#: ../src/option.c:1052 #, c-format msgid "Unknown align type: %s\n" msgstr "Neznámy typ zarovnania: %s\n" -#: ../src/option.c:1051 +#: ../src/option.c:1071 #, c-format msgid "Unknown justification type: %s\n" msgstr "Neznámy typ zarovnania: %s\n" -#: ../src/option.c:1081 -#, fuzzy, c-format +#: ../src/option.c:1101 +#, c-format msgid "Unknown ellipsize type: %s\n" -msgstr "Neznámy typ zarovnania: %s\n" +msgstr "Neznámy typ výpustky: %s%s\n" -#: ../src/option.c:1197 +#: ../src/option.c:1219 msgid "File exist. Overwrite?" msgstr "Súbor existuje. Prepísať ho?" -#: ../src/option.c:1268 +#: ../src/option.c:1291 msgid "Yet another dialoging program" msgstr "Prosto ďalší dialógový program" #. Adds general option entries -#: ../src/option.c:1272 +#: ../src/option.c:1295 msgid "General options" msgstr "Všeobecné voľby" -#: ../src/option.c:1273 +#: ../src/option.c:1296 msgid "Show general options" msgstr "Zobraziť všeobecné voľby" #. Adds calendar option entries -#: ../src/option.c:1279 +#: ../src/option.c:1302 msgid "Calendar options" msgstr "Voľby kalendára" -#: ../src/option.c:1280 +#: ../src/option.c:1303 msgid "Show calendar options" msgstr "Zobraziť voľby kalendára" #. Adds color option entries -#: ../src/option.c:1286 +#: ../src/option.c:1309 msgid "Color selection options" msgstr "Voľby výberu farby" -#: ../src/option.c:1287 +#: ../src/option.c:1310 msgid "Show color selection options" msgstr "Zobraziť voľby výberu farby" #. Adds dnd option entries -#: ../src/option.c:1293 +#: ../src/option.c:1316 msgid "DND options" msgstr "Voľby Ťahaj a Pusť" -#: ../src/option.c:1294 +#: ../src/option.c:1317 msgid "Show drag-n-drop options" msgstr "Zobraziť voľby pre Ťahaj a Pusť" #. Adds entry option entries -#: ../src/option.c:1300 +#: ../src/option.c:1323 msgid "Text entry options" msgstr "Voľby textovej položky" -#: ../src/option.c:1301 +#: ../src/option.c:1324 msgid "Show text entry options" msgstr "Zobraziť voľby textovej položky" #. Adds file selection option entries -#: ../src/option.c:1307 +#: ../src/option.c:1330 msgid "File selection options" msgstr "Voľby výberu súboru" -#: ../src/option.c:1308 +#: ../src/option.c:1331 msgid "Show file selection options" msgstr "Zobraziť voľby výberu súboru" #. Add font selection option entries -#: ../src/option.c:1314 +#: ../src/option.c:1337 msgid "Font selection options" msgstr "Voľby výberu písma" -#: ../src/option.c:1315 +#: ../src/option.c:1338 msgid "Show font selection options" msgstr "Zobraziť voľby výberu písma" #. Add form option entries -#: ../src/option.c:1321 +#: ../src/option.c:1344 msgid "Form options" msgstr "Voľby formulára" -#: ../src/option.c:1322 +#: ../src/option.c:1345 msgid "Show form options" msgstr "Zobraziť voľby formulára" #. Add icons option entries -#: ../src/option.c:1328 +#: ../src/option.c:1351 msgid "Icons box options" msgstr "Voľby dialógu ikon" -#: ../src/option.c:1329 +#: ../src/option.c:1352 msgid "Show icons box options" msgstr "Zobraziť voľby dialógu ikon" #. Adds list option entries -#: ../src/option.c:1335 +#: ../src/option.c:1358 msgid "List options" msgstr "Voľby zoznamu" -#: ../src/option.c:1336 +#: ../src/option.c:1359 msgid "Show list options" msgstr "Zobraziť voľby zoznamu" #. Adds notification option entries -#: ../src/option.c:1342 +#: ../src/option.c:1365 msgid "Notification icon options" msgstr "Voľby informačnej ikony" -#: ../src/option.c:1343 +#: ../src/option.c:1366 msgid "Show notification icon options" msgstr "Zobraziť voľby informačnej ikony" #. Adds progress option entries -#: ../src/option.c:1349 +#: ../src/option.c:1372 msgid "Progress options" msgstr "Voľby ukazovateľa priebehu" -#: ../src/option.c:1350 +#: ../src/option.c:1373 msgid "Show progress options" msgstr "Zobraziť voľby ukazovateľa priebehu" #. Adds scale option entries -#: ../src/option.c:1356 +#: ../src/option.c:1379 msgid "Scale options" msgstr "Voľby zväčšenia" -#: ../src/option.c:1357 +#: ../src/option.c:1380 msgid "Show scale options" msgstr "Zobraziť voľby zväčšenia" #. Adds text option entries -#: ../src/option.c:1363 +#: ../src/option.c:1386 msgid "Text information options" msgstr "Voľby textovej informácie" -#: ../src/option.c:1364 +#: ../src/option.c:1387 msgid "Show text information options" msgstr "Zobraziť voľby textovej informácie" #. Adds miscellaneous option entries -#: ../src/option.c:1370 +#: ../src/option.c:1393 msgid "Miscellaneous options" msgstr "Doplnkové voľby" -#: ../src/option.c:1371 +#: ../src/option.c:1394 msgid "Show miscellaneous options" msgstr "Zobraziť doplnkové voľby" -#: ../src/color.c:64 +#: ../src/color.c:62 #, c-format msgid "Can't open file %s: %s" msgstr "Nemožno otvoriť súbor %s: %s" #. create expander -#: ../src/color.c:144 +#: ../src/color.c:147 msgid "Palette" msgstr "Paleta" -#: ../src/color.c:163 +#: ../src/color.c:167 msgid "Color" msgstr "Farba" -#: ../src/color.c:180 +#: ../src/color.c:184 msgid "Name" msgstr "Meno" -#: ../src/text.c:273 +#: ../src/text.c:271 #, c-format msgid "Invalid UTF-8 data encountered reading file %s\n" msgstr "Pri čítaní súboru %s zistené neplatné UTF-8 dáta\n" -#: ../src/browser.c:127 +#: ../src/browser.c:129 msgid "scalable " msgstr "scalable " -#: ../src/browser.c:135 +#: ../src/browser.c:137 #, c-format msgid "" "<b>Name:</b> %s\n" @@ -991,24 +995,24 @@ "<b>Veľkosť:</b> %s\n" "<b>Meno súboru:</b> %s" -#: ../src/browser.c:136 +#: ../src/browser.c:138 msgid "built-in" msgstr "zabudované" #. initialize GTK+ and parse the command line arguments -#: ../src/browser.c:195 +#: ../src/browser.c:197 msgid "- Icon browser" msgstr "– Prezerač ikon" -#: ../src/browser.c:208 +#: ../src/browser.c:210 msgid "Icon browser" msgstr "Prezerač ikon" -#: ../src/browser.c:251 +#: ../src/browser.c:261 msgid "Category" msgstr "Kategória" -#: ../src/browser.c:284 +#: ../src/browser.c:294 msgid "Icons" msgstr "Ikony" @@ -1020,6 +1024,10 @@ msgid "Inspect GTK Icon Theme" msgstr "Preskúmať GTK tému ikon" +#, fuzzy +#~ msgid "NUM" +#~ msgstr "ČÍSLO" + #~ msgid "Color options" #~ msgstr "Voľby farby"
View file
yad-0.12.4.tar.bz2/po/uk.po -> yad-0.13.0.tar.bz2/po/uk.po
Changed
@@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: YAD\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-06-18 20:38+0300\n" +"POT-Creation-Date: 2011-07-29 18:04+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n" "Last-Translator: Victor Ananjevsky <ananasik@gmail.com>\n" "Language-Team: Ukrainian\n" @@ -19,25 +19,24 @@ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -#: ../src/about.c:32 +#: ../src/about.c:30 msgid "translator-credits" msgstr "Віктор Ананьєвський <ananasik@gmail.com>" -#: ../src/about.c:34 +#: ../src/about.c:32 msgid "" -"This program is free software; you can redistribute it and/or modify it " -"under the terms of the GNU General Public License as published by the Free " -"Software Foundation; either version 3 of the License, or (at your option) " -"any later version.\n" +"YAD is free software; you can redistribute it and/or modify it under the " +"terms of the GNU General Public License as published by the Free Software " +"Foundation; either version 3 of the License, or (at your option) any later " +"version.\n" "\n" -"This program is distributed in the hope that it will be useful, but WITHOUT " -"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or " -"FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for " -"more details.\n" +"YAD is distributed in the hope that it will be useful, but WITHOUT ANY " +"WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " +"FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " +"details.\n" "\n" "You should have received a copy of the GNU General Public License along with " -"this program; if not, write to the Free Software Foundation, Inc., 59 Temple " -"Place, Suite 330, Boston, MA 02111-1307 USA." +"YAD. If not, see <http://www.gnu.org/licenses/>." msgstr "" "YAD - це вільна програма; ви можете розповсюджувати її та/чи змінювати на " "умовах ліцензії GNU General Public License, що опублікована Free Software " @@ -48,10 +47,9 @@ "ЦІННОСТІ чи ПРИДАТНОСТІ ДЛЯ БУДЬ-ЯКИХ ЦІЛЕЙ. Докладніше про це дивіться GNU " "General Public License.\n" "Ви мали отримати копію GNU General Public License разом з цією програмою; " -"якщо це не так, напишіть у Free Software Foundation, Inc., 59 Temple Place, " -"Suite 330, Boston, MA 02111-1307 USA." +"якщо це не так, дивіться <http://www.gnu.org/licenses/>." -#: ../src/about.c:53 +#: ../src/about.c:50 msgid "" "Yet Another Dialog\n" "(show dialog boxes from shell scripts)\n" @@ -63,492 +61,510 @@ "\n" "Базується на коді Zenity\n" -#: ../src/calendar.c:41 ../src/text.c:243 +#: ../src/calendar.c:39 ../src/text.c:241 #, c-format msgid "Cannot open file '%s': %s\n" msgstr "Не можу відкрити файл %s: %s\n" -#: ../src/entry.c:141 ../src/scale.c:39 +#: ../src/entry.c:145 ../src/scale.c:37 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Максимальне значення повинно бути більше, ніж мінімальне.\n" -#: ../src/entry.c:147 ../src/scale.c:48 +#: ../src/entry.c:151 ../src/scale.c:46 #, c-format msgid "Initial value less than minimal.\n" msgstr "Початкове значення менше за мінімальне.\n" -#: ../src/entry.c:152 ../src/scale.c:53 +#: ../src/entry.c:156 ../src/scale.c:51 #, c-format msgid "Initial value greater than maximum.\n" msgstr "Початкове значенння більше за маскимальне.\n" -#: ../src/form.c:42 +#: ../src/form.c:53 msgid "Select files" msgstr "Обрати файли" -#: ../src/form.c:90 +#: ../src/form.c:101 msgid "Select date" msgstr "Обрати дату" -#: ../src/form.c:210 +#: ../src/form.c:233 msgid "Select file" msgstr "Обрати файл" -#: ../src/form.c:216 +#: ../src/form.c:240 msgid "Select folder" msgstr "Обрати каталог" -#: ../src/icons.c:249 +#: ../src/icons.c:247 #, c-format msgid "Unable to parse file %s: %s\n" msgstr "Не можу розібрати файл %s: %s\n" -#: ../src/icons.c:266 +#: ../src/icons.c:264 #, c-format msgid "Unable to open directory %s: %s\n" msgstr "Не можу відкрити каталог %s: %s\n" -#: ../src/main.c:71 ../src/main.c:167 +#: ../src/main.c:69 ../src/main.c:205 #, c-format msgid "%d sec" msgstr "%d сек" -#: ../src/main.c:107 +#: ../src/main.c:112 #, c-format msgid "Error loading window icon %s: %s\n" msgstr "Помилка при загрузці іконки вікна %s: %s\n" -#: ../src/main.c:386 +#: ../src/main.c:437 #, c-format msgid "Unable parse command line: %s\n" msgstr "Не вдається розібрати командну строку: %s\n" -#: ../src/notification.c:72 +#: ../src/notification.c:70 #, c-format msgid "Could not load notification icon '%s': %s\n" msgstr "Не вдається завантажити іконку '%s': %s\n" -#: ../src/notification.c:236 +#: ../src/notification.c:234 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Неправильна послідовність UTF-8 у підказці!\n" -#: ../src/notification.c:289 +#: ../src/notification.c:297 #, c-format msgid "Unknown command '%s'\n" msgstr "Невідома команда '%s'\n" -#: ../src/notification.c:325 +#: ../src/notification.c:333 msgid "Yad notification" msgstr "Діалог повідомлень" -#: ../src/list.c:645 +#: ../src/list.c:666 msgid "Add row" msgstr "Добавити строку" -#: ../src/list.c:654 +#: ../src/list.c:675 msgid "Delete row" msgstr "Видалити строку" -#: ../src/list.c:683 +#: ../src/list.c:704 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Не задані заголовоки колонок для діалога зі списком\n" -#: ../src/option.c:55 +#: ../src/option.c:53 msgid "Set the dialog title" msgstr "Задати заголовок діалога" -#: ../src/option.c:56 +#: ../src/option.c:54 msgid "TITLE" msgstr "ЗАГОЛОВОК" -#: ../src/option.c:61 +#: ../src/option.c:59 msgid "Set the window icon" msgstr "Задати іконку діалога" -#: ../src/option.c:62 +#: ../src/option.c:60 msgid "ICONPATH" msgstr "ІКОНКА" -#: ../src/option.c:67 +#: ../src/option.c:65 msgid "Set the width" msgstr "Задати ширину вікна" -#: ../src/option.c:68 +#: ../src/option.c:66 msgid "WIDTH" msgstr "ШИРИНА" -#: ../src/option.c:73 +#: ../src/option.c:71 msgid "Set the height" msgstr "Задати висоту вікна" -#: ../src/option.c:74 +#: ../src/option.c:72 msgid "HEIGHT" msgstr "ВИСОТА" -#: ../src/option.c:79 +#: ../src/option.c:77 msgid "Set the window geometry" msgstr "Задати геометрію вікна" -#: ../src/option.c:80 +#: ../src/option.c:78 msgid "WxH+X+Y" msgstr "ВxШ+X+Y" -#: ../src/option.c:85 +#: ../src/option.c:83 msgid "Set dialog timeout in seconds" msgstr "Задати врем'я роботи діалога в секундах" -#: ../src/option.c:86 +#: ../src/option.c:84 msgid "TIMEOUT" msgstr "ЗАТРИМКА" -#: ../src/option.c:91 +#: ../src/option.c:89 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "Показувати індикатор затримки (top, bottom, left, right)" -#: ../src/option.c:92 +#: ../src/option.c:90 msgid "POS" msgstr "ПОЗИЦІЯ" -#: ../src/option.c:97 +#: ../src/option.c:95 msgid "Set the dialog text" msgstr "Задати текст діалога" -#: ../src/option.c:98 ../src/option.c:305 ../src/option.c:311 -#: ../src/option.c:317 ../src/option.c:445 ../src/option.c:695 +#: ../src/option.c:96 ../src/option.c:315 ../src/option.c:321 +#: ../src/option.c:327 ../src/option.c:455 ../src/option.c:711 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:103 +#: ../src/option.c:101 msgid "Set the dialog image" msgstr "Задати картинку діалога" -#: ../src/option.c:104 ../src/option.c:341 ../src/option.c:353 +#: ../src/option.c:102 ../src/option.c:351 ../src/option.c:363 msgid "IMAGE" msgstr "КАРТИНКА" -#: ../src/option.c:109 +#: ../src/option.c:107 msgid "Show image above main widget" msgstr "Показувати картинку над основним віджетом" -#: ../src/option.c:115 +#: ../src/option.c:113 msgid "Use specified icon theme instead of default" msgstr "Використовувати вказану тему іконок" -#: ../src/option.c:116 +#: ../src/option.c:114 msgid "THEME" msgstr "ТЕМА" -#: ../src/option.c:121 +#: ../src/option.c:119 msgid "Add dialog button (may be used multiple times)" msgstr "Додати кнопку (може використовуватись декілька разів)" -#: ../src/option.c:122 +#: ../src/option.c:120 msgid "NAME:ID" msgstr "ИМ'Я:ID" -#: ../src/option.c:127 +#: ../src/option.c:125 msgid "Don't show buttons" msgstr "Не показувати кнопки" -#: ../src/option.c:133 +#: ../src/option.c:131 msgid "Don't use pango markup language in dialog's text" msgstr "Не використовувати розмітку pango у тексті" -#: ../src/option.c:140 +#: ../src/option.c:138 msgid "Add separator between dialog and buttons" msgstr "Додати розділювач між діалогом та кнопками" -#: ../src/option.c:147 +#: ../src/option.c:145 +msgid "Set window borders" +msgstr "Задати межи вікна" + +#: ../src/option.c:146 ../src/option.c:483 ../src/option.c:631 +#: ../src/option.c:637 ../src/option.c:643 ../src/option.c:649 +#: ../src/option.c:655 +msgid "NUMBER" +msgstr "ЧИСЛО" + +#: ../src/option.c:151 msgid "Always print result" msgstr "Завжди виводити результат" -#: ../src/option.c:154 +#: ../src/option.c:157 +msgid "Dialog text can be selected" +msgstr "Текст діалога може буди виділеним" + +#: ../src/option.c:164 msgid "Set window sticky" msgstr "Вікно є на всіх робочих місцях" -#: ../src/option.c:160 +#: ../src/option.c:170 msgid "Set window unresizable" msgstr "Незмінний розмір" -#: ../src/option.c:166 +#: ../src/option.c:176 msgid "Place window on top" msgstr "Поместити вікно над іншими" -#: ../src/option.c:172 +#: ../src/option.c:182 msgid "Place window on center of screen" msgstr "Поместити вікно у центрі экрану" -#: ../src/option.c:178 +#: ../src/option.c:188 msgid "Place window at the mouse position" msgstr "Поместити вікно у позиції мишки" -#: ../src/option.c:184 +#: ../src/option.c:194 msgid "Set window undecorated" msgstr "Відалити границі вікна" -#: ../src/option.c:190 +#: ../src/option.c:200 msgid "Don't show window in taskbar" msgstr "Не показувати вікно у панелі задач" -#: ../src/option.c:197 +#: ../src/option.c:207 msgid "Send TERM to parent" msgstr "Послати TERM родителю" -#: ../src/option.c:208 +#: ../src/option.c:218 msgid "Display calendar dialog" msgstr "ВІдобразити діалог для вибору дати" -#: ../src/option.c:214 +#: ../src/option.c:224 msgid "Set the calendar day" msgstr "Задати день календаря" -#: ../src/option.c:215 +#: ../src/option.c:225 msgid "DAY" msgstr "ДЕНЬ" -#: ../src/option.c:220 +#: ../src/option.c:230 msgid "Set the calendar month" msgstr "Задати місяць календаря" -#: ../src/option.c:221 +#: ../src/option.c:231 msgid "MONTH" msgstr "МІСЯЦЬ" -#: ../src/option.c:226 +#: ../src/option.c:236 msgid "Set the calendar year" msgstr "Задати год календаря" -#: ../src/option.c:227 +#: ../src/option.c:237 msgid "YEAR" msgstr "ГОД" -#: ../src/option.c:232 ../src/option.c:484 +#: ../src/option.c:242 ../src/option.c:500 msgid "Set the format for the returned date" msgstr "Задати формат відображення дати" -#: ../src/option.c:233 ../src/option.c:485 ../src/option.c:532 +#: ../src/option.c:243 ../src/option.c:501 ../src/option.c:548 msgid "PATTERN" msgstr "ШАБЛОН" -#: ../src/option.c:238 +#: ../src/option.c:248 msgid "Set the filename with dates details" msgstr "Задати им'я файла з описанням дат" -#: ../src/option.c:239 ../src/option.c:267 ../src/option.c:381 -#: ../src/option.c:844 +#: ../src/option.c:249 ../src/option.c:277 ../src/option.c:391 +#: ../src/option.c:860 msgid "FILENAME" msgstr "ИМ'Я_ФАЙЛА" -#: ../src/option.c:248 +#: ../src/option.c:258 msgid "Display color selection dialog" msgstr "Відобразити діалог для вибору коліра" -#: ../src/option.c:254 +#: ../src/option.c:264 msgid "Alias for --color" msgstr "Синоним для --color" -#: ../src/option.c:260 +#: ../src/option.c:270 msgid "Set initial color value" msgstr "Задати початковий колір" -#: ../src/option.c:261 ../src/option.c:802 ../src/option.c:808 +#: ../src/option.c:271 ../src/option.c:818 ../src/option.c:824 msgid "COLOR" msgstr "КОЛІР" -#: ../src/option.c:266 +#: ../src/option.c:276 msgid "Set path to palette file. Default - " msgstr "Задати путь до файлу кольорів. Без им'я - " -#: ../src/option.c:272 +#: ../src/option.c:282 msgid "Use #rrrrggggbbbb format instead of #rrggbb" msgstr "Викорістовувати формат #rrrrggggbbbb замість #rrggbb" -#: ../src/option.c:282 +#: ../src/option.c:292 msgid "Display drag-n-drop box" msgstr "Відобразити діалог для перехоплення dnd" -#: ../src/option.c:288 +#: ../src/option.c:298 msgid "Set command for process d-n-d data" msgstr "Команда для обробки отриманих даних" -#: ../src/option.c:289 ../src/option.c:347 ../src/option.c:359 -#: ../src/option.c:645 ../src/option.c:661 +#: ../src/option.c:299 ../src/option.c:357 ../src/option.c:369 +#: ../src/option.c:661 ../src/option.c:677 msgid "CMD" msgstr "КОМАНДА" -#: ../src/option.c:298 +#: ../src/option.c:308 msgid "Display text entry or combo-box dialog" msgstr "Відобразити діалог для вводу тексту або вибору варіанта" -#: ../src/option.c:304 +#: ../src/option.c:314 msgid "Set the entry label" msgstr "Задати метку поля ввода" -#: ../src/option.c:310 +#: ../src/option.c:320 msgid "Set the entry text" msgstr "Задати текст для поля вводу" -#: ../src/option.c:316 +#: ../src/option.c:326 msgid "Hide the entry text" msgstr "Сховати введений текст (Пароль)" -#: ../src/option.c:322 +#: ../src/option.c:332 msgid "Use completion instead of combo-box" msgstr "Використовувати автозаповнення замість списку значень" -#: ../src/option.c:328 +#: ../src/option.c:338 msgid "Use spin button for text entry" msgstr "Використовувати числове поле замість тексту" -#: ../src/option.c:334 +#: ../src/option.c:344 msgid "Allow changes to text in combo-box" msgstr "Дозволити змінювати текст у режимі выбору варіанта" -#: ../src/option.c:340 +#: ../src/option.c:350 msgid "Set the left entry icon" msgstr "Задати леву іконку" -#: ../src/option.c:346 +#: ../src/option.c:356 msgid "Set the left entry icon action" msgstr "Дія для лівої іконки" -#: ../src/option.c:352 +#: ../src/option.c:362 msgid "Set the right entry icon" msgstr "Задати праву іконку" -#: ../src/option.c:358 +#: ../src/option.c:368 msgid "Set the right entry icon action" msgstr "Дія для правої іконки" -#: ../src/option.c:368 +#: ../src/option.c:378 msgid "Display file selection dialog" msgstr "Відобразити діалог для выбору файла" -#: ../src/option.c:374 +#: ../src/option.c:384 msgid "Alias for --file" msgstr "Синоним для --file" -#: ../src/option.c:380 +#: ../src/option.c:390 msgid "Set the filename" msgstr "Задати им'я файла" -#: ../src/option.c:386 +#: ../src/option.c:396 msgid "Allow multiple files to be selected" msgstr "Дозволити вибір декільких файлів" -#: ../src/option.c:392 +#: ../src/option.c:402 msgid "Activate directory-only selection" msgstr "Активувати виделення тільки по каталогам" -#: ../src/option.c:398 +#: ../src/option.c:408 msgid "Activate save mode" msgstr "Активувавти режим зберігання" -#: ../src/option.c:404 ../src/option.c:472 ../src/option.c:584 +#: ../src/option.c:414 ../src/option.c:488 ../src/option.c:600 msgid "Set output separator character" msgstr "Установити вихідний розділювач" -#: ../src/option.c:405 ../src/option.c:473 ../src/option.c:479 -#: ../src/option.c:585 ../src/option.c:673 ../src/option.c:679 +#: ../src/option.c:415 ../src/option.c:489 ../src/option.c:495 +#: ../src/option.c:601 ../src/option.c:689 ../src/option.c:695 msgid "SEPARATOR" msgstr "РОЗДІЛЮВАЧ" -#: ../src/option.c:410 +#: ../src/option.c:420 msgid "Confirm file selection if filename already exists" msgstr "Підтвердити вибір файлу, якщо файл вже існує" -#: ../src/option.c:411 +#: ../src/option.c:421 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:416 +#: ../src/option.c:426 msgid "Sets a filename filter" msgstr "Задати фільтр файлів" -#: ../src/option.c:417 +#: ../src/option.c:427 msgid "NAME | PATTERN1 PATTERN2 ..." msgstr "ИМ'Я | ШАБЛОН1 ШАБЛОН2 ..." -#: ../src/option.c:426 +#: ../src/option.c:436 msgid "Display font selection dialog" msgstr "Відобразити діалог для выбору шрифта" -#: ../src/option.c:432 +#: ../src/option.c:442 msgid "Alias for --font" msgstr "Синоним для --font" -#: ../src/option.c:438 +#: ../src/option.c:448 msgid "Set initial font" msgstr "Задати початковий шрифт" -#: ../src/option.c:439 ../src/option.c:814 +#: ../src/option.c:449 ../src/option.c:830 msgid "FONTNAME" msgstr "ИМ'Я_ШРИФТА" -#: ../src/option.c:444 +#: ../src/option.c:454 msgid "Set preview text" msgstr "Задати текст зразка" -#: ../src/option.c:454 +#: ../src/option.c:464 msgid "Display form dialog" msgstr "Відобразити діалог форми вводу" -#: ../src/option.c:460 +#: ../src/option.c:470 msgid "" -"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, DIR, FN, MFL, DT or " -"CLR)" +"Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, DIR, FN, MFL, DT, " +"CLR, BTN or LBL)" msgstr "" "Додати поле до форми (Тип поля: Н, RO, NUM, CHK, CB, CBE, FL, DIR, FN. MFL, " -"DT або CLR)" +"DT, CLR, BTN або LBL)" -#: ../src/option.c:461 +#: ../src/option.c:471 msgid "LABEL:TYPE" msgstr "МІТКА:ТИП" -#: ../src/option.c:466 +#: ../src/option.c:476 msgid "Set alignment of fileds labels (left, center or right)" msgstr "Задати вирівнювання міток полей (left, center або right)" -#: ../src/option.c:467 ../src/option.c:609 ../src/option.c:826 +#: ../src/option.c:477 ../src/option.c:625 ../src/option.c:842 msgid "TYPE" msgstr "ТИП" -#: ../src/option.c:478 +#: ../src/option.c:482 +msgid "Set number of columns in form" +msgstr "Задати кількість колонок у формі" + +#: ../src/option.c:494 msgid "Set separator character for combobox or scale data" msgstr "Задати рохділювач для даних списку або числового поля" -#: ../src/option.c:494 +#: ../src/option.c:510 msgid "Display icons box dialog" msgstr "Відобразити діалог з іконками швидкого доступу" -#: ../src/option.c:500 +#: ../src/option.c:516 msgid "Read data from .desktop files in specified directory" msgstr "Читати дані з .desktop файлів в заданому каталозі" -#: ../src/option.c:501 +#: ../src/option.c:517 msgid "DIRECTORY" msgstr "КАТАЛОГ" -#: ../src/option.c:506 +#: ../src/option.c:522 msgid "Use compact (list) view" msgstr "Використовувати компактний вид (список)" -#: ../src/option.c:512 +#: ../src/option.c:528 msgid "Use GenericName field instead of Name for icon label" msgstr "Використовувати поле GenericName замість Name для метки" -#: ../src/option.c:518 +#: ../src/option.c:534 msgid "Read data from stdin" msgstr "Читати дані зі стандартного вводу" -#: ../src/option.c:524 +#: ../src/option.c:540 msgid "Set the width of dialog items" msgstr "Задати ширину елементу діалога" -#: ../src/option.c:531 +#: ../src/option.c:547 #, no-c-format msgid "" "Use specified pattern for launch command in terminal (default: xterm -e %s)" @@ -556,57 +572,57 @@ "Використовувати вказаний шаблон для запуску у терміналі (без шаблону: xterm -" "e %s)" -#: ../src/option.c:537 +#: ../src/option.c:553 msgid "Sort items by name instead of filename" msgstr "Сортувати по полю Им'я замість файла" -#: ../src/option.c:543 +#: ../src/option.c:559 msgid "Sort items in descending order" msgstr "Сортувати у порядку пониження" -#: ../src/option.c:553 +#: ../src/option.c:569 msgid "Display list dialog" msgstr "Відобразити діалог зі списком" -#: ../src/option.c:559 +#: ../src/option.c:575 msgid "Don't show column headers" msgstr "Не показувати заголовки колонок" -#: ../src/option.c:565 +#: ../src/option.c:581 msgid "Set the column header (TYPE - TEXT, NUM, FLT, CHK, IMG or TIP)" msgstr "Задати заголовок стовбця (ТИП - TEXT, NUM, FLT, CHK, IMG або TIP)" -#: ../src/option.c:566 +#: ../src/option.c:582 msgid "COLUMN:TYPE" msgstr "СТОЛБЕЦЬ:ТИП" -#: ../src/option.c:571 +#: ../src/option.c:587 msgid "Use check boxes for first column" msgstr "Вікористовувати флажки для першої колонки" -#: ../src/option.c:577 +#: ../src/option.c:593 msgid "Alias to checklist (deprecated)" msgstr "Синоним для checklist" -#: ../src/option.c:590 +#: ../src/option.c:606 msgid "Allow multiple rows to be selected" msgstr "Дозволити вибір декількох строк" -#: ../src/option.c:596 ../src/option.c:849 +#: ../src/option.c:612 ../src/option.c:865 msgid "Allow changes to text" msgstr "Дозволити зминювати текст" -#: ../src/option.c:602 +#: ../src/option.c:618 msgid "Print all data from list" msgstr "Виводити таблицю повністю" -#: ../src/option.c:608 +#: ../src/option.c:624 msgid "Set ellipsize mode for text columns (TYPE - NONE, START, MIDDLE or END)" msgstr "" "Задати тип усікання для текстових стовбців (ТИП - NONE, START, MIDDLE або " "END)" -#: ../src/option.c:614 +#: ../src/option.c:630 msgid "" "Print a specific column. By default or if 0 is specified will be printed all " "columns" @@ -614,20 +630,15 @@ "Виводити тільки вказаний стовбець. Без вказівки або якщо стовбець дорівнює " "0, будуть виведені усі стовбці" -#: ../src/option.c:615 ../src/option.c:621 ../src/option.c:627 -#: ../src/option.c:633 ../src/option.c:639 -msgid "NUMBER" -msgstr "ЧИСЛО" - -#: ../src/option.c:620 +#: ../src/option.c:636 msgid "Hide a specific column" msgstr "Сховати вказаний стовбець" -#: ../src/option.c:626 +#: ../src/option.c:642 msgid "Set the column expandable by default. 0 sets all columns expandable" msgstr "Задати колонку, яка расширюється. 0 розширює усі колонки" -#: ../src/option.c:632 +#: ../src/option.c:648 msgid "" "Set the quick search column. Default is first column. Set it to 0 for " "disable searching" @@ -635,346 +646,346 @@ "Задати колонку пошуку. Без вказівки вікорістовується перший стовбчик. 0 " "забороняє пошук" -#: ../src/option.c:638 +#: ../src/option.c:654 msgid "Set the limit of rows in list" msgstr "Задати кількість рядків у списку" -#: ../src/option.c:644 +#: ../src/option.c:660 msgid "Set double-click action" msgstr "Дія для подвійного кліку мишки" -#: ../src/option.c:654 +#: ../src/option.c:670 msgid "Display notification" msgstr "Відобразити діалог повідомлень" -#: ../src/option.c:660 +#: ../src/option.c:676 msgid "Set left-click action" msgstr "Дія для лівого кліку мишки" -#: ../src/option.c:666 +#: ../src/option.c:682 msgid "Listen for commands on stdin" msgstr "Читати команди зі стандартного вводу" -#: ../src/option.c:672 +#: ../src/option.c:688 msgid "Set separator character for menu values" msgstr "Встановити роздилювач для значень меню" -#: ../src/option.c:678 +#: ../src/option.c:694 msgid "Set separator character for menu items" msgstr "Встановити розділювач для елементів меню" -#: ../src/option.c:688 +#: ../src/option.c:704 msgid "Display progress indication dialog" msgstr "Відобразити діалог прогресу" -#: ../src/option.c:694 +#: ../src/option.c:710 msgid "Set progress text" msgstr "Показувати текст на індикаторі" -#: ../src/option.c:700 +#: ../src/option.c:716 msgid "Set initial percentage" msgstr "Задати початковий процент" -#: ../src/option.c:701 +#: ../src/option.c:717 msgid "PERCENTAGE" msgstr "ПРОЦЕНТИ" -#: ../src/option.c:706 +#: ../src/option.c:722 msgid "Pulsate progress bar" msgstr "Пульсуючий індикатор прогресу" -#: ../src/option.c:713 +#: ../src/option.c:729 #, no-c-format msgid "Dismiss the dialog when 100% has been reached" msgstr "Закрити діалог по досягнені 100%" -#: ../src/option.c:720 +#: ../src/option.c:736 msgid "Kill parent process if cancel button is pressed" msgstr "Завершити батьківський процес, якщо натиснута кнопка відміни" -#: ../src/option.c:727 +#: ../src/option.c:743 msgid "Right-To-Left progress bar direction" msgstr "Напрямок індикатору Зправа-Наліво" -#: ../src/option.c:737 +#: ../src/option.c:753 msgid "Display scale dialog" msgstr "Відобразити діалог масштабу" -#: ../src/option.c:743 +#: ../src/option.c:759 msgid "Set initial value" msgstr "Задати початкове значення" -#: ../src/option.c:744 ../src/option.c:750 ../src/option.c:756 -#: ../src/option.c:762 +#: ../src/option.c:760 ../src/option.c:766 ../src/option.c:772 +#: ../src/option.c:778 msgid "VALUE" msgstr "ЗНАЧЕННЯ" -#: ../src/option.c:749 +#: ../src/option.c:765 msgid "Set minimum value" msgstr "Задати мінімальне значення" -#: ../src/option.c:755 +#: ../src/option.c:771 msgid "Set maximum value" msgstr "Задати максимальне значення" -#: ../src/option.c:761 +#: ../src/option.c:777 msgid "Set step size" msgstr "Задати крок" -#: ../src/option.c:767 +#: ../src/option.c:783 msgid "Print partial values" msgstr "Виводити часткові значення" -#: ../src/option.c:773 +#: ../src/option.c:789 msgid "Hide value" msgstr "Сховати значення" -#: ../src/option.c:779 +#: ../src/option.c:795 msgid "Show vertical scale" msgstr "Відобразити вертикальну шкалу" -#: ../src/option.c:785 +#: ../src/option.c:801 msgid "Invert direction" msgstr "Інвертувати напрямок" -#: ../src/option.c:795 +#: ../src/option.c:811 msgid "Display text information dialog" msgstr "Відобразити діалог з текстовою інформацією" -#: ../src/option.c:801 +#: ../src/option.c:817 msgid "Use specified color for text" msgstr "Використовувати вказаний колір тексту" -#: ../src/option.c:807 +#: ../src/option.c:823 msgid "Use specified color for background" msgstr "Виктористовувати вказаний колір фону" -#: ../src/option.c:813 +#: ../src/option.c:829 msgid "Use specified font" msgstr "Використовувати вказаний шрифт" -#: ../src/option.c:819 +#: ../src/option.c:835 msgid "Enable text wrapping" msgstr "Дозволити перенос тексту" -#: ../src/option.c:825 +#: ../src/option.c:841 msgid "Set justification (TYPE - left, right, center or fill)" msgstr "Встановити вирівнювання (ТИП - left, right, center або fill)" -#: ../src/option.c:831 +#: ../src/option.c:847 msgid "Set text margins" msgstr "Встановити відступи" -#: ../src/option.c:832 +#: ../src/option.c:848 msgid "SIZE" msgstr "РОЗМІР" -#: ../src/option.c:837 +#: ../src/option.c:853 msgid "Autoscroll to end of text" msgstr "Автопрокрутка у кінець тексту" -#: ../src/option.c:843 +#: ../src/option.c:859 msgid "Open file" msgstr "ВІдкрити файл" -#: ../src/option.c:855 +#: ../src/option.c:871 msgid "Make URI clickable" msgstr "Зробити зсилки активними" -#: ../src/option.c:865 +#: ../src/option.c:881 msgid "Show about dialog" msgstr "Показати діалог 'Про програму'" -#: ../src/option.c:871 +#: ../src/option.c:887 msgid "Print version" msgstr "Вивести версію" -#: ../src/option.c:1032 +#: ../src/option.c:1052 #, c-format msgid "Unknown align type: %s\n" msgstr "Невідомий тип вирівнювання: %s\n" -#: ../src/option.c:1051 +#: ../src/option.c:1071 #, c-format msgid "Unknown justification type: %s\n" msgstr "Невідомий тип вирівнювання: %s\n" -#: ../src/option.c:1081 +#: ../src/option.c:1101 #, c-format msgid "Unknown ellipsize type: %s\n" msgstr "Невідомий тип усікання: %s\n" -#: ../src/option.c:1197 +#: ../src/option.c:1219 msgid "File exist. Overwrite?" msgstr "Файл існує. Перезаписати?" -#: ../src/option.c:1268 +#: ../src/option.c:1291 msgid "Yet another dialoging program" msgstr "Програма для відображення діалогів" #. Adds general option entries -#: ../src/option.c:1272 +#: ../src/option.c:1295 msgid "General options" msgstr "Основні параметри" -#: ../src/option.c:1273 +#: ../src/option.c:1296 msgid "Show general options" msgstr "Показувати основні параметри" #. Adds calendar option entries -#: ../src/option.c:1279 +#: ../src/option.c:1302 msgid "Calendar options" msgstr "Параметри календаря" -#: ../src/option.c:1280 +#: ../src/option.c:1303 msgid "Show calendar options" msgstr "Показувати параметри календаря" #. Adds color option entries -#: ../src/option.c:1286 +#: ../src/option.c:1309 msgid "Color selection options" msgstr "Параметри діалога вибору коліра" -#: ../src/option.c:1287 +#: ../src/option.c:1310 msgid "Show color selection options" msgstr "Показувати параметри діалога вибору коліра" #. Adds dnd option entries -#: ../src/option.c:1293 +#: ../src/option.c:1316 msgid "DND options" msgstr "Параметри DND" -#: ../src/option.c:1294 +#: ../src/option.c:1317 msgid "Show drag-n-drop options" msgstr "Показувати параметри dnd" #. Adds entry option entries -#: ../src/option.c:1300 +#: ../src/option.c:1323 msgid "Text entry options" msgstr "Параметри вводу текста" -#: ../src/option.c:1301 +#: ../src/option.c:1324 msgid "Show text entry options" msgstr "Показувати параметри вводу текста" #. Adds file selection option entries -#: ../src/option.c:1307 +#: ../src/option.c:1330 msgid "File selection options" msgstr "Параметри діалога вибору файла" -#: ../src/option.c:1308 +#: ../src/option.c:1331 msgid "Show file selection options" msgstr "Показувати параметри діалога вибору файлів" #. Add font selection option entries -#: ../src/option.c:1314 +#: ../src/option.c:1337 msgid "Font selection options" msgstr "Параметри діалога вибору шрифта" -#: ../src/option.c:1315 +#: ../src/option.c:1338 msgid "Show font selection options" msgstr "Показувати параметри діалога вибору шрифта" #. Add form option entries -#: ../src/option.c:1321 +#: ../src/option.c:1344 msgid "Form options" msgstr "Параметри діалога форми" -#: ../src/option.c:1322 +#: ../src/option.c:1345 msgid "Show form options" msgstr "Показувати параметри діалога форми" #. Add icons option entries -#: ../src/option.c:1328 +#: ../src/option.c:1351 msgid "Icons box options" msgstr "Параметри діалога іконок" -#: ../src/option.c:1329 +#: ../src/option.c:1352 msgid "Show icons box options" msgstr "Показувати параметри діалога іконок швидкого доступа" #. Adds list option entries -#: ../src/option.c:1335 +#: ../src/option.c:1358 msgid "List options" msgstr "Параметри списка" -#: ../src/option.c:1336 +#: ../src/option.c:1359 msgid "Show list options" msgstr "Показувати параметри списка" #. Adds notification option entries -#: ../src/option.c:1342 +#: ../src/option.c:1365 msgid "Notification icon options" msgstr "Параметри іконки повідомлення" -#: ../src/option.c:1343 +#: ../src/option.c:1366 msgid "Show notification icon options" msgstr "Показувати параметри іконки повідомленнь" #. Adds progress option entries -#: ../src/option.c:1349 +#: ../src/option.c:1372 msgid "Progress options" msgstr "Параметри ходу прогреса" -#: ../src/option.c:1350 +#: ../src/option.c:1373 msgid "Show progress options" msgstr "Показувати параметри ходу прогреса" #. Adds scale option entries -#: ../src/option.c:1356 +#: ../src/option.c:1379 msgid "Scale options" msgstr "Параметри масштаба" -#: ../src/option.c:1357 +#: ../src/option.c:1380 msgid "Show scale options" msgstr "Показувати параметри масштаба" #. Adds text option entries -#: ../src/option.c:1363 +#: ../src/option.c:1386 msgid "Text information options" msgstr "Параметри текстової інформації" -#: ../src/option.c:1364 +#: ../src/option.c:1387 msgid "Show text information options" msgstr "Показувати параметри текстової інформації" #. Adds miscellaneous option entries -#: ../src/option.c:1370 +#: ../src/option.c:1393 msgid "Miscellaneous options" msgstr "Додаткові параметри" -#: ../src/option.c:1371 +#: ../src/option.c:1394 msgid "Show miscellaneous options" msgstr "Показувати додаткові параметри" -#: ../src/color.c:64 +#: ../src/color.c:62 #, c-format msgid "Can't open file %s: %s" msgstr "Не можу відкрити файл %s: %s" #. create expander -#: ../src/color.c:144 +#: ../src/color.c:147 msgid "Palette" msgstr "Палитра" -#: ../src/color.c:163 +#: ../src/color.c:167 msgid "Color" msgstr "Колір" -#: ../src/color.c:180 +#: ../src/color.c:184 msgid "Name" msgstr "Назва" -#: ../src/text.c:273 +#: ../src/text.c:271 #, c-format msgid "Invalid UTF-8 data encountered reading file %s\n" msgstr "Невірна послідовність UTF-8 при читанні файлу %s\n" -#: ../src/browser.c:127 +#: ../src/browser.c:129 msgid "scalable " msgstr "масштабуємий " -#: ../src/browser.c:135 +#: ../src/browser.c:137 #, c-format msgid "" "<b>Name:</b> %s\n" @@ -985,24 +996,24 @@ "<b>Разміри:</b> %s\n" "<b>Имєя файла:</b> %s" -#: ../src/browser.c:136 +#: ../src/browser.c:138 msgid "built-in" msgstr "вбудований" #. initialize GTK+ and parse the command line arguments -#: ../src/browser.c:195 +#: ../src/browser.c:197 msgid "- Icon browser" msgstr "- Броузер іконок" -#: ../src/browser.c:208 +#: ../src/browser.c:210 msgid "Icon browser" msgstr "Броузер іконок" -#: ../src/browser.c:251 +#: ../src/browser.c:261 msgid "Category" msgstr "Категорія" -#: ../src/browser.c:284 +#: ../src/browser.c:294 msgid "Icons" msgstr "Іконки" @@ -1013,3 +1024,7 @@ #: ../data/yad-icon-browser.desktop.in.h:2 msgid "Inspect GTK Icon Theme" msgstr "Дослідження теми іконок GTK" + +#, fuzzy +#~ msgid "NUM" +#~ msgstr "ЧИСЛО"
View file
yad-0.12.4.tar.bz2/src/browser.c -> yad-0.13.0.tar.bz2/src/browser.c
Changed
@@ -38,7 +38,7 @@ static gboolean key_press_cb (GtkWidget *w, GdkEventKey *ev, gpointer data) { -#if GTK_CHECK_VERSION (2,91,0) +#if GTK_CHECK_VERSION(3,0,0) if (ev->keyval == GDK_KEY_Escape) #else if (ev->keyval == GDK_Escape) @@ -213,12 +213,20 @@ g_signal_connect (G_OBJECT (data->win), "delete-event", G_CALLBACK (gtk_main_quit), NULL); g_signal_connect (G_OBJECT (data->win), "key-press-event", G_CALLBACK (key_press_cb), NULL); +#if !GTK_CHECK_VERSION(3,0,0) box = gtk_vbox_new (FALSE, 5); +#else + box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5); +#endif gtk_container_add (GTK_CONTAINER (data->win), box); gtk_container_set_border_width (GTK_CONTAINER (data->win), 5); /* create icon info box */ +#if !GTK_CHECK_VERSION(3,0,0) w = gtk_hbox_new (FALSE, 5); +#else + w = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5); +#endif gtk_box_pack_start (GTK_BOX (box), w, FALSE, FALSE, 2); data->image = gtk_image_new (); gtk_box_pack_start (GTK_BOX (w), data->image, FALSE, FALSE, 2);
View file
yad-0.12.4.tar.bz2/src/calendar.c -> yad-0.13.0.tar.bz2/src/calendar.c
Changed
@@ -93,6 +93,7 @@ GtkWidget *w; w = calendar = gtk_calendar_new (); + gtk_widget_set_name (w, "yad-calendar-widget"); if (options.calendar_data.month > 0 || options.calendar_data.year > 0) gtk_calendar_select_month (GTK_CALENDAR (w),
View file
yad-0.12.4.tar.bz2/src/color.c -> yad-0.13.0.tar.bz2/src/color.c
Changed
@@ -114,9 +114,14 @@ { GtkWidget *w; +#if !GTK_CHECK_VERSION(3,0,0) w = gtk_vbox_new (FALSE, 2); +#else + w = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2); +#endif color = gtk_color_selection_new (); + gtk_widget_set_name (color, "yad-color-widget"); gtk_color_selection_set_has_palette (GTK_COLOR_SELECTION (color), settings.show_gtk_palette); if (options.color_data.init_color) { @@ -152,6 +157,7 @@ gtk_container_add (GTK_CONTAINER (exp), sw); list = gtk_tree_view_new_with_model (model); + gtk_widget_set_name (list, "yad-color-palette"); gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (list), settings.rules_hint); g_object_unref (model); gtk_container_add (GTK_CONTAINER (sw), list);
View file
yad-0.12.4.tar.bz2/src/entry.c -> yad-0.13.0.tar.bz2/src/entry.c
Changed
@@ -30,42 +30,42 @@ static void icon_cb (GtkEntry *entry, GtkEntryIconPosition pos, - GdkEventButton *event, gpointer data) + GdkEventButton *event, gpointer data) { if (event->button == 1) { gchar *cmd = NULL; switch (pos) - { - case GTK_ENTRY_ICON_PRIMARY: - cmd = options.entry_data.licon_action; - break; - case GTK_ENTRY_ICON_SECONDARY: - cmd = options.entry_data.ricon_action; - break; - } + { + case GTK_ENTRY_ICON_PRIMARY: + cmd = options.entry_data.licon_action; + break; + case GTK_ENTRY_ICON_SECONDARY: + cmd = options.entry_data.ricon_action; + break; + } if (cmd) - { - FILE *pf; - gchar buf1024; - GString *str; - - str = g_string_new (""); - pf = popen (cmd, "r"); - while (fgets (buf, sizeof (buf), pf)) - g_string_append (str, buf); - if (pclose (pf) == 0) - { - if (str->strstr->len - 1 == '\n') - str->strstr->len - 1 = '\0'; - gtk_entry_set_text (GTK_ENTRY (entry), str->str); - } - g_string_free (str, TRUE); - } + { + FILE *pf; + gchar buf1024; + GString *str; + + str = g_string_new (""); + pf = popen (cmd, "r"); + while (fgets (buf, sizeof (buf), pf)) + g_string_append (str, buf); + if (pclose (pf) == 0) + { + if (str->strstr->len - 1 == '\n') + str->strstr->len - 1 = '\0'; + gtk_entry_set_text (GTK_ENTRY (entry), str->str); + } + g_string_free (str, TRUE); + } else - gtk_entry_set_text (GTK_ENTRY (entry), ""); + gtk_entry_set_text (GTK_ENTRY (entry), ""); /* move cursor to the end of text */ gtk_editable_set_position (GTK_EDITABLE (entry), -1); @@ -84,11 +84,11 @@ if (options.extra_data) { while (options.extra_datai != NULL) - { - gtk_list_store_append (store, &iter); - gtk_list_store_set (store, &iter, 0, options.extra_datai, -1); - i++; - } + { + gtk_list_store_append (store, &iter); + gtk_list_store_set (store, &iter, 0, options.extra_datai, -1); + i++; + } } return GTK_TREE_MODEL (store); @@ -99,15 +99,20 @@ { GtkWidget *c, *w = NULL; +#if !GTK_CHECK_VERSION(3,0,0) w = gtk_hbox_new (FALSE, 5); +#else + w = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5); +#endif if (options.entry_data.entry_label) { GtkWidget *l = gtk_label_new (NULL); if (!options.data.no_markup) - gtk_label_set_markup (GTK_LABEL (l), options.entry_data.entry_label); + gtk_label_set_markup (GTK_LABEL (l), options.entry_data.entry_label); else - gtk_label_set_text (GTK_LABEL (l), options.entry_data.entry_label); + gtk_label_set_text (GTK_LABEL (l), options.entry_data.entry_label); + gtk_widget_set_name (l, "yad-entry-label"); gtk_box_pack_start (GTK_BOX (w), l, FALSE, FALSE, 1); } @@ -118,41 +123,42 @@ min = 0.0; max = 65535.0; step = 1.0; if (options.extra_data && *options.extra_data) - { - min = g_ascii_strtod (options.extra_data0, NULL); - if (options.extra_data1) - { - max = g_ascii_strtod (options.extra_data1, NULL); - if (options.extra_data2) - step = g_ascii_strtod (options.extra_data2, NULL); - } - } + { + min = g_ascii_strtod (options.extra_data0, NULL); + if (options.extra_data1) + { + max = g_ascii_strtod (options.extra_data1, NULL); + if (options.extra_data2) + step = g_ascii_strtod (options.extra_data2, NULL); + } + } c = entry = gtk_spin_button_new_with_range (min, max, step); + gtk_widget_set_name (entry, "yad-entry-spin"); if (options.entry_data.entry_text) - { - val = g_ascii_strtod (options.entry_data.entry_text, NULL); - - if (min >= max) - { - g_printerr (_("Maximum value must be greater than minimum value.\n")); - min = 0.0; max = 65535.0; - } - - if (val < min) - { - g_printerr (_("Initial value less than minimal.\n")); - val = min; - } - else if (val > max) - { - g_printerr (_("Initial value greater than maximum.\n")); - val = max; - } - - gtk_spin_button_set_value (GTK_SPIN_BUTTON (c), val); - } + { + val = g_ascii_strtod (options.entry_data.entry_text, NULL); + + if (min >= max) + { + g_printerr (_("Maximum value must be greater than minimum value.\n")); + min = 0.0; max = 65535.0; + } + + if (val < min) + { + g_printerr (_("Initial value less than minimal.\n")); + val = min; + } + else if (val > max) + { + g_printerr (_("Initial value greater than maximum.\n")); + val = max; + } + + gtk_spin_button_set_value (GTK_SPIN_BUTTON (c), val); + } } else if (!options.entry_data.completion && options.extra_data && *options.extra_data) @@ -160,98 +166,111 @@ gint i = 0; if (options.common_data.editable || settings.combo_always_editable) - { + { #if GTK_CHECK_VERSION(2,24,0) - c = gtk_combo_box_text_new_with_entry (); + c = gtk_combo_box_text_new_with_entry (); #else - c = gtk_combo_box_entry_new_text (); + c = gtk_combo_box_entry_new_text (); #endif - entry = gtk_bin_get_child (GTK_BIN (c)); - } + gtk_widget_set_name (c, "yad-entry-edit-combo"); + entry = gtk_bin_get_child (GTK_BIN (c)); + if (options.entry_data.licon) + { + GdkPixbuf *pb = get_pixbuf (options.entry_data.licon, YAD_SMALL_ICON); + + if (pb) + gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (entry), GTK_ENTRY_ICON_PRIMARY, pb); + } + if (options.entry_data.ricon) + { + GdkPixbuf *pb = get_pixbuf (options.entry_data.ricon, YAD_SMALL_ICON); + + if (pb) + gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (entry), GTK_ENTRY_ICON_SECONDARY, pb); + } + } else - { + { #if GTK_CHECK_VERSION(2,24,0) - c = entry = gtk_combo_box_text_new (); + c = entry = gtk_combo_box_text_new (); #else - c = entry = gtk_combo_box_new_text (); + c = entry = gtk_combo_box_new_text (); #endif - is_combo = TRUE; - } + gtk_widget_set_name (c, "yad-entry-combo"); + is_combo = TRUE; + } while (options.extra_datai != NULL) - { + { #if GTK_CHECK_VERSION(2,24,0) - gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (c), options.extra_datai); + gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (c), options.extra_datai); #else - gtk_combo_box_append_text (GTK_COMBO_BOX (c), options.extra_datai); + gtk_combo_box_append_text (GTK_COMBO_BOX (c), options.extra_datai); #endif - i++; - } + i++; + } if (options.entry_data.entry_text) - { + { #if GTK_CHECK_VERSION(2,24,0) - gtk_combo_box_text_prepend_text (GTK_COMBO_BOX_TEXT (c), - options.entry_data.entry_text); + gtk_combo_box_text_prepend_text (GTK_COMBO_BOX_TEXT (c), + options.entry_data.entry_text); #else - gtk_combo_box_prepend_text (GTK_COMBO_BOX (c), - options.entry_data.entry_text); + gtk_combo_box_prepend_text (GTK_COMBO_BOX (c), + options.entry_data.entry_text); #endif - gtk_combo_box_set_active (GTK_COMBO_BOX (c), 0); - } + gtk_combo_box_set_active (GTK_COMBO_BOX (c), 0); + } } else { c = entry = gtk_entry_new (); + gtk_widget_set_name (c, "yad-entry-widget"); gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE); if (options.entry_data.entry_text) - gtk_entry_set_text (GTK_ENTRY (entry), options.entry_data.entry_text); + gtk_entry_set_text (GTK_ENTRY (entry), options.entry_data.entry_text); if (options.entry_data.hide_text) - g_object_set (G_OBJECT (entry), "visibility", FALSE, NULL); + g_object_set (G_OBJECT (entry), "visibility", FALSE, NULL); if (options.entry_data.completion) - { - GtkEntryCompletion *completion; - GtkTreeModel *completion_model; + { + GtkEntryCompletion *completion; + GtkTreeModel *completion_model; - completion = gtk_entry_completion_new (); - gtk_entry_set_completion (GTK_ENTRY (entry), completion); - g_object_unref (completion); + completion = gtk_entry_completion_new (); + gtk_entry_set_completion (GTK_ENTRY (entry), completion); - completion_model = create_completion_model (); - gtk_entry_completion_set_model (completion, completion_model); - g_object_unref (completion_model); + completion_model = create_completion_model (); + gtk_entry_completion_set_model (completion, completion_model); + g_object_unref (completion_model); - gtk_entry_completion_set_text_column (completion, 0); - } + gtk_entry_completion_set_text_column (completion, 0); + g_object_unref (completion); + } if (options.entry_data.licon) - { - GdkPixbuf *pb = get_pixbuf (options.entry_data.licon, YAD_SMALL_ICON); + { + GdkPixbuf *pb = get_pixbuf (options.entry_data.licon, YAD_SMALL_ICON); - if (pb) - { - gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (entry), GTK_ENTRY_ICON_PRIMARY, pb); - g_signal_connect (G_OBJECT (entry), "icon-press", G_CALLBACK (icon_cb), NULL); - } - } + if (pb) + gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (entry), GTK_ENTRY_ICON_PRIMARY, pb); + } if (options.entry_data.ricon) - { - GdkPixbuf *pb = get_pixbuf (options.entry_data.ricon, YAD_SMALL_ICON); + { + GdkPixbuf *pb = get_pixbuf (options.entry_data.ricon, YAD_SMALL_ICON); - if (pb) - { - gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (entry), GTK_ENTRY_ICON_SECONDARY, pb); - g_signal_connect (G_OBJECT (entry), "icon-press", G_CALLBACK (icon_cb), NULL); - } - } + if (pb) + gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (entry), GTK_ENTRY_ICON_SECONDARY, pb); + } } if (!is_combo) g_signal_connect (G_OBJECT (entry), "activate", G_CALLBACK (entry_activate_cb), dlg); + if (options.entry_data.licon || options.entry_data.ricon) + g_signal_connect (G_OBJECT (entry), "icon-press", G_CALLBACK (icon_cb), NULL); gtk_box_pack_start (GTK_BOX (w), c, TRUE, TRUE, 1);
View file
yad-0.12.4.tar.bz2/src/file.c -> yad-0.13.0.tar.bz2/src/file.c
Changed
@@ -79,6 +79,7 @@ } w = filechooser = gtk_file_chooser_widget_new (action); + gtk_widget_set_name (w, "yad-file-widget"); if (options.common_data.uri) {
View file
yad-0.12.4.tar.bz2/src/font.c -> yad-0.13.0.tar.bz2/src/font.c
Changed
@@ -35,6 +35,7 @@ GtkWidget *w; w = font = gtk_font_selection_new (); + gtk_widget_set_name (w, "yad-font-widget"); if (options.font_data.preview) gtk_font_selection_set_preview_text (GTK_FONT_SELECTION (w), options.font_data.preview);
View file
yad-0.12.4.tar.bz2/src/form.c -> yad-0.13.0.tar.bz2/src/form.c
Changed
@@ -24,52 +24,65 @@ static GSList *fields = NULL; static void +button_clicked_cb (GtkButton *b, gchar *action) +{ + if (action && action0) + g_spawn_command_line_async (action, NULL); +} + +static void form_activate_cb (GtkEntry *entry, gpointer data) { gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); } +static void +text_size_allocate_cb (GtkWidget *w, GtkAllocation *al, gpointer data) +{ + gtk_widget_set_size_request (w, al->width, -1); +} + static void select_files_cb (GtkEntry *entry, GtkEntryIconPosition pos, - GdkEventButton *event, gpointer data) + GdkEventButton *event, gpointer data) { GtkWidget *dlg; if (event->button == 1) { dlg = gtk_file_chooser_dialog_new (_("Select files"), - GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (entry))), - GTK_FILE_CHOOSER_ACTION_OPEN, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, - NULL ); + GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (entry))), + GTK_FILE_CHOOSER_ACTION_OPEN, + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, + NULL ); gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (dlg), TRUE); if (gtk_dialog_run (GTK_DIALOG (dlg)) == GTK_RESPONSE_ACCEPT) - { - GSList *files, *ptr; - GString *str; - - str = g_string_new (""); - files = ptr = gtk_file_chooser_get_uris (GTK_FILE_CHOOSER (dlg)); - - while (ptr) - { - if (ptr->data) - { - gchar *fn = g_filename_from_uri ((gchar *) ptr->data, NULL, NULL); - g_string_append (str, fn); - g_string_append (str, options.common_data.item_separator); - g_free (fn); - } - ptr = ptr->next; - } - - gtk_entry_set_text (entry, str->str); - - g_slist_free (files); - g_string_free (str, TRUE); - } + { + GSList *files, *ptr; + GString *str; + + str = g_string_new (""); + files = ptr = gtk_file_chooser_get_uris (GTK_FILE_CHOOSER (dlg)); + + while (ptr) + { + if (ptr->data) + { + gchar *fn = g_filename_from_uri ((gchar *) ptr->data, NULL, NULL); + g_string_append (str, fn); + g_string_append (str, options.common_data.item_separator); + g_free (fn); + } + ptr = ptr->next; + } + + gtk_entry_set_text (entry, str->str); + + g_slist_free (files); + g_string_free (str, TRUE); + } gtk_widget_destroy (dlg); } @@ -77,7 +90,7 @@ static void select_date_cb (GtkEntry *entry, GtkEntryIconPosition pos, - GdkEventButton *event, gpointer data) + GdkEventButton *event, gpointer data) { GtkWidget *dlg, *cal; @@ -86,42 +99,42 @@ GDate *d; dlg = gtk_dialog_new_with_buttons (_("Select date"), - GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (entry))), - GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, - NULL ); + GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (entry))), + GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, + NULL ); cal = gtk_calendar_new (); gtk_widget_show (cal); gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), - cal, TRUE, TRUE, 5); + cal, TRUE, TRUE, 5); d = g_date_new (); g_date_set_parse (d, gtk_entry_get_text (entry)); if (g_date_valid (d)) - { - gtk_calendar_select_day (GTK_CALENDAR (cal), g_date_get_day (d)); - gtk_calendar_select_month (GTK_CALENDAR (cal), - g_date_get_month (d) - 1, - g_date_get_year (d)); - } + { + gtk_calendar_select_day (GTK_CALENDAR (cal), g_date_get_day (d)); + gtk_calendar_select_month (GTK_CALENDAR (cal), + g_date_get_month (d) - 1, + g_date_get_year (d)); + } g_date_free (d); if (gtk_dialog_run (GTK_DIALOG (dlg)) == GTK_RESPONSE_ACCEPT) - { - guint day, month, year; - gchar *format = options.common_data.date_format; - gchar time_string128; - - if (format == NULL) - format = "%x"; - - gtk_calendar_get_date (GTK_CALENDAR (cal), &day, &month, &year); - d = g_date_new_dmy (year, month + 1, day); - g_date_strftime (time_string, 127, format, d); - gtk_entry_set_text (entry, time_string); - g_date_free (d); - } + { + guint day, month, year; + gchar *format = options.common_data.date_format; + gchar time_string128; + + if (format == NULL) + format = "%x"; + + gtk_calendar_get_date (GTK_CALENDAR (cal), &day, &month, &year); + d = g_date_new_dmy (year, month + 1, day); + g_date_strftime (time_string, 127, format, d); + gtk_entry_set_text (entry, time_string); + g_date_free (d); + } gtk_widget_destroy (dlg); } } @@ -135,216 +148,282 @@ { GtkWidget *l, *e; GdkPixbuf *pb; - guint i, fc = g_slist_length (options.form_data.fields); + guint i, col, row, rows; + guint fc = g_slist_length (options.form_data.fields); + + row = col = 0; + rows = (fc + 1) / options.form_data.columns; - w = gtk_table_new (fc, 2, FALSE); + w = gtk_table_new (fc, 2 * options.form_data.columns, FALSE); /* create form */ for (i = 0; i < fc; i++) - { - YadField *fld = g_slist_nth_data (options.form_data.fields, i); - - /* add field label */ - if (fld->type != YAD_FIELD_CHECK) - { - l = gtk_label_new (NULL); - if (!options.data.no_markup) - gtk_label_set_markup (GTK_LABEL (l), fld->name); - else - gtk_label_set_text (GTK_LABEL (l), fld->name); - gtk_misc_set_alignment (GTK_MISC (l), options.form_data.align, 0.5); - gtk_table_attach (GTK_TABLE (w), l, 0, 1, i, i + 1, GTK_FILL, 0, 5, 5); - } - - /* add field entry */ - switch (fld->type) - { - case YAD_FIELD_SIMPLE: - case YAD_FIELD_HIDDEN: - case YAD_FIELD_READ_ONLY: - e = gtk_entry_new (); - g_signal_connect (G_OBJECT (e), "activate", G_CALLBACK (form_activate_cb), dlg); - if (fld->type == YAD_FIELD_HIDDEN) - gtk_entry_set_visibility (GTK_ENTRY (e), FALSE); - else if (fld->type == YAD_FIELD_READ_ONLY) - gtk_widget_set_sensitive (e, FALSE); - gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); - fields = g_slist_append (fields, e); - break; - - case YAD_FIELD_NUM: - e = gtk_spin_button_new_with_range (0.0, 65525.0, 1.0); - gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); - fields = g_slist_append (fields, e); - break; - - case YAD_FIELD_CHECK: - e = gtk_check_button_new_with_label (fld->name); - gtk_table_attach (GTK_TABLE (w), e, 0, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); - fields = g_slist_append (fields, e); - break; - - case YAD_FIELD_COMBO: + { + YadField *fld = g_slist_nth_data (options.form_data.fields, i); + + /* add field label */ + if (fld->type != YAD_FIELD_CHECK && + fld->type != YAD_FIELD_BUTTON && + fld->type != YAD_FIELD_LABEL) + { + l = gtk_label_new (NULL); + if (!options.data.no_markup) + gtk_label_set_markup (GTK_LABEL (l), fld->name); + else + gtk_label_set_text (GTK_LABEL (l), fld->name); + gtk_widget_set_name (l, "yad-form-flabel"); + gtk_misc_set_alignment (GTK_MISC (l), options.form_data.align, 0.5); + gtk_table_attach (GTK_TABLE (w), l, 0 + col * 2, 1 + col * 2, row, row + 1, GTK_FILL, 0, 5, 5); + } + + /* add field entry */ + switch (fld->type) + { + case YAD_FIELD_SIMPLE: + case YAD_FIELD_HIDDEN: + case YAD_FIELD_READ_ONLY: + e = gtk_entry_new (); + gtk_widget_set_name (e, "yad-form-entry"); + g_signal_connect (G_OBJECT (e), "activate", G_CALLBACK (form_activate_cb), dlg); + if (fld->type == YAD_FIELD_HIDDEN) + gtk_entry_set_visibility (GTK_ENTRY (e), FALSE); + else if (fld->type == YAD_FIELD_READ_ONLY) + gtk_widget_set_sensitive (e, FALSE); + gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + fields = g_slist_append (fields, e); + break; + + case YAD_FIELD_NUM: + e = gtk_spin_button_new_with_range (0.0, 65525.0, 1.0); + gtk_widget_set_name (e, "yad-form-spin"); + gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + fields = g_slist_append (fields, e); + break; + + case YAD_FIELD_CHECK: + e = gtk_check_button_new_with_label (fld->name); + gtk_widget_set_name (e, "yad-form-check"); + gtk_table_attach (GTK_TABLE (w), e, 0 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + fields = g_slist_append (fields, e); + break; + + case YAD_FIELD_COMBO: #if GTK_CHECK_VERSION(2,24,0) - e = gtk_combo_box_text_new (); + e = gtk_combo_box_text_new (); #else - e = gtk_combo_box_new_text (); + e = gtk_combo_box_new_text (); #endif - gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); - fields = g_slist_append (fields, e); - break; + gtk_widget_set_name (e, "yad-form-combo"); + gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + fields = g_slist_append (fields, e); + break; - case YAD_FIELD_COMBO_ENTRY: + case YAD_FIELD_COMBO_ENTRY: #if GTK_CHECK_VERSION(2,24,0) - e = gtk_combo_box_text_new_with_entry (); + e = gtk_combo_box_text_new_with_entry (); +#else + e = gtk_combo_box_entry_new_text (); +#endif + gtk_widget_set_name (e, "yad-form-edit-combo"); + gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + fields = g_slist_append (fields, e); + break; + + case YAD_FIELD_FILE: + e = gtk_file_chooser_button_new (_("Select file"), GTK_FILE_CHOOSER_ACTION_OPEN); + gtk_widget_set_name (e, "yad-form-file"); + gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + fields = g_slist_append (fields, e); + break; + + case YAD_FIELD_DIR: + e = gtk_file_chooser_button_new (_("Select folder"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER); + gtk_widget_set_name (e, "yad-form-file"); + gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + fields = g_slist_append (fields, e); + break; + + case YAD_FIELD_FONT: + e = gtk_font_button_new (); + gtk_widget_set_name (e, "yad-form-font"); + gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + fields = g_slist_append (fields, e); + break; + + case YAD_FIELD_COLOR: + e = gtk_color_button_new (); + gtk_widget_set_name (e, "yad-form-color"); + gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + fields = g_slist_append (fields, e); + break; + + case YAD_FIELD_MFILE: + e = gtk_entry_new (); + gtk_widget_set_name (e, "yad-form-entry"); + gtk_entry_set_icon_from_stock (GTK_ENTRY (e), GTK_ENTRY_ICON_SECONDARY, "gtk-directory"); + g_signal_connect (G_OBJECT (e), "icon-press", G_CALLBACK (select_files_cb), e); + g_signal_connect (G_OBJECT (e), "activate", G_CALLBACK (form_activate_cb), dlg); + gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + fields = g_slist_append (fields, e); + break; + + case YAD_FIELD_DATE: + e = gtk_entry_new (); + gtk_widget_set_name (e, "yad-form-entry"); + pb = gdk_pixbuf_new_from_xpm_data (calendar_xpm); + gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (e), GTK_ENTRY_ICON_SECONDARY, pb); + g_object_unref (pb); + g_signal_connect (G_OBJECT (e), "icon-press", G_CALLBACK (select_date_cb), e); + g_signal_connect (G_OBJECT (e), "activate", G_CALLBACK (form_activate_cb), dlg); + gtk_table_attach (GTK_TABLE (w), e, 1 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + fields = g_slist_append (fields, e); + break; + + case YAD_FIELD_BUTTON: + e = gtk_button_new_from_stock (fld->name); + gtk_widget_set_name (e, "yad-form-button"); + gtk_button_set_relief (GTK_BUTTON (e), GTK_RELIEF_NONE); + gtk_table_attach (GTK_TABLE (w), e, 0 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + fields = g_slist_append (fields, e); + break; + + case YAD_FIELD_LABEL: + if (fld->name0) + { + e = gtk_label_new (NULL); + gtk_widget_set_name (e, "yad-form-label"); + if (!options.data.no_markup) + gtk_label_set_markup (GTK_LABEL (e), fld->name); + else + gtk_label_set_text (GTK_LABEL (e), fld->name); + gtk_label_set_line_wrap (GTK_LABEL (e), TRUE); + gtk_label_set_selectable (GTK_LABEL (e), options.data.selectable_labels); + gtk_misc_set_alignment (GTK_MISC (e), options.form_data.align, 0.5); + g_signal_connect_after (G_OBJECT (e), "size-allocate", + G_CALLBACK (text_size_allocate_cb), NULL); + } + else + { +#if GTK_CHECK_VERSION(3,0,0) + e = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL); #else - e = gtk_combo_box_entry_new_text (); + e = gtk_hseparator_new (); #endif - gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); - fields = g_slist_append (fields, e); - break; - - case YAD_FIELD_FILE: - e = gtk_file_chooser_button_new (_("Select file"), GTK_FILE_CHOOSER_ACTION_OPEN); - gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); - fields = g_slist_append (fields, e); - break; - - case YAD_FIELD_DIR: - e = gtk_file_chooser_button_new (_("Select folder"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER); - gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); - fields = g_slist_append (fields, e); - break; - - case YAD_FIELD_FONT: - e = gtk_font_button_new (); - gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); - fields = g_slist_append (fields, e); - break; - - case YAD_FIELD_COLOR: - e = gtk_color_button_new (); - gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); - fields = g_slist_append (fields, e); - break; - - case YAD_FIELD_MFILE: - e = gtk_entry_new (); - gtk_entry_set_icon_from_stock (GTK_ENTRY (e), GTK_ENTRY_ICON_SECONDARY, - "gtk-directory"); - g_signal_connect (G_OBJECT (e), "icon-press", G_CALLBACK (select_files_cb), e); - g_signal_connect (G_OBJECT (e), "activate", G_CALLBACK (form_activate_cb), dlg); - gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); - fields = g_slist_append (fields, e); - break; - - case YAD_FIELD_DATE: - e = gtk_entry_new (); - pb = gdk_pixbuf_new_from_xpm_data (calendar_xpm); - gtk_entry_set_icon_from_pixbuf (GTK_ENTRY (e), GTK_ENTRY_ICON_SECONDARY, pb); - g_object_unref (pb); - g_signal_connect (G_OBJECT (e), "icon-press", G_CALLBACK (select_date_cb), e); - g_signal_connect (G_OBJECT (e), "activate", G_CALLBACK (form_activate_cb), dlg); - gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); - fields = g_slist_append (fields, e); - break; - } - } + gtk_widget_set_name (e, "yad-form-separator"); + } + gtk_table_attach (GTK_TABLE (w), e, 0 + col * 2, 2 + col * 2, row, row + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); + fields = g_slist_append (fields, e); + break; + } + + /* increase row and column */ + row++; + if (i == rows - 1) + { + row = 0; + col++; + } + } /* fill entries with data */ if (options.extra_data) - { - i = 0; - while (options.extra_datai && i < fc) - { - gchar **s; - guint j = 0; - YadField *fld = g_slist_nth_data (options.form_data.fields, i); - - switch (fld->type) - { - case YAD_FIELD_SIMPLE: - case YAD_FIELD_HIDDEN: - case YAD_FIELD_READ_ONLY: - case YAD_FIELD_MFILE: - case YAD_FIELD_DATE: - gtk_entry_set_text (GTK_ENTRY (g_slist_nth_data (fields, i)), options.extra_datai); - break; - - case YAD_FIELD_NUM: - s = g_strsplit (options.extra_datai, options.common_data.item_separator, -1); - if (s0) - { - gdouble val = g_strtod (s0, NULL); - e = g_slist_nth_data (fields, i); - gtk_spin_button_set_value (GTK_SPIN_BUTTON (e), val); - if (s1) - { - gdouble min, max; - gchar **s1 = g_strsplit (s1, "..", 2); - min = g_strtod (s10, NULL); - max = g_strtod (s11, NULL); - g_strfreev (s1); - gtk_spin_button_set_range (GTK_SPIN_BUTTON (e), min, max); - if (s2) - { - gdouble step = g_strtod (s2, NULL); - gtk_spin_button_set_increments (GTK_SPIN_BUTTON (e), step, step); - } - } - } - g_strfreev (s); - break; - - case YAD_FIELD_CHECK: - if (g_ascii_strcasecmp (options.extra_datai, "TRUE") == 0) - { - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (g_slist_nth_data (fields, i)), - TRUE); - } - break; - - case YAD_FIELD_COMBO: - case YAD_FIELD_COMBO_ENTRY: - s = g_strsplit (options.extra_datai, options.common_data.item_separator, -1); - while (sj) - { + { + i = 0; + while (options.extra_datai && i < fc) + { + gchar **s; + guint j = 0; + YadField *fld = g_slist_nth_data (options.form_data.fields, i); + + switch (fld->type) + { + case YAD_FIELD_SIMPLE: + case YAD_FIELD_HIDDEN: + case YAD_FIELD_READ_ONLY: + case YAD_FIELD_MFILE: + case YAD_FIELD_DATE: + gtk_entry_set_text (GTK_ENTRY (g_slist_nth_data (fields, i)), options.extra_datai); + break; + + case YAD_FIELD_NUM: + s = g_strsplit (options.extra_datai, options.common_data.item_separator, -1); + if (s0) + { + gdouble val = g_strtod (s0, NULL); + e = g_slist_nth_data (fields, i); + gtk_spin_button_set_value (GTK_SPIN_BUTTON (e), val); + if (s1) + { + gdouble min, max; + gchar **s1 = g_strsplit (s1, "..", 2); + min = g_strtod (s10, NULL); + max = g_strtod (s11, NULL); + g_strfreev (s1); + gtk_spin_button_set_range (GTK_SPIN_BUTTON (e), min, max); + if (s2) + { + gdouble step = g_strtod (s2, NULL); + gtk_spin_button_set_increments (GTK_SPIN_BUTTON (e), step, step); + } + } + } + g_strfreev (s); + break; + + case YAD_FIELD_CHECK: + if (g_ascii_strcasecmp (options.extra_datai, "TRUE") == 0) + { + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (g_slist_nth_data (fields, i)), + TRUE); + } + break; + + case YAD_FIELD_COMBO: + case YAD_FIELD_COMBO_ENTRY: + s = g_strsplit (options.extra_datai, options.common_data.item_separator, -1); + while (sj) + { #if GTK_CHECK_VERSION(2,24,0) - gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (g_slist_nth_data (fields, i)), sj); + gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (g_slist_nth_data (fields, i)), sj); #else - gtk_combo_box_append_text (GTK_COMBO_BOX (g_slist_nth_data (fields, i)), sj); + gtk_combo_box_append_text (GTK_COMBO_BOX (g_slist_nth_data (fields, i)), sj); #endif - j++; - } - gtk_combo_box_set_active (GTK_COMBO_BOX (g_slist_nth_data (fields, i)), 0); - g_strfreev (s); - break; - - case YAD_FIELD_DIR: - gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (g_slist_nth_data (fields, i)), - options.extra_datai); - case YAD_FIELD_FILE: - gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (g_slist_nth_data (fields, i)), - options.extra_datai); - break; - - case YAD_FIELD_FONT: - gtk_font_button_set_font_name (GTK_FONT_BUTTON (g_slist_nth_data (fields, i)), - options.extra_datai); - break; - - case YAD_FIELD_COLOR: - { - GdkColor c; - - gdk_color_parse (options.extra_datai, &c); - gtk_color_button_set_color (GTK_COLOR_BUTTON (g_slist_nth_data (fields, i)), &c); - break; - } - } - i++; - } - } + j++; + } + gtk_combo_box_set_active (GTK_COMBO_BOX (g_slist_nth_data (fields, i)), 0); + g_strfreev (s); + break; + + case YAD_FIELD_DIR: + gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (g_slist_nth_data (fields, i)), + options.extra_datai); + case YAD_FIELD_FILE: + gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (g_slist_nth_data (fields, i)), + options.extra_datai); + break; + + case YAD_FIELD_FONT: + gtk_font_button_set_font_name (GTK_FONT_BUTTON (g_slist_nth_data (fields, i)), + options.extra_datai); + break; + + case YAD_FIELD_COLOR: + { + GdkColor c; + + gdk_color_parse (options.extra_datai, &c); + gtk_color_button_set_color (GTK_COLOR_BUTTON (g_slist_nth_data (fields, i)), &c); + break; + } + + case YAD_FIELD_BUTTON: + g_signal_connect (G_OBJECT (g_slist_nth_data (fields, i)), "clicked", + G_CALLBACK (button_clicked_cb), options.extra_datai); + break; + } + i++; + } + } } return w; @@ -360,56 +439,60 @@ YadField *fld = g_slist_nth_data (options.form_data.fields, i); switch (fld->type) - { - case YAD_FIELD_SIMPLE: - case YAD_FIELD_HIDDEN: - case YAD_FIELD_READ_ONLY: - case YAD_FIELD_MFILE: - case YAD_FIELD_DATE: - g_printf ("%s%s", - gtk_entry_get_text (GTK_ENTRY (g_slist_nth_data (fields, i))), - options.common_data.separator); - break; - case YAD_FIELD_NUM: - g_printf ("%f%s", - gtk_spin_button_get_value (GTK_SPIN_BUTTON (g_slist_nth_data (fields, i))), - options.common_data.separator); - break; - case YAD_FIELD_CHECK: - g_printf ("%s%s", - gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (g_slist_nth_data (fields, i))) ? "TRUE" : "FALSE", - options.common_data.separator); - break; - case YAD_FIELD_COMBO: - case YAD_FIELD_COMBO_ENTRY: - g_printf ("%s%s", + { + case YAD_FIELD_SIMPLE: + case YAD_FIELD_HIDDEN: + case YAD_FIELD_READ_ONLY: + case YAD_FIELD_MFILE: + case YAD_FIELD_DATE: + g_printf ("%s%s", + gtk_entry_get_text (GTK_ENTRY (g_slist_nth_data (fields, i))), + options.common_data.separator); + break; + case YAD_FIELD_NUM: + g_printf ("%f%s", + gtk_spin_button_get_value (GTK_SPIN_BUTTON (g_slist_nth_data (fields, i))), + options.common_data.separator); + break; + case YAD_FIELD_CHECK: + g_printf ("%s%s", + gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (g_slist_nth_data (fields, i))) ? "TRUE" : "FALSE", + options.common_data.separator); + break; + case YAD_FIELD_COMBO: + case YAD_FIELD_COMBO_ENTRY: + g_printf ("%s%s", #if GTK_CHECK_VERSION(2,24,0) - gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (g_slist_nth_data (fields, i))), + gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (g_slist_nth_data (fields, i))), #else - gtk_combo_box_get_active_text (GTK_COMBO_BOX (g_slist_nth_data (fields, i))), + gtk_combo_box_get_active_text (GTK_COMBO_BOX (g_slist_nth_data (fields, i))), #endif - options.common_data.separator); - break; - case YAD_FIELD_FILE: - case YAD_FIELD_DIR: - g_printf ("%s%s", - gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (g_slist_nth_data (fields, i))), - options.common_data.separator); - break; - case YAD_FIELD_FONT: - g_printf ("%s%s", - gtk_font_button_get_font_name (GTK_FONT_BUTTON (g_slist_nth_data (fields, i))), - options.common_data.separator); - break; - case YAD_FIELD_COLOR: - { - GdkColor c; - - gtk_color_button_get_color (GTK_COLOR_BUTTON (g_slist_nth_data (fields, i)), &c); - g_printf ("%s%s", gdk_color_to_string (&c), options.common_data.separator); - break; - } - } + options.common_data.separator); + break; + case YAD_FIELD_FILE: + case YAD_FIELD_DIR: + g_printf ("%s%s", + gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (g_slist_nth_data (fields, i))), + options.common_data.separator); + break; + case YAD_FIELD_FONT: + g_printf ("%s%s", + gtk_font_button_get_font_name (GTK_FONT_BUTTON (g_slist_nth_data (fields, i))), + options.common_data.separator); + break; + case YAD_FIELD_COLOR: + { + GdkColor c; + + gtk_color_button_get_color (GTK_COLOR_BUTTON (g_slist_nth_data (fields, i)), &c); + g_printf ("%s%s", gdk_color_to_string (&c), options.common_data.separator); + break; + } + case YAD_FIELD_BUTTON: + case YAD_FIELD_LABEL: + g_printf ("%s", options.common_data.separator); + break; + } } g_printf ("\n"); }
View file
yad-0.12.4.tar.bz2/src/icons.c -> yad-0.13.0.tar.bz2/src/icons.c
Changed
@@ -329,6 +329,7 @@ if (!options.icons_data.compact) { icon_view = gtk_icon_view_new_with_model (GTK_TREE_MODEL (store)); + gtk_widget_set_name (icon_view, "yad-icons-full"); gtk_icon_view_set_text_column (GTK_ICON_VIEW (icon_view), COL_NAME); gtk_icon_view_set_pixbuf_column (GTK_ICON_VIEW (icon_view), COL_PIXBUF); gtk_icon_view_set_tooltip_column (GTK_ICON_VIEW (icon_view), COL_TOOLTIP); @@ -340,6 +341,7 @@ GtkTreeViewColumn *col; icon_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store)); + gtk_widget_set_name (icon_view, "yad-icons-compact"); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (icon_view), FALSE); col = gtk_tree_view_column_new ();
View file
yad-0.12.4.tar.bz2/src/list.c -> yad-0.13.0.tar.bz2/src/list.c
Changed
@@ -31,7 +31,7 @@ static gboolean list_activate_cb (GtkWidget *widget, GdkEventKey *event, gpointer data) { -#if GTK_CHECK_VERSION (2,91,0) +#if GTK_CHECK_VERSION(3,0,0) if (event->keyval == GDK_KEY_Return || event->keyval == GDK_KEY_KP_Enter) #else if (event->keyval == GDK_Return || event->keyval == GDK_KP_Enter) @@ -107,6 +107,7 @@ GtkTreeModel *model = NULL; GtkTreePath *path = NULL; GtkTreeIter iter; + gint cnum = -1; if (gtk_tree_view_get_tooltip_context (GTK_TREE_VIEW (list_view), &x, &y, kmode, &model, &path, &iter)) @@ -121,27 +122,21 @@ { GtkTreeViewColumn *checkcol = (GtkTreeViewColumn*) node->data; + cnum++; if (x >= colx && x < (colx + gtk_tree_view_column_get_width (checkcol))) col = checkcol; else colx += gtk_tree_view_column_get_width (checkcol); + } g_list_free(cols); /* set tolltip */ if (col) { - gint cnum; - GList *cells; - GtkCellRenderer *cell; YadColumn *yc; gchar *text = NULL; - cells = gtk_cell_layout_get_cells (GTK_CELL_LAYOUT (col)); - cell = GTK_CELL_RENDERER (g_list_nth_data (cells, 0)); - cnum = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (cell), "column")); - g_list_free (cells); - yc = (YadColumn *) g_slist_nth_data (options.list_data.columns, cnum); switch (yc->type) { @@ -546,9 +541,10 @@ if (options.list_data.dclick_action) { - GString *cmd; + gchar *cmd; + GString *args; - cmd = g_string_new (options.list_data.dclick_action); + args = g_string_new (""); if (gtk_tree_model_get_iter (model, &iter, path)) { @@ -563,26 +559,26 @@ { gboolean bval; gtk_tree_model_get (model, &iter, i, &bval, -1); - g_string_append_printf (cmd, " %s", bval ? "TRUE" : "FALSE"); + g_string_append_printf (args, " %s", bval ? "TRUE" : "FALSE"); break; } case YAD_COLUMN_NUM: { gint64 nval; gtk_tree_model_get (model, &iter, i, &nval, -1); - g_string_append_printf (cmd, " %d", nval); + g_string_append_printf (args, " %d", nval); break; } case YAD_COLUMN_FLOAT: { gdouble nval; gtk_tree_model_get (model, &iter, i, &nval, -1); - g_string_append_printf (cmd, " %lf", nval); + g_string_append_printf (args, " %lf", nval); break; } case YAD_COLUMN_IMAGE: { - g_string_append_printf (cmd, " ''"); + g_string_append_printf (args, " ''"); break; } case YAD_COLUMN_ATTR_FORE: @@ -594,7 +590,7 @@ gchar *cval, *uval; gtk_tree_model_get (model, &iter, i, &cval, -1); uval = unescape_markup (cval); - g_string_append_printf (cmd, " %s", uval); + g_string_append_printf (args, " '%s'", uval); g_free (uval); break; } @@ -602,8 +598,20 @@ } } - g_spawn_command_line_async (cmd->str, NULL); - g_string_free (cmd, TRUE); + if (g_strstr_len (options.list_data.dclick_action, -1, "%s")) + { + static GRegex *regex = NULL; + + if (!regex) + regex = g_regex_new ("\%s", G_REGEX_OPTIMIZE, 0, NULL); + cmd = g_regex_replace_literal (regex, options.list_data.dclick_action, -1, 0, args->str, 0, NULL); + } + else + cmd = g_strdup_printf ("%s %s", options.list_data.dclick_action, args->str); + g_string_free (args, TRUE); + + g_spawn_command_line_async (cmd, NULL); + g_free (cmd); } else { @@ -705,6 +713,7 @@ model = create_model (n_columns); list_view = gtk_tree_view_new_with_model (model); + gtk_widget_set_name (list_view, "yad-list-widget"); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (list_view), !options.list_data.no_headers); gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (list_view), settings.rules_hint); gtk_tree_view_set_reorderable (GTK_TREE_VIEW (list_view), options.common_data.editable);
View file
yad-0.12.4.tar.bz2/src/main.c -> yad-0.13.0.tar.bz2/src/main.c
Changed
@@ -75,6 +75,12 @@ return TRUE; } +static void +text_size_allocate_cb (GtkWidget *w, GtkAllocation *al, gpointer data) +{ + gtk_widget_set_size_request (w, al->width, -1); +} + GtkWidget * create_dialog () { @@ -84,33 +90,30 @@ GtkWidget *text; GtkWidget *main_widget = NULL; GtkWidget *topb = NULL; - GError *err = NULL; /* create dialog window */ dlg = gtk_dialog_new (); gtk_window_set_title (GTK_WINDOW (dlg), options.data.dialog_title); -#if !GTK_CHECK_VERSION (2,91,0) +#if !GTK_CHECK_VERSION(3,0,0) gtk_dialog_set_has_separator (GTK_DIALOG (dlg), options.data.dialog_sep); #endif + gtk_widget_set_name (dlg, "yad-dialog-window"); /* set window icon */ if (options.data.window_icon) { - if (g_file_test (options.data.window_icon, G_FILE_TEST_EXISTS)) - { - gtk_window_set_icon_from_file (GTK_WINDOW (dlg), - options.data.window_icon, &err); - if (err) - { - g_printerr (_("Error loading window icon %s: %s\n"), - options.data.window_icon, err->message); - g_error_free (err); - } - } - else - gtk_window_set_icon_name (GTK_WINDOW (dlg), options.data.window_icon); + GdkPixbuf *pb; + + pb = get_pixbuf (options.data.window_icon, YAD_SMALL_ICON); + gtk_window_set_icon (GTK_WINDOW (dlg), pb); + g_object_unref (pb); } + /* set window borders */ + if (options.data.borders == -1) + options.data.borders = (gint) gtk_container_get_border_width (GTK_CONTAINER (dlg)); + gtk_container_set_border_width (GTK_CONTAINER (dlg), (guint) options.data.borders); + /* set window behavior */ if (options.data.sticky) gtk_window_stick (GTK_WINDOW (dlg)); @@ -144,38 +147,46 @@ } /* add top label widgets */ +#if !GTK_CHECK_VERSION(3,0,0) hbox = hbox2 = gtk_hbox_new (FALSE, 0); +#else + hbox = hbox2 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); +#endif gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), hbox, TRUE, TRUE, 5); +#if !GTK_CHECK_VERSION(3,0,0) vbox = gtk_vbox_new (FALSE, 0); +#else + vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); +#endif /* add timeout indicator */ if (topb) { if (g_ascii_strcasecmp (options.data.to_indicator, "top") == 0) { -#if !GTK_CHECK_VERSION (2,91,0) +#if !GTK_CHECK_VERSION(3,0,0) gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_LEFT_TO_RIGHT); #endif gtk_box_pack_start (GTK_BOX (vbox), topb, FALSE, FALSE, 2); } else if (g_ascii_strcasecmp (options.data.to_indicator, "bottom") == 0) { -#if !GTK_CHECK_VERSION (2,91,0) +#if !GTK_CHECK_VERSION(3,0,0) gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_LEFT_TO_RIGHT); #endif gtk_box_pack_end (GTK_BOX (vbox), topb, FALSE, FALSE, 2); } else if (g_ascii_strcasecmp (options.data.to_indicator, "left") == 0) { -#if !GTK_CHECK_VERSION (2,91,0) +#if !GTK_CHECK_VERSION(3,0,0) gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_BOTTOM_TO_TOP); #endif gtk_box_pack_start (GTK_BOX (hbox), topb, FALSE, FALSE, 2); } else if (g_ascii_strcasecmp (options.data.to_indicator, "right") == 0) { -#if !GTK_CHECK_VERSION (2,91,0) +#if !GTK_CHECK_VERSION(3,0,0) gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_BOTTOM_TO_TOP); #endif gtk_box_pack_end (GTK_BOX (hbox), topb, FALSE, FALSE, 2); @@ -183,7 +194,7 @@ if (settings.show_remain) { gchar *lbl = g_strdup_printf (_("%d sec"), options.data.timeout); -#if GTK_CHECK_VERSION (2,91,0) +#if GTK_CHECK_VERSION(3,0,0) gtk_progress_bar_set_show_text (GTK_PROGRESS_BAR (topb), TRUE); #endif gtk_progress_bar_set_text (GTK_PROGRESS_BAR (topb), lbl); @@ -196,7 +207,11 @@ if (options.data.image_on_top) { +#if !GTK_CHECK_VERSION(3,0,0) hbox2 = gtk_hbox_new (FALSE, 0); +#else + hbox2 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); +#endif gtk_box_pack_start (GTK_BOX (vbox), hbox2, FALSE, FALSE, 0); } @@ -208,18 +223,21 @@ image = gtk_image_new_from_pixbuf (pb); g_object_unref (pb); + gtk_widget_set_name (image, "yad-dialog-image"); gtk_misc_set_alignment (GTK_MISC (image), 0.5, 0.0); - gtk_misc_set_padding (GTK_MISC (image), 5, 5); gtk_box_pack_start (GTK_BOX (hbox2), image, FALSE, FALSE, 2); } if (options.data.dialog_text) { gchar *buf = g_strcompress (options.data.dialog_text); + text = gtk_label_new (NULL); if (!options.data.no_markup) - gtk_label_set_markup (GTK_LABEL (text), buf); + gtk_label_set_markup (GTK_LABEL (text), buf); else gtk_label_set_text (GTK_LABEL (text), buf); + gtk_widget_set_name (text, "yad-dialog-label"); + gtk_label_set_selectable (GTK_LABEL (text), options.data.selectable_labels); gtk_misc_set_alignment (GTK_MISC (text), 0.0, 0.5); if (options.data.geometry || options.data.width != -1) gtk_label_set_line_wrap (GTK_LABEL (text), TRUE); @@ -227,6 +245,9 @@ gtk_box_pack_start (GTK_BOX (hbox2), text, FALSE, FALSE, 2); else gtk_box_pack_start (GTK_BOX (vbox), text, FALSE, FALSE, 2); + g_signal_connect_after (G_OBJECT (text), "size-allocate", + G_CALLBACK (text_size_allocate_cb), NULL); + g_free (buf); } @@ -393,11 +414,11 @@ settings.icon_theme = gtk_icon_theme_get_default (); gtk_icon_size_lookup (GTK_ICON_SIZE_DIALOG, &w, &h); settings.big_fallback_image = - gtk_icon_theme_load_icon (settings.icon_theme, "unknown", MIN (w, h), + gtk_icon_theme_load_icon (settings.icon_theme, "yad", MIN (w, h), GTK_ICON_LOOKUP_GENERIC_FALLBACK, NULL); gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, &w, &h); settings.small_fallback_image = - gtk_icon_theme_load_icon (settings.icon_theme, "unknown", MIN (w, h), + gtk_icon_theme_load_icon (settings.icon_theme, "yad", MIN (w, h), GTK_ICON_LOOKUP_GENERIC_FALLBACK, NULL); ctx = yad_create_context ();
View file
yad-0.12.4.tar.bz2/src/notification.c -> yad-0.13.0.tar.bz2/src/notification.c
Changed
@@ -216,8 +216,8 @@ icon = g_strstrip (value); if (gtk_status_icon_get_visible (status_icon) && - gtk_status_icon_is_embedded (status_icon)) - set_icon (); + gtk_status_icon_is_embedded (status_icon)) + set_icon (); } else if (!g_ascii_strcasecmp (command, "tooltip")) { @@ -235,7 +235,7 @@ } else if (!g_ascii_strcasecmp (command, "visible")) { -#if !GTK_CHECK_VERSION(2,91,0) +#if !GTK_CHECK_VERSION(3,0,0) if (!g_ascii_strcasecmp (value, "blink")) { gboolean state = gtk_status_icon_get_blinking (status_icon); @@ -243,21 +243,31 @@ } else #endif - if (!g_ascii_strcasecmp (value, "false")) - gtk_status_icon_set_visible (status_icon, FALSE); - else - gtk_status_icon_set_visible (status_icon, TRUE); + if (!g_ascii_strcasecmp (value, "false")) + { + gtk_status_icon_set_visible (status_icon, FALSE); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_status_icon_set_blinking (status_icon, FALSE); +#endif + } + else + { + gtk_status_icon_set_visible (status_icon, TRUE); +#if !GTK_CHECK_VERSION(3,0,0) + gtk_status_icon_set_blinking (status_icon, FALSE); +#endif + } } else if (!g_ascii_strcasecmp (command, "action")) { g_free (action); action = g_strdup (value); } - else if (!g_ascii_strcasecmp (command, "quit")) - { - exit_code = YAD_RESPONSE_OK; - gtk_main_quit (); - } + else if (!g_ascii_strcasecmp (command, "quit")) + { + exit_code = YAD_RESPONSE_OK; + gtk_main_quit (); + } else if (!g_ascii_strcasecmp (command, "menu")) { MenuData *mdata;
View file
yad-0.12.4.tar.bz2/src/option.c -> yad-0.13.0.tar.bz2/src/option.c
Changed
@@ -130,7 +130,7 @@ &options.data.no_markup, N_("Don't use pango markup language in dialog's text"), NULL }, -#if !GTK_CHECK_VERSION (2,91,0) +#if !GTK_CHECK_VERSION(3,0,0) { "dialog-sep", 0, 0, G_OPTION_ARG_NONE, @@ -138,12 +138,24 @@ N_("Add separator between dialog and buttons"), NULL }, #endif + { "borders", 0, + 0, + G_OPTION_ARG_INT, + &options.data.borders, + N_("Set window borders"), + N_("NUMBER") }, { "always-print-result", 0, 0, G_OPTION_ARG_NONE, &options.data.always_print, N_("Always print result"), NULL }, + { "selectable-labels", 0, + 0, + G_OPTION_ARG_NONE, + &options.data.selectable_labels, + N_("Dialog text can be selected"), + NULL }, /* window settings */ { "sticky", 0, 0, @@ -455,7 +467,7 @@ 0, G_OPTION_ARG_CALLBACK, add_field, - N_("Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, DIR, FN, MFL, DT or CLR)"), + N_("Add field to form (TYPE - H, RO, NUM, CHK, CB, CBE, FL, DIR, FN, MFL, DT, CLR, BTN or LBL)"), N_("LABEL:TYPE") }, { "align", 0, 0, @@ -463,6 +475,12 @@ set_align, N_("Set alignment of fileds labels (left, center or right)"), N_("TYPE") }, + { "columns", 0, + 0, + G_OPTION_ARG_INT, + &options.form_data.columns, + N_("Set number of columns in form"), + N_("NUMBER") }, { "separator", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_STRING, @@ -979,6 +997,10 @@ fld->type = YAD_FIELD_MFILE; else if (g_ascii_strcasecmp (fstr1, "DT") == 0) fld->type = YAD_FIELD_DATE; + else if (g_ascii_strcasecmp (fstr1, "BTN") == 0) + fld->type = YAD_FIELD_BUTTON; + else if (g_ascii_strcasecmp (fstr1, "LBL") == 0) + fld->type = YAD_FIELD_LABEL; else fld->type = YAD_FIELD_SIMPLE; } @@ -1140,11 +1162,13 @@ options.data.to_indicator = settings.to_indicator; options.data.buttons = NULL; options.data.no_buttons = FALSE; -#if !GTK_CHECK_VERSION (2,91,0) +#if !GTK_CHECK_VERSION(3,0,0) options.data.dialog_sep = settings.dlg_sep; #endif + options.data.borders = -1; options.data.no_markup = FALSE; options.data.always_print = FALSE; + options.data.selectable_labels = FALSE; /* Initialize window options */ options.data.sticky = FALSE; @@ -1201,6 +1225,7 @@ /* Initialize form data */ options.form_data.fields = NULL; options.form_data.align = 0.0; + options.form_data.columns = 1; /* Initialize icons data */ options.icons_data.directory = NULL;
View file
yad-0.12.4.tar.bz2/src/progress.c -> yad-0.13.0.tar.bz2/src/progress.c
Changed
@@ -51,73 +51,68 @@ string = g_string_new (NULL); if (options.progress_data.pulsate) - { - if (pulsate_timeout == -1) - pulsate_timeout = g_timeout_add (100, pulsate_progress_bar, NULL); - } + { + if (pulsate_timeout == -1) + pulsate_timeout = g_timeout_add (100, pulsate_progress_bar, NULL); + } while (channel->is_readable != TRUE); do - { - gint status; - - do - { - status = - g_io_channel_read_line_string (channel, string, NULL, &err); - - while (gtk_events_pending ()) - gtk_main_iteration (); - - } - while (status == G_IO_STATUS_AGAIN); - - if (status != G_IO_STATUS_NORMAL) - { - if (err) - { - g_printerr ("yad_progress_handle_stdin(): %s", - err->message); - g_error_free (err); - err = NULL; - } - continue; - } - - if (!g_ascii_strncasecmp (string->str, "#", 1)) - { - gchar *match; - -#if GTK_CHECK_VERSION (2,91,0) - gtk_progress_bar_set_show_text (GTK_PROGRESS_BAR (progress_bar), TRUE); -#endif - /* We have a comment, so let's try to change the label */ - match = g_strstr_len (string->str, string->len, "#"); - match++; - /* FIXME: g_strcompress() return newly allocated string. so there is a little memory leak */ - gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progress_bar), - g_strcompress (g_strstrip (match))); - } - else - { - if (!g_ascii_isdigit (*(string->str))) - continue; - - /* Now try to convert the thing to a number */ - percentage = atoi (string->str); - if (percentage >= 100) - { - gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), 1.0); - if (options.progress_data.autoclose) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); - } - else - gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), - percentage / 100.0); - } - - } + { + gint status; + + do + { + status = + g_io_channel_read_line_string (channel, string, NULL, &err); + + while (gtk_events_pending ()) + gtk_main_iteration (); + + } + while (status == G_IO_STATUS_AGAIN); + + if (status != G_IO_STATUS_NORMAL) + { + if (err) + { + g_printerr ("yad_progress_handle_stdin(): %s", + err->message); + g_error_free (err); + err = NULL; + } + continue; + } + + if (string->str0 == '#') + { + gchar *match; + + /* We have a comment, so let's try to change the label */ + match = g_strcompress (g_strstrip (string->str + 1)); + gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progress_bar), match); + g_free (match); + } + else + { + if (!g_ascii_isdigit (*(string->str))) + continue; + + /* Now try to convert the thing to a number */ + percentage = atoi (string->str); + if (percentage >= 100) + { + gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), 1.0); + if (options.progress_data.autoclose) + gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + } + else + gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), + percentage / 100.0); + } + + } while (g_io_channel_get_buffer_condition (channel) == G_IO_IN); g_string_free (string, TRUE); } @@ -127,13 +122,13 @@ gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), 1.0); if (options.progress_data.pulsate) - { - g_source_remove (pulsate_timeout); - pulsate_timeout = -1; - } + { + g_source_remove (pulsate_timeout); + pulsate_timeout = -1; + } if (options.progress_data.autoclose) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); g_io_channel_shutdown (channel, TRUE, NULL); return FALSE; @@ -148,25 +143,26 @@ GIOChannel *channel; w = progress_bar = gtk_progress_bar_new (); + gtk_widget_set_name (w, "yad-progress-widget"); +#if GTK_CHECK_VERSION(3,0,0) + gtk_progress_bar_set_show_text (GTK_PROGRESS_BAR (w), TRUE); +#endif if (options.progress_data.percentage > -1) gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), - options.progress_data.percentage / 100.0); + options.progress_data.percentage / 100.0); if (options.progress_data.progress_text) { -#if GTK_CHECK_VERSION (2,91,0) - gtk_progress_bar_set_show_text (GTK_PROGRESS_BAR (w), TRUE); -#endif gtk_progress_bar_set_text (GTK_PROGRESS_BAR (w), - options.progress_data.progress_text); + options.progress_data.progress_text); } -#if GTK_CHECK_VERSION (2,91,0) +#if GTK_CHECK_VERSION(3,0,0) gtk_progress_bar_set_inverted (GTK_PROGRESS_BAR (w), - options.progress_data.rtl); + options.progress_data.rtl); #else if (options.progress_data.rtl) gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (w), - GTK_PROGRESS_RIGHT_TO_LEFT); + GTK_PROGRESS_RIGHT_TO_LEFT); #endif channel = g_io_channel_unix_new (0);
View file
yad-0.12.4.tar.bz2/src/scale.c -> yad-0.13.0.tar.bz2/src/scale.c
Changed
@@ -60,6 +60,7 @@ w = scale = gtk_vscale_new_with_range (options.scale_data.min_value, options.scale_data.max_value, options.scale_data.step); + gtk_widget_set_name (w, "yad-vscale-widget"); gtk_range_set_inverted (GTK_RANGE (w), !options.scale_data.invert); } else @@ -67,6 +68,7 @@ w = scale = gtk_hscale_new_with_range (options.scale_data.min_value, options.scale_data.max_value, options.scale_data.step); + gtk_widget_set_name (w, "yad-hscale-widget"); gtk_range_set_inverted (GTK_RANGE (w), options.scale_data.invert); } gtk_range_set_value (GTK_RANGE (w), options.scale_data.value);
View file
yad-0.12.4.tar.bz2/src/text.c -> yad-0.13.0.tar.bz2/src/text.c
Changed
@@ -32,7 +32,7 @@ static gboolean key_press_cb (GtkWidget *w, GdkEventKey *key, gpointer data) { -#if GTK_CHECK_VERSION (2,91,0) +#if GTK_CHECK_VERSION(3,0,0) if ((key->keyval == GDK_KEY_Return || key->keyval == GDK_KEY_KP_Enter) && (key->state & GDK_CONTROL_MASK)) #else @@ -312,6 +312,7 @@ GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); text_view = gtk_text_view_new (); + gtk_widget_set_name (text_view, "yad-text-widget"); text_buffer = gtk_text_buffer_new (NULL); gtk_text_view_set_buffer (GTK_TEXT_VIEW (text_view), text_buffer); gtk_text_view_set_justification (GTK_TEXT_VIEW (text_view), options.text_data.justify);
View file
yad-0.12.4.tar.bz2/src/util.c -> yad-0.13.0.tar.bz2/src/util.c
Changed
@@ -34,7 +34,7 @@ kf = g_key_file_new (); -#if !GTK_CHECK_VERSION (2,91,0) +#if !GTK_CHECK_VERSION(3,0,0) g_key_file_set_boolean (kf, "General", "dialog_separator", settings.dlg_sep); g_key_file_set_comment (kf, "General", "dialog_separator", "Enable separator between dialog and buttons", NULL); #endif @@ -82,7 +82,7 @@ settings.show_remain = FALSE; settings.rules_hint = TRUE; settings.always_selected = FALSE; -#if !GTK_CHECK_VERSION (2,91,0) +#if !GTK_CHECK_VERSION(3,0,0) settings.dlg_sep = FALSE; #endif settings.combo_always_editable = FALSE; @@ -99,7 +99,7 @@ if (g_key_file_load_from_file (kf, filename, G_KEY_FILE_NONE, NULL)) { -#if !GTK_CHECK_VERSION (2,91,0) +#if !GTK_CHECK_VERSION(3,0,0) if (g_key_file_has_key (kf, "General", "dialog_separator", NULL)) settings.dlg_sep = g_key_file_get_boolean (kf, "General", "dialog_separator", NULL); #endif
View file
yad-0.12.4.tar.bz2/src/yad.h -> yad-0.13.0.tar.bz2/src/yad.h
Changed
@@ -67,6 +67,8 @@ YAD_FIELD_FONT, YAD_FIELD_COLOR, YAD_FIELD_DATE, + YAD_FIELD_BUTTON, + YAD_FIELD_LABEL, } YadFieldType; typedef enum { @@ -113,13 +115,15 @@ gchar *dialog_image; gboolean image_on_top; gchar *icon_theme; -#if !GTK_CHECK_VERSION (2,91,0) +#if !GTK_CHECK_VERSION(3,0,0) gboolean dialog_sep; #endif + gint borders; GSList *buttons; gboolean no_buttons; gboolean no_markup; gboolean always_print; + gboolean selectable_labels; /* window settings */ gboolean sticky; gboolean fixed; @@ -171,6 +175,7 @@ typedef struct { GSList *fields; gdouble align; + guint columns; } YadFormData; typedef struct { @@ -282,7 +287,7 @@ gboolean show_remain; gboolean rules_hint; gboolean always_selected; -#if !GTK_CHECK_VERSION (2,91,0) +#if !GTK_CHECK_VERSION(3,0,0) gboolean dlg_sep; #endif gboolean combo_always_editable;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.