diff --git a/.gitignore b/.gitignore
index 360e877..fbf5275 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,8 +9,7 @@
*.pyc
# generated files
-dbus-interface-definitions.c
-css-definitions.c
+resources.*
zathura.1
zathurarc.5
diff --git a/LICENSE b/LICENSE
index 2244d16..af2dfc0 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009-2016 pwmt.org
+Copyright (c) 2009-2017 pwmt.org
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
diff --git a/Makefile b/Makefile
index 9fc1fcc..9a22c30 100644
--- a/Makefile
+++ b/Makefile
@@ -4,26 +4,22 @@ include config.mk
include colors.mk
include common.mk
-OSOURCE = $(filter-out ${PROJECT}/css-definitions.c, $(filter-out ${PROJECT}/dbus-interface-definitions.c, $(wildcard ${PROJECT}/*.c)))
+# source files
+OSOURCE = $(sort $(wildcard ${PROJECT}/*.c) \
+ ${PROJECT}/resources.c)
+SOURCE_FILTER =
ifneq (${WITH_SQLITE},0)
-INCS += $(SQLITE_INC)
-LIBS += $(SQLITE_LIB)
-SOURCE = $(OSOURCE)
CPPFLAGS += -DWITH_SQLITE
else
-SOURCE = $(filter-out ${PROJECT}/database-sqlite.c,$(OSOURCE))
+SOURCE_FILTER += ${PROJECT}/database-sqlite.c
endif
ifneq ($(WITH_MAGIC),0)
-INCS += $(MAGIC_INC)
-LIBS += $(MAGIC_LIB)
CPPFLAGS += -DWITH_MAGIC
endif
ifneq ($(WITH_SYNCTEX),0)
-INCS += $(SYNCTEX_INC)
-LIBS += $(SYNCTEX_LIB)
CPPFLAGS += -DWITH_SYNCTEX
endif
@@ -41,16 +37,10 @@ ifeq (,$(findstring -DLOCALEDIR,${CPPFLAGS}))
CPPFLAGS += -DLOCALEDIR=\"${LOCALEDIR}\"
endif
-OBJECTS = $(addprefix ${BUILDDIR_RELEASE}/,${SOURCE:.c=.o}) \
- ${BUILDDIR_RELEASE}/${PROJECT}/css-definitions.o \
- ${BUILDDIR_RELEASE}/${PROJECT}/dbus-interface-definitions.o
-OBJECTS_DEBUG = $(addprefix ${BUILDDIR_DEBUG}/,${SOURCE:.c=.o}) \
- ${BUILDDIR_DEBUG}/${PROJECT}/css-definitions.o \
- ${BUILDDIR_DEBUG}/${PROJECT}/dbus-interface-definitions.o
-OBJECTS_GCOV = $(addprefix ${BUILDDIR_GCOV}/,${SOURCE:.c=.o}) \
- ${BUILDDIR_GCOV}/${PROJECT}/css-definitions.o \
- ${BUILDDIR_GCOV}/${PROJECT}/dbus-interface-definitions.o
-HEADER = $(wildcard ${PROJECT}/*.h) $(wildcard synctex/*.h)
+SOURCE = $(filter-out $(SOURCE_FILTER),$(OSOURCE))
+OBJECTS = $(addprefix ${BUILDDIR_RELEASE}/,${SOURCE:.c=.o})
+OBJECTS_DEBUG = $(addprefix ${BUILDDIR_DEBUG}/,${SOURCE:.c=.o})
+OBJECTS_GCOV = $(addprefix ${BUILDDIR_GCOV}/,${SOURCE:.c=.o})
HEADERINST = $(addprefix ${PROJECT}/,version.h document.h macros.h page.h types.h plugin-api.h links.h)
all: options ${PROJECT} po build-manpages
@@ -72,6 +62,8 @@ options:
@echo "DFLAGS = ${DFLAGS}"
@echo "CC = ${CC}"
+# generated files
+
${PROJECT}/version.h: ${PROJECT}/version.h.in config.mk
$(QUIET)sed -e 's/ZVMAJOR/${ZATHURA_VERSION_MAJOR}/' \
-e 's/ZVMINOR/${ZATHURA_VERSION_MINOR}/' \
@@ -80,24 +72,23 @@ ${PROJECT}/version.h: ${PROJECT}/version.h.in config.mk
-e 's/ZVABI/${ZATHURA_ABI_VERSION}/' ${PROJECT}/version.h.in > ${PROJECT}/version.h.tmp
$(QUIET)mv ${PROJECT}/version.h.tmp ${PROJECT}/version.h
-${PROJECT}/dbus-interface-definitions.c: data/org.pwmt.zathura.xml
- $(QUIET)echo '#include "dbus-interface-definitions.h"' > $@.tmp
- $(QUIET)echo 'const char* DBUS_INTERFACE_XML =' >> $@.tmp
- $(QUIET)sed 's/^\(.*\)$$/"\1\\n"/' data/org.pwmt.zathura.xml >> $@.tmp
- $(QUIET)echo ';' >> $@.tmp
- $(QUIET)mv $@.tmp $@
+${PROJECT}/resources.%: data/zathura.gresource.xml config.mk
+ $(call colorecho,GEN,$@)
+ @mkdir -p ${DEPENDDIR}/$(dir $@)
+ $(QUIET)$(GLIB_COMPILE_RESOURCES) --generate --c-name=zathura_resources --internal \
+ --dependency-file=$(DEPENDDIR)/$@.dep \
+ --sourcedir=data --target=$@ data/zathura.gresource.xml
-${PROJECT}/css-definitions.c: data/zathura.css_t
- $(QUIET)echo '#include "css-definitions.h"' > $@.tmp
- $(QUIET)echo 'const char* CSS_TEMPLATE_INDEX =' >> $@.tmp
- $(QUIET)sed 's/^\(.*\)$$/"\1\\n"/' $< >> $@.tmp
- $(QUIET)echo ';' >> $@.tmp
- $(QUIET)mv $@.tmp $@
+# common dependencies
-# release build
+${OBJECTS} ${OBJECTS_DEBUG} ${OBJECTS_GCOV}: config.mk \
+ .version-checks/GIRARA \
+ .version-checks/GLIB \
+ .version-checks/GTK \
+ ${PROJECT}/version.h \
+ ${PROJECT}/resources.h
-${OBJECTS}: config.mk ${PROJECT}/version.h \
- .version-checks/GIRARA .version-checks/GLIB .version-checks/GTK
+# rlease build
${BUILDDIR_RELEASE}/%.o: %.c
$(call colorecho,CC,$<)
@@ -120,9 +111,6 @@ run: release
# debug build
-${OBJECTS_DEBUG}: config.mk ${PROJECT}/version.h \
- .version-checks/GIRARA .version-checks/GLIB .version-checks/GTK
-
${BUILDDIR_DEBUG}/%.o: %.c
$(call colorecho,CC,$<)
@mkdir -p ${DEPENDDIR}/$(dir $@)
@@ -143,9 +131,6 @@ run-debug: debug
# gcov build
-${OBJECTS_GCOV}: config.mk ${PROJECT}/version.h \
- .version-checks/GIRARA .version-checks/GLIB .version-checks/GTK
-
${BUILDDIR_GCOV}/%.o: %.c
$(call colorecho,CC,$<)
@mkdir -p ${DEPENDDIR}/$(dir $@)
@@ -157,7 +142,7 @@ ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}: ${OBJECTS_GCOV}
$(call colorecho,CC,$@)
@mkdir -p ${BUILDDIR_GCOV}/${BINDIR}
$(QUIET)${CC} ${LDFLAGS} ${GCOV_CFLAGS} ${GCOV_LDFLAGS} \
- -o ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT} ${OBJECTS_GCOv} ${LIBS}
+ -o ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT} ${OBJECTS_GCOV} ${LIBS}
gcov: options ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}
$(QUIET)${MAKE} -C tests run-gcov
@@ -180,10 +165,8 @@ clean:
${PROJECT}.pc \
${PROJECT}/version.h \
${PROJECT}/version.h.tmp \
- ${PROJECT}/dbus-interface-definitions.c \
- ${PROJECT}/dbus-interface-definitions.c.tmp \
- ${PROJECT}/css-definitions.c \
- ${PROJECT}/css-definitions.c.tmp \
+ ${PROJECT}/resources.c \
+ ${PROJECT}/resources.h \
$(PROJECT).info \
gcov \
.version-checks
diff --git a/README b/README
index 55f43aa..dbeaf27 100644
--- a/README
+++ b/README
@@ -6,8 +6,8 @@ girara user interface library and several document libraries.
Requirements
------------
gtk3 (>= 3.6)
-glib (>= 2.32)
-girara (>= 0.2.4)
+glib (>= 2.50)
+girara (>= 0.2.8)
sqlite3 (optional, >= 3.5.9)
check (for tests)
intltool
diff --git a/config.mk b/config.mk
index 3612e93..7a488cf 100644
--- a/config.mk
+++ b/config.mk
@@ -6,11 +6,11 @@ PROJECT = zathura
ZATHURA_VERSION_MAJOR = 0
ZATHURA_VERSION_MINOR = 3
-ZATHURA_VERSION_REV = 6
+ZATHURA_VERSION_REV = 8
# If the API changes, the API version and the ABI version have to be bumped.
ZATHURA_API_VERSION = 2
# If the ABI breaks for any reason, this has to be bumped.
-ZATHURA_ABI_VERSION = 2
+ZATHURA_ABI_VERSION = 3
VERSION = ${ZATHURA_VERSION_MAJOR}.${ZATHURA_VERSION_MINOR}.${ZATHURA_VERSION_REV}
# version checks
@@ -18,11 +18,11 @@ VERSION = ${ZATHURA_VERSION_MAJOR}.${ZATHURA_VERSION_MINOR}.${ZATHURA_VERSION_RE
# girara
GIRARA_VERSION_CHECK ?= 1
-GIRARA_MIN_VERSION = 0.2.6
+GIRARA_MIN_VERSION = 0.2.8
GIRARA_PKG_CONFIG_NAME = girara-gtk3
# glib
GLIB_VERSION_CHECK ?= 1
-GLIB_MIN_VERSION = 2.32
+GLIB_MIN_VERSION = 2.50
GLIB_PKG_CONFIG_NAME = glib-2.0
# GTK
GTK_VERSION_CHECK ?= 1
@@ -32,6 +32,9 @@ GTK_PKG_CONFIG_NAME = gtk+-3.0
# pkg-config binary
PKG_CONFIG ?= pkg-config
+# glib-compile-resources
+GLIB_COMPILE_RESOURCES ?= glib-compile-resources
+
# database
# To disable support for the sqlite backend set WITH_SQLITE to 0.
WITH_SQLITE ?= $(shell (${PKG_CONFIG} --atleast-version=3.5.9 sqlite3 && echo 1) || echo 0)
@@ -48,7 +51,7 @@ WITH_MAGIC ?= 1
PREFIX ?= /usr
MANPREFIX ?= ${PREFIX}/share/man
DESKTOPPREFIX ?= ${PREFIX}/share/applications
-APPDATAPREFIX ?= ${PREFIX}/share/appdata
+APPDATAPREFIX ?= ${PREFIX}/share/metainfo
LIBDIR ?= ${PREFIX}/lib
INCLUDEDIR ?= ${PREFIX}/include
DBUSINTERFACEDIR ?= ${PREFIX}/share/dbus-1/interfaces
@@ -66,38 +69,58 @@ PLUGINDIR ?= ${LIBDIR}/zathura
LOCALEDIR ?= ${PREFIX}/share/locale
# libs
-GTK_INC ?= $(shell ${PKG_CONFIG} --cflags gtk+-3.0)
-GTK_LIB ?= $(shell ${PKG_CONFIG} --libs gtk+-3.0)
+ifeq (${GTK_INC}-${GTK_LIB},-)
+PKG_CONFIG_LIBS += gtk+-3.0
+else
+INCS += ${GTK_INC}
+LIBS += ${GTK_LIB}
+endif
-GTHREAD_INC ?= $(shell ${PKG_CONFIG} --cflags gthread-2.0)
-GTHREAD_LIB ?= $(shell ${PKG_CONFIG} --libs gthread-2.0)
+ifeq (${GLIB_INC}-${GLIB_LIB},-)
+PKG_CONFIG_LIBS += gthread-2.0 gmodule-no-export-2.0 glib-2.0
+else
+INCS += ${GLIB_INC}
+LIBS += ${GLIB_LIB}
+endif
-GMODULE_INC ?= $(shell ${PKG_CONFIG} --cflags gmodule-no-export-2.0)
-GMODULE_LIB ?= $(shell ${PKG_CONFIG} --libs gmodule-no-export-2.0)
-
-GLIB_INC ?= $(shell ${PKG_CONFIG} --cflags glib-2.0)
-GLIB_LIB ?= $(shell ${PKG_CONFIG} --libs glib-2.0)
-
-GIRARA_INC ?= $(shell ${PKG_CONFIG} --cflags girara-gtk3)
-GIRARA_LIB ?= $(shell ${PKG_CONFIG} --libs girara-gtk3)
+ifeq (${GIRARA_INC}-${GIRARA_LIB},-)
+PKG_CONFIG_LIBS += girara-gtk3
+else
+INCS += ${GIRARA_INC}
+LIBS += ${GIRARA_LIB}
+endif
ifneq (${WITH_SQLITE},0)
-SQLITE_INC ?= $(shell ${PKG_CONFIG} --cflags sqlite3)
-SQLITE_LIB ?= $(shell ${PKG_CONFIG} --libs sqlite3)
+ifeq (${SQLITE_INC}-${SQLITE_LIB},-)
+PKG_CONFIG_LIBS += sqlite3
+else
+INCS += ${SQLITE_INC}
+LIBS += ${SQLITE_LIB}
+endif
endif
ifneq (${WITH_MAGIC},0)
MAGIC_INC ?=
MAGIC_LIB ?= -lmagic
+
+INCS += ${MAGIC_INC}
+LIBS += ${MAGIC_LIB}
endif
ifneq ($(WITH_SYNCTEX),0)
-SYNCTEX_INC ?= $(shell ${PKG_CONFIG} --cflags synctex)
-SYNCTEX_LIB ?= $(shell ${PKG_CONFIG} --libs synctex)
+ifeq (${SYNCTEX_INC}-${SYNCTEX_LIB},-)
+PKG_CONFIG_LIBS += synctex
+else
+INCS += ${SYNCTEX_INC}
+LIBS += ${SYNCTEX_LIB}
+endif
endif
-INCS = ${GIRARA_INC} ${GTK_INC} ${GTHREAD_INC} ${GMODULE_INC} ${GLIB_INC}
-LIBS = ${GIRARA_LIB} ${GTK_LIB} ${GTHREAD_LIB} ${GMODULE_LIB} ${GLIB_LIB} -lpthread -lm
+ifneq (${PKG_CONFIG_LIBS},)
+INCS += $(shell ${PKG_CONFIG} --cflags ${PKG_CONFIG_LIBS})
+LIBS += $(shell ${PKG_CONFIG} --libs ${PKG_CONFIG_LIBS})
+endif
+LIBS += -lpthread -lm
# pre-processor flags
CPPFLAGS += -D_FILE_OFFSET_BITS=64
diff --git a/data/zathura.gresource.xml b/data/zathura.gresource.xml
new file mode 100644
index 0000000..835b35b
--- /dev/null
+++ b/data/zathura.gresource.xml
@@ -0,0 +1,9 @@
+
+
+
+ zathura.css_t
+
+
+ org.pwmt.zathura.xml
+
+
diff --git a/doc/configuration/set.rst b/doc/configuration/set.rst
index 0e0e066..20aaedb 100644
--- a/doc/configuration/set.rst
+++ b/doc/configuration/set.rst
@@ -1,7 +1,7 @@
set - Changing options
======================
-In addition to the build-in *:set* command zathura offers more options
+In addition to the built-in *:set* command zathura offers more options
to be changed and makes those changes permanent. To overwrite an option
you just have to add a line structured like the following
diff --git a/doc/man/_bindings.txt b/doc/man/_bindings.txt
index 460eb3a..3fe3141 100644
--- a/doc/man/_bindings.txt
+++ b/doc/man/_bindings.txt
@@ -39,7 +39,7 @@ General
r
Rotate by 90 degrees
^r
- Recolor
+ Recolor (grayscale and invert colors)
R
Reload document
Tab
diff --git a/doc/man/_options.txt b/doc/man/_options.txt
index 0ebbf14..73a9833 100644
--- a/doc/man/_options.txt
+++ b/doc/man/_options.txt
@@ -20,8 +20,8 @@
with 1, and negative numbers indicate page numbers starting from the end
of the document, -1 being the last page.
--l, --debug=level
- Set log debug level (debug, info, warning, error)
+-l, --log-level=level
+ Set log level (debug, info, warning, error)
-x, --synctex-editor-command=command
Set the synctex editor command. Overrides the synctex-editor-command setting.
diff --git a/doc/man/_synctex.txt b/doc/man/_synctex.txt
index dfa5dc8..7ba1098 100644
--- a/doc/man/_synctex.txt
+++ b/doc/man/_synctex.txt
@@ -7,3 +7,8 @@ knows how to parse the output of the *synctex view* command. It is enough to
pass the arguments to *synctex view*'s *-i* option to zathura via
*--syntex-forward* and zathura will pass the information to the correct
instance.
+
+Some editors support zathura as viewer out of the box:
+
+* LaTeXTools for SublimeText
+ (https://latextools.readthedocs.io/en/latest/available-viewers/#zathura)
diff --git a/doc/man/zathurarc.5.rst b/doc/man/zathurarc.5.rst
index 523ce8a..f71aeb6 100644
--- a/doc/man/zathurarc.5.rst
+++ b/doc/man/zathurarc.5.rst
@@ -22,7 +22,7 @@ COMMANDS
set - Changing options
----------------------
-In addition to the build-in ``:set`` command zathura offers more options to be
+In addition to the built-in ``:set`` command zathura offers more options to be
changed and makes those changes permanent. To overwrite an option you just have
to add a line structured like the following
@@ -91,6 +91,7 @@ argument which can take one of the following values:
* normal (default)
* fullscreen
+* presentation
* index
The brackets around the value are mandatory.
@@ -225,6 +226,10 @@ The following shortcut functions can be mapped:
Display link target.
+* ``exec``:
+
+ Execute an external command.
+
* ``focus_inputbar``
Focus inputbar.
@@ -370,7 +375,7 @@ OPTIONS
girara
------
-This section describes settings concerning the behaviour of libgirara and
+This section describes settings concerning the behaviour of girara and
zathura. The settings described here can be changed with ``set``.
n-completion-items
@@ -444,7 +449,7 @@ Defines the default background color
exec-command
^^^^^^^^^^^^
-Defines a command the should be prepanded to any command run with exec.
+Defines a command the should be prepended to any command run with exec.
* Value type: String
* Default value:
@@ -651,6 +656,14 @@ Defines if the number of pages per row should be honored when advancing a page.
* Value type: Boolean
* Default value: false
+continuous-hist-save
+^^^^^^^^^^^^^^^^^^^^
+Tells zathura whether to save document history at each page change or only when
+closing a document.
+
+* Value type: Boolean
+* Default value: false
+
database
^^^^^^^^
Defines the database backend to use for bookmarks and input history. Possible
@@ -661,13 +674,21 @@ values are "plain", "sqlite" (if built with sqlite support) and "null". If
* Default value: plain
dbus-service
-^^^^^^^^^^^^^^^^^^^
+^^^^^^^^^^^^
En/Disables the D-Bus service. If the services is disabled, SyncTeX forward
synchronization is not available.
* Value type: Boolean
* Default value: true
+filemonitor
+^^^^^^^^^^^
+Defines the filemonitor backend. Possible values are "glib" and "signal" (if
+signal handling is supported).
+
+* Value type: String
+* Default value: glib
+
incremental-search
^^^^^^^^^^^^^^^^^^
En/Disables incremental search (search while typing).
@@ -741,7 +762,7 @@ Defines the column in which the first page will be displayed.
This setting is stored separately for every value of pages-per-row according to
the following pattern <1 page per row>:[<2 pages per row>[: ...]]. The last
value in the list will be used for all other number of pages per row if not set
-explicitely.
+explicitly.
Per default, the first column is set to 2 for double-page layout.
@@ -866,7 +887,7 @@ Defines if scrolling by half or full pages stops at page boundaries.
smooth-scroll
^^^^^^^^^^^^^
-Defines if scrolling via touchpad should be smooth(only available with gtk >= 3.4).
+Defines if scrolling via touchpad should be smooth.
* Value type: Boolean
* Default value: false
@@ -935,6 +956,13 @@ En/Disables horizontally centered zooming.
* Value type: Boolean
* Default value: false
+vertical-center
+^^^^^^^^^^^^^^^
+Center the screen at the vertical midpoint of the page by default.
+
+* Value type: Boolean
+* Default value: false
+
zoom-max
^^^^^^^^
Defines the maximum percentage that the zoom level can be.
diff --git a/po/ca.po b/po/ca.po
index 901b198..f7911fb 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2016-04-18 21:11+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/"
@@ -35,7 +35,7 @@ msgstr "Entrada invàlida '%s'."
msgid "Invalid index '%s' given."
msgstr "Índex invàlid '%s'."
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -43,14 +43,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "No s'ha obert cap document."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invàlids."
@@ -145,342 +145,354 @@ msgstr "No s'ha pogut desar el document."
msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invàlids."
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No s'ha pogut escriure el fitxer adjunt '%s' a '%s'."
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "S'ha escrit el fitxer adjunt '%s' a '%s'."
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "S'ha escrit la imatge '%s' a '%s'."
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No s'ha pogut escriure la imatge '%s' a '%s'."
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Imatge desconeguda '%s'."
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Imatge o fitxer adjunt desconegut '%s'."
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "L'argument ha de ser un nombre."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Pàgina %d"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Fitxers adjunts"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Imatges"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "Base de dades de rerefons"
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Pas d'ampliació"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Separació entre pàgines"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Nombre de pàgines per fila"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr "Columna de la primera pàgina"
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Pas de desplaçament"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Pas de desplaçament horitzontal"
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Superposició de pàgines completes de desplaçament"
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Zoom mínim"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Zoom màxim"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Nombre de posicions per recordar al jumplist"
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Recolorejant (color fosc)"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Recolorejant (color clar)"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Color de realçament"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Color de realçament (activat)"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Recolorejant les pàgines"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr "Quan recoloregis manté el to original i ajusta només la lluminositat"
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Desplaçament recollit"
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Desplaçament recollit"
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Avançar nombre de pàgines per fila"
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Zoom centrat horitzontalment"
-#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
-
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
+msgid "Align link target to the left"
+msgstr ""
+
+#: ../zathura/config.c:207
+msgid "Let zoom be changed when following links"
+msgstr ""
+
+#: ../zathura/config.c:209
msgid "Center result horizontally"
msgstr "Centra el resultat horitzontalment"
-#: ../zathura/config.c:207
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Transparència del realçat"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Renderitza 'Carregant ...'"
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Ajustar al fitxer quan s'obri"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Mostra els directoris i fitxers ocults"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Mostra els directoris"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Obrir sempre la primera pàgina"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr "Realça els resultats de recerca"
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr "Habilita la cerca incremental"
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Esborra els resultats de recerca a l'interrompre"
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr "Utilitza el nom base del fitxer en el títol de la finestra"
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr "Habilitar la compatibilitat amb synctex"
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Afegir un marcador"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Esborrar un marcador"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Llista tots els marcadors"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Tancar el fitxer actual"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Mostra informació sobre el fitxer"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr "Executar una comanda"
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Mostrar l'ajuda"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Obrir document"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Tancar Zathura"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Imprimir document"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Desar document"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Desar document (i forçar la sobreescritura)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Desa els fitxers adjunts"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Assigna el desplaçament de pàgina"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Marca la posició actual dins el document"
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Esborrar les marques especificades"
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "No realcis els resultats de la recerca actual"
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr "Realça els resultats de recerca actual"
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr "Mostra informació sobre la versió"
@@ -502,59 +514,59 @@ msgstr "Enllaç: %s"
msgid "Link: Invalid"
msgstr "Enllaç: Invàlid"
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Reassigna a la finestra especificada per xid (X11)"
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Ruta al directori de configuració"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Camí al directori de dades"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Camí al directori que conté els plugins"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr "Bifurca en segon pla"
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr "Contrasenya del document"
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Nivell de registre (depuració, informació, advertiments, errors)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Imprimeix informació sobre la versió"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor synctex (reenviat a l'ordre synctex)"
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -562,43 +574,53 @@ msgstr ""
msgid "Loading..."
msgstr "Carregant..."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Copia la imatge"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr "Desa imatge com a"
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Aquest document no conté cap índex"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Sense nom]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/cs.po b/po/cs.po
index 4437ab1..c3583fd 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -1,24 +1,26 @@
# zathura - language file (Czech)
# See LICENSE file for license and copyright information
#
+# Translators:
+# fri, 2016
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
-"PO-Revision-Date: 2015-10-15 23:09+0200\n"
-"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: pwmt.org \n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
+"PO-Revision-Date: 2017-01-04 20:39+0100\n"
+"Last-Translator: fri\n"
+"Language-Team: Czech (http://www.transifex.com/pwmt/zathura/language/cs/)\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
+"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Poedit 1.8.5\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#: ../zathura/callbacks.c:233
#, c-format
msgid "'%s' must not be 0. Set to 1."
-msgstr ""
+msgstr "'%s' nesmí být 0. Nastaveno na 1."
#: ../zathura/callbacks.c:315
#, c-format
@@ -28,36 +30,36 @@ msgstr "Neplatný vstup: %s"
#: ../zathura/callbacks.c:351
#, c-format
msgid "Invalid index '%s' given."
-msgstr "Neplatný index: %s"
+msgstr "Neplatný rejstřík: %s"
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
-msgstr ""
+msgstr "Vybraný text zkopírován do výběru %s: %s"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Není otevřený žádný dokument."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Špatný počet argumentů."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
-msgstr "Nemůžu vytvořit záložku: %s"
+msgstr "Nepodařilo se vytvořit záložku: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
-msgstr "Nemůžu vytvořit záložku: %s"
+msgstr "Nepodařilo se vytvořit záložku: %s"
#: ../zathura/commands.c:60
#, c-format
@@ -77,7 +79,7 @@ msgstr "Záložka smazána: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
-msgstr "Nemůžu smazat záložku: %s"
+msgstr "Nepodařilo se smazat záložku: %s"
#: ../zathura/commands.c:116
#, c-format
@@ -86,35 +88,35 @@ msgstr "Záložka neexistuje: %s"
#: ../zathura/commands.c:162
msgid "Title"
-msgstr ""
+msgstr "Název"
#: ../zathura/commands.c:163
msgid "Author"
-msgstr ""
+msgstr "Autor"
#: ../zathura/commands.c:164
msgid "Subject"
-msgstr ""
+msgstr "Předmět"
#: ../zathura/commands.c:165
msgid "Keywords"
-msgstr ""
+msgstr "Klíčová slova"
#: ../zathura/commands.c:166
msgid "Creator"
-msgstr ""
+msgstr "Tvůrce"
#: ../zathura/commands.c:167
msgid "Producer"
-msgstr ""
+msgstr "Výrobce"
#: ../zathura/commands.c:168
msgid "Creation date"
-msgstr ""
+msgstr "Datum vytvoření"
#: ../zathura/commands.c:169
msgid "Modification date"
-msgstr ""
+msgstr "Datum změny"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
@@ -140,460 +142,485 @@ msgstr "Nepovedlo se uložit dokument."
msgid "Invalid number of arguments."
msgstr "Špatný počet argumentů."
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Nepovedlo se zapsat přílohu '%s' do '%s'."
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Příloha '%s' zapsána do '%s'."
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Obrázek '%s' zapsán do '%s'."
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Nepovedlo se zapsat obrázek '%s' do '%s'."
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Neznámý obrázek '%s'."
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Neznámá příloha nebo obrázek '%s'."
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "Argumentem musí být číslo."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Strana %d"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Přílohy"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Obrázky"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
-msgstr "Databázový backend"
+msgstr "Databázová vrstva"
#: ../zathura/config.c:146
-msgid "Zoom step"
-msgstr "Zoom step"
+msgid "File monitor backend"
+msgstr ""
#: ../zathura/config.c:148
+msgid "Zoom step"
+msgstr "Velikost kroku zvětšení"
+
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Mezery mezi stránkami"
-#: ../zathura/config.c:150
-msgid "Number of pages per row"
-msgstr "Počet stránek na řádek"
-
#: ../zathura/config.c:152
-msgid "Column of the first page"
-msgstr ""
+msgid "Number of pages per row"
+msgstr "Počet stran na řádek"
#: ../zathura/config.c:154
-msgid "Scroll step"
-msgstr "Scroll step"
+msgid "Column of the first page"
+msgstr "Sloupec první strany"
#: ../zathura/config.c:156
-msgid "Horizontal scroll step"
-msgstr ""
+msgid "Scroll step"
+msgstr "Velikost kroku posunu"
#: ../zathura/config.c:158
-msgid "Full page scroll overlap"
-msgstr ""
+msgid "Horizontal scroll step"
+msgstr "Velikost kroku vodorovného posunu"
#: ../zathura/config.c:160
-msgid "Zoom minimum"
-msgstr "Oddálit"
+msgid "Full page scroll overlap"
+msgstr "Překrývání při posunování celých stran"
#: ../zathura/config.c:162
-msgid "Zoom maximum"
-msgstr "Přiblížit"
+msgid "Zoom minimum"
+msgstr "Nejmenší stupeň zvětšení"
#: ../zathura/config.c:164
-msgid "Maximum number of pages to keep in the cache"
-msgstr ""
+msgid "Zoom maximum"
+msgstr "Největší stupeň zvětšení"
#: ../zathura/config.c:166
-msgid "Maximum size in pixels of thumbnails to keep in the cache"
-msgstr ""
+msgid "Maximum number of pages to keep in the cache"
+msgstr "Největší počet stran ve vyrovnávací paměti"
#: ../zathura/config.c:168
-msgid "Number of positions to remember in the jumplist"
-msgstr ""
+msgid "Maximum size in pixels of thumbnails to keep in the cache"
+msgstr "Největší velikost náhledů v obrazových bodech ve vyrovnávací paměti"
#: ../zathura/config.c:170
-msgid "Recoloring (dark color)"
-msgstr "Přebarvuji do tmava"
-
-#: ../zathura/config.c:171
-msgid "Recoloring (light color)"
-msgstr "Přebarvuji do světla"
+msgid "Number of positions to remember in the jumplist"
+msgstr "Počet poloh k uchování v seznamu"
#: ../zathura/config.c:172
+msgid "Recoloring (dark color)"
+msgstr "Přebarvuje se do tmava"
+
+#: ../zathura/config.c:173
+msgid "Recoloring (light color)"
+msgstr "Přebarvuje se do světla"
+
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Barva zvýrazňovače"
-#: ../zathura/config.c:174
-msgid "Color for highlighting (active)"
-msgstr "Barva zvýrazňovače (aktivní)"
-
#: ../zathura/config.c:176
-msgid "'Loading ...' background color"
-msgstr ""
+msgid "Color for highlighting (active)"
+msgstr "Barva zvýrazňovače (činná)"
#: ../zathura/config.c:178
+msgid "'Loading ...' background color"
+msgstr "Nahrává se barva pozadí..."
+
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
-msgstr ""
-
-#: ../zathura/config.c:181
-msgid "Index mode foreground color"
-msgstr ""
-
-#: ../zathura/config.c:182
-msgid "Index mode background color"
-msgstr ""
+msgstr "Nahrává se barva popředí..."
#: ../zathura/config.c:183
-msgid "Index mode foreground color (active element)"
-msgstr ""
+msgid "Index mode foreground color"
+msgstr "Barva popředí režimu rejstříku"
#: ../zathura/config.c:184
-msgid "Index mode background color (active element)"
-msgstr ""
+msgid "Index mode background color"
+msgstr "Barva pozadí režimu rejstříku"
-#: ../zathura/config.c:187
+#: ../zathura/config.c:185
+msgid "Index mode foreground color (active element)"
+msgstr "Barva popředí režimu rejstříku (činný prvek)"
+
+#: ../zathura/config.c:186
+msgid "Index mode background color (active element)"
+msgstr "Barva pozadí režimu rejstříku (činný prvek)"
+
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Přebarvit stránky"
-#: ../zathura/config.c:189
-msgid "When recoloring keep original hue and adjust lightness only"
-msgstr ""
-
#: ../zathura/config.c:191
-msgid "When recoloring keep original image colors"
-msgstr ""
+msgid "When recoloring keep original hue and adjust lightness only"
+msgstr "Při přebarvování zachovat původní odstín a přizpůsobit pouze světlost"
#: ../zathura/config.c:193
-msgid "Wrap scrolling"
-msgstr "Scrollovat přes konce"
+msgid "When recoloring keep original image colors"
+msgstr "Při přebarvování zachovat původní barvy obrázku"
#: ../zathura/config.c:195
-msgid "Page aware scrolling"
-msgstr ""
+msgid "Wrap scrolling"
+msgstr "Posunovat přes konce"
#: ../zathura/config.c:197
-msgid "Advance number of pages per row"
-msgstr ""
+msgid "Page aware scrolling"
+msgstr "Posunovat s ohledem na strany"
#: ../zathura/config.c:199
-msgid "Horizontally centered zoom"
-msgstr ""
+msgid "Advance number of pages per row"
+msgstr "Pokračovat v počtu stran v jednom řádku"
#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
+msgid "Horizontally centered zoom"
+msgstr "Vodorovně vystředěné přiblížení"
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
-msgid "Center result horizontally"
-msgstr ""
+msgid "Align link target to the left"
+msgstr "Zarovnat cíl odkazu nalevo"
#: ../zathura/config.c:207
+msgid "Let zoom be changed when following links"
+msgstr "Při následování odkazů se mění velikost přiblížení"
+
+#: ../zathura/config.c:209
+msgid "Center result horizontally"
+msgstr "Vystředit výsledky vodorovně"
+
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Průhlednost při zvýrazňování"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
-msgstr "Vypisovat 'Načítám ...'"
+msgstr "Vypisovat Nahrává se..."
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Přiblížení po otevření souboru"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Zobrazovat skryté soubory"
-#: ../zathura/config.c:214
-msgid "Show directories"
-msgstr "Zobrazovat adresáře"
-
-#: ../zathura/config.c:216
-msgid "Show recent files"
-msgstr ""
-
#: ../zathura/config.c:218
+msgid "Show directories"
+msgstr "Ukázat adresáře"
+
+#: ../zathura/config.c:220
+msgid "Show recent files"
+msgstr "Ukázat nedávné soubory"
+
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Vždy otevírat na první straně"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr "Zvýrazňovat výsledky hledání"
-#: ../zathura/config.c:223
-msgid "Enable incremental search"
-msgstr ""
-
-#: ../zathura/config.c:225
-msgid "Clear search results on abort"
-msgstr "Při abortu smazat výsledky hledání"
-
#: ../zathura/config.c:227
-msgid "Use basename of the file in the window title"
-msgstr ""
+msgid "Enable incremental search"
+msgstr "Povolit přírůstkové hledání"
#: ../zathura/config.c:229
-msgid "Use ~ instead of $HOME in the filename in the window title"
-msgstr ""
+msgid "Clear search results on abort"
+msgstr "Při přerušení smazat výsledky hledání"
#: ../zathura/config.c:231
-msgid "Display the page number in the window title"
-msgstr ""
+msgid "Use basename of the file in the window title"
+msgstr "Použít základní název souboru v názvu okna"
#: ../zathura/config.c:233
-msgid "Use basename of the file in the statusbar"
-msgstr ""
+msgid "Use ~ instead of $HOME in the filename in the window title"
+msgstr "Použít ~ místo $HOME v souborovém názvu v názvu okna"
#: ../zathura/config.c:235
-msgid "Use ~ instead of $HOME in the filename in the statusbar"
-msgstr ""
+msgid "Display the page number in the window title"
+msgstr "Zobrazit číslo strany v názvu okna"
#: ../zathura/config.c:237
-msgid "Enable synctex support"
-msgstr ""
+msgid "Use basename of the file in the statusbar"
+msgstr "Použít základní název souboru ve stavovém řádku"
#: ../zathura/config.c:239
-msgid "Synctex editor command"
-msgstr ""
+msgid "Use ~ instead of $HOME in the filename in the statusbar"
+msgstr "Použít ~ místo $HOME v souborovém názvu ve stavovém řádku"
#: ../zathura/config.c:241
-msgid "Enable D-Bus service"
-msgstr ""
+msgid "Enable synctex support"
+msgstr "Povolit podporu pro synctex"
#: ../zathura/config.c:243
-msgid "The clipboard into which mouse-selected data will be written"
-msgstr ""
+msgid "Synctex editor command"
+msgstr "Příkaz pro editor Synctex"
#: ../zathura/config.c:245
-msgid "Enable notification after selecting text"
+msgid "Enable D-Bus service"
+msgstr "Povolit službu D-Bus"
+
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
msgstr ""
+#: ../zathura/config.c:249
+msgid "The clipboard into which mouse-selected data will be written"
+msgstr "Schránka, do níž budou zapsána data vabraná pomocí myši"
+
+#: ../zathura/config.c:251
+msgid "Enable notification after selecting text"
+msgstr "Povolit oznámení po vybrání textu"
+
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Přidat záložku"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Smazat záložku"
-#: ../zathura/config.c:437
-msgid "List all bookmarks"
-msgstr "Vypsat záložky"
-
-#: ../zathura/config.c:438
-msgid "Close current file"
-msgstr "Zavřít tenhle soubor"
-
-#: ../zathura/config.c:439
-msgid "Show file information"
-msgstr "Zobrazit informace o souboru"
-
-#: ../zathura/config.c:440 ../zathura/config.c:441
-msgid "Execute a command"
-msgstr ""
-
-#. like vim
#: ../zathura/config.c:442
-msgid "Show help"
-msgstr "Zobrazit nápovědu"
+msgid "List all bookmarks"
+msgstr "Vypsat všechny záložky"
#: ../zathura/config.c:443
+msgid "Close current file"
+msgstr "Zavřít nynější soubor"
+
+#: ../zathura/config.c:444
+msgid "Show file information"
+msgstr "Ukázat informace o souboru"
+
+#: ../zathura/config.c:445 ../zathura/config.c:446
+msgid "Execute a command"
+msgstr "Spustit příkaz"
+
+#. like vim
+#: ../zathura/config.c:447
+msgid "Show help"
+msgstr "Ukázat nápovědu"
+
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Otevřít dokument"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Zavřít zathuru"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
-msgstr "Tisknout dokument"
+msgstr "Vytisknout dokument"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Uložit dokument"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
-msgstr "Uložit a přepsat dokument"
+msgstr "Uložit dokument a vynutit jeho přepsání"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Uložit přílohy"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
-msgstr ""
+msgstr "Nastavit posun strany"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
-msgstr "Označit současnou pozici v dokumentu"
+msgstr "Označit současnou polohu v dokumentu"
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Smazat vybrané značky"
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Nezvýrazňovat výsledky tohoto hledání"
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr "Zvýrazňovat výsledky tohoto hledání"
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
-msgstr ""
+msgstr "Ukázat údaj o verzi"
#: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open."
-msgstr "Nepovedlo se spustit xdg-open."
+msgstr "Nepodařilo se spustit xdg-open."
#: ../zathura/links.c:221
#, c-format
msgid "Link: page %d"
-msgstr ""
+msgstr "Odkaz: strana %d"
#: ../zathura/links.c:228
#, c-format
msgid "Link: %s"
-msgstr ""
+msgstr "Odkaz: %s"
#: ../zathura/links.c:232
msgid "Link: Invalid"
-msgstr ""
-
-#: ../zathura/main.c:145
-msgid "Reparents to window specified by xid (X11)"
-msgstr ""
+msgstr "Odkaz: Neplatný"
#: ../zathura/main.c:146
-msgid "Path to the config directory"
-msgstr "Cesta k souboru s nastavením"
+msgid "Reparents to window specified by xid (X11)"
+msgstr "Propojí s oknem udaným xid (X11)"
#: ../zathura/main.c:147
+msgid "Path to the config directory"
+msgstr "Cesta k adresáři se souborem s nastavením"
+
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Cesta k adresáři s daty"
-#: ../zathura/main.c:148
-msgid "Path to the cache directory"
-msgstr ""
-
#: ../zathura/main.c:149
-msgid "Path to the directories containing plugins"
-msgstr "Cesta k adresářům s pluginy"
+msgid "Path to the cache directory"
+msgstr "Cesta k adresáři s vyrovnávací pamětí"
#: ../zathura/main.c:150
+msgid "Path to the directories containing plugins"
+msgstr "Cesta k adresářům s přídavnými moduly"
+
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr "Forknout se na pozadí"
-#: ../zathura/main.c:151
-msgid "Document password"
-msgstr "Heslo"
-
#: ../zathura/main.c:152
-msgid "Page number to go to"
-msgstr ""
+msgid "Document password"
+msgstr "Heslo k dokumentu"
#: ../zathura/main.c:153
+msgid "Page number to go to"
+msgstr "Číslo strany, na kterou jít"
+
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Úroveň logování (debug, info, warning, error)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
-msgstr "Zobrazit informace o souboru"
-
-#: ../zathura/main.c:156
-msgid "Synctex editor (forwarded to the synctex command)"
-msgstr ""
+msgstr "Zobrazit údaje o verzi"
#: ../zathura/main.c:157
-msgid "Move to given synctex position"
-msgstr ""
+msgid "Synctex editor (forwarded to the synctex command)"
+msgstr "Editor Synctex (předáno příkazu synctex)"
#: ../zathura/main.c:158
-msgid "Highlight given position in the given process"
-msgstr ""
+msgid "Move to given synctex position"
+msgstr "Přesunout se na udanou polohu synctex"
-#: ../zathura/main.c:160
+#: ../zathura/main.c:159
+msgid "Highlight given position in the given process"
+msgstr "Zvýraznit zadanou polohu v daném procesu"
+
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
-msgstr ""
+msgstr "Spustit v ne-výchozím režimu"
#: ../zathura/page-widget.c:561
msgid "Loading..."
-msgstr "Načítám ..."
-
-#: ../zathura/page-widget.c:1006
-msgid "Copy image"
-msgstr "Zkopíruj obrázek"
+msgstr "Nahrává se..."
#: ../zathura/page-widget.c:1007
-msgid "Save image as"
-msgstr "Ulož obrázek jako"
+msgid "Copy image"
+msgstr "Kopírovat obrázek"
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/page-widget.c:1008
+msgid "Save image as"
+msgstr "Uložit obrázek jako"
+
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
+msgstr "Nepodařilo se vytisknout: %s"
+
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:1126
-msgid "This document does not contain any index"
-msgstr "Tenhle dokument neobsahuje žádné indexy"
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/shortcuts.c:1135
+msgid "This document does not contain any index"
+msgstr "Tento dokument neobsahuje žádný rejstřík"
+
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Nepojmenovaný]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
+"Nepodařilo se přečíst soubor z stdin a zapsat jej do dočasného souboru."
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
+"Nepodařilo se přečíst soubor z GIO a zkopírovat jej do dočasného souboru."
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
-msgstr ""
+msgstr "Zadat heslo:"
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
+"Nepodporovaný typ souboru. Nainstalujte, prosím, nezbytný přídavný modul."
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
-msgstr ""
+msgstr "Dokument neobsahuje žádné strany"
diff --git a/po/de.po b/po/de.po
index 757d0a2..dd6e95b 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
-"PO-Revision-Date: 2016-04-18 21:11+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
+"PO-Revision-Date: 2017-09-12 10:46+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: German (http://www.transifex.com/projects/p/zathura/language/"
"de/)\n"
@@ -35,7 +35,7 @@ msgstr "Ungültige Eingabe '%s' angegeben."
msgid "Invalid index '%s' given."
msgstr "Ungültiger Index '%s' angegeben."
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr "Der gewählte Text wurde in die Zwischenablage %s kopiert: %s"
@@ -43,14 +43,14 @@ msgstr "Der gewählte Text wurde in die Zwischenablage %s kopiert: %s"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Kein Dokument geöffnet."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Ungültige Anzahl an Argumenten angegeben."
@@ -145,345 +145,357 @@ msgstr "Konnte Dokument nicht speichern."
msgid "Invalid number of arguments."
msgstr "Ungültige Anzahl an Argumenten."
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Anhang '%s' nach '%s' geschrieben."
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Anhang '%s' nach '%s' geschrieben."
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Unbekanntes Bild '%s'."
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Unbekannter Anhanng oder Bild '%s'."
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "Das Argument ist keine Zahl."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Seite %d"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Speichere Anhänge"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Bilder"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "Datenbank Backend"
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr "Dateiwächter Backend"
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Vergrößerungsstufe"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Abstand zwischen den Seiten"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Anzahl der Seiten in einer Reihe"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr "Spalte der ersten Seite"
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Schrittgröße beim Scrollen"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Horizontale Schrittgröße beim Scrollen"
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Überlappung beim Scrollen von ganzen Seiten"
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Minimale Vergrößerungsstufe"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Maximale Vergrößerungsstufe"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Maximale Seitenzahl im Zwischenspeicher"
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr "Maximale Größe der Vorschau im Zwischenspeicher (in Pixel)"
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Anzahl der Liste zu behaltenden Positionen"
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Neufärben (Dunkle Farbe)"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Neufärben (Helle Farbe)"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Farbe für eine Markierung"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Farbe für die aktuelle Markierung"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "Hintergrundfarbe von 'Lädt...'"
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "Vordergrundfarbe von 'Lädt...'"
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr "Vordergrundfarbe des Indexmodus"
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr "Hintergrundfarbe des Indexmodus"
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr "Vordergrundfarbe des Indexmodus (aktives Element)"
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr "Hintergrundfarbe des Indexmodus (aktives Element)"
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Färbe die Seiten ein"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
"Behalte beim Neufärben den ursprünglichen Farbton bei und passe nur die "
"Helligkeit an"
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
"Bilder bleiben unverändert, wenn das Einfärben des Dokuments aktiviert ist"
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Scroll-Umbruch"
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Seiten beim Scrollen beachten"
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Gehe Anzahl der Seiten in einer Reihe weiter"
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Horizontal zentrierter Zoom"
-#: ../zathura/config.c:201
+#: ../zathura/config.c:203
+msgid "Vertically center pages"
+msgstr "Zentriere Seiten vertikal"
+
+#: ../zathura/config.c:205
msgid "Align link target to the left"
msgstr "Linkziel links ausrichten"
-#: ../zathura/config.c:203
+#: ../zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr "Erlaube Zoom-Änderungen beim Folgen von Links"
-#: ../zathura/config.c:205
+#: ../zathura/config.c:209
msgid "Center result horizontally"
msgstr "Zentriere Ergebnis horizontal"
-#: ../zathura/config.c:207
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Transparenz für Markierungen"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Zeige 'Lädt...'-Text beim Zeichnen einer Seite"
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Seite einpassen"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Zeige versteckte Dateien und Ordner an"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Zeige Ordner an"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr "Zeige zuletzt geöffnete Dateien an"
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Öffne Dokument immer auf der ersten Seite"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr "Hebe Suchergebnisse hervor"
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr "Aktiviere inkrementelle Suche"
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Lösche Suchergebnisse bei Abbruch"
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr "Verwende den Dateinamen der Datei im Fenstertitel"
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "Verwende ~ statt $HOME im Dateinamen im Fenstertitel"
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Verwende die Seitenzal im Fenstertitel"
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr "Verwende den Dateinamen der Datei in der Statusleiste"
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "Verwende ~ statt $HOME im Dateinamen in der Statusleiste"
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr "Aktiviere SyncTeX-Unterstützung"
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr "Synctex Editor Befehl"
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "D-Bus-Dienst aktivieren"
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr "Speichere Verlauf bei jedem Seitenwechsel"
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr "Zwischenablage, in die mit der Maus gewählte Text kopiert wird"
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr "Benachrichtigung nach Text-Selektion"
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Füge Lesezeichen hinzu"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Lösche ein Lesezeichen"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Liste all Lesezeichen auf"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Schließe das aktuelle Dokument"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Zeige Dokumentinformationen an"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr "Führe einen Befehl aus"
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Zeige Hilfe an"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Öffne Dokument"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Beende zathura"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Drucke Dokument"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Speichere Dokument"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Speichere Dokument (und überschreibe bestehende)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Speichere Anhänge"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Setze den Seitenabstand"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Markiere aktuelle Position im Doukument"
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Lösche angegebene Markierung"
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Hebe aktuelle Suchergebnisse nicht hervor"
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr "Hebe aktuelle Suchergebnisse hervor"
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr "Zeige Versionsinformationen an"
@@ -505,59 +517,59 @@ msgstr "Verknüpfung: %s"
msgid "Link: Invalid"
msgstr "Verknüpfung: ungültig"
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Reparentiert zathura an das Fenster mit der xid (X11)"
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Pfad zum Konfigurationsverzeichnis"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Pfad zum Datenverzeichnis"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr "Pfad zum Cacheverzeichnis"
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Pfad zum Pluginverzeichnis"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr "Forkt den Prozess in den Hintergrund"
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr "Dokument Passwort"
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr "Zur Seite springen"
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Log-Stufe (debug, info, warning, error)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Zeige Versionsinformationen an"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex Editor (wird an synctex weitergeleitet)"
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr "Zur gewählten SyncTeX-Position springen"
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr "Gewählte Position im Prozess hervorheben"
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr "In einem Nicht-Standardmodus starten"
@@ -565,43 +577,53 @@ msgstr "In einem Nicht-Standardmodus starten"
msgid "Loading..."
msgstr "Lädt..."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Bild kopieren"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr "Bild speichern als"
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Drucken fehlgeschlagen: %s"
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr "Ungültiger Anpassungsmodus: %d"
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr "Suchausdruck nicht gefunden: %s"
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis."
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Kein Name]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr "Konnte Datei nicht von stdin lesen und in temporäre Datei schreiben."
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "Konnte Datei nicht mittels GIO in temporäre Datei kopieren."
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr "Passwort:"
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Dateityp ist nicht unterstützt. Installiere das benötigete Plugin."
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr "Dieses Dokument beinhaltet keine Seiten"
diff --git a/po/el.po b/po/el.po
index fe28247..2b1a493 100644
--- a/po/el.po
+++ b/po/el.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2016-04-18 21:10+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Greek (http://www.transifex.com/projects/p/zathura/language/"
@@ -35,7 +35,7 @@ msgstr "Η είσοδος '%s' είναι άκυρη."
msgid "Invalid index '%s' given."
msgstr "Ο δείκτης '%s' είναι άκυρος."
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -43,14 +43,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Δεν άνοιξε κανένα αρχείο. "
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Μη έγκυρος αριθμός παραμέτρων."
@@ -145,344 +145,356 @@ msgstr "Η αποθήκευση του αρχείου απέτυχε. "
msgid "Invalid number of arguments."
msgstr "Μη έγκυρος ο αριθμός των παραμέτρων. "
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Μη επιτυχής η εγγραγή της προσάρτησης '%s' στην '%s'."
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Επιτυχής η εγγραφή της προσάρτησης '%s' στην '%s'."
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Ενεγράφει η εικόνα '%s' στην '%s'"
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Δεν ενεγράφει η εικόνα '%s' στην '%s'."
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Άγνωστη εικόνα '%s'. "
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Άγνωστο προσάρτημα είτε εικόνα '%s'. "
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "Η παράμετρος πρέπει να είναι αριθμός."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Σελίδα %d"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Προσαρτήσεις"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Εικόνες"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "Το βασικό εργαλείο της βάσης δεδομένων"
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Βήμα μεγέθυνσης"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Διάκενο μεταξύ σελίδων"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Αριθμός σελίδων ανά γραμμή"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr "Στήλη της πρώτης σελίδας"
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Βήμα κύλισης"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Βήμα οριζόντιας κύλησης"
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Ελάχιστη μεγέθυνση"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Μέγιστη μεγέθυνση"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Επαναχρωματισμός (σκούρο χρώμα)"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Επαναχρωματισμός (ανοικτό χρώμα)"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Χρώμα τονισμού"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Χρώμα τονισμού (ενεργό)"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Επαναχρωματισμός σελίδων"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
"Κατά τον επαναχρωματισμό της σελιδάς διατήρηση της αρχικής απόχρωσης και "
"αλλαγή μόνο της φωτεινότητας"
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Κυκλική κύληση"
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Προώθηση σε αριθμό σελίδων ανά γραμμή"
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Μεγένθηση οριζοντίως κεντραρισμένη"
-#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
-
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
+msgid "Align link target to the left"
+msgstr ""
+
+#: ../zathura/config.c:207
+msgid "Let zoom be changed when following links"
+msgstr ""
+
+#: ../zathura/config.c:209
msgid "Center result horizontally"
msgstr "Οριζόντιο κεντράρισμα αποτελεσμάτων"
-#: ../zathura/config.c:207
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Διαφάνεια για τονισμό"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Εμφάνιση της ένδειξης 'Φορτώνει ...'"
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Προσαρμογή κατά το άνοιγμα του αρχείου"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Εμφάνιση κρυφών αρχείων και φακέλων"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Εμφάνιση καταλόγων"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Άνοιγμα πάντα στην πρώτη σελίδα"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr "Τονισμός αποτελεσμάτων αναζήτησης"
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Εκκαθάριση των απολεσμάτων αναζήτησης κατά την διακοπή"
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου"
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr "Ενεργοποίηση υποστήριξης synctex"
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Προσθήκη σελιδοδείκτη"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Διαγραφή σελιδοδείκτη"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Εμφάνιση όλων των σελιδοδεικτών"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Κλείσιμο αρχείου"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Προβολή πληροφοριών αρχείου"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr "Εκτέλεση εντολής"
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Εμφάνιση βοήθειας"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Άνοιγμα αρχείου"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Κλείσιμο"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Εκτύπωση αρχείου"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Αποθήκευση αρχείου"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Αποθήκευση αρχείου (και αντικατάσταση)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Αποθήκευση προσαρτήσεων. "
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Ρύθμιση αντιστάθμισης σελίδας"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Επισήμανση τρέχουσας θέσης στο κείμενο"
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Διαγραφή επιλεγμένων σημείων"
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Χωρίς τονισμό τα τρέχοντα αποτελέσματα της αναζήτησης"
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr "Τονισμός στα τρέχοντα αποτελέσματα της αναζήτησης"
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr "Εμφάνιση πληροφοριών έκδοσης"
@@ -504,59 +516,59 @@ msgstr ""
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Διαδρομή του αρχείου ρυθμίσεων"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Διαδρομή του φακέλου δεδομένων"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Διαδρομή φακέλου που περιέχει τα πρόσθετα"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr "Διακλάδωση στο παρασκήνιο"
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr "Κωδικός αρχείου"
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Επίπεδο καταγραφής (debug, info, warning, error)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Εκτύπωση πληροφοριών έκδοσης"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex editor (Προώθηση στην εντολή synctex)"
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -564,43 +576,53 @@ msgstr ""
msgid "Loading..."
msgstr "Φορτώνει ..."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Αντιγραφή εικόνας"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr "Αποθήκευση εικόνας ως..."
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Χωρίς όνομα]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/eo.po b/po/eo.po
index 61ad3a0..9dc4e5b 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2015-10-15 23:07+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/"
@@ -34,7 +34,7 @@ msgstr "Nevalida enigo '%s' uzata."
msgid "Invalid index '%s' given."
msgstr "Nevalida indekso '%s' uzata."
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -42,14 +42,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Neniu dokumento malfermita."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Nevalida nombro da argumentoj uzata."
@@ -144,342 +144,354 @@ msgstr "Neeble konservi dokumenton."
msgid "Invalid number of arguments."
msgstr "Nevalida nombro da argumentoj."
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Skribis kunsendaĵon '%s' en '%s'."
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Skribis kunsendaĵon '%s' en '%s'."
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Nekonata bildo '%s'."
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "Argumento devas esti nombro."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Paĝo %d"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Konservu kunsendaĵojn"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Bildoj"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr ""
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Zompaŝo"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Interpaĝa plenigo"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Nombro da paĝoj po vico"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Rulumpaŝo"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Mimimuma zomo"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Maksimuma zomo"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Rekolorigo (malhela koloro)"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Rekolorigo (hela koloro)"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Koloro por fonlumo"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Koloro por fonlumo (aktiva)"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Rekoloru paĝojn"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Ĉirkaŭflua rulumado"
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
-
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
-msgid "Center result horizontally"
+msgid "Align link target to the left"
msgstr ""
#: ../zathura/config.c:207
+msgid "Let zoom be changed when following links"
+msgstr ""
+
+#: ../zathura/config.c:209
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Travidebleco por fonlumo"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Bildigu 'Ŝargado ...'"
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Adaptaĵo ĉe malfermo de dosiero"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Montru kaŝitajn dosierojn kaj -ujojn"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Montru dosierujojn"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Ĉiam malfermu ĉe unua paĝo"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr ""
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Aldonu paĝosignon"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Forigu paĝosignon"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Listigu ĉiujn paĝosignojn"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Fermu nunan dosieron"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Montru dosiera informacio"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Montru helpon"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Malfermu dokumenton"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Fermu zathura"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Presu dokumenton"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Konservu dokumenton"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Konservu dokumenton (deviga anstataŭo)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Konservu kunsendaĵojn"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Agordu paĝdelokado"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr ""
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr ""
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr ""
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr ""
@@ -501,59 +513,59 @@ msgstr ""
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Vojo al la agorda dosierujo"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Vojo al la datuma dosierujo"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Vojoj al dosierujoj enhavantaj kromaĵojn"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr ""
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr ""
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Nivelo de ĵurnalo (debug, info, warning, error)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Montru dosiera informacio"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -561,43 +573,53 @@ msgstr ""
msgid "Loading..."
msgstr "Ŝargado ..."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Kopiu bildon"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr "Savi bildojn kiel"
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Neniu nomo]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/es.po b/po/es.po
index 9554fea..5eaceda 100644
--- a/po/es.po
+++ b/po/es.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2016-04-18 21:10+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/"
@@ -33,7 +33,7 @@ msgstr "Entrada inválida: '%s'."
msgid "Invalid index '%s' given."
msgstr "Índice invalido: '%s'."
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -41,14 +41,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Ningún documento abierto."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Número de argumentos inválido."
@@ -143,344 +143,356 @@ msgstr "Error al guardar el documento."
msgid "Invalid number of arguments."
msgstr "Número de argumentos inválido."
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Escrito fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Escrito fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Imagen desconocida '%s'."
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Adjunto o imagen desconocidos '%s'."
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "El argumento ha de ser un número."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Página %d"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Guardar ficheros adjuntos"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Imágenes"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "Base de datos"
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Unidad de zoom"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Separación entre páginas"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Número de páginas por fila"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr "Columna de la primera página"
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Paso de desplazamiento"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Paso de desplazamiento horizontal"
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Solapamiento del desplazamiento de página"
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Zoom mínimo"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Zoom máximo"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Número de posiciones a recordar en la lista de saltos"
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Recoloreado (color oscuro)"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Recoloreado (color claro)"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Color para destacar"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Color para destacar (activo)"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Recolorear páginas"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
"Cuando se recoloree, mantener el tono original y ajustar únicamente la "
"luminosidad"
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Navegación/Scroll cíclica/o"
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Zoom centrado horizontalmente"
-#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
-
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
+msgid "Align link target to the left"
+msgstr ""
+
+#: ../zathura/config.c:207
+msgid "Let zoom be changed when following links"
+msgstr ""
+
+#: ../zathura/config.c:209
msgid "Center result horizontally"
msgstr "Centrar el resultado horizontalmente"
-#: ../zathura/config.c:207
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Transparencia para el destacado"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Renderizado 'Cargando ...'"
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Ajustarse al abrir un fichero"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Mostrar directorios y ficheros ocultos"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Mostrar directorios"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Abrir siempre la primera página"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr "Destacar los resultados de búsqueda"
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr "Habilitar la búsqueda incremental"
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Borrar resultados de búsqueda al abortar"
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr "Usar el nombre del archivo en el título de la ventana"
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr "Habilitar soporte synctex"
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Añadir Favorito"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Eliminar Favorito"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Listar favoritos"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Cerrar fichero actual"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Mostrar información del fichero"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr "Ejecutar un comando"
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Mostrar ayuda"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Abrir documento"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Salir de zathura"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Imprimir documento"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Guardar documento"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Guardar documento (y sobreescribir)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Guardar ficheros adjuntos"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Asignar el desplazamiento de página"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Marcar la posición actual en el documento"
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Borrar las marcas especificadas"
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "No destacar los resultados de la búsqueda actual"
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr "Destacar los resultados de la búsqueda actual"
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr "Mostrar versión"
@@ -502,59 +514,59 @@ msgstr ""
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Reasignar a la ventana especificada por xid (X11)"
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Ruta al directorio de configuración"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Ruta para el directorio de datos"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Ruta a los directorios que contienen los plugins"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr "Fork, ejecutándose en background"
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr "Contraseña del documento"
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Nivel de log (debug, info, warning, error)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Mostrar información del fichero"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor de Synctex (reenvíado al commando synctex)"
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -562,43 +574,53 @@ msgstr ""
msgid "Loading..."
msgstr "Cargando ..."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Copiar imagen"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr "Salvar imagen como"
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Este documento no contiene ningún índice"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Sin nombre]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/es_CL.po b/po/es_CL.po
index 1efb671..9edf013 100644
--- a/po/es_CL.po
+++ b/po/es_CL.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2016-04-18 21:10+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/"
@@ -34,7 +34,7 @@ msgstr "Entrada inválida: '%s'."
msgid "Invalid index '%s' given."
msgstr "Índice invalido: '%s'."
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -42,14 +42,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Ningún documento abierto."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Número de argumentos inválido."
@@ -144,342 +144,354 @@ msgstr "Error al guardar el documento."
msgid "Invalid number of arguments."
msgstr "Número de argumentos inválido."
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Fichero adjunto escrito '%s' a '%s'."
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Fichero adjunto escrito '%s' a '%s'."
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "El argumento debe ser un número."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr ""
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Guardar archivos adjuntos"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr ""
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "Fin de la base de datos."
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Unidad de zoom"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Separación entre páginas"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Numero de páginas por fila"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Unidad de desplazamiento"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Zoom mínimo"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Zoom máximo"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Recolorando (color oscuro)"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Recolorando (color claro)"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Color para destacar"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Color para destacar (activo)"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Recolorar páginas"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Scroll cíclico"
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
-
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
-msgid "Center result horizontally"
+msgid "Align link target to the left"
msgstr ""
#: ../zathura/config.c:207
+msgid "Let zoom be changed when following links"
+msgstr ""
+
+#: ../zathura/config.c:209
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Transparencia para lo destacado"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Renderizando 'Cargando...'"
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Ajustar al abrirse un archivo"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Mostrar archivos ocultos y directorios"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Mostrar directorios"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Siempre abrir en primera página"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr ""
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Agregar un marcador"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Eliminar un marcador"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Listar todos los marcadores"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Cerrar archivo actual"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Mostrar información del archivo"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Mostrar ayuda"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Abrir documento"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Cerrar zathura"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Imprimir documento"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Guardar documento"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Guardar documento (y forzar sobreescritura)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Guardar archivos adjuntos"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Asignar desplazamiento de la página"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr ""
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr ""
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr ""
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr ""
@@ -501,59 +513,59 @@ msgstr ""
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Reasignar a la ventana especificada por xid (X11)"
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Ruta al directorio de configuración"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Ruta al directorio de datos"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Ruta al directorio que contiene plugins"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr "Ejecución en background"
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr ""
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Nivel de log (debug, info, warning, error)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Mostrar información del archivo"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -561,43 +573,53 @@ msgstr ""
msgid "Loading..."
msgstr "Cargando..."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Copiar imagen"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr ""
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Este document no contiene índice"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Sin nombre]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/et.po b/po/et.po
index d2e4908..d22f15f 100644
--- a/po/et.po
+++ b/po/et.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2015-10-15 23:07+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Estonian (http://www.transifex.net/projects/p/zathura/"
@@ -34,7 +34,7 @@ msgstr ""
msgid "Invalid index '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -42,14 +42,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr ""
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr ""
@@ -144,342 +144,354 @@ msgstr ""
msgid "Invalid number of arguments."
msgstr ""
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr ""
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr ""
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Salvesta manused"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr ""
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr ""
#: ../zathura/config.c:146
-msgid "Zoom step"
+msgid "File monitor backend"
msgstr ""
#: ../zathura/config.c:148
-msgid "Padding between pages"
+msgid "Zoom step"
msgstr ""
#: ../zathura/config.c:150
-msgid "Number of pages per row"
+msgid "Padding between pages"
msgstr ""
#: ../zathura/config.c:152
-msgid "Column of the first page"
+msgid "Number of pages per row"
msgstr ""
#: ../zathura/config.c:154
-msgid "Scroll step"
+msgid "Column of the first page"
msgstr ""
#: ../zathura/config.c:156
-msgid "Horizontal scroll step"
+msgid "Scroll step"
msgstr ""
#: ../zathura/config.c:158
-msgid "Full page scroll overlap"
+msgid "Horizontal scroll step"
msgstr ""
#: ../zathura/config.c:160
-msgid "Zoom minimum"
+msgid "Full page scroll overlap"
msgstr ""
#: ../zathura/config.c:162
-msgid "Zoom maximum"
+msgid "Zoom minimum"
msgstr ""
#: ../zathura/config.c:164
-msgid "Maximum number of pages to keep in the cache"
+msgid "Zoom maximum"
msgstr ""
#: ../zathura/config.c:166
-msgid "Maximum size in pixels of thumbnails to keep in the cache"
+msgid "Maximum number of pages to keep in the cache"
msgstr ""
#: ../zathura/config.c:168
-msgid "Number of positions to remember in the jumplist"
+msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
#: ../zathura/config.c:170
-msgid "Recoloring (dark color)"
-msgstr ""
-
-#: ../zathura/config.c:171
-msgid "Recoloring (light color)"
+msgid "Number of positions to remember in the jumplist"
msgstr ""
#: ../zathura/config.c:172
+msgid "Recoloring (dark color)"
+msgstr ""
+
+#: ../zathura/config.c:173
+msgid "Recoloring (light color)"
+msgstr ""
+
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Esiletõstmise värv"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Esiletõstmise värv (aktiivne)"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr ""
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr ""
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
-
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
-msgid "Center result horizontally"
+msgid "Align link target to the left"
msgstr ""
#: ../zathura/config.c:207
-msgid "Transparency for highlighting"
+msgid "Let zoom be changed when following links"
msgstr ""
#: ../zathura/config.c:209
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../zathura/config.c:211
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr ""
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr ""
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr ""
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Näita kaustasid"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Ava alati esimene leht"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr ""
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Lisa järjehoidja"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Kustuta järjehoidja"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Näita kõiki järjehoidjaid"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Sulge praegune fail"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Näita faili infot"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Näita abiinfot"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Ava dokument"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Sule zathura"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Prindi dokument"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Salvesta dokument"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr ""
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Salvesta manused"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr ""
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr ""
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr ""
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr ""
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr ""
@@ -501,59 +513,59 @@ msgstr ""
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr ""
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr ""
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr ""
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr ""
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr ""
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr ""
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Näita faili infot"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -561,43 +573,53 @@ msgstr ""
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Kopeeri pilt"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr ""
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr ""
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Nime pole]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/fr.po b/po/fr.po
index 659c620..abfd160 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2016-04-18 21:10+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: French (http://www.transifex.com/projects/p/zathura/language/"
@@ -38,7 +38,7 @@ msgstr "Entrée invalide : '%s'"
msgid "Invalid index '%s' given."
msgstr "Index invalide : '%s'"
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -46,14 +46,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Aucun document ouvert."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invalide."
@@ -148,344 +148,356 @@ msgstr "Échec lors de l'enregistrement du document."
msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invalide."
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Impossible d'écrire la pièce jointe '%s' dans '%s'."
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Pièce jointe '%s' écrite dans '%s'."
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Image '%s' écrite dans '%s'."
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Impossible d'écrire l'image '%s' dans '%s'."
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Image '%s' inconnue."
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Pièce jointe ou image '%s' inconnue."
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "L'argument doit être un nombre."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Page %d"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Pièces jointes"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Images"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "Gestionnaire de base de données"
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Incrément de zoom"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Espacement entre les pages"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Nombre de page par rangée"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr "Colonne de la première page"
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Incrément de défilement"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Incrément de défilement horizontal"
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Recouvrement lors du défilement par page entière"
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Zoom minimum"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Zoom maximum"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Nombre maximum de pages à garder en cache"
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Nombre de positions à mémoriser dans la liste de sauts"
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Recoloration (couleur sombre)"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Recoloration (couleur claire)"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Couleur de surbrillance"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Couleur de surbrillance (active)"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "Couleur d'arrière-plan de 'Chargement...'"
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "Couleur de 'Chargement...'"
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Recoloriser les pages"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
"Lors de la recoloration garder la teinte d'origine et ajuster seulement la "
"luminosité"
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Défiler en boucle"
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Défilement tenant compte des limites de page"
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Augmenter le nombre de pages par rangée"
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Zoom centré horizontalement"
-#: ../zathura/config.c:201
+#: ../zathura/config.c:203
+msgid "Vertically center pages"
+msgstr ""
+
+#: ../zathura/config.c:205
msgid "Align link target to the left"
msgstr "Aligner la cible du lien à gauche"
-#: ../zathura/config.c:203
+#: ../zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr "Autoriser la modification du zoom quand on suit un lien"
-#: ../zathura/config.c:205
+#: ../zathura/config.c:209
msgid "Center result horizontally"
msgstr "Centrer le résultat horizontalement"
-#: ../zathura/config.c:207
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Transparence de la surbrillance"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Afficher 'Chargement...'"
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Ajuster à l'ouverture du fichier"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Montrer les fichiers et dossiers cachés"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Montrer les dossiers"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Toujours ouvrir à la première page"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr "Surligner les résultats de la recherche"
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr "Activer la recherche incrémentale"
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Effacer les résultats de recherche en cas d'annulation"
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr "Utiliser le nom de base du fichier dans le titre de la fenêtre"
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Afficher le numéro de page dans le titre de la fenêtre"
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr "Utiliser le nom de base du fichier dans la barre d'état"
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr "Activer la prise en charge de synctex"
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "Activer le service D-Bus"
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr "Le presse-papiers qui recevra les données sélectionnées avec la souris"
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Ajouter un marque-page"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Supprimer un marque-page"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Lister tous les marque-pages"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Fermer le fichier actuel"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Montrer les informations sur le fichier"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr "Exécuter une commande"
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Afficher l'aide"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Ouvrir un document"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Quitter zathura"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Imprimer le document"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Sauver le document"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Sauver le document (et forcer l'écrasement)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Enregistrer les pièces jointes"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Définir le décalage de page"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Marquer l'emplacement actuel dans le document"
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Supprimer les marques indiquées"
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Ne pas surligner les résultats de la recherche en cours"
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr "Surligner les résultats de la recherche en cours"
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr "Afficher les informations de version"
@@ -507,59 +519,59 @@ msgstr "Lien : %s"
msgid "Link: Invalid"
msgstr "Lien : Invalide"
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Rattacher à la fenêtre spécifiée par xid (X11)"
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Chemin vers le dossier de configuration"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Chemin vers le dossier de données"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Chemin vers le dossier de plugins"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr "Détacher en arrière-plan"
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr "Mot de passe du document"
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr "Numéro de page où aller"
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Niveau de journalisation (debug, info, warning, error)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Afficher les informations de version"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Éditeur synctex (transféré à la commande synctex)"
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr "Démarrer dans un mode non-défaut"
@@ -567,46 +579,56 @@ msgstr "Démarrer dans un mode non-défaut"
msgid "Loading..."
msgstr "Chargement..."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Copier l'image"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr "Enregistrer l'image sous"
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Echec d'impression : %s"
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Ce document ne contient pas d'index"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Sans nom]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
"Impossible de lire le fichier depuis stdin et de le sauvegarder dans un "
"fichier temporaire."
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
"Type de fichier non supporté. Veuillez installer l'extension nécessaire."
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr "Ce document ne contient aucune page"
diff --git a/po/he.po b/po/he.po
index 2bbfb08..c4493cf 100644
--- a/po/he.po
+++ b/po/he.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2014-01-31 09:37+0000\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Hebrew (http://www.transifex.com/projects/p/zathura/language/"
@@ -32,7 +32,7 @@ msgstr ""
msgid "Invalid index '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -40,14 +40,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr ""
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr ""
@@ -142,342 +142,354 @@ msgstr ""
msgid "Invalid number of arguments."
msgstr ""
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr ""
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr ""
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr ""
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr ""
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr ""
#: ../zathura/config.c:146
-msgid "Zoom step"
+msgid "File monitor backend"
msgstr ""
#: ../zathura/config.c:148
-msgid "Padding between pages"
+msgid "Zoom step"
msgstr ""
#: ../zathura/config.c:150
-msgid "Number of pages per row"
+msgid "Padding between pages"
msgstr ""
#: ../zathura/config.c:152
-msgid "Column of the first page"
+msgid "Number of pages per row"
msgstr ""
#: ../zathura/config.c:154
-msgid "Scroll step"
+msgid "Column of the first page"
msgstr ""
#: ../zathura/config.c:156
-msgid "Horizontal scroll step"
+msgid "Scroll step"
msgstr ""
#: ../zathura/config.c:158
-msgid "Full page scroll overlap"
+msgid "Horizontal scroll step"
msgstr ""
#: ../zathura/config.c:160
-msgid "Zoom minimum"
+msgid "Full page scroll overlap"
msgstr ""
#: ../zathura/config.c:162
-msgid "Zoom maximum"
+msgid "Zoom minimum"
msgstr ""
#: ../zathura/config.c:164
-msgid "Maximum number of pages to keep in the cache"
+msgid "Zoom maximum"
msgstr ""
#: ../zathura/config.c:166
-msgid "Maximum size in pixels of thumbnails to keep in the cache"
+msgid "Maximum number of pages to keep in the cache"
msgstr ""
#: ../zathura/config.c:168
-msgid "Number of positions to remember in the jumplist"
+msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
#: ../zathura/config.c:170
-msgid "Recoloring (dark color)"
-msgstr ""
-
-#: ../zathura/config.c:171
-msgid "Recoloring (light color)"
+msgid "Number of positions to remember in the jumplist"
msgstr ""
#: ../zathura/config.c:172
-msgid "Color for highlighting"
+msgid "Recoloring (dark color)"
+msgstr ""
+
+#: ../zathura/config.c:173
+msgid "Recoloring (light color)"
msgstr ""
#: ../zathura/config.c:174
-msgid "Color for highlighting (active)"
+msgid "Color for highlighting"
msgstr ""
#: ../zathura/config.c:176
-msgid "'Loading ...' background color"
+msgid "Color for highlighting (active)"
msgstr ""
#: ../zathura/config.c:178
+msgid "'Loading ...' background color"
+msgstr ""
+
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr ""
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr ""
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
-
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
-msgid "Center result horizontally"
+msgid "Align link target to the left"
msgstr ""
#: ../zathura/config.c:207
-msgid "Transparency for highlighting"
+msgid "Let zoom be changed when following links"
msgstr ""
#: ../zathura/config.c:209
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../zathura/config.c:211
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr ""
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr ""
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr ""
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr ""
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr ""
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr ""
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr ""
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr ""
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr ""
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr ""
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr ""
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr ""
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr ""
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr ""
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr ""
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr ""
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr ""
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr ""
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr ""
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr ""
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr ""
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr ""
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr ""
@@ -499,59 +511,59 @@ msgstr ""
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr ""
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr ""
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr ""
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr ""
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr ""
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr ""
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr ""
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -559,43 +571,53 @@ msgstr ""
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr ""
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr ""
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr ""
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr ""
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/hr.po b/po/hr.po
index 765f3c7..66cf465 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2014-01-31 09:37+0000\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Croatian (http://www.transifex.com/projects/p/zathura/"
@@ -33,7 +33,7 @@ msgstr ""
msgid "Invalid index '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -41,14 +41,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr ""
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr ""
@@ -143,342 +143,354 @@ msgstr ""
msgid "Invalid number of arguments."
msgstr ""
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr ""
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr ""
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr ""
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr ""
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr ""
#: ../zathura/config.c:146
-msgid "Zoom step"
+msgid "File monitor backend"
msgstr ""
#: ../zathura/config.c:148
-msgid "Padding between pages"
+msgid "Zoom step"
msgstr ""
#: ../zathura/config.c:150
-msgid "Number of pages per row"
+msgid "Padding between pages"
msgstr ""
#: ../zathura/config.c:152
-msgid "Column of the first page"
+msgid "Number of pages per row"
msgstr ""
#: ../zathura/config.c:154
-msgid "Scroll step"
+msgid "Column of the first page"
msgstr ""
#: ../zathura/config.c:156
-msgid "Horizontal scroll step"
+msgid "Scroll step"
msgstr ""
#: ../zathura/config.c:158
-msgid "Full page scroll overlap"
+msgid "Horizontal scroll step"
msgstr ""
#: ../zathura/config.c:160
-msgid "Zoom minimum"
+msgid "Full page scroll overlap"
msgstr ""
#: ../zathura/config.c:162
-msgid "Zoom maximum"
+msgid "Zoom minimum"
msgstr ""
#: ../zathura/config.c:164
-msgid "Maximum number of pages to keep in the cache"
+msgid "Zoom maximum"
msgstr ""
#: ../zathura/config.c:166
-msgid "Maximum size in pixels of thumbnails to keep in the cache"
+msgid "Maximum number of pages to keep in the cache"
msgstr ""
#: ../zathura/config.c:168
-msgid "Number of positions to remember in the jumplist"
+msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
#: ../zathura/config.c:170
-msgid "Recoloring (dark color)"
-msgstr ""
-
-#: ../zathura/config.c:171
-msgid "Recoloring (light color)"
+msgid "Number of positions to remember in the jumplist"
msgstr ""
#: ../zathura/config.c:172
-msgid "Color for highlighting"
+msgid "Recoloring (dark color)"
+msgstr ""
+
+#: ../zathura/config.c:173
+msgid "Recoloring (light color)"
msgstr ""
#: ../zathura/config.c:174
-msgid "Color for highlighting (active)"
+msgid "Color for highlighting"
msgstr ""
#: ../zathura/config.c:176
-msgid "'Loading ...' background color"
+msgid "Color for highlighting (active)"
msgstr ""
#: ../zathura/config.c:178
+msgid "'Loading ...' background color"
+msgstr ""
+
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr ""
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr ""
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
-
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
-msgid "Center result horizontally"
+msgid "Align link target to the left"
msgstr ""
#: ../zathura/config.c:207
-msgid "Transparency for highlighting"
+msgid "Let zoom be changed when following links"
msgstr ""
#: ../zathura/config.c:209
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../zathura/config.c:211
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr ""
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr ""
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr ""
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr ""
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr ""
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr ""
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr ""
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr ""
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr ""
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr ""
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr ""
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr ""
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr ""
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr ""
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr ""
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr ""
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr ""
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr ""
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr ""
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr ""
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr ""
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr ""
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr ""
@@ -500,59 +512,59 @@ msgstr ""
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr ""
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr ""
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr ""
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr ""
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr ""
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr ""
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr ""
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -560,43 +572,53 @@ msgstr ""
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr ""
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr ""
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr ""
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr ""
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/id_ID.po b/po/id_ID.po
index 8672376..4d8c0c7 100644
--- a/po/id_ID.po
+++ b/po/id_ID.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2016-04-18 21:10+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Indonesian (Indonesia) (http://www.transifex.com/projects/p/"
@@ -34,7 +34,7 @@ msgstr "Masukan '%s' tidak valid"
msgid "Invalid index '%s' given."
msgstr "Index '%s' tidak valid"
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -42,14 +42,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Tidak ada dokumen yang terbuka."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "jumlah argumen yang diberikan tidak valid"
@@ -144,342 +144,354 @@ msgstr "Gagal menyimpan dokumen"
msgid "Invalid number of arguments."
msgstr "Jumlah argumen tidak valid"
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Tidak dapat menulis lampiran '%s' ke '%s'"
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Tidak dapat menyimpan lampiran '%s' ke '%s'"
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Menulis citra dari '%s' ke '%s'"
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Tidak dapat menulis citra '%s' ke %s'"
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Citra tidak diketahui '%s'"
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Lampiran atau gambar tidak diketahui '%s'"
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "Argumen harus berupa angka."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Halaman %d"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Lampiran"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Citra"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "backend database"
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Tingkat pembesaran"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Selisih antar halaman"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Jumlah halaman tiap kolom"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr "Kolom pada halaman pertama"
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Tingkat menggulung"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Tingkat penggulungan horisontal"
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Pembesaran minimum"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Pembesaran maksimal"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Jumlah laman yang disimpan pada cache"
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Jumlah posisi yang diingat pada jumplist"
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Mewarnai ulang (warna gelap)"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Mewarnai ulang (warna cerah)"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Warna sorotan"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Warna sorotan (aktif)"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "'Memuat ...; warna latar"
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "'Memuat ...' warna depan"
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Mewarnai ulang halaman"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr "Ketika mewarnai ulang, jaga hue dan sesuaikan kecerahan saja"
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr ""
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Penggulungan sadar halaman"
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Jumlah halaman per baris \"lanjutan\""
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Pembesaran horisontal tengah"
-#: ../zathura/config.c:201
+#: ../zathura/config.c:203
+msgid "Vertically center pages"
+msgstr ""
+
+#: ../zathura/config.c:205
msgid "Align link target to the left"
msgstr "Ratakan tautan ke kiri"
-#: ../zathura/config.c:203
+#: ../zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr "Biarkan pembesaran berubah saat mengikuti pranala"
-#: ../zathura/config.c:205
+#: ../zathura/config.c:209
msgid "Center result horizontally"
msgstr "Tengah-horisontalkan hasil"
-#: ../zathura/config.c:207
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Transparansi sorotan"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Memuat Render..."
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Menyesuaikan ketika membuka file"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Perlihatkan file dan direktori tersembunyi"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Perlihatkan direktori"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Selalu buka halaman pertama"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr "Sorot hasil pencarian"
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr "Fungsikan pencarian berkelanjutan"
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Hapus hasil pencarian ketika batal mencari"
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr "Gunakan nama dasar file pada judul jendela"
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Tampilkan nomor laman pada jendela judul"
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr "Gunakan nama dasar berkas pada statusbar"
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr "Support synctex"
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr "Data yang dipilih tetikus akan ditulis ke clipboard"
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Tambahkan pada bookmark"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Hapus bookmark"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Perlihatkan semua bookmark"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Tutup file ini"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Informasi file"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr "Jalankan perintah"
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Bantuan"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Buka dokumen"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Tutup zathura"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Cetak dokumen"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Simpan dokumen"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Simpan dokumen (dan menimpa berkas)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Simpan lampiran"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Set offset halaman"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Tandai lokasi sekarang dalam dokumen"
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Hapus tanda terpilih"
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Jangan menyorot hasil cari sekarang"
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr "Sorot hasil pencarian sekarang"
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr "Tunjukan informasi versi"
@@ -501,59 +513,59 @@ msgstr "Link: %s"
msgid "Link: Invalid"
msgstr "Link: Tidak valid"
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Mengembalikan jendela sesuai dengan xid yang ditentukan (X11)"
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Path ke direktori konfigurasi"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Path ke direktori data"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Path ke direktori plugin"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr "Jalankan pada latar"
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr "Kata sandi dokumen"
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr "Nomor halaman tujuan"
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Tingkat log (debug, info, peringatan, error)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Cetak informasi versi"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex editor (diteruskan ke perintah synctex)"
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -561,44 +573,54 @@ msgstr ""
msgid "Loading..."
msgstr "Memuat....."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Salin gambar"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr "Simpan gambar sebagai"
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Dokumen ini tidak mempunyai indeks"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Tidak berjudul]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
"Tidak dapat membaca berkas dari stdin dan menulisnya ke berkas sementar"
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Tipe berkas tidak didukung. Silakan memasang plugin yang dibutuhkan."
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr "Dokumen tidak mempunyai laman apapun"
diff --git a/po/it.po b/po/it.po
index ecab047..49a4fcc 100644
--- a/po/it.po
+++ b/po/it.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2015-10-15 23:06+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/"
@@ -37,7 +37,7 @@ msgstr "Input inserito '%s' non valido."
msgid "Invalid index '%s' given."
msgstr "Indice inserito '%s' non valido."
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -45,14 +45,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Nessun documento aperto."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Numero di argomenti errato."
@@ -147,342 +147,354 @@ msgstr "Impossibile salvare il documento."
msgid "Invalid number of arguments."
msgstr "Numero di argomenti non valido."
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Impossibile salvare l' allegato '%s' in '%s'"
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Allegato '%s' salvato in '%s'"
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Immagine '%s' salvata come '%s'"
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Impossibile salvare l' immagine '%s' come '%s'"
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Immagine sconosciuta '%s'"
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Immagine o allegato sconosciuti '%s"
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "L' argomento dev' essere un numero."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Pagina %d"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Allegati"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Immagini"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "Backend del database"
#: ../zathura/config.c:146
-msgid "Zoom step"
+msgid "File monitor backend"
msgstr ""
#: ../zathura/config.c:148
+msgid "Zoom step"
+msgstr ""
+
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Spaziatura tra le pagine"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Numero di pagine per riga"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr ""
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Zoom minimo"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Zoom massimo"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Numero massimo di pagine da mantenere nella cache"
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Numero di posizioni da mantenere nella jumplist"
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr ""
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr ""
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr ""
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr ""
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Ricolora le pagine"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Scrolling continuo"
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
-
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
-msgid "Center result horizontally"
-msgstr "Centra orizzontalmente i risultati"
+msgid "Align link target to the left"
+msgstr ""
#: ../zathura/config.c:207
-msgid "Transparency for highlighting"
+msgid "Let zoom be changed when following links"
msgstr ""
#: ../zathura/config.c:209
+msgid "Center result horizontally"
+msgstr "Centra orizzontalmente i risultati"
+
+#: ../zathura/config.c:211
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr ""
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr ""
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Mostra file e cartelle nascosti"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Mostra cartelle"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Apri sempre alla prima pagina"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr "Evidenzia i risultati della ricerca"
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr "Abilita la ricerca incrementale"
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Mostra il numero di pagina nel titolo della finestra"
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr "Abilita il supporto per synctex"
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "Abilita il servizio D-Bus"
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr "Attiva la notifica dopo aver selezionato del testo"
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Aggiungi un segnalibro"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Elimina un segnalibro"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Mostra i segnalibri"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Chiudi il file corrente"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Mostra le informazioni sul file"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr "Esegui un comando"
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Mostra l' aiuto"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Apri un documento"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Chiudi zathura"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Stampa il documento"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Salva il documento"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Salva il documento (e sovrascrivi)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Salva allegati"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Imposta l' offset della pagina"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Segna la posizione attuale all'interno del documento"
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Non evidenziare i risultati della ricerca in corso"
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr "Evidenzia i risultati della ricerca in corso"
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr "Mostra informazioni sulla versione"
@@ -504,59 +516,59 @@ msgstr "Link: %s"
msgid "Link: Invalid"
msgstr "Link: non valido"
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Percorso della directory della configurazione"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Percorso della directory dei dati"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr "Percorso della cartella di cache"
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Percorso della directory contenente i plugin"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr "Crea un processo separato"
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr "Password del documento"
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Livello di log (debug, info, warning, error)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Mostra le informazioni sul file"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -564,45 +576,55 @@ msgstr ""
msgid "Loading..."
msgstr "Caricamento..."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Copia immagine"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr "Salva immagine come"
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Impossibile stampare: %s"
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Questo documento non contiene l' indice"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Nessun nome]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
"Impossibile leggere il file dall' stdin e scriverlo in un file temporaneo."
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
"Tipo di file non supportato. Per favore, installa il plugin necessario."
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr "Il documento non contiene alcuna pagina"
diff --git a/po/lt.po b/po/lt.po
index bea8d3c..18dd7e8 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2015-10-15 23:06+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Lithuanian (http://www.transifex.com/projects/p/zathura/"
@@ -35,7 +35,7 @@ msgstr "Netinkama įvestis: „%s“."
msgid "Invalid index '%s' given."
msgstr "Duotas netinkamas indeksas: „%s“."
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -43,14 +43,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Nėra atidarytų dokumentų."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Duotų parametrų skaičius yra neteisingas."
@@ -145,342 +145,354 @@ msgstr "Dokumento išsaugoti nepavyko."
msgid "Invalid number of arguments."
msgstr "Neteisingas parametrų skaičius."
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Priedas „%s“ negalėjo būti įrašytas į „%s“."
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Priedas „%s“ įrašytas į „%s“."
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Atvaizdas „%s“ įrašytas į „%s“."
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Atvaizdas „%s“ negalėjo būti įrašytas į „%s“,"
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Nežinomas atvaizdas „%s“."
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Nežinomas priedas ar atvaizdas „%s“."
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "Parametras turi būti skaičius."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "%d puslapis"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Priedai"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Atvaizdai"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "Duomenų bazės posistemė"
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Priartinimo žingsnis"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Užpildymas tarp puslapių"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Puslapių skaičius eilutėje"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr "Pirmo puslapio stulpelis"
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Slinkties žingsnis"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Horizontalios slinksties žingsnis"
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Mažiausias priartinimas"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Didžiausias priartinimas"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Puslapių limitas spartinančioje atmintinėje"
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Spalvų keitimas (tamsi spalva)"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Spalvų keitimas (šviesi spalva)"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Žymos spalva"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Žymos spalva (aktyvi)"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "„Kraunama ...“ fono spalva"
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "„Kraunama ...“ pagrindinė spalva"
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Pakeisti spalvas"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr ""
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Puslapių ribas atpažįstanti slinktis"
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Padidinti puslapių skaičių eilutėje"
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
-
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
-msgid "Center result horizontally"
+msgid "Align link target to the left"
msgstr ""
#: ../zathura/config.c:207
+msgid "Let zoom be changed when following links"
+msgstr ""
+
+#: ../zathura/config.c:209
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Žymų skaidrumas"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Atvaizduoti „Kraunama ...“"
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Prisitaikyti atidarant bylą"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Rodyti paslėptus failus ir katalogus"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Rodyti katalogų sąrašą"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Visada atverti pirmą puslapį"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr "Pažymėti paieškos rezultatus"
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr "Įjungti prieauginę paiešką"
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Išvalyti paieškos rezultatus nutraukiant"
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Rodyti puslapio skaičių lango pavadinime"
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr "Naudoti bylos vardą būsenos juostoje"
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr "Įjungti synctex palaikymą"
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Pridėti žymę"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Ištrinti žymę"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Žymių sąrašas"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Uždaryti dabartinę bylą"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Rodyti bylos informaciją"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Rodyti pagalbą"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Atidryti dokumentą"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Uždaryti zathura"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Atspausdinti dokumentą"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Išsaugoti dokumentą"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Išsaugoti dokumentą (ir priverstinai perašyti)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Išsaugoti priedus"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Nustatyti puslapio poslinkį"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Pažymėti dabartinę dokumento vietą"
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Ištrinti šias žymes"
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Nežymėti dabartinės paieškos rezultatų"
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr "Pažymėti dabartinės paieškos rezultatus"
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr "Rodyti versijos informaciją"
@@ -502,59 +514,59 @@ msgstr "Nuoroda: %s"
msgid "Link: Invalid"
msgstr "Neteisinga nuoroda"
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Konfigūracinių failų aplanko adresas"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Duomenų aplanko adresas"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Įskiepių aplanko adresas"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr ""
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr "Dokumento slaptažodis"
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr "Pereiti į puslapį"
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Registravimo lygis (derinimas, informacija, įspėjimai, klaidos)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Spausdinti versijos informaciją"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex redaktorius (naudojama synctex komandoje)"
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -562,43 +574,53 @@ msgstr ""
msgid "Loading..."
msgstr "Kraunama..."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Kopijuoti atvaizdą"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr "Irašyti atvaizdą kaip"
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Šit dokumentas neturi turinio"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Bevardis]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Bylos tipas nepalaikomas. Įdiekite tam skirtus įskiepius."
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr "Dokumente puslapių nėra"
diff --git a/po/no.po b/po/no.po
index 6260b32..c0487de 100644
--- a/po/no.po
+++ b/po/no.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2015-10-15 23:06+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Norwegian (http://www.transifex.com/projects/p/zathura/"
@@ -34,7 +34,7 @@ msgstr "Ugyldig inndata '%s' gitt."
msgid "Invalid index '%s' given."
msgstr "Ugyldig index '%s' gitt."
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -42,14 +42,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Ingen dokumenter åpnet."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Ugyldig nummer av argumenter gitt."
@@ -144,342 +144,354 @@ msgstr "Kunne ikke lagre dokumentet."
msgid "Invalid number of arguments."
msgstr "Ugyldig nummer av argumenter."
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Kunne ikke skrive vedlegg '%s' til '%s'."
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Skrev vedlegg '%s' til '%s'."
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Skrev bilde '%s' til '%s'."
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Kunne ikke skrive bilde '%s' til '%s'."
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Ukjent bilde '%s'."
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Ukjent vedlegg eller bilde '%s'."
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "Argumentet må være et tall."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Side %d"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Vedlegg"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Bilder"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "Database backend"
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Zoom nivå"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Avstand mellom sider"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Nummer av sider per rad"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Skrolle nivå"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Zoom minimum"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Zoom maximum"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Maksimum antall sider å holde i mellomlagringen"
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Antall posisjoner å huske i hopp-til-listen"
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Om-farger (mørk farge)"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Om-farge (lys farge)"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Farge for utheving"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Farge for utheving (aktiv)"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "'Laster ...' bakgrunnsfarge"
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "'Laster ...' forgrunnsfarge"
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Om-farge sider"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr ""
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Horisontalsentrert zoom"
-#: ../zathura/config.c:201
+#: ../zathura/config.c:203
+msgid "Vertically center pages"
+msgstr ""
+
+#: ../zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:203
+#: ../zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr "La zoom bli endret når følgende linker"
-#: ../zathura/config.c:205
+#: ../zathura/config.c:209
msgid "Center result horizontally"
msgstr "Sentrer resultatene horisontalt"
-#: ../zathura/config.c:207
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Klarhet for utheving"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Render 'Laster ...'"
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Juster til når du åpner filen"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Vis skjulte filer og mapper"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Vis mapper"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Alltid åpne på første side"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr "Uthev søkeresultater"
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Stryk ut søkeresulteter ved avbrytelse"
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Vis nummer av sider i vinduestittelen"
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "Aktiv D-Bus servicen"
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Legg til bokmerke"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Slett bokmerke"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "List alle bokmerker"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Lukk den gjeldende filen"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Vis filinformasjon"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr "Kjør en kommando"
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Vis hjelp"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Åpne dokument"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Lukk zathura"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Skriv ut dokument"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Lagre dokument"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Lagre dokument (og tving til å skrive over)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Lagre vedlegg"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr ""
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Marker nåværende lokalasjon i dokumentet"
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Slett spesifiserte merker"
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Ikke uthev gjeldende søkeresultater"
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr "Uthev følgende søkeresultater"
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr "Vis versjonsinformasjon"
@@ -501,59 +513,59 @@ msgstr ""
msgid "Link: Invalid"
msgstr "Link: Ugyldig"
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Sti til konfigureringsmappe"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Sti til data-mappe"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Sti til mapper som inneholder plugins"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr ""
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr "Dokument passord"
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr "Sidetall å gå til"
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Logg nivå (diagnostisering, info, advarsler, feil)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Skriv ut versjonsinformasjon"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr "Start i ikke-standard modus"
@@ -561,43 +573,53 @@ msgstr "Start i ikke-standard modus"
msgid "Loading..."
msgstr "Laster..."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Kopier bilde"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr "Lagre bilde som"
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Utskrift feilet: %s"
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Dette dokumenetet inneholder ikke noen index"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Inget navn]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr "Kunne ikke lese fil fra stdin og skrive til temporærfil."
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Usupportert filtype. Vennligst innstaller den nødvendige pluginen."
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr "Dokumentet inneholder ingen sider"
diff --git a/po/pl.po b/po/pl.po
index 113160e..6d5753f 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2016-04-18 21:09+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Polish (http://www.transifex.com/projects/p/zathura/language/"
@@ -36,7 +36,7 @@ msgstr "Nieprawidłowy argument: %s"
msgid "Invalid index '%s' given."
msgstr "Nieprawidłowy indeks: %s"
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -44,14 +44,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Nie otwarto żadnego pliku"
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Nieprawidłowa liczba parametrów polecenia"
@@ -146,342 +146,354 @@ msgstr "Błąd zapisu"
msgid "Invalid number of arguments."
msgstr "Niewłaściwa liczba parametrów polecenia"
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Nie można dodać załącznika %s do pliku %s"
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Zapisano załącznik %s do pliku %s"
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Obrazek %s zapisano do pliku %s"
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Nie można dodać obrazka %s do pliku %s"
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Nieznany obrazek '%s'."
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Nieznany załącznik lub obrazek '%s'."
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "Parametr polecenia musi być liczbą"
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Strona %d"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Załączniki"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Obrazki"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "Baza danych"
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Skok powiększenia"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Odstęp pomiędzy stronami"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Liczba stron w wierszu"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Skok przewijania"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Skok przewijania poziomego"
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Minimalne powiększenie"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Maksymalne powiększenie"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Maksymalna liczba stron w pamięci podręcznej"
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Ciemny kolor negatywu"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Jasny kolor negatywu"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Kolor wyróżnienia"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Kolor wyróżnienia bieżącego elementu"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "Kolor tła komunikatu „Wczytywanie pliku...”"
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "Kolor komunikatu „Wczytywanie pliku...”"
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Negatyw"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr "Dla negatywu zachowaj oryginalny odcień i zmień tylko jasność"
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Zawijanie dokumentu"
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Zwiększ liczbę stron w wierszu"
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Powiększenie względem środka"
-#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
-
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
+msgid "Align link target to the left"
+msgstr ""
+
+#: ../zathura/config.c:207
+msgid "Let zoom be changed when following links"
+msgstr ""
+
+#: ../zathura/config.c:209
msgid "Center result horizontally"
msgstr "Poziome wyśrodkowanie wyniku"
-#: ../zathura/config.c:207
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Przezroczystość wyróżnienia"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Wyświetlaj: „Wczytywanie pliku...”"
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Dopasowanie widoku pliku"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Wyświetl ukryte pliki i katalogi"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Wyświetl katalogi"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Zawsze otwieraj na pierwszej stronie"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr "Podświetl wyniki wyszukiwania"
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr "Włącz wyszukiwanie przyrostowe"
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Wyczyść wyniki wyszukiwania po przerwaniu"
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr "Pokaż nazwę pliku w pasku tytułu"
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Wyświetl numer strony w pasku tytułu"
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr "Nazwa pliku w pasku stanu"
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr "Włącz synctex"
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "Uruchom serwis D-Bus"
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Dodaj zakładkę"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Usuń zakładkę"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Wyświetl zakładki"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Zamknij plik"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Wyświetl informacje o pliku"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr "Wykonaj polecenie"
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Wyświetl pomoc"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Otwórz plik"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Zakończ"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Wydrukuj"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Zapisz"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Zapisz (nadpisując istniejący plik)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Zapisz załączniki"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Ustaw przesunięcie numerów stron"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Zaznacz aktualną pozycję w dokumencie"
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Skasuj określone zakładki"
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Nie podświetlaj aktualnych wyników wyszukiwania "
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr "Podświetl aktualne wyniki wyszukiwania"
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr "Wyświetl informacje o wersji"
@@ -503,59 +515,59 @@ msgstr "Link: %s"
msgid "Link: Invalid"
msgstr "Nieprawidłowy link"
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Przypisz proces do rodzica o danym xid (X11)"
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Położenie katalogu konfiguracyjnego"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Położenie katalogu danych"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Położenie katalogu wtyczek"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr "Forkuj w tle"
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr "Hasło dokumentu"
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Szczegółowość komunikatów (debug, info, warning, error)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Wyświetl informacje o wersji"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Edytor synctex (przekierowanie do komendy synctex)"
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -563,43 +575,53 @@ msgstr ""
msgid "Loading..."
msgstr "Wczytywanie pliku..."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Skopiuj obrazek"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr "Zapisz obrazek jako"
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Nie można wydrukować: %s"
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Dokument nie zawiera indeksu"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[bez nazwy]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Niewspierany rodzaj pliku. Zainstaluj wymagane wtyczki"
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr "Dokument nie zawiera żadnej strony"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 95a8bde..7183f93 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2016-04-18 21:09+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
@@ -34,7 +34,7 @@ msgstr "Dados de entrada inválida '%s' ."
msgid "Invalid index '%s' given."
msgstr "Dados de índice invalido '%s'."
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -42,14 +42,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Nenhum documento aberto."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Número de argumentos dados inválidos."
@@ -144,345 +144,357 @@ msgstr "Falha ao salvar o documento."
msgid "Invalid number of arguments."
msgstr "Número de argumento invalido."
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Não foi possível gravar anexo '%s' para '%s'."
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Escreveu anexo '%s' para '%s'."
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Escreveu imagem '%s' para '%s'."
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Não foi possível gravar imagem '%s' para '%s'."
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Imagem desconhecida '%s'."
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Anexo desconhecido ou imagem '%s'."
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "O argumento deve ser um número."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Página %d"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Anexos"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Imagens"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "Fim da base de dados"
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Grau de Zoom"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Preenchimento entre páginas"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Número de paginas por linha"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr "Coluna da primeira página"
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Fase de Rolagem"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Etapa de rolagem horizontal"
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Sobreposição de rolagem de página inteira"
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Zoom minimo"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Zoom máximo"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Número máximo de páginas para manter no cache"
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Numero de posições para lembrar na lista de salto"
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Recolorindo (cor escura)"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Recolorindo (cor clara)"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Cor para destacar"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Cor para destacar (ativo)"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "'Carregando ...' cor de fundo"
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "'Carregando ...' cor de primeiro plano"
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Recolorir páginas"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
"Quando recolorir, manter tonalidade original e ajustar somente a luminosidade"
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Rolagem envoltório"
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Rolagem de página consciente"
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Numero de avanço de paginas por linha"
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Zoom centrado horizontalmente"
-#: ../zathura/config.c:201
+#: ../zathura/config.c:203
+msgid "Vertically center pages"
+msgstr ""
+
+#: ../zathura/config.c:205
msgid "Align link target to the left"
msgstr "Alinhe destino do link à esquerda"
-#: ../zathura/config.c:203
+#: ../zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr "Zoom será mudado quando seguir os links"
-#: ../zathura/config.c:205
+#: ../zathura/config.c:209
msgid "Center result horizontally"
msgstr "Resultado centrado horizontalmente"
-#: ../zathura/config.c:207
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Transparência para destacar"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Renderizando 'Carregando...'"
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Ajuste para quando abrir o arquivo"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Mostrar arquivos ocultos e diretórios"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Mostrar diretórios"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Sempre abrir na primeira página"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr "Destaque resultados de busca"
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr "Ativar pesquisa incremental"
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Limpar resultados de busca ou abortar"
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr "Usar nome do arquivo na barra de titulo"
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Exibir o número da página no título da janela."
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr "Use o nome do arquivo na barra de status"
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr "Ativar suporte synctex"
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "Habilitar serviço D-Bus"
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
"A área de transferência em que o dados selecionados com o mouse vão ser "
"escritos"
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Adicionar um favorito"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Deletar um favorito"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Listar todos favoritos"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Fechar arquivo atual"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Mostrar informações do arquivo"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr "Executar um comando"
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Mostrar ajuda"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Abrir documento"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Fechar zathura"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Imprimir documento"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Salvar documento"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Salvar documento (e forçar sobrescrever)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Salvar anexos"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Definir deslocamento da página"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Marcar localização atual no documento"
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Apagar as marcas especificadas"
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Não destacar resultados de busca atual"
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr "Destacar resultado de busca atual"
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr "Mostrar informações sobre a versão"
@@ -504,59 +516,59 @@ msgstr "Link: %s"
msgid "Link: Invalid"
msgstr "Link: Inválido"
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Reparar a janela especificada por xid (X11)"
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Caminho de diretório para configuração"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Caminho para diretório de dados"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Caminho de diretório que contenham plugins"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr "Deslocar no fundo"
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr "Senha do documento"
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr "Número da página para ir"
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Nível de log (depurar, informação, aviso, erro)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Imprimir informações sobre a versão"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor synctex (encaminhado para o comando synctex)"
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr "Mover para determinada posição synctex"
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr "Destacar determinada posição no determinado processo"
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr "Começar em um modo não padrão"
@@ -564,46 +576,56 @@ msgstr "Começar em um modo não padrão"
msgid "Loading..."
msgstr "Carregando..."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Copiar imagem"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr "Salvar imagem para"
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Impressão falhou: %s"
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Este documento não contem qualquer índice"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Sem nome]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
"Não foi possível ler o arquivo a partir de stdin e gravá-lo em um arquivo "
"temporário."
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
"Formato de arquivo não suportado. Por favor, instale o plugin necessário."
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr "Documento não contém quaisquer páginas"
diff --git a/po/ru.po b/po/ru.po
index 24b8278..47e78fe 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2016-04-18 21:09+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/"
@@ -38,7 +38,7 @@ msgstr "Неправильный ввод: %s."
msgid "Invalid index '%s' given."
msgstr "Получен неверный индекс: %s."
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -46,14 +46,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Нет открытых документов."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Указано неверное число аргументов."
@@ -148,342 +148,354 @@ msgstr "Не удалось сохранить документ."
msgid "Invalid number of arguments."
msgstr "Неверное количество аргументов."
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Не удалось сохранить приложенный файл «%s» в «%s»."
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Файл «%s» сохранён в «%s»."
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Изображение «%s» сохранено в «%s»."
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Не удалось записать изображение «%s» в «%s»."
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Неизвестное изображение «%s»."
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Неизвестное вложение или изображение «%s»."
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "Аргумент должен быть числом."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Страница %d"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Прикреплённые файлы"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Изображения"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "Бэкэнд базы данных"
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Шаг увеличения"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Разрыв между страницами"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Количество страниц в ряд"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr "Столбец первой страницы"
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Шаг прокрутки"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Шаг горизонтальной прокрутки"
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Перекрытие страниц при прокрутке"
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Минимальное увеличение"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Максимальное увеличение"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Максимальное количество страниц хранимых в кэше"
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Длина истории переходов"
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Перекрашивание (тёмные тона)"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Перекрашивание (светлые тона)"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Цвет для подсветки"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Цвет для подсветки (активной)"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "Цвет фона загрузочной заставки"
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "Цвет загрузочной заставки"
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Перекрасить страницы"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr "При перекраске сохранять оттенок и изменять только осветление"
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Плавная прокрутка"
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Постраничная прокрутка"
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Увеличить количество страниц в ряду"
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Центрировать увеличение по горизонтали"
-#: ../zathura/config.c:201
+#: ../zathura/config.c:203
+msgid "Vertically center pages"
+msgstr ""
+
+#: ../zathura/config.c:205
msgid "Align link target to the left"
msgstr "Выровнять цель ссылки по левому краю"
-#: ../zathura/config.c:203
+#: ../zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr "Разрешить изменять размер при следовании по ссылкам"
-#: ../zathura/config.c:205
+#: ../zathura/config.c:209
msgid "Center result horizontally"
msgstr "Центрировать результат по горизонтали"
-#: ../zathura/config.c:207
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Прозрачность подсветки"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Рендер «Загружается ...»"
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Подогнать размеры при открытии документа"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Показывать скрытые файлы и каталоги"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Показывать каталоги"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Всегда открывать на первой странице"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr "Подсветить результаты поиска"
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr "Включить инкрементальный поиск"
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Сбросить результаты при отмене поиска"
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr "Использовать базовое имя файла в заголовке"
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Показывать номер страницы в заголовке"
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr "Использовать базовое имя файла в строке состояния"
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr "Включить поддержку synctex"
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "Включить сервис D-Bus"
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr "Буфер для записи данных из области выделенных мышкой"
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Добавить закладку"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Удалить закладку"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Показать все закладки"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Закрыть текущий файл"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Показать информацию о файле"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr "Выполнить команду"
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Помощь"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Открыть документ"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Выход"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Печать"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Сохранить документ"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Сохранить документ (с перезаписью)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Сохранить прикреплённые файлы"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Сохранить смещение страницы"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Пометить текущую позицию в документе"
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Удалить указанные пометки"
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Не подсвечивать результаты текущего поиска"
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr "Подсветить результаты текущего поиска"
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr "Показать информацию о версии файла"
@@ -505,59 +517,59 @@ msgstr "Ссылка: %s"
msgid "Link: Invalid"
msgstr "Ссылка: неправильная"
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Сменить материнское окно на окно, указанное в xid (X11)"
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Путь к каталогу с настройкой"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Путь к каталогу с данными"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Путь к каталогу с плагинами"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr "Запустить в фоне"
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr "Пароль документа"
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr "Перейти к странице номер"
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Уровень журналирования (debug, info, warning, error)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Показать информацию о файле"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Редактор для synctex (передаётся далее программе synctex)"
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr "Перейти к указанному положению synctex"
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr "Подсветка заданного положения в заданном процессе"
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr "Запустить в специальном режиме"
@@ -565,45 +577,55 @@ msgstr "Запустить в специальном режиме"
msgid "Loading..."
msgstr "Загрузка..."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Скопировать изображение"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr "Сохранить изображение как"
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Не удалось напечатать %s"
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "В документе нет индекса"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Без названия]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
"Не удалось прочитать файл со стандартного входа и записать его во временный "
"файл."
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Тип файла не поддерживается. Установите соответствующий плагин."
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr "В документе нет страниц"
diff --git a/po/ta_IN.po b/po/ta_IN.po
index ec40c80..c109e92 100644
--- a/po/ta_IN.po
+++ b/po/ta_IN.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2014-01-31 09:37+0000\n"
"Last-Translator: mankand007 \n"
"Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/"
@@ -33,7 +33,7 @@ msgstr "கொடுக்கப்பட்ட உள்ளீடு(input) '%s
msgid "Invalid index '%s' given."
msgstr "கொடுக்கப்பட்ட index '%s' தவறு"
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -41,14 +41,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "எந்தக் ஆவணமும் திறக்கப்படவில்லை"
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "கொடுக்கப்பட்ட arguments-களின் எண்ணிக்கை தவறு"
@@ -143,342 +143,354 @@ msgstr "ஆவணத்தை சேமிக்க இயலவில்லை"
msgid "Invalid number of arguments."
msgstr "கொடுக்கப்பட்ட argument-களின் எண்ணிக்கை தவறு"
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "Argument ஒரு எண்ணாக இருக்க வேண்டும்"
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr ""
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "இணைப்புகளைச் சேமிக்கவும்"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr ""
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr ""
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Zoom அமைப்பு"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "இரு பக்கங்களுக்கிடையில் உள்ள நிரப்பல்(padding)"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "ஒரு வரிசையில் எத்தனை பக்கங்களைக் காட்ட வேண்டும்"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "திரை உருளல்(scroll) அளவு"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "முடிந்தவரை சிறியதாகக் காட்டு"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "முடிந்தவரை பெரிதாகக் காட்டு"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr ""
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr ""
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr ""
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr ""
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr ""
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr ""
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
-
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
-msgid "Center result horizontally"
+msgid "Align link target to the left"
msgstr ""
#: ../zathura/config.c:207
-msgid "Transparency for highlighting"
+msgid "Let zoom be changed when following links"
msgstr ""
#: ../zathura/config.c:209
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../zathura/config.c:211
+msgid "Transparency for highlighting"
+msgstr ""
+
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr ""
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr ""
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr ""
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr ""
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr ""
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr ""
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "புதிய bookmark உருவாக்கு"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Bookmark-ஐ அழித்துவிடு"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "அனைத்து bookmark-களையும் பட்டியலிடு"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr ""
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "உதவியைக் காட்டு"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "ஒரு ஆவணத்தைத் திற"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "zathura-வை விட்டு வெளியேறு"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "ஆவணத்தை அச்சிடு"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "ஆவணத்தை சேமிக்கவும்"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr ""
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "இணைப்புகளைச் சேமிக்கவும்"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr ""
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr ""
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr ""
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr ""
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr ""
@@ -500,59 +512,59 @@ msgstr ""
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr ""
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr ""
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr ""
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr ""
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr ""
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr ""
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -560,43 +572,53 @@ msgstr ""
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "படத்தை ஒரு பிரதியெடு"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr ""
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "பெயரற்ற ஆவணம்"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/tr.po b/po/tr.po
index f5ba155..b8c7e6c 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2016-04-18 21:09+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/"
@@ -35,7 +35,7 @@ msgstr "Hatalı girdi '%s'"
msgid "Invalid index '%s' given."
msgstr "Hatalı dizin '%s'"
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -43,14 +43,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Açık belge yok."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Yanlış sayıda argüman"
@@ -145,342 +145,354 @@ msgstr "Belge kaydedilemedi."
msgid "Invalid number of arguments."
msgstr "Yanlış sayıda argüman."
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazılamadı."
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazıldı."
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazıldı."
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazılamadı."
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr "Tanınmayan resim dosyası '%s'"
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Tanınmayan eklenti veya resim dosyası '%s'"
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "Argüman bir sayı olmalı."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Sayfa %d"
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr "Ekleri kaydet"
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr "Resimler"
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "Veritabanı arkayüzü"
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Yakınlaşma/uzaklaşma aralığı"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Sayfalar arasındaki boşluk"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Satır başına sayfa sayısı"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr "İlk sayfanın sütunu"
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Kaydırma aralığı"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Yatay kaydırma adımı"
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Tam ekran kaydırma kaplaması"
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "En fazla uzaklaşma"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "En fazla yakınlaşma"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Atlama listesinde hatırlanacak pozisyon sayısı"
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Renk değişimi (koyu renk)"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Renk değişimi (açık renk)"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "İşaretleme rengi"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "İşaretleme rengi (etkin)"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Sayga rengini değiştir"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr "Yeniden renklendirirken renk değerini tut ve sadece parlaklığı ayarla"
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Kaydırmayı sarmala"
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Satır başına sayfa sayısı"
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Yatay olarak ortalanmış büyütme"
-#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
-
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
-msgid "Center result horizontally"
+msgid "Align link target to the left"
msgstr ""
#: ../zathura/config.c:207
+msgid "Let zoom be changed when following links"
+msgstr ""
+
+#: ../zathura/config.c:209
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Ön plana çıkarmak için saydamlaştır"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "'Yüklüyor ...' yazısını göster"
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Dosya açarken ayarla"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Gizli dosyaları ve dizinleri göster"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Dizinleri göster"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Her zaman ilk sayfayı aç"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr "Arama sonuçlarını vurgula"
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr "Artımlı aramayı etkinleştir"
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Kapatınca arama sonuçlarını temizle"
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr "Pencere başlığı olarak dosyanın adını kullan"
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Yer imi ekle"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Yer imi sil"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Yer imlerini listele"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Geçerli dosyayı kapat"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Dosya bilgisi göster"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr "Bir komut çalıştır"
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Yardım bilgisi göster"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Belge aç"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Zathura'yı kapat"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Belge yazdır"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Belgeyi kaydet"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Belgeyi kaydet (ve sormadan üzerine yaz)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Ekleri kaydet"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Sayfa derinliğini ayarla"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Bu belgede bu konumu işaretle"
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Seçilen işaretlemeleri sil"
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Şuanki arama sonuçlarını vurgulama"
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr "Şuanki arama sonuçlarını vurgula"
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr "Versiyon bilgisi göster"
@@ -502,59 +514,59 @@ msgstr ""
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Xid tarafından belirlendiği gibi bir üst seviye pencereye bağlı (X11)"
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Ayar dizini adresi"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Veri dizini adresi"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Eklentileri içeren dizinin adresi"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr "Arka planda işlemden çocuk oluştur"
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr "Belge şifresi"
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Kayıt seviyesi (hata ayıklama, bilgi, uyarı, hata)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Dosya bilgisi göster"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -562,43 +574,53 @@ msgstr ""
msgid "Loading..."
msgstr "Yüklüyor ..."
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Resim kopyala"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr "Resmi farklı kaydet"
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Bu belge fihrist içermiyor"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[İsimsiz]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/uk_UA.po b/po/uk_UA.po
index 4dce8e5..5c7f2b7 100644
--- a/po/uk_UA.po
+++ b/po/uk_UA.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2017-06-25 21:55+0200\n"
"PO-Revision-Date: 2016-04-18 21:08+0200\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/"
@@ -35,7 +35,7 @@ msgstr "Вказано невірний аргумент: %s."
msgid "Invalid index '%s' given."
msgstr "Вказано невірний індекс: %s"
-#: ../zathura/callbacks.c:594
+#: ../zathura/callbacks.c:590
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
@@ -43,14 +43,14 @@ msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
-#: ../zathura/commands.c:423 ../zathura/commands.c:550
-#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
-#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
+#: ../zathura/commands.c:424 ../zathura/commands.c:551
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Документ не відкрито."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
-#: ../zathura/commands.c:428
+#: ../zathura/commands.c:429
msgid "Invalid number of arguments given."
msgstr "Вказана невірна кількість аргументів."
@@ -145,342 +145,354 @@ msgstr "Документ не вдалося зберегти."
msgid "Invalid number of arguments."
msgstr "Невірна кількість аргументів."
-#: ../zathura/commands.c:447
+#: ../zathura/commands.c:448
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Неможливо записати прикріплення '%s' до '%s'."
-#: ../zathura/commands.c:449
+#: ../zathura/commands.c:450
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Прикріплення записано %s до %s."
-#: ../zathura/commands.c:493
+#: ../zathura/commands.c:494
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:495
+#: ../zathura/commands.c:496
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:502
+#: ../zathura/commands.c:503
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:506
+#: ../zathura/commands.c:507
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:563
+#: ../zathura/commands.c:564
msgid "Argument must be a number."
msgstr "Аргумент повинен бути цифрою."
-#: ../zathura/completion.c:285
+#: ../zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr ""
-#: ../zathura/completion.c:328
+#: ../zathura/completion.c:326
msgid "Attachments"
msgstr ""
#. add images
-#: ../zathura/completion.c:359
+#: ../zathura/completion.c:357
msgid "Images"
msgstr ""
#. zathura settings
-#: ../zathura/config.c:144
+#: ../zathura/config.c:145
msgid "Database backend"
msgstr "Буфер бази"
#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr ""
+
+#: ../zathura/config.c:148
msgid "Zoom step"
msgstr "Збільшення"
-#: ../zathura/config.c:148
+#: ../zathura/config.c:150
msgid "Padding between pages"
msgstr "Заповнення між сторінками"
-#: ../zathura/config.c:150
+#: ../zathura/config.c:152
msgid "Number of pages per row"
msgstr "Кількість сторінок в одному рядку"
-#: ../zathura/config.c:152
+#: ../zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:154
+#: ../zathura/config.c:156
msgid "Scroll step"
msgstr "Прокручування"
-#: ../zathura/config.c:156
+#: ../zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:158
+#: ../zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:160
+#: ../zathura/config.c:162
msgid "Zoom minimum"
msgstr "Максимальне зменшення"
-#: ../zathura/config.c:162
+#: ../zathura/config.c:164
msgid "Zoom maximum"
msgstr "Максимальне збільшення"
-#: ../zathura/config.c:164
+#: ../zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:166
+#: ../zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: ../zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:170
+#: ../zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Перефарбування (темний колір)"
-#: ../zathura/config.c:171
+#: ../zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Перефарбування (світлий колір)"
-#: ../zathura/config.c:172
+#: ../zathura/config.c:174
msgid "Color for highlighting"
msgstr "Колір для виділення"
-#: ../zathura/config.c:174
+#: ../zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Колір для виділення (активний)"
-#: ../zathura/config.c:176
+#: ../zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:178
+#: ../zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:181
+#: ../zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:182
+#: ../zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:183
+#: ../zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:184
+#: ../zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:187
+#: ../zathura/config.c:189
msgid "Recolor pages"
msgstr "Змінити кольори"
-#: ../zathura/config.c:189
+#: ../zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:191
+#: ../zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:193
+#: ../zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Плавне прокручування"
-#: ../zathura/config.c:195
+#: ../zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: ../zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:199
+#: ../zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:201
-msgid "Align link target to the left"
-msgstr ""
-
#: ../zathura/config.c:203
-msgid "Let zoom be changed when following links"
+msgid "Vertically center pages"
msgstr ""
#: ../zathura/config.c:205
-msgid "Center result horizontally"
+msgid "Align link target to the left"
msgstr ""
#: ../zathura/config.c:207
+msgid "Let zoom be changed when following links"
+msgstr ""
+
+#: ../zathura/config.c:209
+msgid "Center result horizontally"
+msgstr ""
+
+#: ../zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Прозорість для виділення"
-#: ../zathura/config.c:209
+#: ../zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Рендер 'Завантажується ...'"
-#: ../zathura/config.c:210
+#: ../zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Підлаштовутись при відкритті файлу"
-#: ../zathura/config.c:212
+#: ../zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Показати приховані файли та директорії"
-#: ../zathura/config.c:214
+#: ../zathura/config.c:218
msgid "Show directories"
msgstr "Показати диреторії"
-#: ../zathura/config.c:216
+#: ../zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:218
+#: ../zathura/config.c:222
msgid "Always open on first page"
msgstr "Завжди відкривати на першій сторінці"
-#: ../zathura/config.c:220
+#: ../zathura/config.c:224
msgid "Highlight search results"
msgstr ""
-#: ../zathura/config.c:223
+#: ../zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:225
+#: ../zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:227
+#: ../zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:229
+#: ../zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:231
+#: ../zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: ../zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:235
+#: ../zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:237
+#: ../zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:239
+#: ../zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:241
+#: ../zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:243
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr ""
+
+#: ../zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:245
+#: ../zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:435
+#: ../zathura/config.c:440
msgid "Add a bookmark"
msgstr "Додати закладку"
-#: ../zathura/config.c:436
+#: ../zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Вилучити закладку"
-#: ../zathura/config.c:437
+#: ../zathura/config.c:442
msgid "List all bookmarks"
msgstr "Дивитись усі закладки"
-#: ../zathura/config.c:438
+#: ../zathura/config.c:443
msgid "Close current file"
msgstr "Закрити документ"
-#: ../zathura/config.c:439
+#: ../zathura/config.c:444
msgid "Show file information"
msgstr "Показати інформацію файлу"
-#: ../zathura/config.c:440 ../zathura/config.c:441
+#: ../zathura/config.c:445 ../zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:442
+#: ../zathura/config.c:447
msgid "Show help"
msgstr "Показати довідку"
-#: ../zathura/config.c:443
+#: ../zathura/config.c:448
msgid "Open document"
msgstr "Відкрити документ"
-#: ../zathura/config.c:444
+#: ../zathura/config.c:449
msgid "Close zathura"
msgstr "Вийти із zathura"
-#: ../zathura/config.c:445
+#: ../zathura/config.c:450
msgid "Print document"
msgstr "Друкувати документ"
-#: ../zathura/config.c:446
+#: ../zathura/config.c:451
msgid "Save document"
msgstr "Зберегти документ"
-#: ../zathura/config.c:447
+#: ../zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Зберегти документ (форсувати перезапис)"
-#: ../zathura/config.c:448
+#: ../zathura/config.c:453
msgid "Save attachments"
msgstr "Зберегти прикріплення"
-#: ../zathura/config.c:449
+#: ../zathura/config.c:454
msgid "Set page offset"
msgstr "Встановити зміщення сторінки"
-#: ../zathura/config.c:450
+#: ../zathura/config.c:455
msgid "Mark current location within the document"
msgstr ""
-#: ../zathura/config.c:451
+#: ../zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:452
+#: ../zathura/config.c:457
msgid "Don't highlight current search results"
msgstr ""
-#: ../zathura/config.c:453
+#: ../zathura/config.c:458
msgid "Highlight current search results"
msgstr ""
-#: ../zathura/config.c:454
+#: ../zathura/config.c:459
msgid "Show version information"
msgstr ""
@@ -502,59 +514,59 @@ msgstr ""
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:145
+#: ../zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Вертатися до вікна, вказаного xid (X11)"
-#: ../zathura/main.c:146
+#: ../zathura/main.c:147
msgid "Path to the config directory"
msgstr "Шлях до теки конфігурації"
-#: ../zathura/main.c:147
+#: ../zathura/main.c:148
msgid "Path to the data directory"
msgstr "Шлях до теки з даними"
-#: ../zathura/main.c:148
+#: ../zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:149
+#: ../zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Шлях до теки з плаґінами"
-#: ../zathura/main.c:150
+#: ../zathura/main.c:151
msgid "Fork into the background"
msgstr "Працювати у фоні"
-#: ../zathura/main.c:151
+#: ../zathura/main.c:152
msgid "Document password"
msgstr ""
-#: ../zathura/main.c:152
+#: ../zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:153
+#: ../zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Рівень логування (налагодження, інфо, застереження, помилка)"
-#: ../zathura/main.c:154
+#: ../zathura/main.c:155
msgid "Print version information"
msgstr "Показати інформацію файлу"
-#: ../zathura/main.c:156
+#: ../zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:157
+#: ../zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:158
+#: ../zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:160
+#: ../zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
@@ -562,43 +574,53 @@ msgstr ""
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1006
+#: ../zathura/page-widget.c:1007
msgid "Copy image"
msgstr "Копіювати картинку"
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1008
msgid "Save image as"
msgstr ""
-#: ../zathura/print.c:64 ../zathura/print.c:231
+#: ../zathura/print.c:64 ../zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1126
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr ""
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr ""
+
+#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Індекс відсутній в цьому документі"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
+#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
msgid "[No name]"
msgstr "[Без назви]"
-#: ../zathura/zathura.c:648
+#: ../zathura/zathura.c:645
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: ../zathura/zathura.c:661
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: ../zathura/zathura.c:750
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:789
+#: ../zathura/zathura.c:785
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:799
+#: ../zathura/zathura.c:795
msgid "Document does not contain any pages"
msgstr ""
diff --git a/tests/Makefile b/tests/Makefile
index a1e7e4b..99e8da7 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -12,33 +12,29 @@ OBJECTS = $(addprefix ${BUILDDIR_RELEASE}/,${SOURCE:.c=.o})
OBJECTS_DEBUG = $(addprefix ${BUILDDIR_DEBUG}/,${SOURCE:.c=.o})
OBJECTS_GCOV = $(addprefix ${BUILDDIR_GCOV}/,${SOURCE:.c=.o})
-ZATHURA_OBJECTS = \
- $(filter-out ../${BUILDDIR_RELEASE}/zathura/main.o, $(wildcard ../${BUILDDIR_RELEASE}/zathura/*.o))
-ZATHURA_OBJECTS_DEBUG = \
- $(filter-out ../${BUILDDIR_DEBUG}/zathura/main.o, $(wildcard ../${BUILDDIR_DEBUG}/zathura/*.o))
-ZATHURA_OBJECTS_GCOV= \
- $(filter-out ../${BUILDDIR_GCOV}/zathura/main.o, $(wildcard ../${BUILDDIR_GCOV}/zathura/*.o))
+FILTER = %/main.o
ifneq (${WITH_SQLITE},0)
-INCS += $(SQLITE_INC)
-LIBS += $(SQLITE_LIB)
CPPFLAGS += -DWITH_SQLITE
else
-SOURCE = $(filter-out database-sqlite.c,$(OSOURCE))
+FILTER += %/database-sqlite.o
endif
ifneq ($(WITH_MAGIC),0)
-INCS += $(MAGIC_INC)
-LIBS += $(MAGIC_LIB)
CPPFLAGS += -DWITH_MAGIC
endif
ifneq ($(WITH_SYNCTEX),0)
-INCS += $(SYNCTEX_INC)
-LIBS += $(SYNCTEX_LIB)
CPPFLAGS += -DWITH_SYNCTEX
endif
+ZATHURA_OBJECTS = \
+ $(filter-out $(FILTER), $(wildcard ../${BUILDDIR_RELEASE}/zathura/*.o))
+ZATHURA_OBJECTS_DEBUG = \
+ $(filter-out $(FILTER), $(wildcard ../${BUILDDIR_DEBUG}/zathura/*.o))
+ZATHURA_OBJECTS_GCOV= \
+ $(filter-out $(FILTER), $(wildcard ../${BUILDDIR_GCOV}/zathura/*.o))
+
ifneq ($(wildcard ${VALGRIND_SUPPRESSION_FILE}),)
VALGRIND_ARGUMENTS += --suppressions=${VALGRIND_SUPPRESSION_FILE}
endif
diff --git a/zathura.desktop b/zathura.desktop
index f031bdc..f3ad926 100644
--- a/zathura.desktop
+++ b/zathura.desktop
@@ -4,6 +4,7 @@ Type=Application
Name=Zathura
Comment=A minimalistic document viewer
Comment[ca]=Un visualitzador de documents minimalista
+Comment[cs]=Jednoduchý prohlížeč dokumentů
Comment[de]=Ein minimalistischer Dokumenten-Betrachter
Comment[el]=Ένας ελαφρύς προβολέας κειμένων
Comment[eo]=Malpeza dokumento spektanto
diff --git a/zathura/adjustment.c b/zathura/adjustment.c
index 1cd31b3..9a10da5 100644
--- a/zathura/adjustment.c
+++ b/zathura/adjustment.c
@@ -13,7 +13,7 @@ page_calc_height_width(zathura_document_t* document, double height,
g_return_val_if_fail(document != NULL && page_height != NULL && page_width != NULL, 0.0);
double scale = zathura_document_get_scale(document);
- if (rotate && zathura_document_get_rotation(document) % 180) {
+ if (rotate == true && zathura_document_get_rotation(document) % 180 != 0) {
*page_width = round(height * scale);
*page_height = round(width * scale);
scale = MAX(*page_width / height, *page_height / width);
diff --git a/zathura/callbacks.c b/zathura/callbacks.c
index 070796d..7db22f8 100644
--- a/zathura/callbacks.c
+++ b/zathura/callbacks.c
@@ -356,15 +356,17 @@ handle_link(GtkEntry* entry, girara_session_t* session,
return (eval == TRUE) ? TRUE : FALSE;
}
-bool
-cb_sc_follow(GtkEntry* entry, girara_session_t* session)
+gboolean
+cb_sc_follow(GtkEntry* entry, void* data)
{
+ girara_session_t* session = data;
return handle_link(entry, session, ZATHURA_LINK_ACTION_FOLLOW);
}
-bool
-cb_sc_display_link(GtkEntry* entry, girara_session_t* session)
+gboolean
+cb_sc_display_link(GtkEntry* entry, void* data)
{
+ girara_session_t* session = data;
return handle_link(entry, session, ZATHURA_LINK_ACTION_DISPLAY);
}
@@ -376,20 +378,12 @@ file_monitor_reload(void* data)
}
void
-cb_file_monitor(GFileMonitor* monitor, GFile* file, GFile* UNUSED(other_file), GFileMonitorEvent event, girara_session_t* session)
+cb_file_monitor(ZathuraFileMonitor* monitor, girara_session_t* session)
{
g_return_if_fail(monitor != NULL);
- g_return_if_fail(file != NULL);
g_return_if_fail(session != NULL);
- switch (event) {
- case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT:
- case G_FILE_MONITOR_EVENT_CREATED:
- g_main_context_invoke(NULL, file_monitor_reload, session);
- break;
- default:
- return;
- }
+ g_main_context_invoke(NULL, file_monitor_reload, session);
}
static gboolean
@@ -403,7 +397,7 @@ password_dialog(gpointer data)
"Incorrect password. Enter password:",
true,
NULL,
- (girara_callback_inputbar_activate_t) cb_password_dialog,
+ cb_password_dialog,
dialog
);
}
@@ -411,13 +405,15 @@ password_dialog(gpointer data)
return FALSE;
}
-bool
-cb_password_dialog(GtkEntry* entry, zathura_password_dialog_info_t* dialog)
+gboolean
+cb_password_dialog(GtkEntry* entry, void* data)
{
- if (entry == NULL || dialog == NULL) {
+ if (entry == NULL || data == NULL) {
goto error_ret;
}
+ zathura_password_dialog_info_t* dialog = data;
+
if (dialog->path == NULL) {
free(dialog);
goto error_ret;
@@ -463,7 +459,7 @@ error_ret:
return false;
}
-bool
+gboolean
cb_view_resized(GtkWidget* UNUSED(widget), GtkAllocation* UNUSED(allocation), zathura_t* zathura)
{
if (zathura == NULL || zathura->document == NULL) {
@@ -615,9 +611,23 @@ cb_page_widget_image_selected(ZathuraPage* page, GdkPixbuf* pixbuf, void* data)
if (selection != NULL) {
gtk_clipboard_set_image(gtk_clipboard_get(*selection), pixbuf);
- }
- g_free(selection);
+ bool notification = true;
+ girara_setting_get(zathura->ui.session, "selection-notification", ¬ification);
+
+ if (notification == true) {
+ char* target = NULL;
+ girara_setting_get(zathura->ui.session, "selection-clipboard", &target);
+
+ char* escaped_text = g_markup_printf_escaped(
+ _("Copied selected image to selection %s"), target);
+ g_free(target);
+
+ girara_notify(zathura->ui.session, GIRARA_INFO, "%s", escaped_text);
+ }
+
+ g_free(selection);
+ }
}
void
@@ -638,12 +648,20 @@ void
cb_page_widget_scaled_button_release(ZathuraPage* page_widget, GdkEventButton* event,
void* data)
{
+ zathura_t* zathura = data;
+
+ zathura_page_t* page = zathura_page_widget_get_page(page_widget);
+
+ /* set page number (but don't scroll there. it was clicked on, so it's visible) */
+ if (event->button == GDK_BUTTON_PRIMARY) {
+ zathura_document_set_current_page_number(zathura->document, zathura_page_get_index(page));
+ refresh_view(zathura);
+ }
+
if (event->button != 1 || !(event->state & GDK_CONTROL_MASK)) {
return;
}
- zathura_t* zathura = data;
-
bool synctex = false;
girara_setting_get(zathura->ui.session, "synctex", &synctex);
@@ -651,8 +669,6 @@ cb_page_widget_scaled_button_release(ZathuraPage* page_widget, GdkEventButton* e
return;
}
- zathura_page_t* page = zathura_page_widget_get_page(page_widget);
-
if (zathura->dbus != NULL) {
zathura_dbus_edit(zathura->dbus, zathura_page_get_index(page), event->x, event->y);
}
diff --git a/zathura/callbacks.h b/zathura/callbacks.h
index eb41db9..15e4ba1 100644
--- a/zathura/callbacks.h
+++ b/zathura/callbacks.h
@@ -110,7 +110,7 @@ void cb_index_row_activated(GtkTreeView* tree_view, GtkTreePath* path,
* @param session The girara session
* @return true if no error occurred and the event has been handled
*/
-bool cb_sc_follow(GtkEntry* entry, girara_session_t* session);
+gboolean cb_sc_follow(GtkEntry* entry, void* session);
/**
* Called when input has been passed to the sc_display_link dialog
@@ -119,19 +119,15 @@ bool cb_sc_follow(GtkEntry* entry, girara_session_t* session);
* @param session The girara session
* @return true if no error occurred and the event has been handled
*/
-bool cb_sc_display_link(GtkEntry* entry, girara_session_t* session);
+gboolean cb_sc_display_link(GtkEntry* entry, void* session);
/**
* Emitted when file has been changed
*
* @param monitor The file monitor
- * @param file The file
- * @param other_file A file or NULL
- * @param event The monitor event
* @param session The girara session
*/
-void cb_file_monitor(GFileMonitor* monitor, GFile* file, GFile* other_file,
- GFileMonitorEvent event, girara_session_t* session);
+void cb_file_monitor(ZathuraFileMonitor* monitor, girara_session_t* session);
/**
* Callback to read new password for file that should be opened
@@ -140,7 +136,7 @@ void cb_file_monitor(GFileMonitor* monitor, GFile* file, GFile* other_file,
* @param dialog The dialog information
* @return true if input has been handled
*/
-bool cb_password_dialog(GtkEntry* entry, zathura_password_dialog_info_t* dialog);
+gboolean cb_password_dialog(GtkEntry* entry, void* dialog);
/**
* Emitted when the view has been resized
@@ -150,7 +146,7 @@ bool cb_password_dialog(GtkEntry* entry, zathura_password_dialog_info_t* dialog)
* @param zathura Zathura session
* @return true if signal has been handled successfully
*/
-bool cb_view_resized(GtkWidget* widget, GtkAllocation* allocation, zathura_t* zathura);
+gboolean cb_view_resized(GtkWidget* widget, GtkAllocation* allocation, zathura_t* zathura);
/**
* Emitted when the 'recolor' setting is changed
diff --git a/zathura/commands.c b/zathura/commands.c
index c697be0..1afb790 100644
--- a/zathura/commands.c
+++ b/zathura/commands.c
@@ -106,7 +106,20 @@ cmd_bookmark_open(girara_session_t* session, girara_list_t* argument_list)
const unsigned int argc = girara_list_size(argument_list);
if (argc != 1) {
- girara_notify(session, GIRARA_ERROR, _("Invalid number of arguments given."));
+ GString* string = g_string_new(NULL);
+
+ GIRARA_LIST_FOREACH(zathura->bookmarks.bookmarks, zathura_bookmark_t*, iter, bookmark)
+ g_string_append_printf(string, "%s: %u\n", bookmark->id, bookmark->page);
+ GIRARA_LIST_FOREACH_END(zathura->bookmarks.bookmarks, zathura_bookmark_t*, iter, bookmark);
+
+ if (strlen(string->str) > 0) {
+ g_string_erase(string, strlen(string->str) - 1, 1);
+ girara_notify(session, GIRARA_INFO, "%s", string->str);
+ } else {
+ girara_notify(session, GIRARA_INFO, _("No bookmarks available."));
+ }
+
+ g_string_free(string, TRUE);
return false;
}
@@ -181,9 +194,7 @@ cmd_info(girara_session_t* session, girara_list_t* UNUSED(argument_list))
if (entry != NULL) {
for (unsigned int i = 0; i < LENGTH(meta_fields); i++) {
if (meta_fields[i].field == entry->type) {
- char* text = g_strdup_printf("%s: %s\n", meta_fields[i].name, entry->value);
- g_string_append(string, text);
- g_free(text);
+ g_string_append_printf(string, "%s: %s\n", meta_fields[i].name, entry->value);
}
}
}
@@ -407,6 +418,7 @@ cmd_search(girara_session_t* session, const char* input, girara_argument_t* argu
}
arg->n = FORWARD;
+ arg->data = (void*) input;
sc_search(session, arg, NULL, 0);
g_free(arg);
diff --git a/zathura/completion.c b/zathura/completion.c
index 0081f22..cf16942 100644
--- a/zathura/completion.c
+++ b/zathura/completion.c
@@ -39,6 +39,8 @@ list_files(zathura_t* zathura, const char* current_path, const char* current_fil
return NULL;
}
+ girara_debug("checking files in %s", current_path);
+
/* read directory */
GDir* dir = g_dir_open(current_path, 0, NULL);
if (dir == NULL) {
@@ -54,8 +56,8 @@ list_files(zathura_t* zathura, const char* current_path, const char* current_fil
girara_setting_get(zathura->ui.session, "show-directories", &show_directories);
/* read files */
- char* name = NULL;
- while ((name = (char*) g_dir_read_name(dir)) != NULL) {
+ const char* name = NULL;
+ while ((name = g_dir_read_name(dir)) != NULL) {
char* e_name = g_filename_display_name(name);
if (e_name == NULL) {
goto error_free;
@@ -79,20 +81,23 @@ list_files(zathura_t* zathura, const char* current_path, const char* current_fil
};
char* full_path = g_strdup_printf("%s%s%s", current_path, tmp, e_name);
+ g_free(e_name);
if (g_file_test(full_path, G_FILE_TEST_IS_DIR) == true) {
if (show_directories == false) {
- g_free(e_name);
+ girara_debug("ignoring %s (directory)", full_path);
g_free(full_path);
continue;
}
+ girara_debug("adding %s (directory)", full_path);
girara_list_append(res, full_path);
} else if (check_file_ext == false || file_valid_extension(zathura, full_path) == true) {
+ girara_debug("adding %s (file)", full_path);
girara_list_append(res, full_path);
} else {
+ girara_debug("ignoring %s (file)", full_path);
g_free(full_path);
}
- g_free(e_name);
}
g_dir_close(dir);
@@ -100,6 +105,7 @@ list_files(zathura_t* zathura, const char* current_path, const char* current_fil
if (girara_list_size(res) == 1) {
char* path = girara_list_nth(res, 0);
if (g_file_test(path, G_FILE_TEST_IS_DIR) == true) {
+ girara_debug("changing to directory %s", path);
char* newpath = g_strdup_printf("%s/", path);
girara_list_clear(res);
girara_list_append(res, newpath);
@@ -109,6 +115,7 @@ list_files(zathura_t* zathura, const char* current_path, const char* current_fil
return res;
error_free:
+ g_dir_close(dir);
girara_list_free(res);
return NULL;
}
@@ -139,21 +146,16 @@ list_files_for_cc(zathura_t* zathura, const char* input, bool check_file_ext, in
/* If the path does not begin with a slash we update the path with the current
* working directory */
if (strlen(path) == 0 || path[0] != '/') {
- long path_max;
-#ifdef PATH_MAX
- path_max = PATH_MAX;
-#else
- path_max = pathconf(path,_PC_PATH_MAX);
- if (path_max <= 0)
- path_max = 4096;
-#endif
-
- char cwd[path_max];
- if (getcwd(cwd, path_max) == NULL) {
+ char* cwd = g_get_current_dir();
+ if (cwd == NULL) {
goto error_free;
}
char* tmp_path = g_strdup_printf("%s/%s", cwd, path);
+ g_free(cwd);
+ if (tmp_path == NULL) {
+ goto error_free;
+ }
g_free(path);
path = tmp_path;
@@ -161,7 +163,7 @@ list_files_for_cc(zathura_t* zathura, const char* input, bool check_file_ext, in
/* Append a slash if the given argument is a directory */
bool is_dir = (path[strlen(path) - 1] == '/') ? true : false;
- if ((g_file_test(path, G_FILE_TEST_IS_DIR) == TRUE) && !is_dir) {
+ if ((g_file_test(path, G_FILE_TEST_IS_DIR) == TRUE) && is_dir == false) {
char* tmp_path = g_strdup_printf("%s/", path);
g_free(path);
path = tmp_path;
@@ -169,12 +171,10 @@ list_files_for_cc(zathura_t* zathura, const char* input, bool check_file_ext, in
}
/* get current path */
- char* tmp = g_strdup(path);
- current_path = is_dir ? g_strdup(tmp) : g_strdup(dirname(tmp));
- g_free(tmp);
+ current_path = is_dir ? g_strdup(path) : g_path_get_dirname(path);
/* get current file */
- gchar* current_file = is_dir ? "" : basename(path);
+ gchar* current_file = is_dir ? "" : basename(path);
const size_t current_file_length = strlen(current_file);
/* read directory */
@@ -191,17 +191,15 @@ list_files_for_cc(zathura_t* zathura, const char* input, bool check_file_ext, in
}
if (show_recent > 0 && zathura->database != NULL) {
- girara_list_t* recent_files = zathura_db_get_recent_files(zathura->database, show_recent);
+ girara_list_t* recent_files = zathura_db_get_recent_files(zathura->database, show_recent, path);
if (recent_files == NULL) {
goto error_free;
}
if (girara_list_size(recent_files) != 0) {
- const size_t path_len = strlen(path);
GIRARA_LIST_FOREACH(recent_files, const char*, iter, file)
- if (strncmp(path, file, path_len) == 0) {
- girara_completion_group_add_element(history_group, file, NULL);
- }
+ girara_debug("adding %s (recent file)", file);
+ girara_completion_group_add_element(history_group, file, NULL);
GIRARA_LIST_FOREACH_END(recent_files, const char*, iter, file);
girara_list_free(recent_files);
} else {
@@ -294,11 +292,11 @@ cc_bookmarks(girara_session_t* session, const char* input)
error_free:
- if (completion) {
+ if (completion != NULL) {
girara_completion_free(completion);
}
- if (group) {
+ if (group != NULL) {
girara_completion_group_free(group);
}
diff --git a/zathura/config.c b/zathura/config.c
index f0037ec..d3fe43a 100644
--- a/zathura/config.c
+++ b/zathura/config.c
@@ -85,7 +85,8 @@ cb_nohlsearch_changed(girara_session_t* session, const char* UNUSED(name),
g_return_if_fail(session->global.data != NULL);
zathura_t* zathura = session->global.data;
- document_draw_search_results(zathura, !(*(bool*) value));
+ bool* bvalue = value;
+ document_draw_search_results(zathura, !*bvalue);
render_all(zathura);
}
@@ -142,6 +143,7 @@ config_load_default(zathura_t* zathura)
/* zathura settings */
girara_setting_add(gsession, "database", "plain", STRING, true, _("Database backend"), NULL, NULL);
+ girara_setting_add(gsession, "filemonitor", "glib", STRING, true, _("File monitor backend"), NULL, NULL);
int_value = 10;
girara_setting_add(gsession, "zoom-step", &int_value, INT, false, _("Zoom step"), NULL, NULL);
int_value = 1;
@@ -197,6 +199,8 @@ config_load_default(zathura_t* zathura)
girara_setting_add(gsession, "advance-pages-per-row", &bool_value, BOOLEAN, false, _("Advance number of pages per row"), NULL, NULL);
bool_value = false;
girara_setting_add(gsession, "zoom-center", &bool_value, BOOLEAN, false, _("Horizontally centered zoom"), NULL, NULL);
+ bool_value = false;
+ girara_setting_add(gsession, "vertical-center", &bool_value, BOOLEAN, false, _("Vertically center pages"), NULL, NULL);
bool_value = true;
girara_setting_add(gsession, "link-hadjust", &bool_value, BOOLEAN, false, _("Align link target to the left"), NULL, NULL);
bool_value = true;
@@ -239,6 +243,8 @@ config_load_default(zathura_t* zathura)
girara_setting_add(gsession, "synctex-editor-command", string_value, STRING, false, _("Synctex editor command"), NULL, NULL);
bool_value = true;
girara_setting_add(gsession, "dbus-service", &bool_value, BOOLEAN, false, _("Enable D-Bus service"), NULL, NULL);
+ bool_value = false;
+ girara_setting_add(gsession, "continuous-hist-save", &bool_value, BOOLEAN, false, _("Save history at each page change"), NULL, NULL);
string_value = "primary";
girara_setting_add(gsession, "selection-clipboard", string_value, STRING, false, _("The clipboard into which mouse-selected data will be written"), NULL, NULL);
bool_value = true;
@@ -373,8 +379,7 @@ config_load_default(zathura_t* zathura)
DEFAULT_MOUSE_EVENTS(FULLSCREEN)
/* Index mode */
- girara_shortcut_add(gsession, 0, GDK_KEY_Tab, NULL, sc_toggle_index, INDEX, 0, NULL);
-
+ girara_shortcut_add(gsession, 0, GDK_KEY_Tab, NULL, sc_toggle_index, INDEX, 0, NULL);
girara_shortcut_add(gsession, 0, GDK_KEY_k, NULL, sc_navigate_index, INDEX, UP, NULL);
girara_shortcut_add(gsession, 0, GDK_KEY_j, NULL, sc_navigate_index, INDEX, DOWN, NULL);
girara_shortcut_add(gsession, 0, GDK_KEY_h, NULL, sc_navigate_index, INDEX, COLLAPSE, NULL);
@@ -457,33 +462,32 @@ config_load_default(zathura_t* zathura)
girara_special_command_add(gsession, '?', cmd_search, INCREMENTAL_SEARCH, BACKWARD, NULL);
/* add shortcut mappings */
- girara_shortcut_mapping_add(gsession, "abort", sc_abort);
- girara_shortcut_mapping_add(gsession, "adjust_window", sc_adjust_window);
- girara_shortcut_mapping_add(gsession, "change_mode", sc_change_mode);
- girara_shortcut_mapping_add(gsession, "display_link", sc_display_link);
- girara_shortcut_mapping_add(gsession, "focus_inputbar", sc_focus_inputbar);
- girara_shortcut_mapping_add(gsession, "follow", sc_follow);
- girara_shortcut_mapping_add(gsession, "goto", sc_goto);
- girara_shortcut_mapping_add(gsession, "jumplist", sc_jumplist);
- girara_shortcut_mapping_add(gsession, "bisect", sc_bisect);
- girara_shortcut_mapping_add(gsession, "mark_add", sc_mark_add);
- girara_shortcut_mapping_add(gsession, "mark_evaluate", sc_mark_evaluate);
- girara_shortcut_mapping_add(gsession, "navigate", sc_navigate);
- girara_shortcut_mapping_add(gsession, "navigate_index", sc_navigate_index);
- girara_shortcut_mapping_add(gsession, "print", sc_print);
- girara_shortcut_mapping_add(gsession, "quit", sc_quit);
- girara_shortcut_mapping_add(gsession, "recolor", sc_recolor);
- girara_shortcut_mapping_add(gsession, "reload", sc_reload);
- girara_shortcut_mapping_add(gsession, "rotate", sc_rotate);
- girara_shortcut_mapping_add(gsession, "scroll", sc_scroll);
- girara_shortcut_mapping_add(gsession, "search", sc_search);
- girara_shortcut_mapping_add(gsession, "toggle_fullscreen", sc_toggle_fullscreen);
+ girara_shortcut_mapping_add(gsession, "abort", sc_abort);
+ girara_shortcut_mapping_add(gsession, "adjust_window", sc_adjust_window);
+ girara_shortcut_mapping_add(gsession, "bisect", sc_bisect);
+ girara_shortcut_mapping_add(gsession, "change_mode", sc_change_mode);
+ girara_shortcut_mapping_add(gsession, "display_link", sc_display_link);
+ girara_shortcut_mapping_add(gsession, "exec", sc_exec);
+ girara_shortcut_mapping_add(gsession, "focus_inputbar", sc_focus_inputbar);
+ girara_shortcut_mapping_add(gsession, "follow", sc_follow);
+ girara_shortcut_mapping_add(gsession, "goto", sc_goto);
+ girara_shortcut_mapping_add(gsession, "jumplist", sc_jumplist);
+ girara_shortcut_mapping_add(gsession, "mark_add", sc_mark_add);
+ girara_shortcut_mapping_add(gsession, "mark_evaluate", sc_mark_evaluate);
+ girara_shortcut_mapping_add(gsession, "navigate", sc_navigate);
+ girara_shortcut_mapping_add(gsession, "navigate_index", sc_navigate_index);
+ girara_shortcut_mapping_add(gsession, "print", sc_print);
+ girara_shortcut_mapping_add(gsession, "quit", sc_quit);
+ girara_shortcut_mapping_add(gsession, "recolor", sc_recolor);
+ girara_shortcut_mapping_add(gsession, "reload", sc_reload);
+ girara_shortcut_mapping_add(gsession, "rotate", sc_rotate);
+ girara_shortcut_mapping_add(gsession, "scroll", sc_scroll);
+ girara_shortcut_mapping_add(gsession, "search", sc_search);
+ girara_shortcut_mapping_add(gsession, "toggle_fullscreen", sc_toggle_fullscreen);
+ girara_shortcut_mapping_add(gsession, "toggle_index", sc_toggle_index);
+ girara_shortcut_mapping_add(gsession, "toggle_page_mode", sc_toggle_page_mode);
girara_shortcut_mapping_add(gsession, "toggle_presentation", sc_toggle_presentation);
- girara_shortcut_mapping_add(gsession, "toggle_index", sc_toggle_index);
- girara_shortcut_mapping_add(gsession, "toggle_inputbar", girara_sc_toggle_inputbar);
- girara_shortcut_mapping_add(gsession, "toggle_page_mode", sc_toggle_page_mode);
- girara_shortcut_mapping_add(gsession, "toggle_statusbar", girara_sc_toggle_statusbar);
- girara_shortcut_mapping_add(gsession, "zoom", sc_zoom);
+ girara_shortcut_mapping_add(gsession, "zoom", sc_zoom);
/* add argument mappings */
girara_argument_mapping_add(gsession, "backward", BACKWARD);
diff --git a/zathura/css-definitions.h b/zathura/css-definitions.h
deleted file mode 100644
index 5e31db3..0000000
--- a/zathura/css-definitions.h
+++ /dev/null
@@ -1,8 +0,0 @@
-/* See LICENSE file for license and copyright information */
-
-#ifndef GIRARA_CSS_DEFINITIONS_H
-#define GIRARA_CSS_DEFINITIONS_H
-
-extern const char* CSS_TEMPLATE_INDEX;
-
-#endif
diff --git a/zathura/database-plain.c b/zathura/database-plain.c
index 22e4636..6c933fd 100644
--- a/zathura/database-plain.c
+++ b/zathura/database-plain.c
@@ -63,7 +63,7 @@ static bool plain_get_fileinfo(zathura_database_t* db, const char* fil
static void plain_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec);
static void plain_io_append(GiraraInputHistoryIO* db, const char*);
static girara_list_t* plain_io_read(GiraraInputHistoryIO* db);
-static girara_list_t* plain_get_recent_files(zathura_database_t* db, int max);
+static girara_list_t* plain_get_recent_files(zathura_database_t* db, int max, const char* basepath);
/* forward declaration */
static bool zathura_db_check_file(const char* path);
@@ -246,10 +246,7 @@ error_free:
g_free(priv->bookmark_path);
priv->bookmark_path = NULL;
- if (priv->bookmark_monitor != NULL) {
- g_object_unref(priv->bookmark_monitor);
- priv->bookmark_monitor = NULL;
- }
+ g_clear_object(&priv->bookmark_monitor);
if (priv->bookmarks != NULL) {
g_key_file_free(priv->bookmarks);
@@ -260,10 +257,7 @@ error_free:
g_free(priv->history_path);
priv->history_path = NULL;
- if (priv->history_monitor != NULL) {
- g_object_unref(priv->history_monitor);
- priv->history_monitor = NULL;
- }
+ g_clear_object(&priv->history_monitor);
if (priv->history != NULL) {
g_key_file_free(priv->history);
@@ -858,7 +852,7 @@ compare_time(const void* l, const void* r, void* data)
}
static girara_list_t*
-plain_get_recent_files(zathura_database_t* db, int max)
+plain_get_recent_files(zathura_database_t* db, int max, const char* basepath)
{
zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db);
@@ -874,12 +868,15 @@ plain_get_recent_files(zathura_database_t* db, int max)
g_qsort_with_data(groups, groups_size, sizeof(gchar*), compare_time, priv->history);
}
- if (max >= 0 && (gsize) max < groups_size) {
- groups_size = max;
- }
+ const size_t basepath_len = basepath != NULL ? strlen(basepath) : 0;
+
+ for (gsize s = 0; s != groups_size && max != 0; ++s) {
+ if (basepath != NULL && strncmp(groups[s], basepath, basepath_len) != 0) {
+ continue;
+ }
- for (gsize s = 0; s != groups_size; ++s) {
girara_list_append(result, g_strdup(groups[s]));
+ --max;
}
g_strfreev(groups);
diff --git a/zathura/database-plain.h b/zathura/database-plain.h
index a2f290e..a03f6ee 100644
--- a/zathura/database-plain.h
+++ b/zathura/database-plain.h
@@ -31,7 +31,7 @@ struct _ZathuraPlainDatabaseClass
GObjectClass parent_class;
};
-GType zathura_plaindatabase_get_type(void);
+GType zathura_plaindatabase_get_type(void) G_GNUC_CONST;
/**
* Initialize database system.
*
diff --git a/zathura/database-sqlite.c b/zathura/database-sqlite.c
index bf219d4..4d1b146 100644
--- a/zathura/database-sqlite.c
+++ b/zathura/database-sqlite.c
@@ -30,7 +30,7 @@ static bool sqlite_get_fileinfo(zathura_database_t* db, const char* fi
static void sqlite_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec);
static void sqlite_io_append(GiraraInputHistoryIO* db, const char*);
static girara_list_t* sqlite_io_read(GiraraInputHistoryIO* db);
-static girara_list_t* sqlite_get_recent_files(zathura_database_t* db, int max);
+static girara_list_t* sqlite_get_recent_files(zathura_database_t* db, int max, const char* basepath);
typedef struct zathura_sqldatabase_private_s {
sqlite3* session;
@@ -761,13 +761,15 @@ sqlite_io_read(GiraraInputHistoryIO* db)
}
static girara_list_t*
-sqlite_get_recent_files(zathura_database_t* db, int max)
+sqlite_get_recent_files(zathura_database_t* db, int max, const char* basepath)
{
static const char SQL_HISTORY_GET[] =
"SELECT file FROM fileinfo ORDER BY time DESC LIMIT ?";
+ static const char SQL_HISTORY_GET_WITH_BASEPATH[] =
+ "SELECT file FROM fileinfo WHERE file LIKE ? || '%' ORDER BY time DESC LIMIT ?";
zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db);
- sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_HISTORY_GET);
+ sqlite3_stmt* stmt = prepare_statement(priv->session, basepath == NULL ? SQL_HISTORY_GET : SQL_HISTORY_GET_WITH_BASEPATH);
if (stmt == NULL) {
return NULL;
}
@@ -776,7 +778,14 @@ sqlite_get_recent_files(zathura_database_t* db, int max)
max = INT_MAX;
}
- if (sqlite3_bind_int(stmt, 1, max) != SQLITE_OK) {
+ bool failed = false;
+ if (basepath != NULL) {
+ failed = sqlite3_bind_int(stmt, 2, max) != SQLITE_OK || sqlite3_bind_text(stmt, 1, basepath, -1, NULL) != SQLITE_OK;
+ } else {
+ failed = sqlite3_bind_int(stmt, 1, max) != SQLITE_OK;
+ }
+
+ if (failed == true) {
sqlite3_finalize(stmt);
girara_error("Failed to bind arguments.");
return false;
diff --git a/zathura/database-sqlite.h b/zathura/database-sqlite.h
index 19c9fc3..88f8022 100644
--- a/zathura/database-sqlite.h
+++ b/zathura/database-sqlite.h
@@ -31,7 +31,7 @@ struct _ZathuraSQLDatabaseClass
GObjectClass parent_class;
};
-GType zathura_sqldatabase_get_type(void);
+GType zathura_sqldatabase_get_type(void) G_GNUC_CONST;
/**
* Initialize database system.
diff --git a/zathura/database.c b/zathura/database.c
index d67b507..4b52e95 100644
--- a/zathura/database.c
+++ b/zathura/database.c
@@ -70,9 +70,9 @@ zathura_db_get_fileinfo(zathura_database_t* db, const char* file,
}
girara_list_t*
-zathura_db_get_recent_files(zathura_database_t* db, int max)
+zathura_db_get_recent_files(zathura_database_t* db, int max, const char* basepath)
{
g_return_val_if_fail(ZATHURA_IS_DATABASE(db), NULL);
- return ZATHURA_DATABASE_GET_INTERFACE(db)->get_recent_files(db, max);
+ return ZATHURA_DATABASE_GET_INTERFACE(db)->get_recent_files(db, max, basepath);
}
diff --git a/zathura/database.h b/zathura/database.h
index 8a5140b..7c76407 100644
--- a/zathura/database.h
+++ b/zathura/database.h
@@ -36,7 +36,7 @@ struct _ZathuraDatabaseInterface
{
GTypeInterface parent_iface;
- /* interface methords */
+ /* interface methods */
bool (*add_bookmark)(ZathuraDatabase* db, const char* file, zathura_bookmark_t* bookmark);
bool (*remove_bookmark)(ZathuraDatabase* db, const char* file, const char* id);
@@ -51,10 +51,10 @@ struct _ZathuraDatabaseInterface
bool (*get_fileinfo)(ZathuraDatabase* db, const char* file, zathura_fileinfo_t* file_info);
- girara_list_t* (*get_recent_files)(ZathuraDatabase* db, int max);
+ girara_list_t* (*get_recent_files)(ZathuraDatabase* db, int max, const char* basepath);
};
-GType zathura_database_get_type(void);
+GType zathura_database_get_type(void) G_GNUC_CONST;
/**
* Add or update bookmark in the database.
@@ -138,7 +138,7 @@ bool zathura_db_get_fileinfo(zathura_database_t* db, const char* file,
* limit is applied.
* @return list of files
*/
-girara_list_t* zathura_db_get_recent_files(zathura_database_t* db, int max);
+girara_list_t* zathura_db_get_recent_files(zathura_database_t* db, int max, const char* basepath);
#endif // DATABASE_H
diff --git a/zathura/dbus-interface-definitions.h b/zathura/dbus-interface-definitions.h
deleted file mode 100644
index 9ebef64..0000000
--- a/zathura/dbus-interface-definitions.h
+++ /dev/null
@@ -1,8 +0,0 @@
-/* See LICENSE file for license and copyright information */
-
-#ifndef ZATHURA_DBUS_INTERFACE_DEFINITIONS
-#define ZATHURA_DBUS_INTERFACE_DEFINITIONS
-
-const char* DBUS_INTERFACE_XML;
-
-#endif
diff --git a/zathura/dbus-interface.c b/zathura/dbus-interface.c
index 2dd95ec..0948117 100644
--- a/zathura/dbus-interface.c
+++ b/zathura/dbus-interface.c
@@ -1,13 +1,13 @@
/* See LICENSE file for license and copyright information */
#include "dbus-interface.h"
-#include "dbus-interface-definitions.h"
#include "synctex.h"
#include "macros.h"
#include "zathura.h"
#include "document.h"
#include "utils.h"
#include "adjustment.h"
+#include "resources.h"
#include
#include
@@ -17,6 +17,19 @@
#include
#include
+static const char DBUS_XML_FILENAME[] = "/org/pwmt/zathura/DBus/org.pwmt.zathura.xml";
+
+static GBytes* load_xml_data(void)
+{
+ GResource* resource = zathura_resources_get_resource();
+ if (resource != NULL) {
+ return g_resource_lookup_data(resource, DBUS_XML_FILENAME,
+ G_RESOURCE_LOOKUP_FLAGS_NONE, NULL);
+ }
+
+ return NULL;
+}
+
G_DEFINE_TYPE(ZathuraDbus, zathura_dbus, G_TYPE_OBJECT)
/* template for bus name */
@@ -144,9 +157,18 @@ zathura_dbus_new(zathura_t* zathura)
private_t* priv = GET_PRIVATE(dbus);
priv->zathura = zathura;
+ GBytes* xml_data = load_xml_data();
+ if (xml_data == NULL)
+ {
+ girara_warning("Failed to load introspection data.");
+ g_object_unref(obj);
+ return NULL;
+ }
+
GError* error = NULL;
- priv->introspection_data = g_dbus_node_info_new_for_xml(DBUS_INTERFACE_XML,
- &error);
+ priv->introspection_data = g_dbus_node_info_new_for_xml((const char*) g_bytes_get_data(xml_data, NULL), &error);
+ g_bytes_unref(xml_data);
+
if (priv->introspection_data == NULL) {
girara_warning("Failed to parse introspection data: %s", error->message);
g_error_free(error);
diff --git a/zathura/dbus-interface.h b/zathura/dbus-interface.h
index b2d240c..83d8f4f 100644
--- a/zathura/dbus-interface.h
+++ b/zathura/dbus-interface.h
@@ -37,7 +37,7 @@ struct zathura_dbus_class_s
(G_TYPE_INSTANCE_GET_CLASS((obj), ZATHURA_TYPE_DBUS, \
ZathuraDbusClass))
-GType zathura_dbus_get_type(void);
+GType zathura_dbus_get_type(void) G_GNUC_CONST;
ZathuraDbus* zathura_dbus_new(zathura_t* zathura);
diff --git a/zathura/document.c b/zathura/document.c
index d094e2e..cddb00d 100644
--- a/zathura/document.c
+++ b/zathura/document.c
@@ -119,8 +119,7 @@ zathura_document_open(zathura_t* zathura, const char* path, const char* uri,
document->uri = g_strdup(uri);
if (document->uri == NULL) {
document->basename = g_file_get_basename(file);
- }
- else {
+ } else {
GFile *gf = g_file_new_for_uri(document->uri);
document->basename = g_file_get_basename(gf);
g_object_unref(gf);
@@ -422,16 +421,15 @@ zathura_document_set_rotation(zathura_document_t* document, unsigned int rotatio
return;
}
- document->rotate = rotation % 360;
-
- if (document->rotate > 0 && document->rotate <= 90) {
- document->rotate = 90;
- } else if (document->rotate > 0 && document->rotate <= 180) {
- document->rotate = 180;
- } else if (document->rotate > 0 && document->rotate <= 270) {
- document->rotate = 270;
- } else {
+ rotation = rotation % 360;
+ if (rotation == 0 || rotation > 270) {
document->rotate = 0;
+ } else if (rotation <= 90) {
+ document->rotate = 90;
+ } else if (rotation <= 180) {
+ document->rotate = 180;
+ } else {
+ document->rotate = 270;
}
}
diff --git a/zathura/file-monitor-glib.c b/zathura/file-monitor-glib.c
new file mode 100644
index 0000000..418d504
--- /dev/null
+++ b/zathura/file-monitor-glib.c
@@ -0,0 +1,107 @@
+/* See LICENSE file for license and copyright information */
+
+#include "file-monitor-glib.h"
+#include "macros.h"
+
+#include
+#include
+
+struct zathura_glibfilemonitor_s
+{
+ ZathuraFileMonitor parent;
+ GFileMonitor* monitor; /**< File monitor */
+ GFile* file; /**< File for file monitor */
+};
+
+G_DEFINE_TYPE(ZathuraGLibFileMonitor, zathura_glibfilemonitor,
+ ZATHURA_TYPE_FILEMONITOR)
+
+static void
+file_changed(GFileMonitor* UNUSED(monitor), GFile* file,
+ GFile* UNUSED(other_file), GFileMonitorEvent event,
+ ZathuraGLibFileMonitor* file_monitor)
+{
+ switch (event) {
+ case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT:
+ case G_FILE_MONITOR_EVENT_CREATED: {
+ char* uri = g_file_get_uri(file);
+ girara_debug("received file-monitor event for %s", uri);
+ g_free(uri);
+
+ g_signal_emit_by_name(file_monitor, "reload-file");
+ break;
+ }
+ default:
+ return;
+ }
+}
+
+static void
+start(ZathuraFileMonitor* file_monitor)
+{
+ ZathuraGLibFileMonitor* glib_file_monitor =
+ ZATHURA_GLIBFILEMONITOR(file_monitor);
+
+ const char* file_path =
+ zathura_filemonitor_get_filepath(file_monitor);
+
+ /* install file monitor */
+ glib_file_monitor->file = g_file_new_for_path(file_path);
+ if (glib_file_monitor->file == NULL) {
+ return;
+ }
+
+ glib_file_monitor->monitor = g_file_monitor_file(
+ glib_file_monitor->file, G_FILE_MONITOR_NONE, NULL, NULL);
+ if (glib_file_monitor->monitor != NULL) {
+ g_signal_connect_object(G_OBJECT(glib_file_monitor->monitor), "changed",
+ G_CALLBACK(file_changed), glib_file_monitor, 0);
+ }
+}
+
+static void
+stop(ZathuraFileMonitor* file_monitor)
+{
+ ZathuraGLibFileMonitor* glib_file_monitor =
+ ZATHURA_GLIBFILEMONITOR(file_monitor);
+
+ if (glib_file_monitor->monitor != NULL) {
+ g_file_monitor_cancel(glib_file_monitor->monitor);
+ }
+
+ g_clear_object(&glib_file_monitor->monitor);
+ g_clear_object(&glib_file_monitor->file);
+}
+
+static void
+dispose(GObject* object)
+{
+ stop(ZATHURA_FILEMONITOR(object));
+
+ G_OBJECT_CLASS(zathura_glibfilemonitor_parent_class)->dispose(object);
+}
+
+static void
+finalize(GObject* object)
+{
+ G_OBJECT_CLASS(zathura_glibfilemonitor_parent_class)->finalize(object);
+}
+
+static void
+zathura_glibfilemonitor_class_init(ZathuraGLibFileMonitorClass* class)
+{
+ ZathuraFileMonitorClass* filemonitor_class = ZATHURA_FILEMONITOR_CLASS(class);
+ filemonitor_class->start = start;
+ filemonitor_class->stop = stop;
+
+ GObjectClass* object_class = G_OBJECT_CLASS(class);
+ object_class->dispose = dispose;
+ object_class->finalize = finalize;
+}
+
+static void
+zathura_glibfilemonitor_init(ZathuraGLibFileMonitor* glibfilemonitor)
+{
+ glibfilemonitor->monitor = NULL;
+ glibfilemonitor->file = NULL;
+}
diff --git a/zathura/file-monitor-glib.h b/zathura/file-monitor-glib.h
new file mode 100644
index 0000000..f0d41b4
--- /dev/null
+++ b/zathura/file-monitor-glib.h
@@ -0,0 +1,33 @@
+/* See LICENSE file for license and copyright information */
+
+#ifndef FILEMONITOR_GLIB_H
+#define FILEMONITOR_GLIB_H
+
+#include "file-monitor.h"
+
+#define ZATHURA_TYPE_GLIBFILEMONITOR (zathura_glibfilemonitor_get_type())
+#define ZATHURA_GLIBFILEMONITOR(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST((obj), ZATHURA_TYPE_GLIBFILEMONITOR, \
+ ZathuraGLibFileMonitor))
+#define ZATHURA_GLIBFILEMONITOR_CLASS(obj) \
+ (G_TYPE_CHECK_CLASS_CAST((obj), ZATHURA_TYPE_GLIBFILEMONITOR, \
+ ZathuraGLibFileMonitorClass))
+#define ZATHURA_IS_GLIBFILEMONITOR(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE((obj), ZATHURA_TYPE_GLIBFILEMONITOR))
+#define ZATHURA_IS_GLIBFILEMONITOR_CLASS(obj) \
+ (G_TYPE_CHECK_CLASS_TYPE((obj), ZATHURA_TYPE_GLIBFILEMONITOR))
+#define ZATHURA_GLIBFILEMONITOR_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS((obj), ZATHURA_TYPE_GLIBFILEMONITOR, \
+ ZathuraGLibFileMonitorClass))
+
+typedef struct zathura_glibfilemonitor_s ZathuraGLibFileMonitor;
+typedef struct zathura_glibfilemonitor_class_s ZathuraGLibFileMonitorClass;
+
+struct zathura_glibfilemonitor_class_s
+{
+ ZathuraFileMonitorClass parent_class;
+};
+
+GType zathura_glibfilemonitor_get_type(void) G_GNUC_CONST;
+
+#endif
diff --git a/zathura/file-monitor-signal.c b/zathura/file-monitor-signal.c
new file mode 100644
index 0000000..a00d035
--- /dev/null
+++ b/zathura/file-monitor-signal.c
@@ -0,0 +1,82 @@
+/* See LICENSE file for license and copyright information */
+
+#include "file-monitor-signal.h"
+
+#include
+#ifdef G_OS_UNIX
+#include
+#endif
+
+struct zathura_signalfilemonitor_s
+{
+ ZathuraFileMonitor parent;
+ gint handle;
+};
+
+G_DEFINE_TYPE(ZathuraSignalFileMonitor, zathura_signalfilemonitor,
+ ZATHURA_TYPE_FILEMONITOR)
+
+static gboolean
+signal_handler(gpointer data)
+{
+ if (data == NULL) {
+ return TRUE;
+ }
+
+ ZathuraSignalFileMonitor* signalfilemonitor = data;
+
+ girara_debug("SIGHUP received");
+ g_signal_emit_by_name(signalfilemonitor, "reload-file");
+
+ return TRUE;
+}
+
+static void
+start(ZathuraFileMonitor* file_monitor)
+{
+#ifdef G_OS_UNIX
+ ZathuraSignalFileMonitor* signal_file_monitor =
+ ZATHURA_SIGNALFILEMONITOR(file_monitor);
+
+ signal_file_monitor->handle =
+ g_unix_signal_add(SIGHUP, signal_handler, signal_file_monitor);
+#endif
+}
+
+static void
+stop(ZathuraFileMonitor* file_monitor)
+{
+#ifdef G_OS_UNIX
+ ZathuraSignalFileMonitor* signal_file_monitor =
+ ZATHURA_SIGNALFILEMONITOR(file_monitor);
+
+ if (signal_file_monitor->handle > 0) {
+ g_source_remove(signal_file_monitor->handle);
+ }
+#endif
+}
+
+static void
+zathura_signalfilemonitor_finalize(GObject* object)
+{
+ stop(ZATHURA_FILEMONITOR(object));
+
+ G_OBJECT_CLASS(zathura_signalfilemonitor_parent_class)->finalize(object);
+}
+
+static void
+zathura_signalfilemonitor_class_init(ZathuraSignalFileMonitorClass* class)
+{
+ ZathuraFileMonitorClass* filemonitor_class = ZATHURA_FILEMONITOR_CLASS(class);
+ filemonitor_class->start = start;
+ filemonitor_class->stop = stop;
+
+ GObjectClass* object_class = G_OBJECT_CLASS(class);
+ object_class->finalize = zathura_signalfilemonitor_finalize;
+}
+
+static void
+zathura_signalfilemonitor_init(ZathuraSignalFileMonitor* signalfilemonitor)
+{
+ signalfilemonitor->handle = 0;
+}
diff --git a/zathura/file-monitor-signal.h b/zathura/file-monitor-signal.h
new file mode 100644
index 0000000..8548158
--- /dev/null
+++ b/zathura/file-monitor-signal.h
@@ -0,0 +1,33 @@
+/* See LICENSE file for license and copyright information */
+
+#ifndef FILEMONITOR_SIGNAL_H
+#define FILEMONITOR_SIGNAL_H
+
+#include "file-monitor.h"
+
+#define ZATHURA_TYPE_SIGNALFILEMONITOR (zathura_signalfilemonitor_get_type())
+#define ZATHURA_SIGNALFILEMONITOR(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST((obj), ZATHURA_TYPE_SIGNALFILEMONITOR, \
+ ZathuraSignalFileMonitor))
+#define ZATHURA_SIGNALFILEMONITOR_CLASS(obj) \
+ (G_TYPE_CHECK_CLASS_CAST((obj), ZATHURA_TYPE_SIGNALFILEMONITOR, \
+ ZathuraSignalFileMonitorClass))
+#define ZATHURA_IS_SIGNALFILEMONITOR(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE((obj), ZATHURA_TYPE_SIGNALFILEMONITOR))
+#define ZATHURA_IS_SIGNALFILEMONITOR_CLASS(obj) \
+ (G_TYPE_CHECK_CLASS_TYPE((obj), ZATHURA_TYPE_SIGNALFILEMONITOR))
+#define ZATHURA_SIGNALFILEMONITOR_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS((obj), ZATHURA_TYPE_SIGNALFILEMONITOR, \
+ ZathuraSignalFileMonitorClass))
+
+typedef struct zathura_signalfilemonitor_s ZathuraSignalFileMonitor;
+typedef struct zathura_signalfilemonitor_class_s ZathuraSignalFileMonitorClass;
+
+struct zathura_signalfilemonitor_class_s
+{
+ ZathuraFileMonitorClass parent_class;
+};
+
+GType zathura_signalfilemonitor_get_type(void) G_GNUC_CONST;
+
+#endif
diff --git a/zathura/file-monitor.c b/zathura/file-monitor.c
new file mode 100644
index 0000000..26a1ded
--- /dev/null
+++ b/zathura/file-monitor.c
@@ -0,0 +1,156 @@
+/* See LICENSE file for license and copyright information */
+
+#include "file-monitor.h"
+#include "file-monitor-glib.h"
+#ifdef G_OS_UNIX
+#include "file-monitor-signal.h"
+#endif
+#include "macros.h"
+
+#include
+
+G_DEFINE_TYPE(ZathuraFileMonitor, zathura_filemonitor, G_TYPE_OBJECT)
+
+typedef struct private_s {
+ char* file_path;
+} private_t;
+
+#define GET_PRIVATE(obj) \
+ (G_TYPE_INSTANCE_GET_PRIVATE((obj), ZATHURA_TYPE_FILEMONITOR, private_t))
+
+enum {
+ PROP_0,
+ PROP_FILE_PATH
+};
+
+enum {
+ RELOAD_FILE,
+ LAST_SIGNAL
+};
+
+static guint signals[LAST_SIGNAL] = { 0 };
+
+static void
+finalize(GObject* object)
+{
+ ZathuraFileMonitor* file_monitor = ZATHURA_FILEMONITOR(object);
+ private_t* private = GET_PRIVATE(file_monitor);
+
+ if (private->file_path != NULL) {
+ g_free(private->file_path);
+ }
+
+ G_OBJECT_CLASS(zathura_filemonitor_parent_class)->finalize(object);
+}
+
+static void
+set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec)
+{
+ ZathuraFileMonitor* file_monitor = ZATHURA_FILEMONITOR(object);
+ private_t* private = GET_PRIVATE(file_monitor);
+
+ switch (prop_id) {
+ case PROP_FILE_PATH:
+ if (private->file_path != NULL) {
+ g_free(private->file_path);
+ }
+ private->file_path = g_value_dup_string(value);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
+ }
+}
+
+static void
+get_property(GObject* object, guint prop_id, GValue* value, GParamSpec* pspec)
+{
+ ZathuraFileMonitor* file_monitor = ZATHURA_FILEMONITOR(object);
+ private_t* private = GET_PRIVATE(file_monitor);
+
+ switch (prop_id) {
+ case PROP_FILE_PATH:
+ g_value_set_string(value, private->file_path);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
+ }
+}
+
+static void
+zathura_filemonitor_class_init(ZathuraFileMonitorClass* class)
+{
+ /* add private members */
+ g_type_class_add_private(class, sizeof(private_t));
+
+ /* set up methods */
+ class->start = NULL;
+ class->stop = NULL;
+
+ GObjectClass* object_class = G_OBJECT_CLASS(class);
+ object_class->finalize = finalize;
+ object_class->set_property = set_property;
+ object_class->get_property = get_property;
+
+ /* add properties */
+ g_object_class_install_property(
+ object_class, PROP_FILE_PATH,
+ g_param_spec_string("file-path", "file-path", "file path to monitor", NULL,
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
+ G_PARAM_STATIC_STRINGS));
+
+ /* add signals */
+ signals[RELOAD_FILE] =
+ g_signal_new("reload-file", ZATHURA_TYPE_FILEMONITOR, G_SIGNAL_RUN_LAST, 0,
+ NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 0);
+}
+
+static void
+zathura_filemonitor_init(ZathuraFileMonitor* file_monitor)
+{
+ private_t* private = GET_PRIVATE(file_monitor);
+ private->file_path = NULL;
+}
+
+const char* zathura_filemonitor_get_filepath(ZathuraFileMonitor* filemonitor)
+{
+ private_t* private = GET_PRIVATE(filemonitor);
+
+ return private->file_path;
+}
+
+ZathuraFileMonitor*
+zathura_filemonitor_new(const char* file_path,
+ zathura_filemonitor_type_t filemonitor_type)
+{
+ g_return_val_if_fail(file_path != NULL, NULL);
+
+ GObject* ret = NULL;
+ switch (filemonitor_type) {
+ case ZATHURA_FILEMONITOR_GLIB:
+ girara_debug("using glib file monitor");
+ ret = g_object_new(ZATHURA_TYPE_GLIBFILEMONITOR, "file-path", file_path,
+ NULL);
+ break;
+#ifdef G_OS_UNIX
+ case ZATHURA_FILEMONITOR_SIGNAL:
+ girara_debug("using SIGHUB file monitor");
+ ret = g_object_new(ZATHURA_TYPE_SIGNALFILEMONITOR, "file-path", file_path,
+ NULL);
+ break;
+#endif
+ default:
+ girara_debug("invalid filemonitor type: %d", filemonitor_type);
+ g_return_val_if_fail(false, NULL);
+ }
+
+ if (ret == NULL) {
+ return NULL;
+ }
+
+ girara_debug("starting file monitor");
+ ZathuraFileMonitor* file_monitor = ZATHURA_FILEMONITOR(ret);
+ ZATHURA_FILEMONITOR_GET_CLASS(file_monitor)->start(file_monitor);
+
+ return file_monitor;
+}
+
diff --git a/zathura/file-monitor.h b/zathura/file-monitor.h
new file mode 100644
index 0000000..76a6672
--- /dev/null
+++ b/zathura/file-monitor.h
@@ -0,0 +1,79 @@
+/* See LICENSE file for license and copyright information */
+
+#ifndef FILEMONITOR_H
+#define FILEMONITOR_H
+
+#include
+#include
+#include
+
+#define ZATHURA_TYPE_FILEMONITOR (zathura_filemonitor_get_type())
+#define ZATHURA_FILEMONITOR(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST((obj), ZATHURA_TYPE_FILEMONITOR, \
+ ZathuraFileMonitor))
+#define ZATHURA_FILEMONITOR_CLASS(obj) \
+ (G_TYPE_CHECK_CLASS_CAST((obj), ZATHURA_TYPE_FILEMONITOR, \
+ ZathuraFileMonitorClass))
+#define ZATHURA_IS_FILEMONITOR(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE((obj), ZATHURA_TYPE_FILEMONITOR))
+#define ZATHURA_IS_FILEMONITOR_CLASS(obj) \
+ (G_TYPE_CHECK_CLASS_TYPE((obj), ZATHURA_TYPE_FILEMONITOR))
+#define ZATHURA_FILEMONITOR_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS((obj), ZATHURA_TYPE_FILEMONITOR, \
+ ZathuraFileMonitorClass))
+
+typedef struct zathura_filemonitor_s ZathuraFileMonitor;
+typedef struct zathura_filemonitor_class_s ZathuraFileMonitorClass;
+
+/**
+ * Base class for all file monitors.
+ *
+ * The signal 'reload-file' is emitted if the monitored file changed.
+ */
+struct zathura_filemonitor_s
+{
+ GObject parent;
+};
+
+struct zathura_filemonitor_class_s
+{
+ GObjectClass parent_class;
+
+ void (*start)(ZathuraFileMonitor*);
+ void (*stop)(ZathuraFileMonitor*);
+};
+
+/**
+ * Get the type of the filemonitor.
+ *
+ * @return the type
+ */
+GType zathura_filemonitor_get_type(void) G_GNUC_CONST;
+
+/**
+ * Type of file monitor.
+ */
+typedef enum zathura_filemonitor_type_e {
+ ZATHURA_FILEMONITOR_GLIB, /**< Use filemonitor from GLib */
+ ZATHURA_FILEMONITOR_SIGNAL /**< Reload when receiving SIGHUP */
+} zathura_filemonitor_type_t;
+
+/**
+ * Create a new file monitor.
+ *
+ * @param file_path file to monitor
+ * @param filemonitor_type type of file monitor
+ * @return new file monitor instance
+ */
+ZathuraFileMonitor*
+zathura_filemonitor_new(const char* file_path,
+ zathura_filemonitor_type_t filemonitor_type);
+
+/**
+ * Get path of the monitored file.
+ *
+ * @return path of monitored file
+ */
+const char* zathura_filemonitor_get_filepath(ZathuraFileMonitor* filemonitor);
+
+#endif
diff --git a/zathura/jumplist.c b/zathura/jumplist.c
index f7e3c57..84070c1 100644
--- a/zathura/jumplist.c
+++ b/zathura/jumplist.c
@@ -99,7 +99,7 @@ zathura_jumplist_trim(zathura_t* zathura)
--zathura->jumplist.size;
}
- if (zathura->jumplist.size == 0 || (zathura->jumplist.size != 0 && zathura->jumplist.cur != NULL)) {
+ if (zathura->jumplist.size == 0 || zathura->jumplist.cur != NULL) {
girara_list_iterator_free(cur);
} else {
zathura->jumplist.cur = cur;
diff --git a/zathura/main.c b/zathura/main.c
index 1c1439a..2355a1e 100644
--- a/zathura/main.c
+++ b/zathura/main.c
@@ -1,7 +1,8 @@
/* See LICENSE file for license and copyright information */
-#include
#include
+#include
+
#include
#include
#include
@@ -33,11 +34,11 @@ static void
set_log_level(const char* loglevel)
{
if (loglevel == NULL || g_strcmp0(loglevel, "info") == 0) {
- girara_set_debug_level(GIRARA_INFO);
+ girara_set_log_level(GIRARA_INFO);
} else if (g_strcmp0(loglevel, "warning") == 0) {
- girara_set_debug_level(GIRARA_WARNING);
+ girara_set_log_level(GIRARA_WARNING);
} else if (g_strcmp0(loglevel, "error") == 0) {
- girara_set_debug_level(GIRARA_ERROR);
+ girara_set_log_level(GIRARA_ERROR);
}
}
@@ -150,7 +151,7 @@ main(int argc, char* argv[])
{ "fork", '\0', 0, G_OPTION_ARG_NONE, &forkback, _("Fork into the background"), NULL },
{ "password", 'w', 0, G_OPTION_ARG_STRING, &password, _("Document password"), "password" },
{ "page", 'P', 0, G_OPTION_ARG_INT, &page_number, _("Page number to go to"), "number" },
- { "debug", 'l', 0, G_OPTION_ARG_STRING, &loglevel, _("Log level (debug, info, warning, error)"), "level" },
+ { "log-level", 'l', 0, G_OPTION_ARG_STRING, &loglevel, _("Log level (debug, info, warning, error)"), "level" },
{ "version", 'v', 0, G_OPTION_ARG_NONE, &print_version, _("Print version information"), NULL },
#ifdef WITH_SYNCTEX
{ "synctex-editor-command", 'x', 0, G_OPTION_ARG_STRING, &synctex_editor, _("Synctex editor (forwarded to the synctex command)"), "cmd" },
diff --git a/zathura/marks.c b/zathura/marks.c
index 5ec6bf2..73c39d2 100644
--- a/zathura/marks.c
+++ b/zathura/marks.c
@@ -127,7 +127,7 @@ cmd_marks_add(girara_session_t* session, girara_list_t* argument_list)
return false;
}
- if (strlen(key_string) < 1 || strlen(key_string) > 1) {
+ if (strlen(key_string) != 1) {
return false;
}
@@ -160,6 +160,7 @@ cmd_marks_delete(girara_session_t* session, girara_list_t* argument_list)
GIRARA_LIST_FOREACH(argument_list, char*, iter, key_string)
if (key_string == NULL) {
+ girara_list_iterator_next(iter);
continue;
}
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index ad27c27..d5e4ad6 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -114,7 +114,7 @@ zathura_page_widget_class_init(ZathuraPageClass* class)
g_type_class_add_private(class, sizeof(zathura_page_widget_private_t));
/* overwrite methods */
- GtkWidgetClass* widget_class = GTK_WIDGET_CLASS(class);
+ GtkWidgetClass* widget_class = GTK_WIDGET_CLASS(class);
widget_class->draw = zathura_page_widget_draw;
widget_class->size_allocate = zathura_page_widget_size_allocate;
widget_class->button_press_event = cb_zathura_page_widget_button_press_event;
@@ -208,11 +208,11 @@ static void
zathura_page_widget_init(ZathuraPage* widget)
{
zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget);
- priv->page = NULL;
- priv->surface = NULL;
- priv->thumbnail = NULL;
- priv->render_request = NULL;
- priv->cached = false;
+ priv->page = NULL;
+ priv->surface = NULL;
+ priv->thumbnail = NULL;
+ priv->render_request = NULL;
+ priv->cached = false;
priv->links.list = NULL;
priv->links.retrieved = false;
@@ -421,7 +421,7 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
if (priv->surface != NULL || priv->thumbnail != NULL) {
cairo_save(cairo);
- unsigned int rotation = zathura_document_get_rotation(document);
+ const unsigned int rotation = zathura_document_get_rotation(document);
switch (rotation) {
case 90:
cairo_translate(cairo, page_width, 0);
@@ -590,8 +590,9 @@ zathura_page_widget_redraw_canvas(ZathuraPage* pageview)
static bool
surface_small_enough(cairo_surface_t* surface, size_t max_size, cairo_surface_t* old)
{
- if (cairo_surface_get_type(surface) != CAIRO_SURFACE_TYPE_IMAGE)
+ if (cairo_surface_get_type(surface) != CAIRO_SURFACE_TYPE_IMAGE) {
return true;
+ }
const unsigned int width = cairo_image_surface_get_width(surface);
const unsigned int height = cairo_image_surface_get_height(surface);
@@ -779,7 +780,7 @@ cb_zathura_page_widget_button_press_event(GtkWidget* widget, GdkEventButton* but
return true;
}
- if (button->button == 1) { /* left click */
+ if (button->button == GDK_BUTTON_PRIMARY) { /* left click */
if (button->type == GDK_BUTTON_PRESS) {
/* start the selection */
priv->mouse.selection_basepoint.x = button->x;
@@ -801,7 +802,7 @@ cb_zathura_page_widget_button_press_event(GtkWidget* widget, GdkEventButton* but
}
return true;
- } else if (button->button == 3) { /* right click */
+ } else if (gdk_event_triggers_context_menu((GdkEvent*) button) == TRUE && button->type == GDK_BUTTON_PRESS) { /* right click */
zathura_page_widget_popup_menu(widget, button);
return true;
}
@@ -835,7 +836,7 @@ cb_zathura_page_widget_button_release_event(GtkWidget* widget, GdkEventButton* b
button->x = oldx;
button->y = oldy;
- if (button->button != 1) {
+ if (button->button != GDK_BUTTON_PRIMARY) {
return false;
}
@@ -862,21 +863,18 @@ cb_zathura_page_widget_button_release_event(GtkWidget* widget, GdkEventButton* b
zathura_rectangle_t tmp = priv->mouse.selection;
- double scale = zathura_document_get_scale(document);
+ const double scale = zathura_document_get_scale(document);
tmp.x1 /= scale;
tmp.x2 /= scale;
tmp.y1 /= scale;
tmp.y2 /= scale;
char* text = zathura_page_get_text(priv->page, tmp, NULL);
- if (text != NULL) {
- if (strlen(text) > 0) {
- /* emit text-selected signal */
- g_signal_emit(ZATHURA_PAGE(widget), signals[TEXT_SELECTED], 0, text);
- }
-
- g_free(text);
+ if (text != NULL && *text != '\0') {
+ /* emit text-selected signal */
+ g_signal_emit(ZATHURA_PAGE(widget), signals[TEXT_SELECTED], 0, text);
}
+ g_free(text);
}
priv->mouse.selection_basepoint.x = -1;
@@ -967,7 +965,11 @@ static void
zathura_page_widget_popup_menu(GtkWidget* widget, GdkEventButton* event)
{
g_return_if_fail(widget != NULL);
- g_return_if_fail(event != NULL);
+ if (event == NULL) {
+ /* do something here in the future in case we have general popups */
+ return;
+ }
+
zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget);
if (priv->images.retrieved == false) {
@@ -1015,16 +1017,12 @@ zathura_page_widget_popup_menu(GtkWidget* widget, GdkEventButton* event)
}
/* attach and popup */
- int event_button = 0;
- int event_time = gtk_get_current_event_time();
-
- if (event != NULL) {
- event_button = event->button;
- event_time = event->time;
- }
-
gtk_menu_attach_to_widget(GTK_MENU(menu), widget, NULL);
- gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, event_button, event_time);
+#if GTK_CHECK_VERSION(3, 22, 0)
+ gtk_menu_popup_at_pointer(GTK_MENU(menu), (GdkEvent*) event);
+#else
+ gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, event->button, event->time);
+#endif
}
static gboolean
diff --git a/zathura/page-widget.h b/zathura/page-widget.h
index d18c63f..132b868 100644
--- a/zathura/page-widget.h
+++ b/zathura/page-widget.h
@@ -25,24 +25,23 @@ struct zathura_page_widget_class_s
GtkDrawingAreaClass parent_class;
};
-#define ZATHURA_TYPE_PAGE \
- (zathura_page_widget_get_type ())
-#define ZATHURA_PAGE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST ((obj), ZATHURA_TYPE_PAGE, ZathuraPage))
-#define ZATHURA_PAGE_CLASS(obj) \
- (G_TYPE_CHECK_CLASS_CAST ((obj), ZATHURA_TYPE_PAGE, ZathuraPageClass))
-#define ZATHURA_IS_PAGE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ZATHURA_TYPE_PAGE))
-#define ZATHURA_IS_PAGE_CLASS(obj) \
- (G_TYPE_CHECK_CLASS_TYPE ((obj), ZATHURA_TYPE_PAGE))
-#define ZATHURA_PAGE_GET_CLASS \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), ZATHURA_TYPE_PAGE, ZathuraPageClass))
+#define ZATHURA_TYPE_PAGE (zathura_page_widget_get_type())
+#define ZATHURA_PAGE(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST((obj), ZATHURA_TYPE_PAGE, ZathuraPage))
+#define ZATHURA_PAGE_CLASS(obj) \
+ (G_TYPE_CHECK_CLASS_CAST((obj), ZATHURA_TYPE_PAGE, ZathuraPageClass))
+#define ZATHURA_IS_PAGE(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE((obj), ZATHURA_TYPE_PAGE))
+#define ZATHURA_IS_PAGE_CLASS(obj) \
+ (G_TYPE_CHECK_CLASS_TYPE((obj), ZATHURA_TYPE_PAGE))
+#define ZATHURA_PAGE_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS((obj), ZATHURA_TYPE_PAGE, ZathuraPageClass))
/**
* Returns the type of the page view widget.
* @return the type
*/
-GType zathura_page_widget_get_type(void);
+GType zathura_page_widget_get_type(void) G_GNUC_CONST;
/**
* Create a page view widget.
* @param zathura the zathura instance
diff --git a/zathura/plugin-api.h b/zathura/plugin-api.h
index 4043129..c372756 100644
--- a/zathura/plugin-api.h
+++ b/zathura/plugin-api.h
@@ -10,71 +10,6 @@
typedef struct zathura_plugin_functions_s zathura_plugin_functions_t;
-/**
- * Functions register function
- *
- * @param functions The functions struct
- */
-typedef void (*zathura_plugin_register_function_t)(zathura_plugin_functions_t* functions);
-
-/**
- * Sets the functions register function of the plugin
- *
- * @param plugin The plugin
- * @param register_function The register function that registers the document
- * functions
- */
-void zathura_plugin_set_register_functions_function(zathura_plugin_t* plugin,
- zathura_plugin_register_function_t register_function);
-
-/**
- * Sets the name of the plugin
- *
- * @param plugin The plugin
- * @param name The name of the plugin
- */
-void zathura_plugin_set_name(zathura_plugin_t* plugin, const char* name);
-
-/**
- * Sets the functions register function of the plugin
- *
- * @param plugin The plugin
- * @param mime_type The mime type that should be added
- */
-void zathura_plugin_add_mimetype(zathura_plugin_t* plugin, const char* mime_type);
-
-/**
- * Register a plugin.
- *
- * @param plugin_name the name of the plugin
- * @param major the plugin's major version
- * @param minor the plugin's minor version
- * @param rev the plugin's revision
- * @param register_functions function to register the plugin's document functions
- * @param mimetypes a char array of mime types supported by the plugin
- */
-#define ZATHURA_PLUGIN_REGISTER(plugin_name, major, minor, rev, register_functions, mimetypes) \
- unsigned int zathura_plugin_version_major(void) { return major; } \
- unsigned int zathura_plugin_version_minor(void) { return minor; } \
- unsigned int zathura_plugin_version_revision(void) { return rev; } \
- unsigned int zathura_plugin_api_version(void) { return ZATHURA_API_VERSION; } \
- unsigned int zathura_plugin_abi_version(void) { return ZATHURA_ABI_VERSION; } \
- \
- void zathura_plugin_register(zathura_plugin_t* plugin) \
- { \
- if (plugin == NULL) { \
- return; \
- } \
- zathura_plugin_set_register_functions_function(plugin, register_functions); \
- zathura_plugin_set_name(plugin, plugin_name); \
- static const char* mime_types[] = mimetypes; \
- for (size_t s = 0; s != sizeof(mime_types) / sizeof(const char*); ++s) { \
- zathura_plugin_add_mimetype(plugin, mime_types[s]); \
- } \
- } \
-
-#define ZATHURA_PLUGIN_MIMETYPES(...) __VA_ARGS__
-
/**
* Opens a document
*/
@@ -249,5 +184,79 @@ struct zathura_plugin_functions_s
zathura_plugin_page_render_cairo_t page_render_cairo;
};
+/**
+ * Functions register function
+ *
+ * @param functions The functions struct
+ */
+typedef void (*zathura_plugin_register_function_t)(zathura_plugin_functions_t* functions);
+
+typedef struct zathura_plugin_version_s {
+ unsigned int major; /**< Major */
+ unsigned int minor; /**< Minor */
+ unsigned int rev; /**< Revision */
+} zathura_plugin_version_t;
+
+typedef struct zathura_plugin_definition_s {
+ const char* name;
+ const zathura_plugin_version_t version;
+ const zathura_plugin_register_function_t register_function;
+ zathura_plugin_functions_t functions;
+ const size_t mime_types_size;
+ const char** mime_types;
+} zathura_plugin_definition_t;
+
+#define JOIN(x, y) JOIN2(x, y)
+#define JOIN2(x, y) x ## _ ## y
+
+#define ZATHURA_PLUGIN_DEFINITION_SYMBOL \
+ JOIN(zathura_plugin, JOIN(ZATHURA_API_VERSION, ZATHURA_ABI_VERSION))
+
+/**
+ * Register a plugin.
+ *
+ * @param plugin_name the name of the plugin
+ * @param major the plugin's major version
+ * @param minor the plugin's minor version
+ * @param rev the plugin's revision
+ * @param register_functions function to register the plugin's document functions
+ * @param mimetypes a char array of mime types supported by the plugin
+ */
+#define ZATHURA_PLUGIN_REGISTER(plugin_name, major, minor, rev, register_functions, mimetypes) \
+ static const char* zathura_plugin_mime_types[] = mimetypes; \
+ \
+ const zathura_plugin_definition_t ZATHURA_PLUGIN_DEFINITION_SYMBOL = { \
+ .name = plugin_name, \
+ .version = { major, minor, rev }, \
+ .register_function = register_functions, \
+ .mime_types_size = sizeof(zathura_plugin_mime_types) / sizeof(zathura_plugin_mime_types[0]), \
+ .mime_types = zathura_plugin_mime_types \
+ }; \
+
+/**
+ * Register a plugin.
+ *
+ * @param plugin_name the name of the plugin
+ * @param major the plugin's major version
+ * @param minor the plugin's minor version
+ * @param rev the plugin's revision
+ * @param plugin_functions function to register the plugin's document functions
+ * @param mimetypes a char array of mime types supported by the plugin
+ */
+#define ZATHURA_PLUGIN_REGISTER_WITH_FUNCTIONS(plugin_name, major, minor, rev, plugin_functions, mimetypes) \
+ static const char* zathura_plugin_mime_types[] = mimetypes; \
+ \
+ const zathura_plugin_definition_t ZATHURA_PLUGIN_DEFINITION_SYMBOL = { \
+ .name = plugin_name, \
+ .version = { major, minor, rev }, \
+ .register_function = NULL, \
+ .functions = plugin_functions, \
+ .mime_types_size = sizeof(zathura_plugin_mime_types) / sizeof(zathura_plugin_mime_types[0]), \
+ .mime_types = zathura_plugin_mime_types \
+ }; \
+
+
+#define ZATHURA_PLUGIN_MIMETYPES(...) __VA_ARGS__
+#define ZATHURA_PLUGIN_FUNCTIONS(...) __VA_ARGS__
#endif // PLUGIN_API_H
diff --git a/zathura/plugin.c b/zathura/plugin.c
index 14fdbae..076f30c 100644
--- a/zathura/plugin.c
+++ b/zathura/plugin.c
@@ -16,12 +16,10 @@
*/
struct zathura_plugin_s {
girara_list_t* content_types; /**< List of supported content types */
- zathura_plugin_register_function_t register_function; /**< Document open function */
zathura_plugin_functions_t functions; /**< Document functions */
GModule* handle; /**< DLL handle */
- char* name; /**< Name of the plugin */
char* path; /**< Path to the plugin */
- zathura_plugin_version_t version; /**< Version information */
+ const zathura_plugin_definition_t* definition;
};
/**
@@ -41,11 +39,7 @@ struct zathura_plugin_manager_s {
girara_list_t* type_plugin_mapping; /**< List of type -> plugin mappings */
};
-typedef void (*zathura_plugin_register_service_t)(zathura_plugin_t*);
-typedef unsigned int (*zathura_plugin_api_version_t)(void);
-typedef unsigned int (*zathura_plugin_abi_version_t)(void);
-typedef unsigned int (*zathura_plugin_version_function_t)(void);
-
+static void zathura_plugin_add_mimetype(zathura_plugin_t* plugin, const char* mime_type);
static bool register_plugin(zathura_plugin_manager_t* plugin_manager, zathura_plugin_t* plugin);
static bool plugin_mapping_new(zathura_plugin_manager_t* plugin_manager, const gchar* type, zathura_plugin_t* plugin);
static void zathura_plugin_free(zathura_plugin_t* plugin);
@@ -141,45 +135,29 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
}
/* resolve symbols and check API and ABI version*/
- zathura_plugin_api_version_t api_version = NULL;
- if (g_module_symbol(handle, PLUGIN_API_VERSION_FUNCTION, (gpointer*) &api_version) == FALSE ||
- api_version == NULL) {
- girara_error("could not find '%s' function in plugin %s", PLUGIN_API_VERSION_FUNCTION, path);
+ const zathura_plugin_definition_t* plugin_definition = NULL;
+ if (g_module_symbol(handle, G_STRINGIFY(ZATHURA_PLUGIN_DEFINITION_SYMBOL), (void**) &plugin_definition) == FALSE ||
+ plugin_definition == NULL) {
+ girara_error("could not find '%s' in plugin %s - is not a plugin or needs to be rebuilt", G_STRINGIFY(ZATHURA_PLUGIN_DEFINITION_SYMBOL), path);
g_free(path);
g_module_close(handle);
continue;
}
- if (api_version() != ZATHURA_API_VERSION) {
- girara_error("plugin %s has been built againt zathura with a different API version (plugin: %d, zathura: %d)",
- path, api_version(), ZATHURA_API_VERSION);
+ /* check name */
+ if (plugin_definition->name == NULL) {
+ girara_error("plugin has no name");
g_free(path);
+ g_free(plugin);
g_module_close(handle);
continue;
}
- zathura_plugin_abi_version_t abi_version = NULL;
- if (g_module_symbol(handle, PLUGIN_ABI_VERSION_FUNCTION, (gpointer*) &abi_version) == FALSE ||
- abi_version == NULL) {
- girara_error("could not find '%s' function in plugin %s", PLUGIN_ABI_VERSION_FUNCTION, path);
- g_free(path);
- g_module_close(handle);
- continue;
- }
-
- if (abi_version() != ZATHURA_ABI_VERSION) {
- girara_error("plugin %s has been built againt zathura with a different ABI version (plugin: %d, zathura: %d)",
- path, abi_version(), ZATHURA_ABI_VERSION);
- g_free(path);
- g_module_close(handle);
- continue;
- }
-
- zathura_plugin_register_service_t register_service = NULL;
- if (g_module_symbol(handle, PLUGIN_REGISTER_FUNCTION, (gpointer*) ®ister_service) == FALSE ||
- register_service == NULL) {
- girara_error("could not find '%s' function in plugin %s", PLUGIN_REGISTER_FUNCTION, path);
+ /* check mime type */
+ if (plugin_definition->mime_types == NULL || plugin_definition->mime_types_size == 0) {
+ girara_error("plugin has no mime_types");
g_free(path);
+ g_free(plugin);
g_module_close(handle);
continue;
}
@@ -192,42 +170,30 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
continue;
}
+ plugin->definition = plugin_definition;
+ plugin->functions = plugin_definition->functions;
plugin->content_types = girara_list_new2(g_free);
plugin->handle = handle;
-
- register_service(plugin);
-
- /* register functions */
- if (plugin->register_function == NULL) {
- girara_error("plugin has no document functions register function");
- g_free(path);
- g_free(plugin);
- g_module_close(handle);
- continue;
- }
-
- plugin->register_function(&(plugin->functions));
plugin->path = path;
+ // register mime types
+ for (size_t s = 0; s != plugin_definition->mime_types_size; ++s) {
+ zathura_plugin_add_mimetype(plugin, plugin_definition->mime_types[s]);
+ }
+ // register functions
+ if (plugin->definition->register_function != NULL) {
+ plugin->definition->register_function(&(plugin->functions));
+ }
+
bool ret = register_plugin(plugin_manager, plugin);
if (ret == false) {
girara_error("could not register plugin %s", path);
zathura_plugin_free(plugin);
} else {
- girara_debug("successfully loaded plugin %s", path);
-
- zathura_plugin_version_function_t plugin_major = NULL, plugin_minor = NULL, plugin_rev = NULL;
- g_module_symbol(handle, PLUGIN_VERSION_MAJOR_FUNCTION, (gpointer*) &plugin_major);
- g_module_symbol(handle, PLUGIN_VERSION_MINOR_FUNCTION, (gpointer*) &plugin_minor);
- g_module_symbol(handle, PLUGIN_VERSION_REVISION_FUNCTION, (gpointer*) &plugin_rev);
- if (plugin_major != NULL && plugin_minor != NULL && plugin_rev != NULL) {
- plugin->version.major = plugin_major();
- plugin->version.minor = plugin_minor();
- plugin->version.rev = plugin_rev();
- girara_debug("plugin '%s': version %u.%u.%u", path,
- plugin->version.major, plugin->version.minor,
- plugin->version.rev);
- }
+ girara_debug("successfully loaded plugin from %s", path);
+ girara_debug("plugin %s: version %u.%u.%u", plugin_definition->name,
+ plugin_definition->version.major, plugin_definition->version.minor,
+ plugin_definition->version.rev);
}
}
g_dir_close(dir);
@@ -289,7 +255,6 @@ register_plugin(zathura_plugin_manager_t* plugin_manager, zathura_plugin_t* plug
{
if (plugin == NULL
|| plugin->content_types == NULL
- || plugin->register_function == NULL
|| plugin_manager == NULL
|| plugin_manager->plugins == NULL) {
girara_error("plugin: could not register\n");
@@ -355,11 +320,7 @@ zathura_plugin_free(zathura_plugin_t* plugin)
if (plugin == NULL) {
return;
}
-
- if (plugin->name != NULL) {
- g_free(plugin->name);
- }
-
+
if (plugin->path != NULL) {
g_free(plugin->path);
}
@@ -370,18 +331,7 @@ zathura_plugin_free(zathura_plugin_t* plugin)
g_free(plugin);
}
-/* plugin-api.h */
-void
-zathura_plugin_set_register_functions_function(zathura_plugin_t* plugin, zathura_plugin_register_function_t register_function)
-{
- if (plugin == NULL || register_function == NULL) {
- return;
- }
-
- plugin->register_function = register_function;
-}
-
-void
+static void
zathura_plugin_add_mimetype(zathura_plugin_t* plugin, const char* mime_type)
{
if (plugin == NULL || mime_type == NULL) {
@@ -401,19 +351,11 @@ zathura_plugin_get_functions(zathura_plugin_t* plugin)
}
}
-void
-zathura_plugin_set_name(zathura_plugin_t* plugin, const char* name)
-{
- if (plugin != NULL && name != NULL) {
- plugin->name = g_strdup(name);
- }
-}
-
-char*
+const char*
zathura_plugin_get_name(zathura_plugin_t* plugin)
{
- if (plugin != NULL) {
- return plugin->name;
+ if (plugin != NULL && plugin->definition != NULL) {
+ return plugin->definition->name;
} else {
return NULL;
}
@@ -432,8 +374,8 @@ zathura_plugin_get_path(zathura_plugin_t* plugin)
zathura_plugin_version_t
zathura_plugin_get_version(zathura_plugin_t* plugin)
{
- if (plugin != NULL) {
- return plugin->version;
+ if (plugin != NULL && plugin->definition != NULL) {
+ return plugin->definition->version;
}
zathura_plugin_version_t version = { 0, 0, 0 };
diff --git a/zathura/plugin.h b/zathura/plugin.h
index 5578ee1..d69745e 100644
--- a/zathura/plugin.h
+++ b/zathura/plugin.h
@@ -11,19 +11,6 @@
#include "version.h"
#include "zathura.h"
-#define PLUGIN_REGISTER_FUNCTION "zathura_plugin_register"
-#define PLUGIN_API_VERSION_FUNCTION "zathura_plugin_api_version"
-#define PLUGIN_ABI_VERSION_FUNCTION "zathura_plugin_abi_version"
-#define PLUGIN_VERSION_MAJOR_FUNCTION "zathura_plugin_version_major"
-#define PLUGIN_VERSION_MINOR_FUNCTION "zathura_plugin_version_minor"
-#define PLUGIN_VERSION_REVISION_FUNCTION "zathura_plugin_version_revision"
-
-typedef struct zathura_plugin_version_s {
- unsigned int major; /**< Major */
- unsigned int minor; /**< Minor */
- unsigned int rev; /**< Revision */
-} zathura_plugin_version_t;
-
/**
* Creates a new instance of the plugin manager
*
@@ -84,7 +71,7 @@ zathura_plugin_functions_t* zathura_plugin_get_functions(zathura_plugin_t* plugi
* @param plugin The plugin
* @return The name of the plugin or NULL
*/
-char* zathura_plugin_get_name(zathura_plugin_t* plugin);
+const char* zathura_plugin_get_name(zathura_plugin_t* plugin);
/**
* Returns the path to the plugin
diff --git a/zathura/print.c b/zathura/print.c
index a31df9e..df6087b 100644
--- a/zathura/print.c
+++ b/zathura/print.c
@@ -215,12 +215,8 @@ cb_print_done(GtkPrintOperation* operation, GtkPrintOperationResult result,
zathura_t* zathura)
{
if (result == GTK_PRINT_OPERATION_RESULT_APPLY) {
- if (zathura->print.settings != NULL) {
- g_object_unref(zathura->print.settings);
- }
- if (zathura->print.page_setup != NULL) {
- g_object_unref(zathura->print.page_setup);
- }
+ g_clear_object(&zathura->print.settings);
+ g_clear_object(&zathura->print.page_setup);
/* save previous settings */
zathura->print.settings = g_object_ref(gtk_print_operation_get_print_settings(operation));
diff --git a/zathura/render.c b/zathura/render.c
index f18ceb4..51967a8 100644
--- a/zathura/render.c
+++ b/zathura/render.c
@@ -845,7 +845,7 @@ render_all(zathura_t* zathura)
/* unmark all pages */
const unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document);
- for (unsigned int page_id = 0; page_id < number_of_pages; page_id++) {
+ for (unsigned int page_id = 0; page_id < number_of_pages; ++page_id) {
zathura_page_t* page = zathura_document_get_page(zathura->document,
page_id);
unsigned int page_height = 0, page_width = 0;
@@ -853,6 +853,7 @@ render_all(zathura_t* zathura)
const double width = zathura_page_get_width(page);
page_calc_height_width(zathura->document, height, width, &page_height, &page_width, true);
+ girara_debug("Queuing resize for page %u to %u x %u (%f x %f).", page_id, page_width, page_height, width, height);
GtkWidget* widget = zathura_page_get_widget(zathura, page);
gtk_widget_set_size_request(widget, page_width, page_height);
gtk_widget_queue_resize(widget);
diff --git a/zathura/render.h b/zathura/render.h
index c250e27..90dc5f7 100644
--- a/zathura/render.h
+++ b/zathura/render.h
@@ -39,7 +39,7 @@ struct zathura_renderer_class_s
* Returns the type of the renderer.
* @return the type
*/
-GType zathura_renderer_get_type(void);
+GType zathura_renderer_get_type(void) G_GNUC_CONST;
/**
* Create a renderer.
* @return a renderer object
@@ -172,7 +172,7 @@ struct zathura_render_request_class_s
* Returns the type of the render request.
* @return the type
*/
-GType zathura_page_render_info_get_type(void);
+GType zathura_page_render_info_get_type(void) G_GNUC_CONST;
/**
* Create a render request object
* @param renderer a renderer object
diff --git a/zathura/shortcuts.c b/zathura/shortcuts.c
index 77873d1..ae3a469 100644
--- a/zathura/shortcuts.c
+++ b/zathura/shortcuts.c
@@ -100,8 +100,15 @@ sc_adjust_window(girara_session_t* session, girara_argument_t* argument,
zathura_t* zathura = session->global.data;
g_return_val_if_fail(argument != NULL, false);
- zathura_document_set_adjust_mode(zathura->document, argument->n);
- adjust_view(zathura);
+ if (argument->n < ZATHURA_ADJUST_NONE || argument->n >= ZATHURA_ADJUST_MODE_NUMBER) {
+ girara_error("Invalid adjust mode: %d", argument->n);
+ girara_notify(session, GIRARA_ERROR, _("Invalid adjust mode: %d"), argument->n);
+ } else {
+ girara_debug("Setting adjust mode to: %d", argument->n);
+
+ zathura_document_set_adjust_mode(zathura->document, argument->n);
+ adjust_view(zathura);
+ }
return false;
}
@@ -135,7 +142,7 @@ sc_display_link(girara_session_t* session, girara_argument_t* UNUSED(argument),
if (show_links) {
zathura_document_set_adjust_mode(zathura->document, ZATHURA_ADJUST_INPUTBAR);
girara_dialog(zathura->ui.session, "Display link:", FALSE, NULL,
- (girara_callback_inputbar_activate_t) cb_sc_display_link,
+ cb_sc_display_link,
zathura->ui.session);
}
@@ -223,7 +230,7 @@ sc_follow(girara_session_t* session, girara_argument_t* UNUSED(argument),
/* ask for input */
if (show_links == true) {
zathura_document_set_adjust_mode(zathura->document, ZATHURA_ADJUST_INPUTBAR);
- girara_dialog(zathura->ui.session, "Follow link:", FALSE, NULL, (girara_callback_inputbar_activate_t) cb_sc_follow, zathura->ui.session);
+ girara_dialog(zathura->ui.session, "Follow link:", FALSE, NULL, cb_sc_follow, zathura->ui.session);
}
return false;
@@ -434,7 +441,7 @@ sc_reload(girara_session_t* session, girara_argument_t* UNUSED(argument),
g_return_val_if_fail(session->global.data != NULL, false);
zathura_t* zathura = session->global.data;
- if (zathura->file_monitor.file_path == NULL) {
+ if (zathura->file_monitor.monitor == NULL) {
return false;
}
@@ -442,9 +449,9 @@ sc_reload(girara_session_t* session, girara_argument_t* UNUSED(argument),
document_close(zathura, true);
/* reopen document */
- document_open(zathura, zathura->file_monitor.file_path, NULL,
- zathura->file_monitor.password,
- ZATHURA_PAGE_NUMBER_UNSPECIFIED);
+ document_open(
+ zathura, zathura_filemonitor_get_filepath(zathura->file_monitor.monitor),
+ NULL, zathura->file_monitor.password, ZATHURA_PAGE_NUMBER_UNSPECIFIED);
return false;
}
@@ -849,15 +856,13 @@ sc_search(girara_session_t* session, girara_argument_t* argument,
const unsigned int num_pages = zathura_document_get_number_of_pages(zathura->document);
const unsigned int cur_page = zathura_document_get_current_page_number(zathura->document);
- GtkWidget *cur_page_widget = zathura_page_get_widget(zathura, zathura_document_get_page(zathura->document, cur_page));
- bool nohlsearch, first_time_after_abort;
- gboolean draw;
+ GtkWidget* cur_page_widget = zathura_page_get_widget(zathura, zathura_document_get_page(zathura->document, cur_page));
+ bool nohlsearch = false;
+ bool first_time_after_abort = false;
- nohlsearch = first_time_after_abort = false;
- draw = FALSE;
girara_setting_get(session, "nohlsearch", &nohlsearch);
-
if (nohlsearch == false) {
+ gboolean draw = FALSE;
g_object_get(G_OBJECT(cur_page_widget), "draw-search-results", &draw, NULL);
if (draw == false) {
@@ -868,8 +873,9 @@ sc_search(girara_session_t* session, girara_argument_t* argument,
}
int diff = argument->n == FORWARD ? 1 : -1;
- if (zathura->global.search_direction == BACKWARD)
+ if (zathura->global.search_direction == BACKWARD) {
diff = -diff;
+ }
zathura_page_t* target_page = NULL;
int target_idx = 0;
@@ -966,6 +972,9 @@ sc_search(girara_session_t* session, girara_argument_t* argument,
zathura_jumplist_add(zathura);
position_set(zathura, pos_x, pos_y);
zathura_jumplist_add(zathura);
+ } else if (target_page == NULL && argument->data != NULL) {
+ const char* input = argument->data;
+ girara_notify(session, GIRARA_ERROR, _("Pattern not found: %s"), input);
}
return false;
@@ -1075,8 +1084,8 @@ sc_navigate_index(girara_session_t* session, girara_argument_t* argument,
} else {
gtk_tree_view_expand_row(tree_view, path, FALSE);
}
- break;
}
+ break;
case SELECT:
cb_index_row_activated(tree_view, path, NULL, zathura);
gtk_tree_path_free(path);
@@ -1217,6 +1226,8 @@ sc_toggle_page_mode(girara_session_t* session, girara_argument_t*
return false;
}
+ unsigned int page_id = zathura_document_get_current_page_number(zathura->document);
+
int pages_per_row = 1;
girara_setting_get(zathura->ui.session, "pages-per-row", &pages_per_row);
@@ -1230,6 +1241,10 @@ sc_toggle_page_mode(girara_session_t* session, girara_argument_t*
girara_setting_set(zathura->ui.session, "pages-per-row", &value);
adjust_view(zathura);
+ page_set(zathura, page_id);
+ render_all(zathura);
+ refresh_view(zathura);
+
return true;
}
@@ -1368,19 +1383,25 @@ sc_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t*
/* specify new zoom value */
if (argument->n == ZOOM_IN) {
+ girara_debug("Increasing zoom by %f.", zoom_step - 1.0);
zathura_document_set_scale(zathura->document, old_zoom * zoom_step);
} else if (argument->n == ZOOM_OUT) {
+ girara_debug("Decreasing zoom by %f.", zoom_step - 1.0);
zathura_document_set_scale(zathura->document, old_zoom / zoom_step);
} else if (argument->n == ZOOM_SPECIFIC) {
if (t == 0) {
+ girara_debug("Setting zoom to 1.");
zathura_document_set_scale(zathura->document, 1.0);
} else {
+ girara_debug("Setting zoom to %f.", t / 100.0);
zathura_document_set_scale(zathura->document, t / 100.0);
}
} else if (argument->n == ZOOM_SMOOTH) {
- const double dy = (event != NULL) ? event->y : 1.0;
- zathura_document_set_scale(zathura->document, old_zoom + zoom_step * dy);
+ const double dy = (event != NULL) ? event->y : 1.0;
+ girara_debug("Increasing zoom by %f.", zoom_step * dy - 1.0);
+ zathura_document_set_scale(zathura->document, old_zoom + zoom_step * dy);
} else {
+ girara_debug("Setting zoom to 1.");
zathura_document_set_scale(zathura->document, 1.0);
}
@@ -1390,11 +1411,50 @@ sc_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t*
const double new_zoom = zathura_document_get_scale(zathura->document);
if (fabs(new_zoom - old_zoom) <= DBL_EPSILON) {
+ girara_debug("New and old zoom level are too close: %f vs. %f, diff = %f", new_zoom, old_zoom, fabs(new_zoom - old_zoom));
return false;
}
+ girara_debug("Re-rendering with new zoom level %f.", new_zoom);
render_all(zathura);
refresh_view(zathura);
return false;
}
+
+bool
+sc_exec(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t)
+{
+ g_return_val_if_fail(session != NULL, false);
+ g_return_val_if_fail(session->global.data != NULL, false);
+ zathura_t* zathura = session->global.data;
+
+ if (argument == NULL || argument->data == NULL) {
+ return false;
+ }
+
+ if (zathura->document != NULL) {
+ const char* path = zathura_document_get_path(zathura->document);
+
+ girara_argument_t new_argument = *argument;
+
+ char* r = girara_replace_substring(argument->data, "$FILE", path);
+ if (r == NULL) {
+ return false;
+ }
+
+ char* s = girara_replace_substring(r, "%", path);
+ g_free(r);
+
+ if (s == NULL) {
+ return false;
+ }
+
+ new_argument.data = s;
+ const bool ret = girara_sc_exec(session, &new_argument, event, t);
+ g_free(s);
+ return ret;
+ }
+
+ return girara_sc_exec(session, argument, event, t);
+}
diff --git a/zathura/shortcuts.h b/zathura/shortcuts.h
index dc3c30f..195554a 100644
--- a/zathura/shortcuts.h
+++ b/zathura/shortcuts.h
@@ -281,4 +281,15 @@ bool sc_quit(girara_session_t* session, girara_argument_t* argument, girara_even
*/
bool sc_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t);
+/**
+ * Run external command.
+ *
+ * @param session The used girara session
+ * @param argument The used argument
+ * @param event Girara event
+ * @param t Number of executions
+ * @return true if no error occurred otherwise false
+ */
+bool sc_exec(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t);
+
#endif // SHORTCUTS_H
diff --git a/zathura/types.h b/zathura/types.h
index 16189ee..e0028d7 100644
--- a/zathura/types.h
+++ b/zathura/types.h
@@ -101,7 +101,8 @@ typedef enum zathura_adjust_mode_e
ZATHURA_ADJUST_NONE, /**< No adjustment */
ZATHURA_ADJUST_BESTFIT, /**< Adjust to best-fit */
ZATHURA_ADJUST_WIDTH, /**< Adjust to width */
- ZATHURA_ADJUST_INPUTBAR /**< Focusing the inputbar */
+ ZATHURA_ADJUST_INPUTBAR, /**< Focusing the inputbar */
+ ZATHURA_ADJUST_MODE_NUMBER /**< Number of adjust modes */
} zathura_adjust_mode_t;
/**
diff --git a/zathura/utils.c b/zathura/utils.c
index 5fdf042..b86b48a 100644
--- a/zathura/utils.c
+++ b/zathura/utils.c
@@ -84,7 +84,9 @@ document_index_build(GtkTreeModel* model, GtkTreeIter* parent,
GtkTreeIter tree_iter;
gtk_tree_store_append(GTK_TREE_STORE(model), &tree_iter, parent);
- gtk_tree_store_set(GTK_TREE_STORE(model), &tree_iter, 0, index_element->title, 1, description, 2, index_element, -1);
+ gchar* markup = g_markup_escape_text(index_element->title, -1);
+ gtk_tree_store_set(GTK_TREE_STORE(model), &tree_iter, 0, markup, 1, description, 2, index_element, -1);
+ g_free(markup);
g_object_weak_ref(G_OBJECT(model), (GWeakNotify) zathura_index_element_free, index_element);
g_free(description);
@@ -200,7 +202,7 @@ zathura_get_version_string(zathura_t* zathura, bool markup)
girara_list_t* plugins = zathura_plugin_manager_get_plugins(zathura->plugins.manager);
if (plugins != NULL) {
GIRARA_LIST_FOREACH(plugins, zathura_plugin_t*, iter, plugin) {
- char* name = zathura_plugin_get_name(plugin);
+ const char* name = zathura_plugin_get_name(plugin);
zathura_plugin_version_t version = zathura_plugin_get_version(plugin);
g_string_append_printf(string, format,
(name == NULL) ? "-" : name,
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 8c493ae..938aed3 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -41,7 +41,7 @@
#include "plugin.h"
#include "adjustment.h"
#include "dbus-interface.h"
-#include "css-definitions.h"
+#include "resources.h"
#include "synctex.h"
#include "content-type.h"
@@ -121,7 +121,7 @@ error_out:
static void
create_directories(zathura_t* zathura)
{
- static const unsigned int mode = 0711;
+ static const unsigned int mode = 0700;
if (g_mkdir_with_parents(zathura->config.config_dir, mode) == -1) {
girara_error("Could not create '%s': %s", zathura->config.config_dir,
@@ -251,10 +251,17 @@ init_css(zathura_t* zathura)
g_free(color);
}
- char* css = g_strdup_printf("%s\n%s", girara_template_get_base(csstemplate),
- CSS_TEMPLATE_INDEX);
- girara_template_set_base(csstemplate, css);
- g_free(css);
+ GResource* css_resource = zathura_resources_get_resource();
+ GBytes* css_data = g_resource_lookup_data(css_resource,
+ "/org/pwmt/zathura/CSS/zathura.css_t",
+ G_RESOURCE_LOOKUP_FLAGS_NONE, NULL);
+ if (css_data != NULL) {
+ char* css = g_strdup_printf("%s\n%s", girara_template_get_base(csstemplate),
+ (const char*) g_bytes_get_data(css_data, NULL));
+ girara_template_set_base(csstemplate, css);
+ g_free(css);
+ g_bytes_unref(css_data);
+ }
}
static void
@@ -391,10 +398,7 @@ zathura_free(zathura_t* zathura)
#endif
/* stop D-Bus */
- if (zathura->dbus != NULL) {
- g_object_unref(zathura->dbus);
- zathura->dbus = NULL;
- }
+ g_clear_object(&zathura->dbus);
if (zathura->ui.session != NULL) {
girara_session_destroy(zathura->ui.session);
@@ -415,18 +419,11 @@ zathura_free(zathura_t* zathura)
girara_list_free(zathura->bookmarks.bookmarks);
/* database */
- if (zathura->database != NULL) {
- g_object_unref(G_OBJECT(zathura->database));
- }
+ g_clear_object(&zathura->database);
/* free print settings */
- if (zathura->print.settings != NULL) {
- g_object_unref(zathura->print.settings);
- }
-
- if (zathura->print.page_setup != NULL) {
- g_object_unref(zathura->print.page_setup);
- }
+ g_clear_object(&zathura->print.settings);
+ g_clear_object(&zathura->print.page_setup);
/* free registered plugins */
zathura_plugin_manager_free(zathura->plugins.manager);
@@ -751,7 +748,7 @@ document_open_password_dialog(gpointer data)
zathura_password_dialog_info_t* password_dialog_info = data;
girara_dialog(password_dialog_info->zathura->ui.session, _("Enter password:"), true, NULL,
- (girara_callback_inputbar_activate_t) cb_password_dialog, password_dialog_info);
+ cb_password_dialog, password_dialog_info);
return FALSE;
}
@@ -763,7 +760,6 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
goto error_out;
}
- gchar* file_uri = NULL;
zathura_error_t error = ZATHURA_ERROR_OK;
zathura_document_t* document = zathura_document_open(zathura, path, uri, password, &error);
@@ -882,31 +878,23 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
g_free(filename);
/* install file monitor */
- file_uri = g_filename_to_uri(file_path, NULL, NULL);
- if (file_uri == NULL) {
- goto error_free;
- }
-
- if (zathura->file_monitor.file == NULL) {
- zathura->file_monitor.file = g_file_new_for_uri(file_uri);
- if (zathura->file_monitor.file == NULL) {
- goto error_free;
- }
- }
-
if (zathura->file_monitor.monitor == NULL) {
- zathura->file_monitor.monitor = g_file_monitor_file(zathura->file_monitor.file, G_FILE_MONITOR_NONE, NULL, NULL);
+ char* filemonitor_backend = NULL;
+ girara_setting_get(zathura->ui.session, "filemonitor", &filemonitor_backend);
+ zathura_filemonitor_type_t type = ZATHURA_FILEMONITOR_GLIB;
+#ifdef G_OS_UNIX
+ if (g_strcmp0(filemonitor_backend, "signal") == 0) {
+ type = ZATHURA_FILEMONITOR_SIGNAL;
+ }
+#endif
+ g_free(filemonitor_backend);
+
+ zathura->file_monitor.monitor = zathura_filemonitor_new(file_path, type);
if (zathura->file_monitor.monitor == NULL) {
goto error_free;
}
- g_signal_connect(G_OBJECT(zathura->file_monitor.monitor), "changed", G_CALLBACK(cb_file_monitor), zathura->ui.session);
- }
-
- if (zathura->file_monitor.file_path == NULL) {
- zathura->file_monitor.file_path = g_strdup(file_path);
- if (zathura->file_monitor.file_path == NULL) {
- goto error_free;
- }
+ g_signal_connect(G_OBJECT(zathura->file_monitor.monitor), "reload-file",
+ G_CALLBACK(cb_file_monitor), zathura->ui.session);
}
if (password != NULL) {
@@ -1017,7 +1005,7 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
}
/* read first_page_column list */
- if (file_info.first_page_column_list != NULL && strcmp(file_info.first_page_column_list, "")) {
+ if (file_info.first_page_column_list != NULL && *file_info.first_page_column_list != '\0') {
first_page_column_list = file_info.first_page_column_list;
file_info.first_page_column_list = NULL;
} else {
@@ -1055,8 +1043,6 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
girara_set_window_title(zathura->ui.session, formatted_filename);
g_free(formatted_filename);
- g_free(file_uri);
-
/* adjust_view */
adjust_view(zathura);
for (unsigned int page_id = 0; page_id < number_of_pages; page_id++) {
@@ -1092,10 +1078,6 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
error_free:
- if (file_uri != NULL) {
- g_free(file_uri);
- }
-
zathura_document_free(document);
error_out:
@@ -1168,7 +1150,7 @@ document_save(zathura_t* zathura, const char* path, bool overwrite)
if (g_file_test(file_path, G_FILE_TEST_IS_DIR) == TRUE) {
char* basename = g_path_get_basename(zathura_document_get_path(zathura->document));
char* tmp = file_path;
- file_path = g_strconcat(file_path, "/", basename, NULL);
+ file_path = g_build_filename(file_path, basename, NULL);
g_free(tmp);
g_free(basename);
}
@@ -1232,21 +1214,7 @@ document_close(zathura_t* zathura, bool keep_monitor)
/* remove monitor */
if (keep_monitor == false) {
- if (zathura->file_monitor.monitor != NULL) {
- g_file_monitor_cancel(zathura->file_monitor.monitor);
- g_object_unref(zathura->file_monitor.monitor);
- zathura->file_monitor.monitor = NULL;
- }
-
- if (zathura->file_monitor.file != NULL) {
- g_object_unref(zathura->file_monitor.file);
- zathura->file_monitor.file = NULL;
- }
-
- if (zathura->file_monitor.file_path != NULL) {
- g_free(zathura->file_monitor.file_path);
- zathura->file_monitor.file_path = NULL;
- }
+ g_clear_object(&zathura->file_monitor.monitor);
if (zathura->file_monitor.password != NULL) {
g_free(zathura->file_monitor.password);
@@ -1272,8 +1240,7 @@ document_close(zathura_t* zathura, bool keep_monitor)
zathura->jumplist.size = 0;
/* release render thread */
- g_object_unref(zathura->sync.render_thread);
- zathura->sync.render_thread = NULL;
+ g_clear_object(&zathura->sync.render_thread);
/* remove widgets */
gtk_container_foreach(GTK_CONTAINER(zathura->ui.page_widget), remove_page_from_table, NULL);
@@ -1321,6 +1288,12 @@ page_set(zathura_t* zathura, unsigned int page_id)
zathura_document_set_current_page_number(zathura->document, page_id);
+ bool continuous_hist_save = false;
+ girara_setting_get(zathura->ui.session, "continuous-hist-save", &continuous_hist_save);
+ if (continuous_hist_save) {
+ save_fileinfo_to_db(zathura);
+ }
+
/* negative position means auto */
return position_set(zathura, -1, -1);
@@ -1407,11 +1380,19 @@ position_set(zathura_t* zathura, double position_x, double position_y)
}
double comppos_x, comppos_y;
- unsigned int page_id = zathura_document_get_current_page_number(zathura->document);
+ const unsigned int page_id = zathura_document_get_current_page_number(zathura->document);
+
+ bool vertical_center = false;
+ girara_setting_get(zathura->ui.session, "vertical-center", &vertical_center);
/* xalign = 0.5: center horizontally (with the page, not the document) */
- /* yalign = 0.0: align page an viewport edges at the top */
- page_number_to_position(zathura->document, page_id, 0.5, 0.0, &comppos_x, &comppos_y);
+ if (vertical_center == true) {
+ /* yalign = 0.0: align page an viewport edges at the top */
+ page_number_to_position(zathura->document, page_id, 0.5, 0.0, &comppos_x, &comppos_y);
+ } else {
+ /* yalign = 0.5: center vertically */
+ page_number_to_position(zathura->document, page_id, 0.5, 0.5, &comppos_x, &comppos_y);
+ }
/* automatic horizontal adjustment */
zathura_adjust_mode_t adjust_mode = zathura_document_get_adjust_mode(zathura->document);
@@ -1425,7 +1406,7 @@ position_set(zathura_t* zathura, double position_x, double position_y)
/* center horizontally */
if (adjust_mode == ZATHURA_ADJUST_BESTFIT ||
adjust_mode == ZATHURA_ADJUST_WIDTH ||
- zoom_center) {
+ zoom_center == true) {
position_x = 0.5;
}
}
@@ -1509,9 +1490,8 @@ adjust_view(zathura_t* zathura)
abs((int)new_cell_height - (int)cell_height) > 1) {
render_all(zathura);
refresh_view(zathura);
-
- /* otherwise set the old scale and leave */
} else {
+ /* otherwise set the old scale and leave */
zathura_document_set_scale(zathura->document, scale);
}
diff --git a/zathura/zathura.h b/zathura/zathura.h
index 5c3f134..84e0cb6 100644
--- a/zathura/zathura.h
+++ b/zathura/zathura.h
@@ -5,6 +5,7 @@
#include
#include
+#include
#include
#ifdef GDK_WINDOWING_X11
#include
@@ -12,6 +13,7 @@
#include "macros.h"
#include "types.h"
#include "jumplist.h"
+#include "file-monitor.h"
enum {
NEXT,
@@ -177,9 +179,7 @@ struct zathura_s
* File monitor
*/
struct {
- GFileMonitor* monitor; /**< File monitor */
- GFile* file; /**< File for file monitor */
- gchar* file_path; /**< Save file path */
+ ZathuraFileMonitor* monitor; /**< File monitor */
gchar* password; /**< Save password */
} file_monitor;